<widget name="SoftTouch Merge" group="POS Interface" category="Softtouch" description="Script to update data from SoftTouch pos" type="" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Softtouch Merge" modified="04-13-2014 12:35:39" modifiedby="Keith-Dell2" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-02-2014 18:40:24:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
<include type:script; commands:"
	///============================================================
	///This script does the actual merging of the POS data when updatePOSData has determined that 
	///there is new data to import
	///============================================================
	appendToLog("Softtouch POS Import started")
	appendToLog("StoreCode=__StoreCode__")
	appendToLog("StoreID=__StoreID__")
	appendToLog("StoreDir=__StoreDir__")
	appendToLog("PosDir=__PosDir__")
	appendToLog("OperatingDate=__OperatingDate__")

	tmImportStart=now()
	
	dtOperating=parseTime("__OperatingDate__","MM-dd-yyyy")
	
	//get the date to which the files belong by reading the operation
	//initialize variables that will be passed to helper script since constants aren't passed
	strStoreCode="__StoreCode__"
	strStoreID="__StoreID__"

	///============================================================
	//Job Codes
	///============================================================
	appendToLog("Merging job codes")
	strSrcFilename="__PosDir__jobdescription.csv"
	strDestFilename="__StoreDir__jobdef"
	strSrcDriverID="POS_Softtouch_Jobdescription"
	strDestDriverID="POS_Generic_JobCode"
	arToMerge="Line|Store_Code|Store_ID|Number|Name"
	arAlias="Number=JOBNUMBER|Name=DESCRIPTIO"
	arKeyFields="Number"
	scriptExec(POS_SoftTouch_updatePOSDataSub,true)

	///============================================================
	//Employees
	///============================================================
	appendToLog("Merging employees")
	strSrcFilename="__PosDir__employee.csv"
	cFields=fileGetFieldCount(strSrcFilename)
	if ((cFields=35) or (cFields=23))
		//In the BobbyQ store, the doc shows 35 fields, but only 23 are exported 
		strSrcDriverID="POS_Softtouch_Employee35"
	elseif (cFields=40) 
		strSrcDriverID="POS_Softtouch_Employee40"
	elseif (cFields=22) 
		//In the Yucatan Soft Taco store, 22 fields are exported 
		strSrcDriverID="POS_Softtouch_Employee22"
	else
		strSrcDriverID="POS_Softtouch_Employee00"
		appendToLog("Unrecognized Softouch version while reading employee.csv.  Fields="+cFields+".  Using default field list.")
	endif
	if (len(strSrcDriverID)>0)
		appendToLog("Driver for employees="+strSrcDriverID+" cFields="+cFields)
		strDestFilename="__StoreDir__employee"
		strDestDriverID="POS_Generic_Employee"
		arToMerge="Line|Store_Code|Store_ID|EmpNum|First_Name|Last_Name"
		arAlias="EmpNum=EMPLOYEENU|First_Name=FIRSTNAME|Last_Name=LASTNAME"
		arKeyFields="EmpNum"
		scriptExec(POS_SoftTouch_updatePOSDataSub,true)
	endif

	///============================================================
	//Timeclock
	///============================================================
	appendToLog("Merging timeclock")
	strSrcFilename="__PosDir__timeclock.csv"
	strDestFilename="__StoreDir__"+formatDate("__OperatingDate__","MM-dd-yyyy")+"_lbr"

	//skip the import if the destination files already exist and have a later timestamp than the source
	boolSkip=false
	if (fileExists(strDestFilename+".dbf")) 
		if(dateNumber(fileModified(strDestFilename+".dbf"))>dateNumber(fileModified(strSrcFilename)))
			boolSkip=true
		endif
	endif
	
	strSrcDriverID="POS_Softtouch_Timeclock"
	strDestDriverID="POS_Generic_Labor_Detail"
	if (not(boolSkip))
		//delete the destination files if they exist
		if (fileExists(strDestFilename+".dbf"))
			fileDelete(strDestFilename+".dbf")
		endif
		
		//copy the pos file to a temp file for reading
		strTempFilename=getToken("homedir")+"temporary_files/"+getSalt(12)+".$$$"
		fileCopy(strSrcFilename,strTempFilename)
		
		//open the employee file and create a list of employees for which timeclock information will not be imported
		//Also create an array of employee numbers and indices so jobs/rates can be recorded in the employee file
		driverOpen(POS_Generic_Employee_DBase,drvEmployee,WRITE,false,"filename=__StoreDir__employee.dbf")
		arDoNotImport=""
		arEmpNum=""
		arEmpIndex=""
		cRecords=driverGetRecordCount(drvEmployee,true)
		Cntr=0
		while (Cntr<cRecords)
			arEmpNum=addElement(arEmpNum,driverGetFieldAbsolute(drvEmployee,"EmpNum",Cntr))
			arEmpIndex=addElement(arEmpIndex,Cntr)
			if (driverGetFieldAbsolute(drvEmployee,"NoImport",Cntr))
				arDoNotImport=addElement(arDoNotImport,driverGetFieldAbsolute(drvEmployee,"EmpNum",Cntr))
			endif
			Cntr=Cntr + 1
		endwhile
		
		//open the timeclock drivers
		driverOpen(strSrcDriverID,drvSrc,READ,false,"filename="+strTempFilename+"|storecode="+strStoreCode+"|storeId="+strStoreId)
		driverSetSort(drvSrc,"Time",true)
		driverOpen(strDestDriverID+"_Dbase",drvTimeclock,WRITE,false,"filename="+strDestFilename+".dbf")

		cRecords=driverGetRecordCount(drvSrc,false)
		Cntr=0
		while (Cntr<cRecords)
			intEmployee=driverGetField(drvSrc,"EMPLOYEENU",Cntr)
			intJob=driverGetField(drvSrc,"JOBNUMBER",Cntr)
			intClockType=driverGetField(drvSrc,"CLOCKTYPE",Cntr)
			dtClockTime=driverGetField(drvSrc,"Time",Cntr)
			dblRate=driverGetField(drvSrc,"WAGEAMOUNT",Cntr)
			
			if (containsElement(arDoNotImport,intEmployee)<0)
				if (intClockType=0)
					//clock-out
					//Look for a clock-in record
					strFilter="(Employee="+intEmployee+") and (ActJobCode="+intJob+") and (dateNumber(ActTimeOut)=0)"
					intRecord=driverFindRecordAbsolute(drvTimeclock,0,strFilter)
					if (intRecord>=0)
						driverPutFieldAbsolute(drvTimeclock,"ActTimeOut",intRecord,dtClockTime)
						driverPutFieldAbsolute(drvTimeclock,"AppTimeOut",intRecord,dtClockTime)
					else
						appendToLog("Cannot locate clock-in record for Employee="+intEmployee+" Job="+intJob+" Clock-out="+formatDate(dtClockTime,"HH:mm:ss"))
					endif
				elseif (intClockType=1)
					//clock in or return from break
					//Look for a record with a break start
					strFilter="(Employee="+intEmployee+") and (ActJobCode="+intJob+") and (dateNumber(ActBreakIn)"+char(0x3e)+"0) and (dateNumber(ActBreakOut)=0)"
					intRecord=driverFindRecordAbsolute(drvTimeclock,0,strFilter)
					if (intRecord>=0)
						driverPutFieldAbsolute(drvTimeclock,"ActBreakOut",intRecord,dtClockTime)
						driverPutFieldAbsolute(drvTimeclock,"AppBreakOut",intRecord,dtClockTime)
					else
						//If no break was found, it must be a clock-in record
						intRecord=driverAddNewRecord(drvTimeclock)
						driverPutFieldAbsolute(drvTimeclock,"Line",intRecord,intRecord)
						driverPutFieldAbsolute(drvTimeclock,"Store_Code",intRecord,"__StoreCode__")
						driverPutFieldAbsolute(drvTimeclock,"Store_ID",intRecord,"__StoreID__")
						driverPutFieldAbsolute(drvTimeclock,"Employee",intRecord,intEmployee)
						driverPutFieldAbsolute(drvTimeclock,"ActJobCode",intRecord,intJob)
						driverPutFieldAbsolute(drvTimeclock,"ActTimeIn",intRecord,dtClockTime)
						driverPutFieldAbsolute(drvTimeclock,"ActRegRate",intRecord,dblRate)
						driverPutFieldAbsolute(drvTimeclock,"AppJobCode",intRecord,intJob)
						driverPutFieldAbsolute(drvTimeclock,"AppTimeIn",intRecord,dtClockTime)
						driverPutFieldAbsolute(drvTimeclock,"AppRegRate",intRecord,dblRate)

						//record the job/rate in the employee file
						intArrayIndex=containsElement(arEmpNum,intEmployee)
						if (intArrayIndex>=0)
							intEmployeeIndex=getElement(arEmpIndex,intArrayIndex)
							cntrJob=1
							intEmptyJob=-1
							boolJobMatch=false
							while ((not(boolJobMatch)) and (cntrJob<=6))
								intJobNumber=driverGetFieldAbsolute(drvEmployee,"JobNum"+cntrJob,intEmployeeIndex)
								if ((intEmptyJob<0) and (len(trim(intJobNumber))=0))
									intEmptyJob=cntrJob
								endif
								if (intJobNumber=intJob)
									boolJobMatch=true
									driverPutFieldAbsolute(drvEmployee,"RegRate"+cntrJob,intEmployeeIndex,dblRate)
								endif
								cntrJob=cntrJob + 1
							endwhile
							
							if (not(boolJobMatch))
								if (intEmptyJob<0)
									//move jobs down to open up the first slot if an empty job was not found
									cntrJob=6
									while (cntrJob>1)
										driverPutFieldAbsolute(drvEmployee,"JobNum"+cntrJob,intEmployeeIndex,driverGetFieldAbsolute(drvEmployee,"JobNum"+(cntrJob-1),intEmployeeIndex))
										driverPutFieldAbsolute(drvEmployee,"RegRate"+cntrJob,intEmployeeIndex,driverGetFieldAbsolute(drvEmployee,"RegRate"+(cntrJob-1),intEmployeeIndex))
										driverPutFieldAbsolute(drvEmployee,"OvtRate"+cntrJob,intEmployeeIndex,driverGetFieldAbsolute(drvEmployee,"OvtRate"+(cntrJob-1),intEmployeeIndex))
										cntrJob=cntrJob - 1
									endwhile
									intEmptyJob=1
								endif
								
								driverPutFieldAbsolute(drvEmployee,"JobNum"+intEmptyJob,intEmployeeIndex,intJob)
								driverPutFieldAbsolute(drvEmployee,"RegRate"+intEmptyJob,intEmployeeIndex,dblRate)
								driverPutFieldAbsolute(drvEmployee,"OvtRate"+intEmptyJob,intEmployeeIndex,0)
							endif
						else
							appendToLog("Cannot locate employee record for employee #"+intEmployee+" to record job and rate")
						endif
					endif
				elseif (intClockType=2)
					//break start
					//Look for a record with a clock-in time but no clock-out time
					strFilter="(Employee="+intEmployee+") and (ActJobCode="+intJob+") and (dateNumber(ActTimeOut)"+char(0x3D)+"0)"
					intRecord=driverFindRecordAbsolute(drvTimeclock,0,strFilter)
					if (intRecord>=0)
						driverPutFieldAbsolute(drvTimeclock,"ActBreakIn",intRecord,dtClockTime)
						driverPutFieldAbsolute(drvTimeclock,"AppBreakIn",intRecord,dtClockTime)
					else
						appendToLog("Cannot locate clock-in record to record break start for Employee="+intEmployee+" Job="+intJob+" Break-Start="+formatDate(dtClockTime,"HH:mm:ss"))
						appendToLog("Filter="+strFilter)
					endif
				endif
			endif
			
			Cntr=Cntr + 1
		endwhile
		
		driverClose(drvSrc)
		driverClose(drvEmployee)
		//don't close the destination timeclock file because net sales will be added to it after the journal is imported

		fileDelete(strTempFilename)
	else
		//open the timeclock file so net sales can be included after the journal is processed
		driverOpen(strDestDriverID+"_Dbase",drvTimeclock,WRITE,false,"filename="+strDestFilename+".dbf")
	endif
	
	///============================================================
	//Tender Descriptions
	///============================================================
	appendToLog("Merging tenders")
	strSrcFilename="__PosDir__account.csv"
	strDestFilename="__StoreDir__tender"
	strSrcDriverID="POS_SoftTouch_Account"
	strDestDriverID="POS_Generic_Tenders"
	arToMerge="Line|Store_Code|Store_ID|Number|Name|Tender_Type"
	arAlias="Number=ACCOUNTNUM|Name=ACCOUNTNAM"
	arKeyFields="Number"
	scriptExec(POS_SoftTouch_updatePOSDataSub,true)

	///============================================================
	//Discount Descriptions
	///============================================================
	appendToLog("Merging discount names")
	strSrcFilename="__PosDir__adjustment.csv"
	strDestFilename="__StoreDir__disc"
	strSrcDriverID="POS_Softtouch_Adjustment"
	strDestDriverID="POS_Generic_POSIDs"
	arToMerge="Line|Store_Code|Store_ID|Number|Name"
	arAlias="Number=ADJUSTMENT"
	arKeyFields="Number"
	scriptExec(POS_SoftTouch_updatePOSDataSub,true)

	///============================================================
	//Tax Descriptions
	///============================================================
	appendToLog("Merging tax names")
	strSrcFilename="__PosDir__taxdefinition.csv"
	strDestFilename="__StoreDir__tax"
	strSrcDriverID="POS_Softtouch_Taxdefinition"
	strDestDriverID="POS_Generic_POSIDs"
	arToMerge="Line|Store_Code|Store_ID|Number|Name"
	arAlias="Number=TAXDEFINIT|Name=DESCRIPTIO"
	arKeyFields="Number"
	scriptExec(POS_SoftTouch_updatePOSDataSub,true)

	///============================================================
	//Menu Categories
	///============================================================
	appendToLog("Merging menu categories")
	strSrcFilename="__PosDir__itemfamilyview.csv"
	strDestFilename="__StoreDir__category"

	//skip the import if the destination files already exist and have a later timestamp than the source
	boolSkip=false
	if (fileExists(strDestFilename+".dbf"))
		if(dateNumber(fileModified(strDestFilename+".dbf"))>dateNumber(fileModified(strSrcFilename)))
			boolSkip=true
		endif
	endif
	
	if (not(boolSkip))
		strSrcDriverID="POS_Softtouch_Itemfamilyview"
		strDestDriverID="POS_Generic_Menu_Category"

		//copy the pos file to a temp file for reading
		strTempFilename=getToken("homedir")+"temporary_files/"+getSalt(12)+".$$$"
		fileCopy(strSrcFilename,strTempFilename)
		
		//open the drivers
		driverOpen(strSrcDriverID,drvSrc,READ,false,"filename="+strTempFilename+"|storecode="+strStoreCode+"|storeId="+strStoreId)
		driverOpen(strDestDriverID+"_Dbase",drvDbf,WRITE,false,"filename="+strDestFilename+".dbf")
		
		//initialize an array of ID's so they're not processed more than once
		arID=""
		cRecords=driverGetRecordCount(drvSrc,true)
		Cntr=0
		while (Cntr<cRecords)
			Int1=driverGetFieldAbsolute(drvSrc,"FAMILYNUMB",Cntr)
			if (containsElement(arID,Int1)<0)
				arID=addElement(arID,Int1)
				
				//add record to dbf file
				intRecord=driverFindRecordAbsolute(drvDbf,0,"Number="+Int1)
				if (intRecord<0)
					intRecord=driverAddNewRecord(drvDbf)
					driverPutFieldAbsolute(drvDbf,"Store_Code",intRecord,"__StoreCode__")
					driverPutFieldAbsolute(drvDbf,"Store_ID",intRecord,"__StoreID__")
					driverPutFieldAbsolute(drvDbf,"Number",intRecord,Int1)
				endif
				driverPutFieldAbsolute(drvDbf,"Name",intRecord,driverGetFieldAbsolute(drvSrc,"FNAME",Cntr))
				driverPutFieldAbsolute(drvDbf,"Department",intRecord,driverGetFieldAbsolute(drvSrc,"DEPARTMENT",Cntr))
			endif
			Cntr=Cntr + 1
		endwhile
		
		driverClose(drvSrc)
		driverClose(drvDbf)
		fileDelete(strTempFilename)
	endif
	
	///============================================================
	//Menu Items
	///============================================================
	appendToLog("Merging menu items")
	strSrcFilename="__PosDir__itemfamilyview.csv"
	strDestFilename="__StoreDir__recipe"
	strSrcDriverID="POS_Softtouch_Itemfamilyview"
	strDestDriverID="POS_Generic_Menu_Item"
	arToMerge="Line|Store_Code|Store_ID|MenuItemID|CategoryID|Name1|Name2"
	arAlias="MenuItemID=ITEMNUMBER|CategoryID=FAMILYNUMB|Name1=INAME|Name2=INAME"
	arKeyFields="MenuItemID"
	scriptExec(POS_SoftTouch_updatePOSDataSub,true)

	///============================================================
	//Departments
	//This does not use the merge because it's a many-to-one merge and the merge
	//does not seem to be handling it properly.  Multiple records are being created
	//becuase the department number is included in the file multiple times.
	///============================================================
	appendToLog("Merging departments")
	strSrcFilename="__PosDir__itemfamilyview.csv"
	strDestFilename="__StoreDir__deptmnt"
	
	//skip the import if the destination files already exist and have a later timestamp than the source
	boolSkip=false
	if (fileExists(strDestFilename+".dbf"))
		if(dateNumber(fileModified(strDestFilename+".dbf"))>dateNumber(fileModified(strSrcFilename)))
			boolSkip=true
		endif
	endif
	
	if (not(boolSkip))
		strSrcDriverID="POS_Softtouch_Itemfamilyview"
		strDestDriverID="POS_Generic_POSIDs"
		
		//copy the pos file to a temp file for reading
		strTempFilename=getToken("homedir")+"temporary_files/"+getSalt(12)+".$$$"
		fileCopy(strSrcFilename,strTempFilename)
		
		//open the drivers
		driverOpen(strSrcDriverID,drvSrc,READ,false,"filename="+strTempFilename+"|storecode="+strStoreCode+"|storeId="+strStoreId)
		driverOpen(strDestDriverID+"_Dbase",drvDbf,WRITE,false,"filename="+strDestFilename+".dbf")
		
		//initialize an array of ID's so they're not processed more than once
		arID=""
		cRecords=driverGetRecordCount(drvSrc,true)
		Cntr=0
		while (Cntr<cRecords)
			Int1=driverGetFieldAbsolute(drvSrc,"DEPARTMENT",Cntr)
			if (containsElement(arID,Int1)<0)
				arID=addElement(arID,Int1)
				
				//add record to dbf file
				intRecord=driverFindRecordAbsolute(drvDbf,0,"Number="+Int1)
				if (intRecord<0)
					intRecord=driverAddNewRecord(drvDbf)
					driverPutFieldAbsolute(drvDbf,"Store_Code",intRecord,"__StoreCode__")
					driverPutFieldAbsolute(drvDbf,"Store_ID",intRecord,"__StoreID__")
					driverPutFieldAbsolute(drvDbf,"Number",intRecord,Int1)
					driverPutFieldAbsolute(drvDbf,"Name",intRecord,driverGetFieldAbsolute(drvSrc,"DNAME",Cntr))
				endif
			endif
			Cntr=Cntr + 1
		endwhile
		
		driverClose(drvSrc)
		driverClose(drvDbf)
		fileDelete(strTempFilename)
	endif
	
	///========================================================================================================================
	//Journal import
	//This is the first of a series of imports done to get the check headers and details.  This section deletes both the header and detail file for the day if they already
	//exist.  The check header and check details drivers are opened once at the beginning and not closed until all imports are done
	///========================================================================================================================
	strCheckHeaderFilename="__StoreDir__"+formatDate("__OperatingDate__","MM-dd-yyyy")+"_ckh"
	strCheckDetailFilename="__StoreDir__"+formatDate("__OperatingDate__","MM-dd-yyyy")+"_ckd"
	strSalesMixFilename="__StoreDir__"+formatDate("__OperatingDate__","MM-dd-yyyy")+"_mix"
	
	//skip the import if the destination files already exist and have a later timestamp than the source
	boolSkip=false
	if ((fileExists(strCheckHeaderFilename+".dbf")) and (fileExists(strCheckDetailFilename+".dbf")) and (fileExists(strSalesMixFilename+".dbf")))
		if(dateNumber(fileModified(strDestFilename+".dbf"))>dateNumber(fileModified("__PosDir__checks.csv")))
			boolSkip=true
		endif
	endif
	
	if (not(boolSkip))
		//Delete the destination files if they exist.  Also delete the check detail files
		if (fileExists(strCheckHeaderFilename+".dbf"))
			fileDelete(strCheckHeaderFilename+".dbf")
		endif
		if (fileExists(strCheckDetailFilename+".dbf"))
			fileDelete(strCheckDetailFilename+".dbf")
		endif
		if (fileExists(strSalesMixFilename+".dbf"))
			fileDelete(strSalesMixFilename+".dbf")
		endif
		
		//Abort if any of the files could not be deleted
		if (fileExists(strCheckHeaderFilename+".dbf"))
			appendToLog("Import aborted.  Could not delete "+strCheckHeaderFilename+".dbf")
			exit
		endif
		if (fileExists(strCheckDetailFilename+".dbf"))
			appendToLog("Import aborted.  Could not delete "+strCheckDetailFilename+".dbf")
			exit
		endif
		if (fileExists(strSalesMixFilename+".dbf"))
			appendToLog("Import aborted.  Could not delete "+strSalesMixFilename+".dbf")
			exit
		endif
		
		//open the drivers
		strDrvCkHeader="ckheader"+getSalt(6)
		strDrvCkDetail="ckdetail"+getSalt(6)
		strDrvSalesMix="salesmix"+getSalt(6)
		driverOpen("POS_Generic_Check_Header_Buffer",strDrvCkHeader,WRITE,true,"filename="+strCheckHeaderFilename+".dbf")
		driverOpen("POS_Generic_Check_Detail_Buffer",strDrvCkDetail,WRITE,false,"filename="+strCheckDetailFilename+".dbf")
		driverOpen("POS_Generic_SalesMix_Dbase",strDrvSalesMix,WRITE,true,"filename="+strSalesMixFilename+".dbf")
		
		///========================================================================================================================
		//Check Headers
		///========================================================================================================================
		appendToLog("Merging Check Headers")

		//open the source driver
		strSrcFilename="__PosDir__checks.csv"
		strSrcDriverID="POS_Softtouch_Checks"
		strTempFilename=getToken("homedir")+"temporary_files/"+getSalt(12)+".$$$"
		fileCopy(strSrcFilename,strTempFilename)
		driverOpen(strSrcDriverID,drvSrc,READ,false,"filename="+strTempFilename+"|storecode="+strStoreCode+"|storeId="+strStoreId)
		
		//Add the records to the check headers
		cRecords=driverGetRecordCount(drvSrc,true)
		Cntr=0
		while (Cntr<cRecords)
			intRecord=driverAddNewRecord(strDrvCkHeader)
			driverPutFieldAbsolute(strDrvCkHeader,"Store_Code",intRecord,"__StoreCode__")
			driverPutFieldAbsolute(strDrvCkHeader,"Store_ID",intRecord,"__StoreID__")
			driverPutFieldAbsolute(strDrvCkHeader,"Line",intRecord,intRecord)
			driverPutFieldAbsolute(strDrvCkHeader,"CheckNumber",intRecord,driverGetFieldAbsolute(drvSrc,"CHECKNUMBE",Cntr))
			driverPutFieldAbsolute(strDrvCkHeader,"Time_Open",intRecord,driverGetFieldAbsolute(drvSrc,"Time_Open",Cntr))
			driverPutFieldAbsolute(strDrvCkHeader,"Time_Close",intRecord,driverGetFieldAbsolute(drvSrc,"Time_Close",Cntr))
			driverPutFieldAbsolute(strDrvCkHeader,"Tax_Exempt",intRecord,driverGetFieldAbsolute(drvSrc,"TAXEXEMPT",Cntr))
			driverPutFieldAbsolute(strDrvCkHeader,"Emp_Open",intRecord,driverGetFieldAbsolute(drvSrc,"OWNERNUMBE",Cntr))
			driverPutFieldAbsolute(strDrvCkHeader,"Emp_Close",intRecord,driverGetFieldAbsolute(drvSrc,"CASHOUTNUM",Cntr))
			driverPutFieldAbsolute(strDrvCkHeader,"AutoGrat",intRecord,driverGetFieldAbsolute(drvSrc,"GRATUITY",Cntr))
			
			//revenue centers are hardwired in SoftTouch as:   0=counter, 1=takeout, 2=dining, 3=bar, 4=delivery, 5=drivethru
			driverPutFieldAbsolute(strDrvCkHeader,"Rev_Ctr",intRecord,driverGetFieldAbsolute(drvSrc,"CHECKTYPE",Cntr))
			Cntr=Cntr + 1
		endwhile
		
		driverSetFilter(strDrvCkHeader,"true",true)
		driverClose(drvSrc)
		fileDelete(strTempFilename)

		///============================================================
		//Create a file of revenue centers since they're hardwired in SoftTouch
		//0=counter, 1=takeout, 2=dining, 3=bar, 4=delivery, 5=drivethru
		///============================================================
		arNames="Counter,Takeout,Dining,Bar,Delivery,Drivethru"
		driverOpen(POS_Generic_POSIDs_DBase,"drvDbf",WRITE,false,"filename=__StoreDir__revctr.dbf")
		Cntr=0
		while (Cntr<6)
			if (driverGetRecordCount(drvDbf,true)<=Cntr)
				driverAddNewRecord(drvDbf)
			endif
			driverPutFieldAbsolute(drvDbf,"Store_Code",Cntr,"__StoreCode__")
			driverPutFieldAbsolute(drvDbf,"Store_ID",Cntr,"__StoreID__")
			driverPutFieldAbsolute(drvDbf,"Number",Cntr,Cntr)
			driverPutFieldAbsolute(drvDbf,"Name",Cntr,getElement(arNames,Cntr))
			Cntr=Cntr + 1
		endwhile
		driverClose(drvDbf)
		
		///============================================================
		//Check Details - Sales
		///============================================================
		appendToLog("Merging Check Details - Sales")

		//open the source driver
		strSrcFilename="__PosDir__checkitems.csv"
		if (not(fileExists(strSrcFilename)))
			strSrcFilename="__PosDir__checkitem.csv"
		endif
		strSrcDriverID="POS_Softtouch_Checkitems"
		strTempFilename=getToken("homedir")+"temporary_files/"+getSalt(12)+".$$$"
		fileCopy(strSrcFilename,strTempFilename)
		driverOpen(strSrcDriverID,drvSrc,READ,false,"filename="+strTempFilename+"|storecode="+strStoreCode+"|storeId="+strStoreId)
		
		//Add the records to the check details
		cRecords=driverGetRecordCount(drvSrc,true)
		Cntr=0
		while (Cntr<cRecords)
			strItemID=driverGetFieldAbsolute(drvSrc,"ITEMNUMBER",Cntr)
			if ((strItemID<>"0") and (driverGetFieldAbsolute(drvSrc,"VOIDTYPE",Cntr)=0))
				strCheckNumber=driverGetFieldAbsolute(drvSrc,"CHECKNUMBE",Cntr)
				intQuantity=driverGetFieldAbsolute(drvSrc,"QUANTITY",Cntr)
				dblAmount=driverGetFieldAbsolute(drvSrc,"TOTAL",Cntr)
				dt=driverGetFieldAbsolute(drvSrc,"Time",Cntr)
				
				//accumulate totals in check header
				intCheckHeaderRecord=lookup(POS_Generic_Check_Header_Lookup_DiskIndex_By_Check_Number,strCheckNumber,0,"",strDrvCkHeader)
				if (intCheckHeaderRecord>=0)
					driverPutFieldAbsolute(strDrvCkHeader,"Net_Sales",intCheckHeaderRecord,driverGetFieldAbsolute(strDrvCkHeader,"Net_Sales",intCheckHeaderRecord)+dblAmount)
				else
					appendToLog("Cannot locate check number "+strCheckNumber+" while recording sales")
				endif
				
				//add to check details
				intRecord=driverAddNewRecord(strDrvCkDetail)
				driverPutFieldAbsolute(strDrvCkDetail,"Store_Code",intRecord,"__StoreCode__")
				driverPutFieldAbsolute(strDrvCkDetail,"Store_ID",intRecord,"__StoreID__")
				driverPutFieldAbsolute(strDrvCkDetail,"Line",intRecord,intRecord)
				driverPutFieldAbsolute(strDrvCkDetail,"CheckNumber",intRecord,strCheckNumber)
				driverPutFieldAbsolute(strDrvCkDetail,"Time",intRecord,dt)
				driverPutFieldAbsolute(strDrvCkDetail,"RecType",intRecord,0)
				driverPutFieldAbsolute(strDrvCkDetail,"ID1",intRecord,strItemID)
				driverPutFieldAbsolute(strDrvCkDetail,"Menuitem",intRecord,strItemID)
				driverPutFieldAbsolute(strDrvCkDetail,"Quantity",intRecord,intQuantity)
				driverPutFieldAbsolute(strDrvCkDetail,"Amount",intRecord,dblAmount)

				//add to sales mix
				intRecord=driverFindRecordAbsolute(strDrvSalesMix,0,"ItemID="+quote(strItemID))
				if (intRecord<0)
					intRecord=driverAddNewRecord(strDrvSalesMix)
				endif
				
				intSold=driverGetFieldAbsolute(strDrvSalesMix,"Sold",intRecord)+intQuantity
				dblNetSales=driverGetFieldAbsolute(strDrvSalesMix,"Net_Sales",intRecord)+dblAmount
				driverPutFieldAbsolute(strDrvSalesMix,"Store_Code",intRecord,"__StoreCode__")
				driverPutFieldAbsolute(strDrvSalesMix,"Store_ID",intRecord,"__StoreID__")
				driverPutFieldAbsolute(strDrvSalesMix,"Line",intRecord,intRecord)
				driverPutFieldAbsolute(strDrvSalesMix,"ItemID",intRecord,strItemID)
				driverPutFieldAbsolute(strDrvSalesMix,"Sold",intRecord,intSold)
				driverPutFieldAbsolute(strDrvSalesMix,"Net_Sales",intRecord,dblNetSales)
				driverPutFieldAbsolute(strDrvSalesMix,"Sale_Price",intRecord,dblNetSales/intSold)
				driverPutFieldAbsolute(strDrvSalesMix,"Avg_Price",intRecord,dblNetSales/intSold)
				driverPutFieldAbsolute(strDrvSalesMix,"Item_Name",intRecord,lookup(POS_Generic_Lookup_Menu_Items_By_ID,strItemID,0,"filename=__StoreDir__recipe.dbf"))
				driverPutFieldAbsolute(strDrvSalesMix,"Time",intRecord,date(dateNumber(dt),true))
				//driverPutFieldAbsolute(strDrvSalesMix,"Discounts",intRecord,0)

				///Record the sale in the timeclock file.  The timeclock driver is left open when the timeclock is imported
				strEmployeeClose=driverGetFieldAbsolute(strDrvCkHeader,"Emp_Close",intCheckHeaderRecord)
				dtTimeClose=driverGetFieldAbsolute(strDrvCkHeader,"Time_Close",intCheckHeaderRecord)
				dblNetSales=driverGetFieldAbsolute(strDrvCkHeader,"Net_Sales",intCheckHeaderRecord)
				Num1=dateNumber(dtTimeClose)
				
				//look for a timeclock record for the employee that encompases the time the check was closed.  This allows sales to be matched to double shifts
				strFilter="(Employee="+quote(strEmployeeClose)+") and (dateNumber(ActTimeIn)"+char(0x3c)+"="+Num1+") and (dateNumber(ActTimeOut)"+char(0x3e)+"="+Num1+")"
				intRecord=driverFindRecordAbsolute(drvTimeclock,0,strFilter)
				
				//if a record was not found, look for any shift matching the employee
				if (intRecord<0)
					strFilter="(Employee="+quote(strEmployeeClose)+")"
					intRecord=driverFindRecordAbsolute(drvTimeclock,0,strFilter)
				endif
				
				//record the sale
				if (intRecord>=0)
					driverPutFieldAbsolute(drvTimeclock,"ActNetSales",intRecord,driverGetFieldAbsolute(drvTimeclock,ActNetSales,intRecord)+dblAmount)
					driverPutFieldAbsolute(drvTimeclock,"AppNetSales",intRecord,driverGetFieldAbsolute(drvTimeclock,AppNetSales,intRecord)+dblAmount)
				else
					strCheckNumber=driverGetFieldAbsolute(strDrvCkHeader,"CheckNumber",Cntr)
					appendToLog("Cannot find employee to record net sales for check number "+strCheckNumber+" with Employee="+strEmployeeClose)
				endif
			endif
			Cntr=Cntr + 1
		endwhile
		
		driverClose(drvSrc)
		fileDelete(strTempFilename)
		
		///============================================================
		//Check Details - Tenders
		///============================================================
		appendToLog("Merging Check Details - Tenders")

		//open the source driver
		strSrcFilename="__PosDir__checkpayment.csv"
		cFields=fileGetFieldCount(strSrcFilename)
		if (cFields=11)
			strSrcDriverID="POS_Softtouch_Checkpayment11"
		elseif (cFields=17)
			strSrcDriverID="POS_Softtouch_Checkpayment17"
		else
			appendToLog("Unrecognized Softouch version while reading check payments")
			strSrcDriverID=""
		endif
		
		//The Autogratuity comes from the check headers.    
		//This array is used to avoid recording the autogratuity from a check header twice if there is more than one tender record for the check
		arRecordedAutoGrat=""
		
		if (len(strSrcDriverID)>0)
			strTempFilename=getToken("homedir")+"temporary_files/"+getSalt(12)+".$$$"
			fileCopy(strSrcFilename,strTempFilename)
			driverOpen(strSrcDriverID,drvSrc,READ,false,"filename="+strTempFilename+"|storecode="+strStoreCode+"|storeId="+strStoreId)
			
			//Add the records to the check details and update the check header totals
			cRecords=driverGetRecordCount(drvSrc,true)
			Cntr=0
			while (Cntr<cRecords)
			
				strCheckNumber=driverGetFieldAbsolute(drvSrc,"CHECKNUMBE",Cntr)
				dblAmount=driverGetFieldAbsolute(drvSrc,"AMOUNT",Cntr)
				dblTip=driverGetFieldAbsolute(drvSrc,"TIP",Cntr)
				intAccount=driverGetFieldAbsolute(drvSrc,"ACCOUNTNUM",Cntr)
				
				//accumulate in check header and get any auto-gratuity from the check header
				intCheckHeaderRecord=lookup(POS_Generic_Check_Header_Lookup_DiskIndex_By_Check_Number,strCheckNumber,0,"",strDrvCkHeader)
				dblAutoGratuity=0
				if (intCheckHeaderRecord>=0)
					driverPutFieldAbsolute(strDrvCkHeader,"Tendered",intCheckHeaderRecord,driverGetFieldAbsolute(strDrvCkHeader,"Tendered",intCheckHeaderRecord)+dblAmount)
					if (containsElement(arRecordedAutoGrat,intCheckHeaderRecord)<0)
						dblAutoGratuity=driverGetFieldAbsolute(strDrvCkHeader,"AutoGrat",intCheckHeaderRecord)
						arRecordedAutoGrat=addElement(arRecordedAutoGrat,intCheckHeaderRecord)
					endif
				else
					appendToLog("Cannot locate check number "+strCheckNumber+" while recording tenders")
				endif
			
				intRecord=driverAddNewRecord(strDrvCkDetail)
				driverPutFieldAbsolute(strDrvCkDetail,"Store_Code",intRecord,"__StoreCode__")
				driverPutFieldAbsolute(strDrvCkDetail,"Store_ID",intRecord,"__StoreID__")
				driverPutFieldAbsolute(strDrvCkDetail,"Line",intRecord,intRecord)
				driverPutFieldAbsolute(strDrvCkDetail,"RecType",intRecord,8)
				driverPutFieldAbsolute(strDrvCkDetail,"Time",intRecord,driverGetFieldAbsolute(drvSrc,"OPERATIOND",Cntr))
				driverPutFieldAbsolute(strDrvCkDetail,"CheckNumber",intRecord,strCheckNumber)
				driverPutFieldAbsolute(strDrvCkDetail,"ID1",intRecord,intAccount)
				driverPutFieldAbsolute(strDrvCkDetail,"Amount",intRecord,dblAmount)
					
				//Locate timeclock record to record any charge sales and charge tips
				strEmployeeClose=driverGetFieldAbsolute(strDrvCkHeader,"Emp_Close",intCheckHeaderRecord)
				dtTimeClose=driverGetFieldAbsolute(strDrvCkHeader,"Time_Close",intCheckHeaderRecord)
				Num1=dateNumber(dtTimeClose)
				
				//look for a timeclock record for the employee that encompases the time the check was closed.  This allows sales to be matched to double shifts
				strFilter="(Employee="+quote(strEmployeeClose)+") and (dateNumber(ActTimeIn)"+char(0x3c)+"="+Num1+") and (dateNumber(ActTimeOut)"+char(0x3e)+"="+Num1+")"
				intEmployeeRecord=driverFindRecordAbsolute(drvTimeclock,0,strFilter)
				
				//if a record was not found, look for any shift matching the employee
				if (intEmployeeRecord<0)
					strFilter="(Employee="+quote(strEmployeeClose)+")"
					intEmployeeRecord=driverFindRecordAbsolute(drvTimeclock,0,strFilter)
				endif
				
				//record charge sales in timeclock
				intTenderType=lookup(POS_Generic_Lookup_Tender_Type,intAccount,0,"Filename=__StoreDir__tender.dbf")
				if (intTenderType=1) 
					if (intEmployeeRecord>=0)
						driverPutFieldAbsolute(drvTimeclock,"ActChgSls",intEmployeeRecord,driverGetFieldAbsolute(drvTimeclock,ActChgSls,intEmployeeRecord)+(dblAmount-dblTip))
						driverPutFieldAbsolute(drvTimeclock,"AppChgSls",intEmployeeRecord,driverGetFieldAbsolute(drvTimeclock,AppChgSls,intEmployeeRecord)+(dblAmount-dblTip))
					else
						strCheckNumber=driverGetFieldAbsolute(strDrvCkHeader,"CheckNumber",Cntr)
						appendToLog("Cannot find employee to record charge sales for check number "+strCheckNumber+" with Employee="+strEmployeeClose)
					endif
				endif

				if ((dblTip>0) or (dblAutoGratuity>0))
					//Add tip record to check details
					intRecord=driverAddNewRecord(strDrvCkDetail)
					driverPutFieldAbsolute(strDrvCkDetail,"Store_Code",intRecord,"__StoreCode__")
					driverPutFieldAbsolute(strDrvCkDetail,"Store_ID",intRecord,"__StoreID__")
					driverPutFieldAbsolute(strDrvCkDetail,"Line",intRecord,intRecord)
					driverPutFieldAbsolute(strDrvCkDetail,"RecType",intRecord,10)
					driverPutFieldAbsolute(strDrvCkDetail,"CheckNumber",intRecord,strCheckNumber)
					driverPutFieldAbsolute(strDrvCkDetail,"Amount",intRecord,dblTip)

					///Record the tip and the amount (sales) in the timeclock file.  The timeclock driver is left open when the timeclock is imported
					if ((intTenderType=1) or (dblAutoGratuity>0))
						if (intEmployeeRecord>=0)
							driverPutFieldAbsolute(drvTimeclock,"ActChgTip",intEmployeeRecord,driverGetFieldAbsolute(drvTimeclock,ActChgTip,intEmployeeRecord)+dblTip+dblAutoGratuity)
							driverPutFieldAbsolute(drvTimeclock,"AppChgTip",intEmployeeRecord,driverGetFieldAbsolute(drvTimeclock,AppChgTip,intEmployeeRecord)+dblTip+dblAutoGratuity)
						else
							strCheckNumber=driverGetFieldAbsolute(strDrvCkHeader,"CheckNumber",Cntr)
							appendToLog("Cannot find employee to record charge tips for check number "+strCheckNumber+" with Employee="+strEmployeeClose)
						endif
					endif
				endif
				Cntr=Cntr + 1
			endwhile
			
			driverClose(drvSrc)
			fileDelete(strTempFilename)
		endif
		
		///============================================================
		//Check Details - Tax
		///============================================================
		appendToLog("Merging Check Details - Tax")

		//open the source driver
		strSrcFilename="__PosDir__checktax.csv"
		strSrcDriverID="POS_Softtouch_Checktax"
		strTempFilename=getToken("homedir")+"temporary_files/"+getSalt(12)+".$$$"
		fileCopy(strSrcFilename,strTempFilename)
		driverOpen(strSrcDriverID,drvSrc,READ,false,"filename="+strTempFilename+"|storecode="+strStoreCode+"|storeId="+strStoreId)
		
		//Add the records to the check details and update the check header totals
		cRecords=driverGetRecordCount(drvSrc,true)
		Cntr=0
		while (Cntr<cRecords)

			strCheckNumber=driverGetFieldAbsolute(drvSrc,"CHECKNUMBE",Cntr)
			dblAmount=driverGetFieldAbsolute(drvSrc,"AMOUNT",Cntr)
			
			//add to check header
			intRecord=lookup(POS_Generic_Check_Header_Lookup_DiskIndex_By_Check_Number,strCheckNumber,0,"",strDrvCkHeader)
			if (intRecord>=0)
				driverPutFieldAbsolute(strDrvCkHeader,"Tax1",intRecord,driverGetFieldAbsolute(strDrvCkHeader,"Tax1",intRecord)+dblAmount)
			else
				appendToLog("Cannot locate check number "+strCheckNumber+" while recording tax")
			endif
		
			intRecord=driverAddNewRecord(strDrvCkDetail)
			driverPutFieldAbsolute(strDrvCkDetail,"Store_Code",intRecord,"__StoreCode__")
			driverPutFieldAbsolute(strDrvCkDetail,"Store_ID",intRecord,"__StoreID__")
			driverPutFieldAbsolute(strDrvCkDetail,"Line",intRecord,intRecord)
			driverPutFieldAbsolute(strDrvCkDetail,"RecType",intRecord,4)
			driverPutFieldAbsolute(strDrvCkDetail,"CheckNumber",intRecord,strCheckNumber)
			driverPutFieldAbsolute(strDrvCkDetail,"Time",intRecord,driverGetFieldAbsolute(drvSrc,"OPERATIOND",Cntr))
			driverPutFieldAbsolute(strDrvCkDetail,"ID1",intRecord,driverGetFieldAbsolute(drvSrc,"TAXDEFINIT",Cntr))
			driverPutFieldAbsolute(strDrvCkDetail,"Amount",intRecord,dblAmount)
			Cntr=Cntr + 1
		endwhile
		
		driverClose(drvSrc)
		fileDelete(strTempFilename)

		///============================================================
		//Check Details - Discounts
		///============================================================
		appendToLog("Merging Check Details - Discounts")

		//open the source driver
		strSrcFilename="__PosDir__checkadjustment.csv"
		strSrcDriverID="POS_Softtouch_Checkadjustment"
		strTempFilename=getToken("homedir")+"temporary_files/"+getSalt(12)+".$$$"
		fileCopy(strSrcFilename,strTempFilename)
		driverOpen(strSrcDriverID,drvSrc,READ,false,"filename="+strTempFilename+"|storecode="+strStoreCode+"|storeId="+strStoreId)
		
		//Add the records to the check details and update the check header totals
		cRecords=driverGetRecordCount(drvSrc,true)
		Cntr=0
		while (Cntr<cRecords)

			strCheckNumber=driverGetFieldAbsolute(drvSrc,"CHECKNUMBE",Cntr)
			dblAmount=abs(driverGetFieldAbsolute(drvSrc,"ADJUSTMEN1",Cntr))

			//add to check header
			intRecord=lookup(POS_Generic_Check_Header_Lookup_DiskIndex_By_Check_Number,strCheckNumber,0,"",strDrvCkHeader)
			if (intRecord>=0)
				driverPutFieldAbsolute(strDrvCkHeader,"Discounts",intRecord,driverGetFieldAbsolute(strDrvCkHeader,"Discounts",intRecord)+dblAmount)
			else
				appendToLog("Cannot locate check number "+strCheckNumber+" while recording discounts")
			endif
		
			intRecord=driverAddNewRecord(strDrvCkDetail)
			driverPutFieldAbsolute(strDrvCkDetail,"Store_Code",intRecord,"__StoreCode__")
			driverPutFieldAbsolute(strDrvCkDetail,"Store_ID",intRecord,"__StoreID__")
			driverPutFieldAbsolute(strDrvCkDetail,"Line",intRecord,intRecord)
			driverPutFieldAbsolute(strDrvCkDetail,"RecType",intRecord,3)
			driverPutFieldAbsolute(strDrvCkDetail,"CheckNumber",intRecord,strCheckNumber)
			driverPutFieldAbsolute(strDrvCkDetail,"Time",intRecord,driverGetFieldAbsolute(drvSrc,"OPERATIOND",Cntr))
			driverPutFieldAbsolute(strDrvCkDetail,"ID1",intRecord,driverGetFieldAbsolute(drvSrc,"ADJUSTMENT",Cntr))
			driverPutFieldAbsolute(strDrvCkDetail,"Amount",intRecord,dblAmount)
			Cntr=Cntr + 1
		endwhile
		
		driverClose(drvSrc)
		fileDelete(strTempFilename)

		///============================================================
		///Record net sales from check headers in employee timeclock
		///The timeclock driver is left open when the timeclock is imported
		///============================================================
		if (false)
			appendToLog("Recording net sales in employee timeclock")
			cRecords=driverGetRecordCount(strDrvCkHeader,true)
			Cntr=0
			while (Cntr<cRecords)
				strEmployeeClose=driverGetFieldAbsolute(strDrvCkHeader,"Emp_Close",Cntr)
				dtTimeClose=driverGetFieldAbsolute(strDrvCkHeader,"Time_Close",Cntr)
				dblNetSales=driverGetFieldAbsolute(strDrvCkHeader,"Net_Sales",Cntr)
				Num1=dateNumber(dtTimeClose)
				
				//look for a timeclock record for the employee that encompases the time the check was closed.  This allows sales to be matched to double shifts
				strFilter="(Employee="+quote(strEmployeeClose)+") and (dateNumber(ActTimeIn)"+char(0x3c)+"="+Num1+") and (dateNumber(ActTimeOut)"+char(0x3e)+"="+Num1+")"
				intRecord=driverFindRecordAbsolute(drvTimeclock,0,strFilter)
				
				//if a record was not found, look for any shift matching the employee
				if (intRecord<0)
					strFilter="(Employee="+quote(strEmployeeClose)+")"
					intRecord=driverFindRecordAbsolute(drvTimeclock,0,strFilter)
				endif
				
				if (intRecord>=0)
					driverPutFieldAbsolute(drvTimeclock,"ActNetSales",intRecord,driverGetFieldAbsolute(drvTimeclock,"ActNetSales",intRecord)+dblNetSales)
					driverPutFieldAbsolute(drvTimeclock,"AppNetSales",intRecord,driverGetFieldAbsolute(drvTimeclock,"AppNetSales",intRecord)+dblNetSales)
				else
					strCheckNumber=driverGetFieldAbsolute(strDrvCkHeader,"CheckNumber",Cntr)
					appendToLog("Cannot find employee to record net sales for check number "+strCheckNumber+" with Employee="+strEmployeeClose)
				endif
				
				Cntr=Cntr + 1
			endwhile
		endif
		driverClose(drvTimeclock)
		
		///============================================================
		//Create the dbf  export and close the drivers
		///============================================================
		//merge the dta file to the dbf file
		driverOpen("POS_Generic_Check_Header_Dbase",drvCkHeaderDbf,WRITE,false,"filename="+strCheckHeaderFilename+".dbf")
		driverOpen("POS_Generic_Check_Detail_Dbase",drvCkDetailDbf,WRITE,false,"filename="+strCheckDetailFilename+".dbf")
		appendToLog("Creating dbase file for check headers")
		driverCopyDriver(drvCkHeaderDbf,strDrvCkHeader)
		appendToLog("Creating dbase file for check details")
		driverCopyDriver(drvCkDetailDbf,strDrvCkDetail)
		driverClose(drvCkHeaderDbf)
		driverClose(drvCkDetailDbf)
		
		//close the drivers
		driverClose(strDrvCkHeader)
		driverClose(strDrvCkDetail)
		driverClose(strDrvSalesMix)
	endif
	
	intElapsedSec=(dateNumber(now())-dateNumber(tmImportStart))/1000
	appendToLog("Softtouch POS Import  complete.  Elapsed time: "+intElapsedSec+" seconds.")
">
</widget><widget name="Calculate Overtime" group="Scripts" category="" description="Calculates overtime for a store for dates after a given starting date.  Params: StoreID - the ID of the store, Date - The starting date." type="Simple" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Calculate Overtime" modified="03-21-2016 02:04:14" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=03-09-2016 22:20:08:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
<include type:script; commands:"
	strStoreID=__StoreID__
	dtStart=parseTime("__Date__","MM-dd-yyyy")
	appendToLog("Calculate overtime.  Store="+strStoreID+" Start="+formatDate(dtStart,"MM-dd-yyyy"))

	boolAspect6Compatible=true
	
	if (boolAspect6Compatible)
		appendToLog("=================Aspect6 Compatibility is enabled=======================")
	endif
	
	//get store payroll settings
	driverOpen(Aspect_BackOffice_Store,drvStore,WRITE)
	intRecord=driverFindRecordAbsolute(drvStore,0,"ID="+quote(strStoreID))
	if (intRecord<0)
		driverClose(drvStore)
		appendToLog("Cannot calculate overtime.  Invalid store ID: "+strStoreID)
		exit
	endif
	
	//PR_Week_Start_Day	0-6 (Sun - Sat)
	//PR_Period Start Date	Starting date of most recent payroll period
	//PR_Frequency			0-Weekly, 1-Bi-Weekly, 2-Semi-Monthly
	//PR_Over_8_In_Day		Rate for hours worked over eight in a single day - 0 - Regular, 1-Time + 1/2, 2-Double
	//PR_Over_12_In_Day	Rate for hours worked over twelve  in a single day. - 0 - Regular, 1-Time + 1/2, 2-Double
	//PR_First8_7th_Day		Rate for first eight hours worked on the 7th consecutive day - 0 - Regular, 1-Time + 1/2, 2-Double
	//PR_Over8_7th_Day		Rate for hours worked over eight on the 7th consecutive day - 0 - Regular, 1-Time + 1/2, 2-Double
	//PR_Use_Avg_Reg_Rate	Use average regular rate when calculating overtime rate - 0 - Regular, 1-Time + 1/2, 2-Double
	//PR_Use_Tip_Credit		Use tip credit when calculating overtime
	//PR_40Hours			Is overtime for hours over 40 in a week is based on regular or total hours
	//PR_Round_Clock_Times	If true, round clock in/out times to 

	//==================================================================================================
	//Get store name, directory and payroll settings
	//==================================================================================================
	strStoreName			=driverGetFieldAbsolute(drvStore,"Store_Name",intRecord)
	strStoreDir			=addDirSlash(driverGetFieldAbsolute(drvStore,"Store_Directory",intRecord))
	intPR_Week_Start_Day 	=driverGetFieldAbsolute(drvStore,"PR_Week_Start_Day",intRecord)
	dtPR_Period_Start_Date	=driverGetFieldAbsolute(drvStore,"PR_Period_Start_Date",intRecord)
	intPR_Frequency		=driverGetFieldAbsolute(drvStore,"PR_Frequency",intRecord)
	intPR_Over_8_In_Day	=driverGetFieldAbsolute(drvStore,"PR_Over_8_In_Day",intRecord)
	intPR_Over_12_In_Day	=driverGetFieldAbsolute(drvStore,"PR_Over_12_In_Day",intRecord)
	intPR_First8_7th_Day	=driverGetFieldAbsolute(drvStore,"PR_First8_7th_Day",intRecord)
	intPR_Over8_7th_Day	=driverGetFieldAbsolute(drvStore,"PR_Over8_7th_Day",intRecord)
	boolPR_Use_Avg_Reg_Rate=driverGetFieldAbsolute(drvStore,"PR_Use_Avg_Reg_Rate",intRecord)
	boolPR_Use_Tip_Credit	=driverGetFieldAbsolute(drvStore,"PR_Use_Tip_Credit",intRecord)
	intPR_40Hours			=driverGetFieldAbsolute(drvStore,"PR_40Hours",intRecord)
	dblMinimumWage		=driverGetFieldAbsolute(drvStore,"PR_Minimum_Wage",intRecord)
	boolPR_Round_Clock_Times=driverGetFieldAbsolute(drvStore,"PR_Round_Clock_Times",intRecord)
	boolNoOvertimeCalc	=driverGetFieldAbsolute(drvStore,"PR_No_Overtime_Calc",intRecord)
	
	driverClose(drvStore)

	appendToLog("dblMinimumWage="+dblMinimumWage)
	appendToLog("boolPR_Use_Tip_Credit="+boolPR_Use_Tip_Credit)
	//==================================================================================================
	//abort if the starting day of the week is not valid
	//==================================================================================================
	if ((intPR_Week_Start_Day<0) or (intPR_Week_Start_Day>6))
		appendToLog("Cannot calculate overtime.  Invalid starting date for store named "+strStoreName)
		exit
	endif
	
	//==================================================================================================
	//back up starting date until it aligns with the start of the payroll week
	//==================================================================================================
	appendToLog("Determine starting date from "+formatDate(dtStart,"MM-dd-yyyy")+" Payroll start day="+intPR_Week_Start_Day)
	while (dayOfWeek(dtStart)-1<>intPR_Week_Start_Day)
		appendToLog("dtStart="+formatDate(dtStart,"MM-dd-yyyy")+" dayOfWeek="+dayOfWeek(dtStart)-1)
		dtStart=incrementTime(dtStart,-1)
	endwhile
	appendToLog("Starting date is "+formatDate(dtStart,"MM-dd-yyyy"))
	
	//==================================================================================================
	//Calculate all days through the current day, one week at a time
	//==================================================================================================
	strDriverName=getSalt(24)
	while (dateNumber(dtStart)<dateNumber(now()))

		//==================================================================================================
		//Initialize the driver for the week
		//==================================================================================================
		//add week's worth of files to the driver
		cntrDay=0
		cDriver=0
		while (cntrDay<7) 
			strFilename=strStoreDir+formatDate(dtStart,"MM-dd-yyyy")+"_lbr.dbf"
			if (fileExists(strFilename))
				//open consolidated driver if it's not already open
				if (cDriver=0)
					driverOpen(ConsDriverVert,strDriverName,WRITE,true)
				endif
				cDriver=cDriver + 1

				driverOpen(POS_Generic_Labor_Detail_DBase,strDriverName+cntrDay,WRITE,true,"filename="+strFilename)
				driverSetFilter(strDriverName+cntrDay,"true",true)
				driverConsolidate(strDriverName,strDriverName+cntrDay,"","","")
				appendToLog("Adding driver: "+strFilename)
			endif
			dtStart=incrementTime(dtStart,1)
			cntrDay=cntrDay + 1
		endwhile
		
		if (cDriver>0)
			//sort the driver by employee & date & time
			driverSetSort(strDriverName,"Employee|AppTimeIn",true)
			
			//==================================================================================================
			//calc overtime.  Have to make three passes - one for scheduled, one for pos and one for approved
			//==================================================================================================
			cntrPass=0
			while (cntrPass<3)
				strLastEmployee=""
				
				//get the prefix used to read/write the fields depending on the pass
				strFieldPrefix=getElement("sch|act|app",cntrPass,"|")
				
				cRecords=driverGetRecordCount(strDriverName,false)
				cntrRecord=0
				while (cntrRecord<cRecords)
				
					//==================================================================================================
					//get employee and time in/out
					//==================================================================================================
					strEmployeeNum=driverGetField(strDriverName,"Employee",cntrRecord)
					Debug=false
					if ((strEmployeeNum="1194") and (cntrPass=2))
						Debug=true
					endif

					dtTimeIn=driverGetField(strDriverName,strFieldPrefix+"TimeIn",cntrRecord)
					dtTimeOut=driverGetField(strDriverName,strFieldPrefix+"TimeOut",cntrRecord)
					dtBreakIn=driverGetField(strDriverName,strFieldPrefix+"BreakIn",cntrRecord)
					dtBreakOut=driverGetField(strDriverName,strFieldPrefix+"BreakOut",cntrRecord)
					
					//round hours
					if (boolPR_Round_Clock_Times) 
						dtTimeIn=roundTime(dtTimeIn,"Minute","Near")
						dtTimeOut=roundTime(dtTimeOut,"Minute","Near")
						dtBreakIn=roundTime(dtBreakIn,"Minute","Near")
						dtBreakOut=roundTime(dtBreakOut,"Minute","Near")
					endif
					
					if ((dateNumber(dtTimeIn)=0) or (dateNumber(dtTimeOut)=0))
						driverPutField(strDriverName,strFieldPrefix+"RegHours",cntrRecord,0)
						driverPutField(strDriverName,strFieldPrefix+"OvtHrs1",cntrRecord,0)
						driverPutField(strDriverName,strFieldPrefix+"OvtRate1",cntrRecord,0)
					endif
					
					if ((dateNumber(dtTimeIn)<>dateNumber(dtTimeOut)) and (dateNumber(dtTimeIn)>0) and (dateNumber(dtTimeOut)>0))

						dblRegRate=driverGetField(strDriverName,strFieldPrefix+"RegRate",cntrRecord)
						dblHours=hours(dateNumber(dtTimeOut)-dateNumber(dtTimeIn),false)
						if (dateNumber(dtBreakOut)*dateNumber(dtBreakIn)>0)
							dblBreakHours=hours(dateNumber(dtBreakOut)-dateNumber(dtBreakIn),false)
							dblHours=dblHours - dblBreakHours
						endif
						intDayOfWeek=dayOfWeek(dtTimeIn)-1
						dblRegHours=0
						dblOvtHours=0
						dblOvtRate=0
if (Debug)
	appendToLog("In="+formatDate(dtTimeIn,"HH:mm:ss")+" Out="+formatDate(dtTimeOut,"HH:mm:ss")+" hours="+dblHours)
endif

						if (boolNoOvertimeCalc)
							driverPutField(strDriverName,strFieldPrefix+"RegHours",cntrRecord,dblHours)
							driverPutField(strDriverName,strFieldPrefix+"OvtHrs1",cntrRecord,0)
							driverPutField(strDriverName,strFieldPrefix+"OvtRate1",cntrRecord,0)
							driverPutField(strDriverName,strFieldPrefix+"OvtHrs2",cntrRecord,0)
							driverPutField(strDriverName,strFieldPrefix+"OvtRate2",cntrRecord,0)
						else
							//calculate overtime rate using tip credit at time and a half
							dblCalcOtRateX1_5=dblRegRate * 1.5
							if ((dblRegRate>0) and (dblRegRate<dblMinimumWage) and (boolPR_Use_Tip_Credit))
								dblCalcOtRateX1_5=dblMinimumWage * 1.5 - (dblMinimumWage-dblRegRate)
							endif
							
							//calculate overtime rate using tip credit at double time
							dblCalcOtRateX2_0=dblRegRate * 2
							if ((dblRegRate>0) and (dblRegRate<dblMinimumWage) and (boolPR_Use_Tip_Credit))
								dblCalcOtRateX2_0=dblMinimumWage * 2.0 - (dblMinimumWage-dblRegRate)
							endif
							
							//==================================================================================================
							//clear totals if starting on a new employee
							//arPreviousDays 		- Array of dates on which a shift has been worked.  Used to calculate consecutive work days
							//arPreviousHoursSameDay	- Array of hours worked on each of 7 days.  Used to calculate the previous house on the same day
							//dtLastTimeIn 			- The date/time of the last shift worked
							//intConsecutiveDays 		- The number of consecutive days worked
							//dblPrevRegHours		- The number of regular hours worked so far
							//dblPrevOvtHours		- The number of overtime hours worked so far
							//==================================================================================================
							if (strEmployeeNum<>strLastEmployee)
								strLastEmployee=strEmployeeNum
								arPreviousDays=""
								arPreviousHoursSameDay="0|0|0|0|0|0|0"
								dtLastTimeIn=date(0)
								intConsecutiveDays=0
								dblPrevRegHours=0
								dblPrevOvtHours=0
							endif
							
							//==================================================================================================
							//update consecutive work days (make sure to not count a double as a consecutive shift)
							//The intConsecutiveDays variable contains the number of consecutive days not including the current day
							//==================================================================================================
							if (day(dtTimeIn)<>day(dtLastTimeIn))
								dt=incrementTime(dtTimeIn,-1)
								if (pos(formatDate(dt,"MM-dd-yyyy"),arPreviousDays)>=0)
									intConsecutiveDays=intConsecutiveDays+1
								else 
									intConsecutiveDays=0
								endif
								arPreviousDays=addElement(arPreviousDays,formatDate(dtTimeIn,"MM-dd-yyyy"),"|")
								dtLastTimeIn=dtTimeIn
							endif
							
							//write cumulative hours and days worked to file for troubleshooting
							driverPutField(strDriverName,"CumTtlHrs",cntrRecord,dblPrevRegHours+dblPrevOvtHours+dblHours)
							driverPutField(strDriverName,"ConsecDays",cntrRecord,intConsecutiveDays+1)
							
							if (Debug)
								strMsg="Employee="+strEmployeeNum+" TimeIn:"+formatDate(dtTimeIn,"MM-dd-yyyy HH:mm")
								strMsg=strMsg + " Hours="+formatNumber(dblHours,"#.###")
								strMsg=strMsg + " arPrevHrs="+arPreviousHoursSameDay+" arPreviousDays="+arPreviousDays+" intConsecutiveDays="+intConsecutiveDays
								appendToLog(strMsg)
							endif

							//==================================================================================================
							//get hours worked previously on the same day
							//==================================================================================================
							dblEarlierHours=getElement(arPreviousHoursSameDay,intDayOfWeek,"|")
							
							dblOvtHours1=0
							dblOvtHours2=0
							dblRegHours=0
							dblOvtRate1=0
							//==================================================================================================
							//Overtime on 7th day trumps everything else
							//==================================================================================================
							if ((intConsecutiveDays>=6) and (intPR_First8_7th_Day>0))
								//The first-8 and over-8 rules are applied together
								Num1=dblEarlierHours+dblHours-8
								dblOvtHours2=max(min(dblHours,Num1),0)
								dblOvtHours1=dblHours-dblOvtHours2 
								dblRegHours=0
								
								dblOvtRate1=dblCalcOtRateX1_5
								if (intPR_First8_7th_Day=2)
									dblOvtRate1=dblCalcOtRateX2_0
								endif
								
								dblOvtRate2=dblCalcOtRateX1_5
								if (intPR_Over8_7th_Day=2)
									dblOvtRate2=dblCalcOtRateX2_0
								endif
								
								if (boolAspect6Compatible)
									dblOvtRate1=dblRegRate*1.5
									dblOvtRate2=dblRegRate*2
								endif

								//write the hours and rates
								driverPutField(strDriverName,strFieldPrefix+"RegHours",cntrRecord,dblRegHours)
								driverPutField(strDriverName,strFieldPrefix+"OvtHrs1",cntrRecord,dblOvtHours1)
								driverPutField(strDriverName,strFieldPrefix+"OvtRate1",cntrRecord,dblOvtRate1)
								driverPutField(strDriverName,strFieldPrefix+"OvtHrs2",cntrRecord,dblOvtHours2)
								driverPutField(strDriverName,strFieldPrefix+"OvtRate2",cntrRecord,dblOvtRate2)
							else
								dblOvtRate1=0
								dblOvtRate2=0
								
								//==================================================================================================
								//Hours over 8 in a single day
								//==================================================================================================
								if ((dblEarlierHours+dblHours>8) and (intPR_Over_8_In_Day>0))
									if(dblEarlierHours+dblHours-8>dblOvtHours1)
										dblOvtHours1=min(dblHours,dblEarlierHours+dblHours-8)
										dblRegHours=dblHours-dblOvtHours1
										dblOvtRate1=dblCalcOtRateX1_5

										if (boolAspect6Compatible)
											dblOvtRate1=dblRegRate*1.5
										endif

										if (intPR_Over_8_In_Day=2)
											dblOvtRate1=dblCalcOtRateX2_0
										endif
									endif
								endif
								
								//write the hours and rate
								driverPutField(strDriverName,strFieldPrefix+"RegHours",cntrRecord,dblRegHours)
								driverPutField(strDriverName,strFieldPrefix+"OvtHrs1",cntrRecord,dblOvtHours1)
								driverPutField(strDriverName,strFieldPrefix+"OvtRate1",cntrRecord,dblOvtRate1)
								
								//==================================================================================================
								//Hours over 12 in a single day
								//==================================================================================================
								if ((dblEarlierHours+dblHours>12) and (intPR_Over_12_In_Day>0))
									dblOvtHours2=dblEarlierHours+dblHours-12
									
									dblOvtRate2=dblCalcOtRateX1_5
									if (intPR_Over_12_In_Day=2)
										dblOvtRate2=dblCalcOtRateX2_0
									endif

									if (intPR_Over_8_In_Day>0)
										//overtime for over 8 hours in a day is in effect
										dblOvtHours1=min(dblEarlierHours+dblHours-8-dblOvtHours2,dblHours-dblOvtHours2)
										dblRegHours=dblHours - dblOvtHours1 - dblOvtHours2
										dblOvtRate1=dblCalcOtRateX1_5

										if (intPR_Over_8_In_Day=2)
											dblOvtRate1=dblCalcOtRateX2_0
										endif
									else
										//only overtime for over 12 hours in a day, so remaining hours are regular and there is no overtime 1
										dblRegHours=dblRegHours - dblOvtHours2
										dblOvtRate1=0
									endif

									if (boolAspect6Compatible)
										dblOvtRate1=dblRegRate*1.5
										dblOvtRate2=dblRegRate*1.5
										if (intPR_Over_12_In_Day=2)
											dblOvtRate2=dblRegRate*2
										endif
									endif

									//write the hours and rate
									driverPutField(strDriverName,strFieldPrefix+"RegHours",cntrRecord,dblRegHours)
									driverPutField(strDriverName,strFieldPrefix+"OvtHrs1",cntrRecord,dblOvtHours1)
									driverPutField(strDriverName,strFieldPrefix+"OvtRate1",cntrRecord,dblOvtRate1)
									driverPutField(strDriverName,strFieldPrefix+"OvtHrs2",cntrRecord,dblOvtHours2)
									driverPutField(strDriverName,strFieldPrefix+"OvtRate2",cntrRecord,dblOvtRate2)
								endif

								//==================================================================================================
								//Hours over 40
								//==================================================================================================
								//after 40 regular hours
								Num1=dblPrevRegHours
								if (intPR_40Hours=1)
									//after 40 total hours
									Num1=dblPrevRegHours + dblPrevOvtHours
								endif
								
								dblOver40OvtHours1=0
								dblOver40OvtRate1=0
								if (Num1+dblHours<=40)
									dblOver40RegHours=dblHours
								else
									if (Num1>=40) 
										dblOver40OvtHours1=dblHours
										dblOver40RegHours=0
										dblOver40OvtRate1=dblCalcOtRateX1_5
									else
										dblOver40OvtHours1=min(dblHours,(Num1+dblHours)-40)
										dblOver40RegHours=dblHours - dblOver40OvtHours1
										dblOver40OvtRate1=dblCalcOtRateX1_5
									endif
								endif
								
								//write the hours and rate if the overtime is greater than or equal to that calculated earlier
								if (Debug)
									appendToLog("dblOver40OvtHours1="+dblOver40OvtHours1+" dblOver40OvtRate1="+dblOver40OvtRate1)
									appendToLog("dblOvtHours1="+dblOvtHours1+" dblOvtRate1="+dblOvtRate1)
									appendToLog("dblOvtHours2="+dblOvtHours2+" dblOvtRate2="+dblOvtRate2)
								endif
								if (dblOver40OvtHours1*dblOver40OvtRate1>=(dblOvtHours1*dblOvtRate1)+(dblOvtHours2*dblOvtRate2))
									dblRegHours=dblOver40RegHours
									dblOvtHours1=dblOver40OvtHours1
									dblOvtRate1=dblOver40OvtRate1
									dblOvtHours2=0
									dblOvtRate2=0
									
									if (boolAspect6Compatible)
										dblOvtRate1=dblRegRate*1.5
									endif

									driverPutField(strDriverName,strFieldPrefix+"RegHours",cntrRecord,dblRegHours)
									driverPutField(strDriverName,strFieldPrefix+"OvtHrs1",cntrRecord,dblOvtHours1)
									driverPutField(strDriverName,strFieldPrefix+"OvtRate1",cntrRecord,dblOvtRate1)
									driverPutField(strDriverName,strFieldPrefix+"OvtHrs2",cntrRecord,dblOvtHours2)
									driverPutField(strDriverName,strFieldPrefix+"OvtRate2",cntrRecord,dblOvtRate2)
								endif
							endif
						endif

						//update previous regular and overtime hours
						dblPrevRegHours=dblPrevRegHours + dblRegHours
						dblPrevOvtHours=dblPrevOvtHours + dblOvtHours1 + dblOvtHours2
						
						//update the previous hours worked in the array of previous hours
						arPreviousHoursSameDay=setElement(arPreviousHoursSameDay,intDayOfWeek,value(getElement(arPreviousHoursSameDay,intDayOfWeek,"|"))+dblHours,"|")
					else
						driverPutField(strDriverName,strFieldPrefix+"RegHours",cntrRecord,0)
						driverPutField(strDriverName,strFieldPrefix+"OvtHrs1",cntrRecord,0)
						driverPutField(strDriverName,strFieldPrefix+"OvtRate1",cntrRecord,0)
						driverPutField(strDriverName,strFieldPrefix+"OvtHrs2",cntrRecord,0)
						driverPutField(strDriverName,strFieldPrefix+"OvtRate2",cntrRecord,0)
					endif
					
					cntrRecord=cntrRecord + 1
				endwhile
				
				cntrPass=cntrPass + 1
			endwhile

			//close the consolidated driver
			driverClose(strDriverName)
		endif
	endwhile

	appendToLog("Calculating overtime - complete")
">
</widget><widget name="Polling Container" group="Back-Office" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="true" PublicName="Polling (Aspect6)" modified="12-09-2014 13:06:47" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=11-16-2014 01:42:43:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=23|toolboxy=372|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Polling Container.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=code|X=300|Y=100|W=314|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<select onChange=\\quot\\showTab(this)\\quot\\>//crlf////tab////tab//<option value='301067'>Javascript</option>//crlf////tab////tab//<option value='AspectScript'>Aspect Script</option>//crlf////tab////tab//<option value='store_setup'>Store - Setup</option>//crlf////tab////tab//<option value='store_export_file_info'>Store - Export File Info</option>//crlf////tab////tab//<option value='store_transport_queue'>Store - Transport Queue</option>//crlf////tab////tab//<option value='office_polling_setup'>Office - Setup</option>//crlf////tab////tab//<option value='office_polling_status'>Office - Status</option>//crlf////tab////tab//<option value='office_local_files'>Office - Local Files</option>//crlf////tab////tab//<option value='office_server_library'>Office - Server Library</option>//crlf////tab////tab//<option value='office_local_library'>Office - Local Library</option>//crlf////tab////tab//<option value='office_store_list'>Office - Store List</option>//crlf////tab////tab//<option value='23338'>Notes</option>//crlf////tab////tab//<option value='debug_console'>Console</option>//crlf//</select>//crlf//
^
ID=301067|X=300|Y=124|W=803|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=/*********************************************************************//crlf//Called by the Apply button in the store setup item//crlf//*********************************************************************///crlf//function applyStorePreferences(CustomerID\\comma\\s)//crlf//{//crlf////tab////if the function is complete...//crlf////tab//if(s) {//crlf////tab////tab////result is a pipe-delimited string in the form: result~~pipe~~polling enabled~~pipe~~store code~~pipe~~message//crlf////tab////tab//a=getSubStringArray(s.trim()\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\true)//crlf////tab////tab//if(a.length!=4) {//crlf////tab////tab////tab//showDialog(\\quot\\msg=Invalid result: \\quot\\+s.trim()+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+a[3]+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////crlf////tab////tab////tab////make sure the checkbox and store reflect the settings on the computer//crlf////tab////tab////tab//document.getElementById(\\quot\\enable_store_polling\\quot\\).checked=(a[1].equalsIgnoreCase(\\quot\\true\\quot\\));//crlf////tab////tab////tab//document.getElementById(\\quot\\SelectStore\\quot\\).value=a[2];//crlf////tab////tab//};//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//var sArgs=\\quot\\CustomerID=\\quot\\+CustomerID+\\quot\\//amp//action=applyStorePreferences\\quot\\;//crlf////tab//sArgs=sArgs + \\quot\\//amp//Enable=\\quot\\+document.getElementById(\\quot\\enable_store_polling\\quot\\).checked;//crlf////tab//sArgs=sArgs + \\quot\\//amp//Store=\\quot\\+document.getElementById(\\quot\\SelectStore\\quot\\).value;//crlf////tab//var sFunc=\\quot\\applyStorePreferences(\\\quot\\\\quot\\+CustomerID+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf//appendToLog(\\quot\\js-args=\\quot\\+sArgs\\comma\\false\\comma\\true);//crlf////tab////show dialog if computer is remote//crlf////tab//if(!CustomerID.equalsIgnoreCase(\\quot\\{AspectHashID}\\quot\\)) {//crlf////tab////tab//showDialog(\\quot\\icon=true//amp//msg=Applying preferences...\\quot\\);//crlf////tab//};//crlf////crlf////tab//loadContent(\\quot\\AspectScript\\quot\\\\comma\\sArgs\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf///*********************************************************************//crlf//Called by the Apply button in the office setup item//crlf//*********************************************************************///crlf//function applyOfficePreferences(CustomerID\\comma\\s)//crlf//{//crlf////tab////if the function is complete...//crlf////tab//if(s) {//crlf////tab////tab////result is a pipe-delimited string in the form: result~~pipe~~polling enabled~~pipe~~auto import~~pipe~~message//crlf////tab////tab//a=getSubStringArray(s.trim()\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\true)//crlf////tab////tab//if(a.length!=4) {//crlf////tab////tab////tab//showDialog(\\quot\\msg=Invalid result: \\quot\\+s.trim()+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+a[3]+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////crlf////tab////tab////tab////make sure the checkbox and store reflect the settings on the computer//crlf////tab////tab////tab//document.getElementById(\\quot\\enable_office_polling\\quot\\).checked=(a[1].equalsIgnoreCase(\\quot\\true\\quot\\));//crlf////tab////tab////tab//document.getElementById(\\quot\\auto_import\\quot\\).checked=(a[2].equalsIgnoreCase(\\quot\\true\\quot\\));//crlf////tab////tab//};//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//var sArgs=\\quot\\CustomerID=\\quot\\+CustomerID+\\quot\\//amp//action=applyOfficePreferences\\quot\\;//crlf////tab//sArgs=sArgs + \\quot\\//amp//Enable=\\quot\\+document.getElementById(\\quot\\enable_office_polling\\quot\\).checked;//crlf////tab//sArgs=sArgs + \\quot\\//amp//AutoImport=\\quot\\+document.getElementById(\\quot\\auto_import\\quot\\).checked;//crlf////tab//var sFunc=\\quot\\applyOfficePreferences(\\\quot\\\\quot\\+CustomerID+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////crlf////tab////show dialog if computer is remote//crlf////tab//if(!CustomerID.equalsIgnoreCase(\\quot\\{AspectHashID}\\quot\\)) {//crlf////tab////tab//showDialog(\\quot\\icon=true//amp//msg=Applying preferences...\\quot\\);//crlf////tab//};//crlf////crlf////tab//loadContent(\\quot\\AspectScript\\quot\\\\comma\\sArgs\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf///*********************************************************************//crlf//Downloads any files that are available on the server.  The library client used to synch//crlf//the files executes the Aspect6_importPollingFile script after synchronizing to import//crlf//any files that were downloaded from the server.//crlf//*********************************************************************///crlf//function synchronizeOffice(b) {//crlf////tab//var eStatus=document.getElementById(\\quot\\office_polling_status\\quot\\);//crlf////crlf////tab//if(b) {//crlf////tab////tab////refresh the icon at the top of the page to show the script is idle//crlf////tab////tab//loadContent(\\quot\\261290\\quot\\);//crlf////crlf////tab////tab////refresh the box showing the status of documents on the server and the next synch time//crlf////tab////tab//loadContent(\\quot\\427282\\quot\\);//crlf////crlf////tab////tab////refresh the table of documents in the local library//crlf////tab////tab//loadContent(\\quot\\office_local_library2\\quot\\);//crlf////tab//}//crlf////tab//else {//crlf////tab////tab//var strFunc=\\quot\\synchronizeOffice('true')\\quot\\;//crlf////tab////tab//loadContent(\\quot\\AspectScript\\quot\\\\comma\\\\quot\\action=synchronizeOffice\\quot\\\\comma\\strFunc\\comma\\strFunc);//crlf////crlf////tab////tab////refresh the status box to show the script is running//crlf////tab////tab//loadContent(\\quot\\261290\\quot\\\\comma\\\\quot\\Synchronizing=true\\quot\\);//crlf////tab//};//crlf//};//crlf////crlf///*********************************************************************//crlf//Retrieves the history for a document in a polling library and displays it in a div named //crlf//document_history.  The div is defined in the \\quot\\Polling Library Client\\quot\\ widget loaded //crlf//into the tab from the server.    The div named document_history_wrapper is used to//crlf//position the div and make it visible or not.//crlf////crlf//This function is called by clicking the History button in the table contained in the widget.//crlf//*********************************************************************///crlf//function showDocumentHistory(DocumentID) {//crlf//  var div=document.getElementById(\\quot\\document_history\\quot\\);//crlf//  div.innerHTML=\\quot\\\\quot\\;//crlf//  var img=document.createElement('img');//crlf//  img.src=imageStatusActive.src;//crlf//  div.appendChild(img);//crlf//  setVisible(\\quot\\document_history_wrapper\\quot\\\\comma\\true);//crlf////crlf//  //set the contents of the contained div//crlf//  var strUrl=\\quot\\https://127.0.0.1:{greenlight_client_https_port}/?Network=GreenLight//amp//ID=getxmlHttpRequest\\quot\\;//crlf//  strUrl +=\\quot\\//amp//url=https://{AspectServerIP1}/?Network=GreenLight~~pipe~~ID=getCachedWidget~~pipe~~DocumentID=CExis5b6ybLmITZ2wF7XmGwk~~pipe~~Widget=Polling Document History\\quot\\;//crlf//  strUrl +=\\quot\\~~pipe~~remoteIP=127.0.0.1~~pipe~~Client={ExternalIPAddress}:{GreenLight_Client_Https_Port}\\quot\\;//crlf//  strUrl +=\\quot\\~~pipe~~HistoryID=\\quot\\+DocumentID;//crlf////crlf//  asynchInclude(div\\comma\\strUrl);//crlf//};//crlf////crlf///*********************************************************************//crlf//Displays the history for a document in the local library.//crlf//*********************************************************************///crlf//function showLocalDocumentHistory(DocumentID\\comma\\s) {//crlf////tab//if(s) {//crlf////tab////tab//document.getElementById(\\quot\\local_document_history\\quot\\).innerHTML=s;//tab////tab////crlf////tab//}//crlf////tab//else {//crlf////tab////tab//var div=document.getElementById(\\quot\\local_document_history\\quot\\);//crlf////tab////tab//div.innerHTML=\\quot\\\\quot\\;//crlf////tab////tab//var img=document.createElement('img');//crlf////tab////tab//img.src=imageStatusActive.src;//crlf////tab////tab//div.appendChild(img);//crlf////crlf////tab////tab////position the div used to display the history and make it visible//crlf////tab////tab//var d1=document.getElementById(\\quot\\office_local_library2\\quot\\);//crlf////tab////tab//var d2=document.getElementById(\\quot\\local_document_history_wrapper\\quot\\);//crlf////tab////tab//d2.style.top=(d1.offsetTop+20)+\\quot\\px\\quot\\;//crlf////tab////tab//d2.style.left=\\quot\\20px\\quot\\;//crlf////tab////tab//setVisible(\\quot\\local_document_history_wrapper\\quot\\\\comma\\true);//crlf////crlf////tab////tab////set the contents of the contained div//crlf////tab////tab//var strFunc=\\quot\\showLocalDocumentHistory(''\\comma\\s)\\quot\\;//crlf////tab////tab//loadContent(\\quot\\AspectScript\\quot\\\\comma\\\\quot\\action=local_document_history//amp//HistoryID=\\quot\\+DocumentID\\comma\\strFunc\\comma\\strFunc);//crlf////tab//};//crlf//};//crlf////crlf////crlf//
^
ID=AspectScript|X=300|Y=124|W=803|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\applyStorePreferences\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab////====================================================================================//crlf////tab////Applies preferences for the store side//crlf////tab////Params://crlf////tab//////tab//CustomerID - HashID of the computer to record the preferences//crlf////tab//////tab//Enable - True or false//crlf////tab//////tab//Store - Aspect6 store code for the store to be polled//crlf////tab////Returns://crlf////tab//////tab//A pipe-delimited string in the form //crlf////tab//////tab////tab//result~~pipe~~polling enabled~~pipe~~store code~~pipe~~message//crlf////tab////====================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\applyStorePreferences\\quot\\; commands:\\quot\\//tab////crlf//appendToLog(\\quot\\AS-applyStorePreferences CustomerID=__CustomerID__ Enable=__Enable__ Store=__Store__\\quot\\)//crlf////tab////tab////abort if any arguments are missing//crlf////tab////tab//if(pos(\\quot\\__\\quot\\\\comma\\\\quot\\__CustomerID__ __Enable__ __Store__\\quot\\)>=0)//crlf////tab////tab////tab//b=isTaskEnabled(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect Polling - Store\\quot\\)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error~~pipe~~\\quot\\+b+\\quot\\~~pipe~~\\quot\\+getToken(\\quot\\Aspect6ActiveStoreCode\\quot\\)+\\quot\\~~pipe~~Invalid arguments: __CustomerID__ __Enable__ __Store__\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if company ID is blank//crlf////tab////tab//if (len(trim(getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)))=0)//crlf////tab////tab////tab//enableTask(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect Polling - Store\\quot\\\\comma\\false)//crlf////tab////tab////tab//enableTask(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect Polling - Home Office\\quot\\\\comma\\false)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error~~pipe~~false~~pipe~~\\quot\\+getToken(\\quot\\Aspect6ActiveStoreCode\\quot\\)+\\quot\\~~pipe~~Missing company ID\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////if the customer ID is this computer\\comma\\ record the changes and exit//crlf////tab////tab//if(\\quot\\__CustomerID__\\quot\\=getToken(\\quot\\AspectHashID\\quot\\))//crlf////tab////tab////tab//sLocation=getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)//crlf////tab////tab////tab//if(sLocation=\\quot\\store\\quot\\)//crlf////tab////tab////tab////tab//enableTask(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect Polling - Store\\quot\\\\comma\\__Enable__)//crlf////tab////tab////tab////tab//enableTask(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect Polling - Home Office\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//setToken(\\quot\\Aspect6ActiveStoreCode\\quot\\\\comma\\\\quot\\__Store__\\quot\\)//crlf////tab////tab////tab////tab//scriptExec(\\quot\\Aspect_BackOffice_Preferences_Write\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//if(__Enable__)//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok~~pipe~~true~~pipe~~__Store__~~pipe~~Polling is enabled for __Store__\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok~~pipe~~false~~pipe~~__Store__~~pipe~~Polling is disabled for __Store__\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//enableTask(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect Polling - Store\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error~~pipe~~false~~pipe~~__Store__~~pipe~~This computer [__CustomerID__] is not located at a store\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////if the customer ID is remote\\comma\\ execute this script on the remote computer//crlf////tab////tab//appendToLog(\\quot\\Saving store preferences remotely to __CustomerID__\\quot\\)//crlf////tab////tab//s=\\quot\\Source=__CustomerID__//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Polling Container\\quot\\//crlf////tab////tab//s=s + \\quot\\//amp//ContainerItemID=AspectScript//amp//action=applyStorePreferences\\quot\\//crlf////tab////tab//s=s + \\quot\\//amp//CustomerID=__CustomerID__//amp//Enable=__Enable__//amp//Store=__Store__\\quot\\//crlf////tab////tab//scriptSetResult(getWidget(s))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\applyOfficePreferences\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab////====================================================================================//crlf////tab////Applies preferences for the store side//crlf////tab////Params://crlf////tab//////tab//CustomerID - HashID of the computer to record the preferences//crlf////tab//////tab//Enable - True or false to enable/disable polling//crlf////tab//////tab//AutoImport - True or false to enable/disable auto-import when files are received//crlf////tab////Returns://crlf////tab//////tab//A pipe-delimited string in the form //crlf////tab//////tab////tab//result~~pipe~~polling enabled~~pipe~~auto import~~pipe~~message//crlf////tab////====================================================================================//crlf////tab//</conditional>//crlf////crlf////tab//<!include type:script; name:\\quot\\applyOfficePreferences\\quot\\; commands:\\quot\\//tab////crlf////tab////tab////abort if any arguments are missing//crlf////tab////tab//if(pos(\\quot\\__\\quot\\\\comma\\\\quot\\__CustomerID__ __Enable__ __AutoImport__\\quot\\)>=0)//crlf////tab////tab////tab//bEnabled=isTaskEnabled(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect Polling - Home Office\\quot\\)//crlf////tab////tab////tab//bImport=getToken(\\quot\\Aspect_BackOffice_Pref_Poll_AutoImport\\quot\\)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error~~pipe~~\\quot\\+bEnabled+\\quot\\~~pipe~~\\quot\\+bImport+\\quot\\~~pipe~~Invalid arguments: __CustomerID__ __Enable__ __AutoImport__\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if company ID is blank//crlf////tab////tab//if (len(trim(getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)=0)))//crlf////tab////tab////tab//enableTask(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect Polling - Store\\quot\\\\comma\\false)//crlf////tab////tab////tab//enableTask(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect Polling - Home Office\\quot\\\\comma\\false)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error~~pipe~~false~~pipe~~\\quot\\+getToken(\\quot\\Aspect6ActiveStoreCode\\quot\\)+\\quot\\~~pipe~~Missing company ID\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////if the customer ID is this computer\\comma\\ record the changes and exit//crlf////tab////tab//if(\\quot\\__CustomerID__\\quot\\=getToken(\\quot\\AspectHashID\\quot\\))//crlf////tab////tab////tab//sLocation=getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)//crlf////tab////tab////tab//if(sLocation=\\quot\\office\\quot\\)//crlf////tab////tab////tab////tab//enableTask(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect Polling - Store\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//enableTask(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect Polling - Home Office\\quot\\\\comma\\__Enable__)//crlf////tab////tab////tab////tab//setToken(\\quot\\Aspect_BackOffice_Pref_Poll_AutoImport\\quot\\\\comma\\\\quot\\__AutoImport__\\quot\\)//crlf////tab////tab////tab////tab//scriptExec(\\quot\\Aspect_BackOffice_Preferences_Write\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok~~pipe~~__Enable__~~pipe~~__AutoImport__~~pipe~~Polling is \\quot\\+if(__Enable__\\comma\\\\quot\\enabled\\quot\\\\comma\\\\quot\\disabled\\quot\\))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//enableTask(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect Polling - Home Office\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//bImport=getToken(\\quot\\Aspect_BackOffice_Pref_Poll_AutoImport\\quot\\)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error~~pipe~~false~~pipe~~\\quot\\+bImport+\\quot\\~~pipe~~This computer [__CustomerID__] is not an office computer\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////if the customer ID is remote\\comma\\ execute this script on the remote computer//crlf////tab////tab//appendToLog(\\quot\\Saving office preferences remotely to __CustomerID__\\quot\\)//crlf////tab////tab//s=\\quot\\Source=__CustomerID__//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Polling Container\\quot\\//crlf////tab////tab//s=s + \\quot\\//amp//ContainerItemID=AspectScript//amp//action=applyOfficePreferences\\quot\\//crlf////tab////tab//s=s + \\quot\\//amp//CustomerID=__CustomerID__//amp//Enable=__Enable__//amp//AutoImport=__AutoImport__\\quot\\//crlf////tab////tab//scriptSetResult(getWidget(s))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\synchronizeOffice\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Synchronize office\\quot\\)//crlf////tab////tab//n1=scriptCount(\\quot\\Library_updateClient\\quot\\\\comma\\\\quot\\arClientID=\\quot\\+quote(\\quot\\Aspect_Polling_HomeOffice\\quot\\))//crlf////tab////tab//n2=scriptCount(\\quot\\Aspect6_importPollingFile\\quot\\)//crlf////tab////tab//if(n1+n2=0) //crlf////tab////tab////tab//scriptExec(Library_updateClient\\comma\\true\\comma\\\\quot\\LibraryClient=Aspect_Polling_HomeOffice\\quot\\)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Synchronizing\\quot\\)//crlf////tab////tab//else//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Already synchronizing.\\quot\\))//crlf////tab////tab//endif//crlf////tab//\\quot\\;>//crlf//</conditional>//crlf////crlf//<!--//tab//This is not used.  It is left as an example.  ->//crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\local_document_history\\quot\\)>//crlf////tab//<!record DriverID=\\quot\\Library_Documents\\quot\\; Expression=\\quot\\ID=__HistoryID__\\quot\\>//crlf////tab////tab//<h2>Document History for __Document_Name__</h2>//crlf////tab//</record>//crlf////tab//<!include type:driver;//crlf////tab////tab//driver:\\quot\\Library_History\\quot\\;//crlf////tab////tab//name: \\quot\\Library_History\\quot\\;//crlf////tab////tab//params: \\quot\\DocumentID=__HistoryID__\\quot\\;//crlf////tab////tab//fields: \\quot\\Date\\comma\\Action\\comma\\Message\\quot\\;//crlf////tab////tab//sort: \\quot\\-Date\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf//
^
ID=23338|X=300|Y=124|W=803|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=true|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<p>Separate displays are used when the program is running at a store and at the home office.  The \\quot\\store\\quot\\ and \\quot\\office\\quot\\ buttons above are used to make one of the displays visible.</p>//crlf////crlf//<h2>Store Polling</h2>//crlf//<p>The store's library client is updated every 60 seconds.  The template for the library client causes any new or updated documents to be sent to the Aspect server library using the token Aspect_BackOffice_Pref_CompanyPollingID to determine the library client the file will be posted to.</p>//crlf////tab////crlf//<p>The library client and template are defined in the Aspect BackOffice supporting files.  The//crlf//library client can be viewed manually by logging into the local library using support@aspect-software.net / support.</p>//crlf////crlf//<h2>Office Polling</h2>
^
ID=debug_console|X=300|Y=124|W=803|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=122840|X=904|Y=2|W=114|H=23|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=false|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<input type=\\quot\\button\\quot\\ value=\\quot\\Store\\quot\\ onClick=\\quot\\loadContent('594521'\\comma\\'location=store')\\quot\\ {@htmlTooltip(\\quot\\Show the controls available to the store\\quot\\)}> //crlf//<input type=\\quot\\button\\quot\\ value=\\quot\\Office\\quot\\ onClick=\\quot\\loadContent('594521'\\comma\\'location=office')\\quot\\ {@htmlTooltip(\\quot\\Show the controls available to the office\\quot\\)}>
^
ID=top_bar|X=0|Y=0|W=802|H=22|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:h0BE4ziTlLytqKxtWLMy5CVY; widget:Backoffice Home; containerItemID:\\quot\\top_bar\\quot\\; params:\\quot\\\\quot\\;>
^
ID=left_bar|X=0|Y=22|W=176|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:h0BE4ziTlLytqKxtWLMy5CVY; widget:Backoffice Home; containerItemID:\\quot\\left_bar\\quot\\; params:\\quot\\startpackage=__startpackage__~~pipe~~package={@\\quot\\__package__\\quot\\}~~pipe~~menu=__menu__\\quot\\;>//crlf//
^
ID=store_setup|X=300|Y=124|W=803|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__process__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<h2>Polling</h2>//crlf////crlf////tab//<div style=\\quot\\width:600px\\quot\\>//crlf////tab////tab//<p>Use this tool to send data to your home office.//tab//When polling is enabled\\comma\\ data will be sent to an Aspect server where it can //crlf////tab////tab////tab//be downloaded and imported in to a copy of Aspect at the home office.</p>//crlf////tab////tab//<p>Make sure you are using the same company ID as the home office.//tab//Your company ID is {Aspect_BackOffice_Pref_CompanyPollingID}.</p>//crlf////tab//</div>//crlf////tab//<br>//crlf////crlf////tab//<!--//tab//Store Preferences -->//crlf////tab//<span {@htmlToolTip(\\quot\\__tooltip_enableStorePolling__\\quot\\)}>//crlf////tab////tab//<input type='checkbox' ID='enable_store_polling' <!include type:expression; expression:if(isTaskEnabled(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect Polling - Store\\quot\\)\\comma\\\\quot\\checked\\quot\\\\comma\\\\quot\\\\quot\\)>> //crlf////tab////tab//Enable Polling for//crlf////tab//</span> //crlf////crlf////tab//<!include type:expression; expression:htmlSelect(Aspect6_Store_Codes\\comma\\\\quot\\field_Aspect6ActiveStoreCode\\quot\\\\comma\\\\quot\\{Aspect6ActiveStoreCode}\\quot\\\\comma\\\\quot\\ID='SelectStore'\\quot\\)>//crlf////crlf////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\apply\\quot\\ value=\\quot\\Apply\\quot\\ onClick=\\quot\\applyStorePreferences('{AspectHashID}')\\quot\\><br>//crlf//</conditional>
^
ID=store_export_file_info|X=300|Y=124|W=803|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!- servertimer=false -->//crlf//<conditional expression:(\\quot\\__process__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<h2>Most recent export</h2>//crlf////tab//<p>This is the most recent export created for uploading to the office.</p>//crlf////crlf////tab//<!-- initialize filespec for driver used to show most recent export file -->//crlf////tab//<include type:script; name:\\quot\\getFilespecForPollingExportFile\\quot\\; commands:\\quot\\//crlf////tab////tab//sStoreCode=getToken(\\quot\\Aspect6ActiveStoreCode\\quot\\)//crlf////tab////tab//sStoreDir=lookup(Aspect6_Store_Directories_By_Code\\comma\\sStoreCode)//crlf////tab////tab//sFilespec=addDirSlash(sStoreDir)+sStoreCode+\\quot\\.fil\\quot\\//crlf////tab////tab//scriptSetResult(htmlConstant(\\quot\\Filespec\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sFilespec))//crlf////tab////tab//appendToLog(\\quot\\filespec=\\quot\\+sFilespec)//crlf////tab//\\quot\\>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\GREENLIGHT_GENERIC_FILE_LIST_WITH_FILESPEC\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\KeyExpression=filename~~pipe~~CacheTtl=0~~pipe~~Filespec=__Filespec__~~pipe~~DriverName=__salt__~~pipe~~Recurse=false~~pipe~~MaxDir=0\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\Filename\\comma\\RemoteSize\\comma\\RemoteModified\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\not(RemoteIsDirectory)\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\GREENLIGHT_GENERIC_FILE_LIST_WITH_FILESPECDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\false\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//tab////crlf////crlf//</conditional>//crlf////crlf//__servertimerresults__//crlf//
^
ID=store_transport_queue|X=300|Y=124|W=803|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__process__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<h2>Transport Queue</h2>//crlf////tab//<div style=\\quot\\width:700px\\quot\\>//crlf////tab//  This table lists the files that have been uploaded to the server and the results of each transfer.  If a file can't be sent\\comma\\ another attempt will//crlf////tab////tab//be made every hour for up to 24 hours.//crlf////tab//</div>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_TRANSPORT_QUEUE\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\Time_Queued\\comma\\Description\\comma\\TransportMethod\\comma\\Message\\comma\\Result\\comma\\Time_Of_Last_Attempt\\comma\\Time_Of_Next_Attempt\\quot\\;//crlf////tab////tab//sort: \\quot\\-Time_Queued\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_TRANSPORT_QUEUEDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\false\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf////crlf////crlf////tab//<constant name:__tooltip_enableStorePolling__; value:\\quot\\Enable polling to send files to your home office.  //crlf////tab////tab//When enabled\\comma\\ files in the store directory named [storecode].zip (e.g. 01.zip) will automatically be sent //crlf////tab////tab//to the Aspect server within 60 seconds.  The home office checks for new files on the server every 10 minutes.\\quot\\>//crlf//</conditional>
^
ID=594521|X=183|Y=22|W=877|H=448|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=LeftBarComputer|DefaultSource=true|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false -->//crlf////crlf//<!--//tab////crlf//The location may be passed to this widget during testing.  Otherwise it is//crlf//taken from the back-office preferences //crlf//-->//crlf//<_include type:expression; expression:htmlConstant(\\quot\\location\\quot\\\\comma\\\\quot\\__location__\\quot\\\\comma\\getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\))>//crlf////crlf//<!--//tab////crlf//The process constant is passed to each of the items that are included in this widget.//crlf//This avoids each item processing when the container is loaded and only the required//crlf//items are processed.//crlf//-->//crlf//<constant name:__process__; value:true>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////crlf//<conditional expression:(\\quot\\__location__\\quot\\=\\quot\\store\\quot\\)>//crlf////tab//$include:store_setup$//crlf////crlf////tab//$include:store_export_file_info$//crlf////crlf////tab//<br>//crlf////tab//$include:store_transport_queue$//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__location__\\quot\\=\\quot\\office\\quot\\)>//crlf////tab//<div style=\\quot\\width:300px\\quot\\>//crlf////tab////tab//<div style=\\quot\\float:right\\quot\\>//crlf////tab////tab////tab//<!--include:office_is_synchronizing$-->//crlf////tab////tab////tab//<span class=\\apos\\hyperlink\\apos\\ style=\\quot\\position:relative;top:5px;left:0px;\\quot\\ onClick=\\quot\\synchronizeOffice()\\quot\\>Synchronize</span>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div style=\\quot\\border:none; border-bottom:solid 1px \\pound\\c9c9c9;\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\tabdialog\\apos\\ ID=\\quot\\office_tabs_table\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\office_tab1\\apos\\)\\quot\\>Polling</span ></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\office_tab2\\apos\\)\\quot\\>Server</span ></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\office_tab3\\apos\\);setVisible(\\apos\\wrap_stores_in_company\\apos\\\\comma\\true);\\quot\\>Stores</span ></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//<div ID=\\quot\\office_tab1\\quot\\>//crlf////tab////tab//$include:office_polling_setup$//crlf////tab////tab//$include:office_polling_status$//crlf////tab////tab//$include:office_local_files$//crlf////tab//</div>//crlf////crlf////tab//<div ID=\\quot\\office_tab2\\quot\\>//crlf////tab////tab//$include:office_server_library$//crlf////tab////tab//$include:office_local_library$//crlf////tab//</div>//crlf////crlf////tab//<div ID=\\quot\\office_tab3\\quot\\>//crlf////tab////tab//$include:office_store_list$//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//<div style=\\quot\\height:800px\\quot\\></div>//crlf//__servertimerresults__//crlf//
^
ID=office_polling_setup|X=300|Y=124|W=803|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__process__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<p>Use this tool to retrieve Aspect data from your stores.  When polling is enabled\\comma\\ each store in your company posts its store//crlf////tab//  data to an Aspect server.  The home office downloads updates posted by the stores and can then import them to a copy of Aspect at the office.</p>//crlf////tab//<br>//crlf////crlf////tab//<!--  Office Preferences -->//crlf////tab//<span {@htmlToolTip(\\quot\\__tooltip_enableOfficePolling__\\quot\\)}>//crlf////tab////tab//<input type='checkbox' ID='enable_office_polling' <!include type:expression; expression:\\quot\\if(isTaskEnabled('Library_Client'\\comma\\'Aspect Polling - Home Office')\\comma\\'checked'\\comma\\'')\\quot\\>>//crlf////tab////tab//Enable polling//crlf////tab//</span>//crlf////tab//<br>//crlf////crlf////tab//<span {@htmlToolTip(\\quot\\__tooltip_autoimport__\\quot\\)}>//crlf////tab////tab//<input type='checkbox' ID='auto_import' <!include type:expression; expression:\\quot\\if(getToken('Aspect_BackOffice_Pref_Poll_AutoImport')\\comma\\'checked'\\comma\\'')\\quot\\>>//crlf////tab////tab//Import files when they are received//crlf////tab//</span>//crlf////tab////amp//nbsp;//amp//nbsp;<input type=\\quot\\button\\quot\\ name=\\quot\\apply\\quot\\ value=\\quot\\Apply\\quot\\ onClick=\\quot\\applyOfficePreferences('{AspectHashID}')\\quot\\><br>//crlf////crlf////tab//<constant name:__tooltip_enableOfficePolling__; value:\\quot\\When enabled\\comma\\ Aspect checks for new files //crlf////tab////tab//posted by stores in your company every 10 minutes.  New files are downloaded and copied to the store //crlf////tab////tab//directory.\\quot\\>//crlf////crlf////tab//<constant name:__tooltip_autoimport__; value:\\quot\\When enabled\\comma\\ files are automatically imported //crlf////tab////tab//after downloading.\\quot\\>//crlf//</conditional>
^
ID=office_polling_status|X=300|Y=124|W=803|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__process__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__getcontent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<h2>Status</h2>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//bEnabled=false//crlf////tab////tab////tab//tLastUpdate=0//crlf////tab////tab////tab//tNextUpdate=0//crlf////tab////tab////tab//iLocalDocumentCount=0//crlf////tab////tab////tab//iHostDocumentCount=0//crlf////tab////tab////tab//tLocalModified=0//crlf////tab////tab////tab//tHostModified=0//crlf////tab////tab////tab//bIsCurrent=false//crlf////tab////tab////tab//bIsUpdating=false//crlf////tab////tab////tab//sMessage=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////Get the document count and time last modified //crlf////tab////tab////tab//driverOpen(Library_Client\\comma\\drvClient\\comma\\READ)//crlf////tab////tab////tab//intRecord=driverFindRecordAbsolute(drvClient\\comma\\0\\comma\\\\quot\\ID=\\quot\\+quote(\\quot\\Aspect_Polling_HomeOffice\\quot\\))//crlf////tab////tab////tab//if (intRecord>=0)//crlf////tab////tab////tab////tab//bEnabled=driverGetFieldAbsolute(drvClient\\comma\\\\quot\\TaskEnabled\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab////tab//tNextUpdate=driverGetFieldAbsolute(drvClient\\comma\\\\quot\\TaskNextExecution\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab////tab//tLastUpdate=driverGetFieldAbsolute(drvClient\\comma\\\\quot\\TaskLastExecuted\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab////tab//iLocalDocumentCount=driverGetFieldAbsolute(drvClient\\comma\\\\quot\\statDocumentCount\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab////tab//tLocalModified=driverGetFieldAbsolute(drvClient\\comma\\\\quot\\statLastModified\\quot\\\\comma\\intRecord)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sMessage=\\quot\\Cannot locate library client for office polling\\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//driverClose(drvClient)//crlf////tab////tab////tab////crlf////tab////tab////tab////get stats from the server//crlf////tab////tab////tab//strArgs=\\quot\\Network=Library//amp//ID=getClientInfo//amp//ClientID=\\quot\\+getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)//crlf////tab////tab////tab//strArgs=strArgs + \\quot\\//amp//Local=\\quot\\+intDocumentCount+\\quot\\~~pipe~~\\quot\\+formatDate(tLocalModified\\comma\\\\quot\\MM-dd-yyyy HH:mm:ssZ\\quot\\)//crlf////tab////tab////tab//strArgs=strArgs + \\quot\\//amp//HashID=\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)//crlf////tab////tab////tab//strArgs=strArgs + \\quot\\//amp//Organization=\\quot\\+getToken(AspectOrganizationName)//crlf////tab////tab////tab////str=\\quot\\1~~pipe~~05-21-2011 13:23:53-0600\\quot\\//crlf////tab////tab////tab//str=httpGet(getToken(\\quot\\AspectServerIP1\\quot\\)\\comma\\\\quot\\/\\quot\\\\comma\\strArgs\\comma\\-1\\comma\\120000\\comma\\true\\comma\\true)//crlf////tab////tab////tab////appendToLog(\\quot\\Server returns: \\quot\\+str)//crlf////tab////tab////tab//if (len(str)>0)//crlf////tab////tab////tab////tab//iHostDocumentCount=getElement(str\\comma\\0\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//tHostModified=parseTime(getElement(str\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ssZ\\quot\\)//crlf////tab////tab////tab////tab//if ((iLocalDocumentCount=iHostDocumentCount) and (dateNumber(tLocalModified)>=dateNumber(tHostModified)))//crlf////tab////tab////tab////tab////tab//bIsCurrent=true//crlf////tab////tab////tab////tab////tab//strMessage=\\quot\\Up to date\\quot\\//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//strMessage=\\quot\\Not up to date\\quot\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sMessage=\\quot\\Could not retrieve information from server\\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////appendToLog(\\quot\\DocumentCount=\\quot\\+iLocalDocumentCount+\\quot\\ / \\quot\\ + iHostDocumentCount)//crlf////tab////tab////tab////appendToLog(\\quot\\Modified=\\quot\\+tLocalModified + \\quot\\ / \\quot\\ + tHostModified)//crlf////tab////tab////tab////appendToLog(\\quot\\bIsCurrent=\\quot\\+bIsCurrent)//crlf////tab////tab////tab////crlf////tab////tab////tab//bIsUpdating=(scriptCount(\\quot\\Library_updateClient\\quot\\\\comma\\\\quot\\arClientID=\\quot\\+quote(\\quot\\Aspect_Polling_HomeOffice\\quot\\))>0)//crlf////crlf////tab////tab////tab//strResult=htmlConstant(\\quot\\msg\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\strMessage)//crlf////tab////tab////tab//strResult=strResult+htmlConstant(\\quot\\Enabled\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\bEnabled)//crlf////tab////tab////tab//strResult=strResult+htmlConstant(\\quot\\LastUpdate\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(tLastUpdate\\comma\\\\quot\\MMM dd yyyy HH:mm\\quot\\))//crlf////tab////tab////tab//strResult=strResult+htmlConstant(\\quot\\NextUpdate\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(tNextUpdate\\comma\\\\quot\\HH:mm\\quot\\))//crlf////tab////tab////tab//strResult=strResult+htmlConstant(\\quot\\LocalDocumentCount\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\iLocalDocumentCount)//crlf////tab////tab////tab//strResult=strResult+htmlConstant(\\quot\\HostDocumentCount\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\iHostDocumentCount)//crlf////tab////tab////tab//strResult=strResult+htmlConstant(\\quot\\LocalModified\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(tLocalModified\\comma\\\\quot\\MMM dd yyyy HH:mm\\quot\\))//crlf////tab////tab////tab//strResult=strResult+htmlConstant(\\quot\\HostModified\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(tHostModified\\comma\\\\quot\\MMM dd yyyy HH:mm\\quot\\))//crlf////tab////tab////tab//strResult=strResult+htmlConstant(\\quot\\IsCurrent\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\bIsCurrent)//crlf////tab////tab////tab//strResult=strResult+htmlConstant(\\quot\\IsUpdating\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\bIsUpdating)//crlf////tab////tab////tab////appendToLog(\\quot\\strResult=\\quot\\+strResult)//crlf////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab//\\quot\\;>//crlf////crlf////tab////tab//<!conditional expression:\\quot\\(__HostDocumentCount__=0)\\quot\\>//crlf////tab////tab////tab//<p>There are no documents on the server for this company.  //crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!conditional expression:\\quot\\(__HostDocumentCount__=1)\\quot\\>//crlf////tab////tab////tab//<p>There is __HostDocumentCount__ document on the server for this company\\comma\\ uploaded __HostModified__</p>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!conditional expression:\\quot\\(__HostDocumentCount__>1)\\quot\\>//crlf////tab////tab////tab//<p>There are __HostDocumentCount__ documents on the server for this company.  //crlf////tab////tab////tab//The last document was uploaded __HostModified__</p>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!conditional expression:(__IsCurrent__)>//crlf////tab////tab////tab//<p>Files on this computer are synchronized with the server.</p>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!conditional expression:not(__IsCurrent__)>//crlf////tab////tab////tab//<p>There are new files available on the server.</p>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//Next synchronization is at __NextUpdate__.  //crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:startsWith(\\quot\\__getcontent__\\quot\\\\comma\\\\quot\\__\\quot\\)>//crlf////tab////tab//<!--  This div is refreshed at a regular interval when the widget is being returned locally.//crlf////tab////tab////tab////tab////tab//It is not refreshed when returned to a remote computer.  The __NotificationReplyTo__//crlf////tab////tab////tab////tab////tab//is only defined when the widget is being processed for a remote computer//crlf////tab////tab//-->//crlf////tab////tab//<div interval=\\quot\\<include type:expression; expression:if(startsWith(\\quot\\__NotificationReplyTo__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\\\quot\\120\\quot\\\\comma\\\\quot\\-1\\quot\\)>\\quot\\//crlf////tab////tab////tab//url=\\quot\\__requestserver__/?network=Greenlight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Polling Container//amp//ContainerItemID=office_polling_status//amp//Process=true//amp//getContent=true\\quot\\//crlf////tab////tab//>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:false; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\Polling Container\\quot\\; containerItemID:\\quot\\office_polling_status\\quot\\; params:\\quot\\Process=true~~pipe~~getContent=true\\quot\\;>//crlf////tab////tab//</div>//crlf////tab//</conditional>//crlf//</conditional>//crlf//
^
ID=office_local_files|X=300|Y=124|W=803|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__getContent__//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\aspect_backoffice/polling_import_status.dta\\quot\\)}//crlf////tab//debug=true//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__process__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<h2>Local Files</h2>//crlf////crlf////tab////tab//<p>When files are downloaded\\comma\\ they are copied to the appropriate store directory.  //crlf////tab////tab//This table lists files that exist in each store directory.<br>//crlf////tab////tab//Note: <u>This table is only available if the \\quot\\Import files...\\quot\\ option//crlf////tab////tab//is enabled above</u>.//crlf////tab////tab//</p>//crlf////crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT6_POLLING_IMPORT_STATUS\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\StoreCode\\comma\\ZipFilename\\comma\\ZipModified\\comma\\ZipContents\\comma\\Import_Result\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\ASPECT6_POLLING_IMPORT_STATUSDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\60\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\false\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\60\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\false\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:startsWith(\\quot\\__GetContent__\\quot\\\\comma\\\\quot\\__\\quot\\)>//crlf////tab////tab//<!--  This div is refreshed at a regular interval when the widget is being returned locally.//crlf////tab////tab////tab////tab////tab//It is not refreshed when returned to a remote computer.  The __NotificationReplyTo__//crlf////tab////tab////tab////tab////tab//is only defined when the widget is being processed for a remote computer//crlf////tab////tab//-->//crlf////tab////tab//<div interval=\\quot\\<include type:expression; expression:if(startsWith(\\quot\\__NotificationReplyTo__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\\\quot\\120\\quot\\\\comma\\\\quot\\0\\quot\\)>\\quot\\//crlf////tab////tab////tab//url=\\quot\\__requestserver__/?network=Greenlight\\amp\\ID=getWidget\\amp\\Source={AspectHashID}\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Polling Container\\amp\\ContainerItemID=office_local_files\\amp\\Process=true\\amp\\getContent=true\\quot\\//crlf////tab////tab//></div>//crlf////tab//</conditional>//crlf////crlf//</conditional>//crlf//
^
ID=office_server_library|X=300|Y=124|W=803|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__process__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<h2>Files Uploaded By Stores</h2>//crlf////tab//<p>These are files that have been uploaded by stores in your company.</p>//crlf////crlf////tab//<div ID=\\quot\\__salt__ServerLibraryClient\\quot\\ interval=\\quot\\0\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectServerHashID}//amp//DocumentID=CExis5b6ybLmITZ2wF7XmGwk//amp//Widget=Notification Queries//amp//query=getLibraryDocuments//amp//CustomerID={AspectHashID}//amp//SelectDisplay=false//amp//EditDisplay=false//amp//Fields=Document_Name\\comma\\External_Timestamp\\comma\\file_size\\comma\\link_history2\\quot\\>//crlf////tab////tab//<img src=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif\\quot\\>//crlf////tab//</div>//crlf//</conditional>
^
ID=office_local_library|X=300|Y=124|W=803|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__process__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<div ID=\\quot\\files_on_server\\quot\\></div>//crlf////crlf////tab//<h2>Files Downloaded To Your Computer</h2>//crlf////tab//<p>These are files you have retrieved from the server.</p>//crlf////crlf////tab//<div ID=\\quot\\__salt__LocalLibraryClient\\quot\\ interval=\\quot\\5\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//Widget=Notification Queries//amp//query=includeDriver//amp//SourceDriverID=Library_Documents//amp//DriverParams=KeyExpression=DocumentID~~pipe~~CacheTtl=0//amp//Display=none//amp//Fields=Document_Name\\comma\\Content_Last_Updated//amp//Sort=Document_Name//amp//Filter=((not(IsTemplate)) and ((Library_Client='Aspect_Polling_HomeOffice') or (Library_Client='Aspect_Polling_HomeOffice')))//amp//TableStyle=width:auto//amp//CanSelect=false//amp//CanEdit=false//amp//CanAdd=false//amp//CanDelete=false//amp//selectDisplay=false//amp//EditDisplay=false//amp//MaxRecords=-1\\quot\\>//crlf////tab////tab//<img src=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif\\quot\\>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf////crlf//
^
ID=office_store_list|X=300|Y=124|W=803|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__process__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<h2>Stores In Your Company</h2>//crlf////tab//<div style=\\quot\\width:700px\\quot\\>//crlf////tab////tab//<p>These are stores in your company.  If you do not see a store listed here\\comma\\ make sure they're using the same company ID.  Your company ID is {Aspect_BackOffice_Pref_CompanyPollingID}.  Allow 30 minutes for a store to appear in the list if you change the ID.</p>//crlf////tab//</div>//crlf////crlf////tab//<span class=\\quot\\hyperlink\\quot\\ ID=\\quot\\click_to_view_stores\\quot\\ onClick=\\quot\\setInterval('store_list'\\comma\\0\\comma\\true\\comma\\'loading...');setVisible('click_to_view_stores'\\comma\\false)\\quot\\>Show Stores</span>//crlf////crlf////tab//<!-- This div is filled in by the updateStoresInCompany() function -->//crlf////tab//<div ID=\\quot\\store_list\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer/?Network=Greenlight//amp//ID=getWidget//amp//Source={AspectServerHashID}//amp//DocumentID=CExis5b6ybLmITZ2wF7XmGwk//amp//Widget=stores in company//amp//CompanyID={Aspect_BackOffice_Pref_CompanyPollingID}\\quot\\>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//
</widget><widget name="Aspect6 Installation Container" group="Back-Office" category="" description="Page used to download Aspect6" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="true" PublicName="Installation" modified="05-31-2014 15:55:09" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=05-31-2014 14:41:02:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=1076|toolboxy=417|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Aspect6 Installation Container.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=download|X=153|Y=22|W=701|H=226|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=LeftBarComputer|DefaultSource=true|Content=<_include type:expression; expression:htmlConstant(\\quot\\current_version\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getToken(\\quot\\Aspect6CurrentVersion\\quot\\))>//crlf////crlf//<conditional expression:\\quot\\(scriptCount(Aspect_BackOffice_downloadAspect6)=0) and (scriptCount(Aspect_BackOffice_upgradeAspect6)=0)\\quot\\>//crlf////crlf////tab//<include type:expression; expression:scriptExec(Aspect_BackOffice_Set_Aspect6_Version_Number_Token\\comma\\true);>//crlf////crlf////tab//<!-- Do another search for Aspect6 if the executable is not located -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//if(not(fileExists(getToken(Aspect6AspectDirectory)+\\quot\\endofday.exe\\quot\\)))//crlf////tab////tab////tab//appendToLog(\\quot\\searching for Aspect6\\quot\\)//crlf////tab////tab////tab//str=scriptExec(Aspect_BackOffice_findEndofDay\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\Result: \\quot\\+str)//crlf////tab////tab////tab//if (getElementCount(str\\comma\\\\quot\\~~pipe~~\\quot\\)>=2)//crlf////tab////tab////tab////tab//setToken(Aspect6AspectDirectory\\comma\\getElement(str\\comma\\0\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab//setToken(Aspect6StartInDirectory\\comma\\getElement(str\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab//scriptExec(Aspect_BackOffice_Preferences_Write\\comma\\true)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab//scriptExec(Aspect_BackOffice_Set_Aspect6_Version_Number_Token\\comma\\true)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf////crlf////tab//<!-- use these constants to debug //crlf////tab////tab//out_of_date up_to_date not_installed//crlf////tab//-->//tab////tab////crlf////tab//<constant name:__Simulate__; value:\\quot\\\\quot\\>//crlf////tab////crlf////tab//<div style=\\quot\\width:700px\\quot\\>//crlf////tab////tab//<!-- Version is out of date -->//crlf////tab////tab//<conditional expression:\\quot\\(\\quot\\__Simulate__\\quot\\=\\quot\\out_of_date\\quot\\) or (fileExists(getToken(Aspect6AspectDirectory)+\\quot\\endofday.exe\\quot\\)) and (value(getToken(Aspect6VersionNumber))<__current_version__)\\quot\\>//crlf////tab////tab////tab//<h2 style=\\quot\\margin-top:-px;padding-top:0px\\quot\\>Upgrade</h2>//crlf////tab////tab////tab//An update is available.//tab//You are using version {Aspect6VersionNumber} of Aspect's back-office software.//tab//The current version is __current_version__.//crlf////tab////tab////tab//Click the <i>Upgrade Now</i> button below to upgrade.//tab//It should only take a minute.//tab//You do not need to contact support to do this.<br><br>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\download\\quot\\ value=\\quot\\Upgrade Now\\quot\\ onClick=\\quot\\upgradeAspect6('__LeftBarComputer__')\\quot\\>//crlf////tab////tab//</conditional>//crlf////tab////tab////crlf////tab////tab//<!-- Version is up to date -->//crlf////tab////tab//<conditional expression:\\quot\\(\\quot\\__Simulate__\\quot\\=\\quot\\up_to_date\\quot\\) or (fileExists(getToken(Aspect6AspectDirectory)+\\quot\\endofday.exe\\quot\\)) and (value(getToken(Aspect6VersionNumber))>=__current_version__)\\quot\\>//crlf////tab////tab////tab//<h2 style=\\quot\\margin-top:-px;padding-top:0px\\quot\\>Your Version Is Current</h2>//crlf////tab////tab////tab//<p>You are using the most recent version of Aspect's back-office software - version {Aspect6VersionNumber}.</p>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!-- Aspect is not installed -->//crlf////tab////tab//<conditional expression:(\\quot\\__Simulate__\\quot\\=\\quot\\not_installed\\quot\\) or (not(fileExists(getToken(Aspect6AspectDirectory)+\\quot\\endofday.exe\\quot\\)))>//crlf////tab////tab////tab//<h2 style=\\quot\\margin-top:-px;padding-top:0px\\quot\\>Download</h2>//crlf////tab////tab////tab//<!-- This section shows the download button to install aspect -->//crlf////tab////tab////tab//<conditional expression:\\quot\\scriptCount(Aspect_BackOffice_Form_Submission_Download_Aspect6)=0\\quot\\>//crlf////tab////tab////tab////tab//<p>It appears that Aspect's back-office software has not been installed.</p>//crlf////tab////tab////tab////tab//<form name=\\quot\\download\\quot\\>//crlf////tab////tab////tab////tab////tab//<table class='form'>//crlf////tab////tab////tab////tab////tab////tab//<td class='form'>//crlf////tab////tab////tab////tab////tab////tab////tab//Select Drive//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab////tab//<td class='form'>//crlf////tab////tab////tab////tab////tab////tab////tab//<select name=\\quot\\InstallDrive\\quot\\ ID=\\quot\\select_drive\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//arDrives=getDrives()//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//cElements=getElementCount(arDrives\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//while (Cntr<cElements)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//str=getElement(arDrives\\comma\\Cntr\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//sSelected=if(startsWith(str\\comma\\\\quot\\c\\quot\\)\\comma\\\\quot\\ selected='selected'\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//strResult=strResult + \\quot\\[option value='\\quot\\+str+char(0x27)+sSelected+\\quot\\]\\quot\\+str+\\quot\\[/option]\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//Cntr=Cntr + 1//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//strResult=replaceSubstring(strResult\\comma\\\\quot\\[\\quot\\\\comma\\char(0x3c))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//strResult=replaceSubstring(strResult\\comma\\\\quot\\]\\quot\\\\comma\\char(0x3e))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//</select>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\download\\quot\\ value=\\quot\\Download Now\\quot\\ onClick=\\quot\\downloadAspect6('__LeftBarComputer__')\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab////tab//<p>Aspect will be installed to a directory named Aspect on the selected drive.</p>//crlf////crlf////tab////tab////tab////tab//</form>//crlf////crlf////crlf////tab////tab////tab//</conditional>//crlf////tab////tab//</conditional>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//<h2>Setup</h2>//crlf//<!-- Aspect Startup Directories//tab//-->//crlf//<!include type:driver;//crlf////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab//title: \\quot\\\\quot\\;//crlf////tab//HashID: \\quot\\\\quot\\;//crlf////tab//driver: \\quot\\Aspect_BackOffice_Preferences_Read\\quot\\;//crlf////tab//name: \\quot\\\\quot\\;//crlf////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab//dispose: \\quot\\false\\quot\\;//crlf////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0\\quot\\;//crlf////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab//display: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\\\quot\\;//crlf////tab//sort: \\quot\\ID\\quot\\;//crlf////tab//filter: \\quot\\true\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab//style: \\quot\\display:none\\quot\\;//crlf////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab//EmbedValues: \\quot\\Aspect6StartInDirectory\\comma\\Aspect6AspectDirectory\\comma\\Aspect6ActiveStoreCode\\comma\\Aspect6StartInDirectoryValid\\quot\\;//crlf////tab//EditDialogID: \\quot\\h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Driver Dialogs~~pipe~~Aspect_BackOffice_Preferences_Read_Aspect6Setup~~pipe~~Aspect6Setup~~pipe~~__salt__\\quot\\;//crlf////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab//canCloseDialog: \\quot\\false\\quot\\;//crlf////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab//Messages: \\quot\\true\\quot\\;//crlf////tab//ChartType: \\quot\\\\quot\\;//crlf////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab//debug: \\quot\\false\\quot\\;//crlf//>//crlf//
^
ID=code|X=300|Y=100|W=212|H=23|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'305954')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>Aspect Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'185063')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=305954|X=300|Y=122|W=735|H=557|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|Content=<include type:expression; expression:htmlConstant(\\quot\\server\\quot\\\\comma\\\\quot\\__server__\\quot\\\\comma\\\\quot\\127.0.0.1:\\quot\\\\plus\\getToken(\\quot\\Greenlight_Client_Https_Port\\quot\\))>//crlf////crlf//function downloadAspect6(CustomerID\\comma\\sResponse)//crlf//{//crlf////tab//var xy=getPosition2012(document.getElementById(\\quot\\download\\quot\\)\\comma\\\\quot\\absolute\\quot\\\\comma\\document.getElementsByTagName(\\apos\\BODY\\apos\\)[0]);//crlf////tab//appendToLog(\\quot\\downloadAspect6 sResponse=\\quot\\\\plus\\sResponse\\comma\\false\\comma\\true);//crlf////crlf////tab//if(sResponse) {//crlf////tab////tab//loadContent(\\quot\\download\\quot\\);//crlf////tab////tab//showDialog(\\quot\\msg=\\quot\\\\plus\\sResponse\\plus\\\\quot\\<br><br>\\amp\\fnOk=close\\amp\\left=\\quot\\\\plus\\(xy[0]\\plus\\20));//crlf////tab////tab//return;//crlf////tab//}//crlf////crlf////tab//var sDrive=document.getElementById(\\quot\\select_drive\\quot\\).value;//crlf////crlf////tab//applyOverlay(\\quot\\download\\quot\\\\comma\\\\quot\\download_overlay\\quot\\);//crlf////tab//showDialog(\\quot\\msg=Downloading.  Please allow 2-3 minutes.\\amp\\left=\\quot\\\\plus\\(xy[0]\\plus\\20));//crlf////tab//var sFunc=\\quot\\downloadAspect6(\\\quot\\\\quot\\\\plus\\CustomerID\\plus\\\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab//var sUrl=getServer()\\plus\\\\quot\\/?Network=GreenLight\\amp\\ID=getWidget\\amp\\source=\\quot\\\\plus\\CustomerID\\plus\\\\quot\\\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Notification Queries\\amp\\query=DownloadAspect6\\amp\\InstallDrive=\\quot\\\\plus\\sDrive\\plus\\\\quot\\\\amp\\wait=true\\quot\\;//crlf////tab//appendToLog(\\quot\\downloadAspect6 url=\\quot\\\\plus\\sUrl\\comma\\false\\comma\\true);//crlf////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf//function upgradeAspect6(CustomerID\\comma\\sResponse)//crlf//{//crlf////tab//var xy=getPosition2012(document.getElementById(\\quot\\download\\quot\\)\\comma\\\\quot\\absolute\\quot\\\\comma\\document.getElementsByTagName(\\apos\\BODY\\apos\\)[0]);//crlf////tab//appendToLog(\\quot\\downloadAspect6 sResponse=\\quot\\\\plus\\sResponse\\comma\\false\\comma\\true);//crlf////crlf////tab//if(sResponse) {//crlf////tab////tab//loadContent(\\quot\\download\\quot\\);//crlf////tab////tab//showDialog(\\quot\\msg=\\quot\\\\plus\\sResponse\\plus\\\\quot\\<br><br>\\amp\\fnOk=close\\amp\\left=\\quot\\\\plus\\(xy[0]\\plus\\20));//crlf////tab////tab//return;//crlf////tab//}//crlf////crlf////tab//applyOverlay(\\quot\\download\\quot\\\\comma\\\\quot\\download_overlay\\quot\\);//crlf////tab//showDialog(\\quot\\msg=Downloading upgrade.  Please allow 2-3 minutes.\\amp\\left=\\quot\\\\plus\\(xy[0]\\plus\\20));//crlf////tab//var sFunc=\\quot\\downloadAspect6(\\\quot\\\\quot\\\\plus\\CustomerID\\plus\\\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab//var sUrl=getServer()\\plus\\\\quot\\/?Network=GreenLight\\amp\\ID=getWidget\\amp\\source=\\quot\\\\plus\\CustomerID\\plus\\\\quot\\\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Notification Queries\\amp\\query=UpgradeAspect6\\amp\\wait=true\\quot\\;//crlf////tab//appendToLog(\\quot\\downloadAspect6 url=\\quot\\\\plus\\sUrl\\comma\\false\\comma\\true);//crlf////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf//function getLicenseStatus(CustomerID\\comma\\t) {//crlf////tab//var e=document.getElementById(\\quot\\license_status\\quot\\);//crlf////tab//if(t) {//crlf////tab////tab//e.innerHTML=t;//crlf////tab////tab//exit;//crlf////tab//}//crlf////crlf////tab//e.innerHTML=\\quot\\\\quot\\;//crlf////tab//var img=document.createElement(\\quot\\img\\quot\\);//crlf////tab//img.src=imageStatusActive.src;//crlf////tab//e.appendChild(img);//crlf////tab//e.appendChild(document.createTextNode(\\quot\\ Updating license...\\quot\\));//crlf////crlf////tab////refresh license status from server//crlf////tab//var sUrl=getServer()\\plus\\\\quot\\/?network=GreenLight\\amp\\ID=getWidget\\amp\\source=\\quot\\\\plus\\CustomerID;//crlf////tab//sUrl \\plus\\=\\quot\\\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Aspect6 Installation Container\\quot\\;//crlf////tab//sUrl \\plus\\=\\quot\\\\amp\\containerItemID=aspectscript\\amp\\query=updatelicense\\quot\\;//crlf////tab//appendToLog(\\quot\\get license status.  url=\\quot\\\\plus\\sUrl\\comma\\false\\comma\\true);//crlf////tab//var sFunc=\\quot\\getLicenseStatus(\\\quot\\\\quot\\\\plus\\CustomerID\\plus\\\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf////executes script to open Aspect6//crlf//function openAspect6(strResult) {//crlf////tab//if (!strResult) {//crlf////tab////tab//var strUrl=\\quot\\https://__server__/?Network=Aspect_BackOffice\\amp\\ID=execScript\\amp\\ScriptID=Aspect_BackOffice_launchAspect6\\quot\\;//crlf////tab////tab//asynchInclude(null\\comma\\strUrl\\comma\\\\quot\\openAspect6(req.responseText)\\quot\\);//crlf////tab//}//crlf////tab//else {//crlf////tab////tab//if ((strResult.toUpperCase()!=\\quot\\OK\\quot\\)) {//crlf////tab////tab////tab//alert(\\quot\\Could not launch Aspect: \\quot\\\\plus\\strResult);//crlf////tab////tab//};//crlf////tab//};//crlf//};//crlf////crlf//
^
ID=AspectScript|X=300|Y=122|W=735|H=557|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|Content=<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\updatelicense\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\updatelicense\\quot\\; commands:\\quot\\//crlf////tab////tab//s=scriptExec(Aspect6_updateLicense\\comma\\true\\comma\\\\quot\\immediate=true\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\updatelicense: \\quot\\\\plus\\s)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf//
^
ID=185063|X=300|Y=122|W=734|H=556|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|Content=Notes
^
ID=debug_console|X=300|Y=679|W=733|H=358|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=false|EditExternally=false|content_type=debug_console|onload=|LockEditing=true|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=305954|AttachLeft=|AlignLeft=305954|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|
^
ID=top_bar|X=0|Y=0|W=347|H=14|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:h0BE4ziTlLytqKxtWLMy5CVY; widget:Backoffice Home; containerItemID:\\quot\\top_bar\\quot\\; params:\\quot\\\\quot\\;>
^
ID=left_bar|X=0|Y=22|W=176|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|Content=<!--//crlf////tab//Package1=__Package__<br>//crlf////tab//Menu1=__Menu__<br>//crlf////tab//LeftBarCompany1=__LeftBarCompany__<br>//crlf////tab//LeftBarComputer1=__LeftBarComputer__<br>//crlf////tab//SelectLeftBarCompany1=__SelectLeftBarCompany__<br>//crlf////tab//SelectLeftBarComputer1=__SelectLeftBarComputer__<br>//crlf////tab//<br>//crlf//-->//crlf//<include type:widget; server:{aspecthashid}; secure:false; documentID:h0BE4ziTlLytqKxtWLMy5CVY; widget:Backoffice Home; containerItemID:\\quot\\left_bar\\quot\\; params:\\quot\\startpackage=__startpackage__~~pipe~~package={@\\quot\\__package__\\quot\\}~~pipe~~menu=__menu__~~pipe~~LeftBarCompany=__LeftBarCompany__~~pipe~~LeftBarComputer=__LeftBarComputer__~~pipe~~SelectLeftBarCompany=__SelectLeftBarCompany__~~pipe~~SelectLeftBarComputer=__SelectLeftBarComputer__\\quot\\;>//crlf//
</widget><widget name="Freepour Container" group="Back-Office" category="" description="" type="Container" Processing=0 metadata="" IncludeInViewer="true" PublicName="Freepour" modified="06-06-2011 14:40:31" modifiedby="Keith-Dell">
Preferences|toolboxx=724|toolboxy=187|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Freepour Container.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=form|X=6|Y=0|W=591|H=357|AutoHeight=true|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=initialize()|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<h1>Freepour Export</h1>  //crlf//<p>Use this tool to create import files for your FreePour product from the Sales Mix data in Aspect Software.  Whenever you import from your point-of-sale system into Aspect\\comma\\ an export is created for your FreePour product automatically.  There\\apos\\s nothing you need to do except enter the settings below and enable the export.</p>//crlf//    //crlf//<p>Need help setting this up?  Watch the <a href=\\quot\\javascript:playVideo(\\apos\\qFXP6-2UTnI\\apos\\)\\quot\\>video</a>.</p>//crlf//  //crlf//<br>//crlf////crlf//<!--  Setup Form -->//crlf//<form name=\\quot\\freepour_settings\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf//  <record driverID=\\quot\\Aspect_BackOffice_Preferences\\quot\\; expression=\\quot\\Aspect_BackOffice_Pref_DiskIndex=0\\quot\\>//crlf////crlf//    <table class=\\quot\\form\\quot\\>//crlf//      <tr>//crlf//        <td>//crlf//          <input type=\\quot\\checkbox\\quot\\ name=\\quot\\field_Aspect_BackOffice_Pref_enable_freepour_export\\quot\\ <!include type:expression; expression:\\quot\\if(__Aspect_BackOffice_Pref_enable_freepour_export__\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>>//crlf//          <input type=\\quot\\hidden\\quot\\ name=\\quot\\checkbox_Aspect_BackOffice_Pref_enable_freepour_export\\quot\\ value=\\quot\\false\\quot\\></td>//crlf//        </td>//crlf//        <td {@htmltooltip(\\quot\\__tooltip_enable__\\quot\\)}> Enable Freepour export</td>//crlf//      </tr>//crlf//    </table>//crlf//    //crlf//    <table class=\\apos\\form\\apos\\>//crlf//      <tr>//crlf//        <td style=\\quot\\width:140px\\quot\\>Aspect Start Directory</td>//crlf//        <td {@htmltooltip(\\quot\\__tooltip_aspect_start_directory__\\quot\\)}>//crlf//          <input type=\\apos\\dir\\apos\\ name=\\apos\\field_Aspect6StartInDirectory\\apos\\ value=\\apos\\__Aspect6StartInDirectory__\\apos\\ size=\\apos\\50\\apos\\>//crlf//        </td>//crlf//        <td style=\\quot\\color:red; font-weight:bold\\quot\\><!include type:expression; expression:\\quot\\if((not(fileExists(\\quot\\__Aspect6StartInDirectory__\\quot\\))) or (not(fileIsDirectory(\\quot\\__Aspect6StartInDirectory__\\quot\\)))\\comma\\\\quot\\Invalid Directory\\quot\\\\comma\\\\quot\\\\quot\\)\\quot\\></td>//crlf//      </tr>//crlf//      <tr>//crlf//        <td>Store</td>//crlf//        <td colspan=\\apos\\2\\apos\\ {@htmltooltip(\\quot\\__tooltip_store__\\quot\\)}><!include type:expression; expression:\\quot\\htmlSelect(Aspect6_Store_Directories\\comma\\\\apos\\field_Aspect_BackOffice_Pref_freepour_store_directory\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_freepour_store_directory__\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\></td>//crlf//      </tr>//crlf//      <tr>//crlf//        <td>Freepour Export Directory</td>//crlf//        <td {@htmltooltip(\\quot\\__tooltip_freepour_export_directory__\\quot\\)}><input type=\\apos\\text\\apos\\ name=\\apos\\field_Aspect_BackOffice_Pref_freepour_export_directory\\apos\\ value=\\apos\\__Aspect_BackOffice_Pref_freepour_export_directory__\\apos\\ size=\\apos\\50\\apos\\></td>//crlf//        <td style=\\quot\\color:red; font-weight:bold\\quot\\><!include type:expression; expression:\\quot\\if((not(fileExists(\\quot\\__Aspect_BackOffice_Pref_freepour_export_directory__\\quot\\))) or (not(fileIsDirectory(\\quot\\__Aspect_BackOffice_Pref_freepour_export_directory__\\quot\\)))\\comma\\\\quot\\Invalid Directory\\quot\\\\comma\\\\quot\\\\quot\\)\\quot\\></td>//crlf//      </tr>//crlf//    </table>//crlf//    //crlf//    <br>//crlf//    <p style=\\quot\\width:430px\\quot\\ {@htmlTooltip(\\quot\\__tooltip_onepos_live_export__\\quot\\)}>If your are using a OnePos point-of-sale system\\comma\\ Aspect can create Freepour export files whenever you create an export from OnePos.</p>//crlf//    //crlf//    <table class=\\quot\\form\\quot\\>//crlf//      <tr>//crlf//        <td {@htmlTooltip(\\quot\\__tooltip_enable_onepos_export__\\quot\\)} colspan=\\apos\\3\\apos\\>//crlf//          <input type=\\quot\\checkbox\\quot\\ name=\\quot\\field_Aspect_BackOffice_Pref_enable_freepour_onepos_export\\quot\\ <!include type:expression; expression:\\quot\\if(__Aspect_BackOffice_Pref_enable_freepour_onepos_export__\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\> onClick=\\quot\\javascript:toggleOneposDirectory()\\quot\\>//crlf//          <input type=\\quot\\hidden\\quot\\ name=\\quot\\checkbox_Aspect_BackOffice_Pref_enable_freepour_onepos_export\\quot\\ value=\\quot\\false\\quot\\>//crlf//          Yes\\comma\\ I\\apos\\m using a onepos point-of-sale system//crlf//        </td>//crlf//      </tr>//crlf//      <tr ID=\\quot\\input_onepos_export_directory\\quot\\ style=\\quot\\display:{@if(boolean(getToken(\\quot\\Aspect_BackOffice_Pref_enable_freepour_onepos_export\\quot\\))\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)}\\quot\\>//crlf//        <td style=\\quot\\width:140px\\quot\\>OnePos Export Directory</td>//crlf//        <td {@htmltooltip(\\quot\\__tooltip_onepos_export_directory__\\quot\\)}><input type=\\apos\\dir\\apos\\ name=\\apos\\field_Aspect_BackOffice_Pref_onepos_export_directory\\apos\\ value=\\apos\\__Aspect_BackOffice_Pref_onepos_export_directory__\\apos\\ size=\\apos\\50\\apos\\></td>//crlf//        <td style=\\quot\\color:red; font-weight:bold\\quot\\><!include type:expression; expression:\\quot\\if((not(fileExists(\\quot\\__Aspect_BackOffice_Pref_onepos_export_directory__\\quot\\))) or (not(fileIsDirectory(\\quot\\__Aspect_BackOffice_Pref_onepos_export_directory__\\quot\\)))\\comma\\\\quot\\Invalid Directory\\quot\\\\comma\\\\quot\\\\quot\\)\\quot\\></td>//crlf//      </tr>//crlf//    </table>//crlf////crlf//    <br>//crlf////crlf//    <!-- check for exportset01.xml in onepos directory -->//crlf//    <div ID=\\quot\\onepos_setup\\quot\\></div>        //crlf//    //crlf//    <input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Apply\\quot\\ onClick=\\quot\\submitFreepourSetup()\\quot\\>//crlf////crlf//  </record>//crlf//</form>//crlf////crlf//<!-- This is for debugging -->//crlf//<conditional expression:false>//crlf//  <br>//crlf//  <hr>//crlf//  <table>//crlf//    <tr>//crlf//      <td>Aspect6StartInDirectory</td>//crlf//      <td>{Aspect6StartInDirectory}</td>//crlf//    </tr>//crlf//    <tr>//crlf//      <td>Aspect_BackOffice_Pref_freepour_export_directory</td>//crlf//      <td>{Aspect_BackOffice_Pref_freepour_export_directory}</td>//crlf//    </tr>//crlf//    <tr>//crlf//      <td>Aspect_BackOffice_Pref_onepos_export_directory</td>//crlf//      <td>{Aspect_BackOffice_Pref_onepos_export_directory}</td>//crlf//    </tr>//crlf//    <tr>//crlf//      <td>Aspect_BackOffice_Pref_freepour_store_directory</td>//crlf//      <td>{Aspect_BackOffice_Pref_freepour_store_directory}</td>//crlf//    </tr>//crlf//    //crlf//  </table>//crlf//</conditional>//crlf////crlf//<!-- Tooltip constants -->//crlf//<constant name:__tooltip_onepos_export_files__; value:\\quot\\These are the files exported by your OnePos point-of-sale system\\quot\\>//crlf//<constant name:__tooltip_aspect_salesmix_files__; value:\\quot\\These are the sales mix files in your Aspect store directory\\quot\\>//crlf//<constant name:__tooltip_freepour_export_files__; value:\\quot\\These are the files ready to import into your Freepour system\\quot\\>//crlf//<constant name:__tooltip_enable__; value:\\quot\\By checking enable this will allow the import files for Freepour to be created\\quot\\>//crlf//<constant name:__tooltip_aspect_start_directory__; value:\\quot\\This displays the location of your main Aspect directory\\quot\\>//crlf//<constant name:__tooltip_store__; value:\\quot\\The name of your store is listed here\\quot\\>//crlf//<constant name:__tooltip_onepos_export_directory__; value:\\quot\\This is where your OnePos point-of-sale system creates its exports.  This is configured in a file named exportset01.xml in {{backslash{{onepos{{backslash{{data.\\quot\\>//crlf//<constant name:__tooltip_freepour_export_directory__; value:\\quot\\This is the location of the files you will export into Freepour\\quot\\>//crlf//<constant name:__tooltip_enable_onepos_export__; value:\\quot\\If you\\apos\\re using a OnePos point-of-sale system and want to exoprt data from it\\amp\\\\pound\\44; turn this checkbox on.\\quot\\>//crlf//<constant name:__tooltip_onepos_live_export__; value:\\quot\\To export your files live from OnePos<br>//crlf//                      <ul>//crlf//                        <li>Open OnePos Backoffice</li>//crlf//                        <li>Go to Utilities</li>//crlf//                        <li>Choose Run Exports</li>//crlf//                      </ul>//crlf//                      <br>//crlf//                      Your freepour file will be created within about 60 seconds.\\quot\\>//crlf////crlf//^
ID=712594|X=1049|Y=9|W=150|H=20|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table class=\\apos\\tabdialog\\apos\\>//crlf//  <tr>//crlf//    <td><a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\JavaScript\\apos\\)\\quot\\>Javascript</a></td>//crlf//    <td><a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\AspectScript\\apos\\)\\quot\\>AspectScript</a></td>//crlf//    <td><a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\viewer_for_export\\apos\\)\\quot\\>Viewer For Export</a></td>//crlf//    <td><a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\505737\\apos\\)\\quot\\>Debugging</a></td>//crlf//    <td><a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\442858\\apos\\)\\quot\\>Notes</a></td>//crlf//  </tr>//crlf//</table>^
ID=JavaScript|X=1050|Y=30|W=673|H=496|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=//crlf///*******************************************************************//crlf//this function is called from the onLoad setting of the form.  This ensures//crlf//that the values to be displayed in the form are initialized before the form//crlf//is displayed.//crlf//*******************************************************************///crlf//function initialize() {//crlf//  //initialize the directory for the freepour exports and locate onepos//crlf//  //These values are recorded in the back-office preferences.//crlf//  loadContent(\\quot\\AspectScript\\quot\\\\comma\\\\quot\\initialize_preferences\\quot\\)//crlf//};//crlf////crlf////shows or hides the onepos directory when the onepos checkbox is clicked//crlf//function toggleOneposDirectory() {//crlf//  setVisible(\\quot\\span_onepos_export_files\\quot\\\\comma\\document.forms[\\quot\\freepour_settings\\quot\\].field_Aspect_BackOffice_Pref_enable_freepour_onepos_export.checked);//crlf//  setVisible(\\quot\\input_onepos_export_directory\\quot\\\\comma\\document.forms[\\quot\\freepour_settings\\quot\\].field_Aspect_BackOffice_Pref_enable_freepour_onepos_export.checked);//crlf//};//crlf////crlf///*******************************************************************//crlf//Called to submit the freepour setup form.  Uses an xmlhttprequest so the whole //crlf//page does not have to refresh//crlf//*******************************************************************///crlf//function submitFreepourSetup() //crlf//{//crlf//  showDialog(\\quot\\icon=true\\amp\\msg=Saving changes\\quot\\);//crlf////crlf//  //disable the apply button//crlf//  var f=document.forms[\\quot\\freepour_settings\\quot\\];//crlf//  f.submit.disabled=true;//crlf//  //crlf//  //submit the form to greenlight//crlf//  strArgs=getFormSubmissionUrl(f);//crlf//  var strUrl=\\quot\\https://127.0.0.1:{Greenlight_Client_Https_Port}/?network=greenlight\\amp\\ID=putRecord\\amp\\DriverID=Aspect_BackOffice_Preferences\\amp\\expression=Aspect_BackOffice_Pref_DiskIndex=0\\amp\\\\quot\\\\plus\\strArgs;//crlf//  var strResult=getxmlHttpRequest(strUrl);//crlf//  //crlf//  //create the directory for the Freepour export files//crlf//  loadContent(\\quot\\AspectScript\\quot\\\\comma\\\\quot\\action=apply_preferences\\quot\\);//crlf////crlf//  //reload Aspect BackOffice preferences //crlf//  var strUrl=\\quot\\https://127.0.0.1:{Greenlight_Client_Https_Port}/?network=Aspect_BackOffice\\amp\\ID=execScript\\amp\\ScriptID=Aspect_BackOffice_Preferences_Read\\quot\\;//crlf//  var strResult=getxmlHttpRequest(strUrl);//crlf////crlf//  //reload the form//crlf//  loadContent(\\quot\\form\\quot\\);//crlf//  loadContent(\\quot\\enabled_status\\quot\\);//crlf////crlf//  //show/hide onepos export files//crlf//  setVisible(\\quot\\64619\\quot\\\\comma\\f.field_Aspect_BackOffice_Pref_enable_freepour_onepos_export.checked);//crlf////crlf//  showDialog();//crlf//};//crlf////crlf//^
ID=AspectScript|X=1050|Y=30|W=673|H=496|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<!--------------------------------------------------------------------------------------------------------------------//crlf//This script does two things://crlf////crlf//1.  It creates the directory used for the freepour export files.  If no directory has been specified\\comma\\ //crlf//the directory is initialized to \\quot\\export{{backslash{{freepour\\quot\\ under the Aspect start-in directory.//crlf////crlf//2.  It looks for a onepos system on all available drives and records the location in the backoffice//crlf//preferences.//crlf////crlf//This script should be called when the page is first displayed\\comma\\ before the form used to record //crlf//the preferences is displayed.//crlf//-------------------------------------------------------------------------------------------------------------------->//crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\initialize_preferences\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//driverOpen(\\quot\\Aspect_BackOffice_Preferences_Read\\quot\\\\comma\\drvPreferences\\comma\\WRITE)//crlf////tab////tab////crlf////tab////tab////initialize the directory that will contain the export files created for Freepour //crlf////tab////tab//strFreepourDir=driverGetFieldAbsolute(drvPreferences\\comma\\Aspect_BackOffice_Pref_freepour_export_directory\\comma\\0)//crlf////tab////tab//if ((len(strFreepourDir)=0) or (not(fileExists(strFreepourDir))) or (not(fileIsDirectory(strFreepourDir))))//crlf////tab////tab////tab//strFreepourDir=addDirSlash(getToken(\\quot\\Aspect6StartInDirectory\\quot\\))\\plus\\\\quot\\{{backslash{{export{{backslash{{freepour\\quot\\//crlf////tab////tab////tab//fileMakeDirectory(strFreepourDir)//crlf////tab////tab////tab//appendToLog(\\quot\\Creating directory for Freepour export files\\quot\\);//crlf////tab////tab////tab//appendToLog(\\quot\\Directory is \\quot\\\\plus\\strFreepourDir);//crlf////tab////tab////tab//driverPutFieldAbsolute(drvPreferences\\comma\\Aspect_BackOffice_Pref_freepour_export_directory\\comma\\0\\comma\\strFreepourDir)//crlf////tab////tab//endif//crlf////crlf////tab////tab////initialize onepos directory//crlf////tab////tab//strOnePosDir=driverGetFieldAbsolute(drvPreferences\\comma\\Aspect_BackOffice_Pref_onepos_export_directory\\comma\\0)//crlf////tab////tab//appendToLog(\\quot\\strOnePosDir=\\quot\\\\plus\\strOnePosDir)//crlf////tab////tab//if ((len(strOnePosDir)=0) or (not(fileExists(strOnePosDir))) or (not(fileIsDirectory(strOnePosDir))))//crlf////tab////tab////tab//appendToLog(\\quot\\OnePos export directory is invalid: \\quot\\\\plus\\strOnePosDir)//crlf////tab////tab////tab//appendToLog(\\quot\\fileExists: \\quot\\\\plus\\fileExists(strOnePosDir))//crlf////tab////tab////tab//appendToLog(\\quot\\fileIsDirectory: \\quot\\\\plus\\fileExists(strOnePosDir))//crlf////tab////tab////tab//arDrives=getDrives()//crlf////tab////tab////tab//cElements=getElementCount(arDrives\\comma\\\\quot\\{{pipe{{\\quot\\)//crlf////tab////tab////tab//Cntr=0//crlf////tab////tab////tab//Done=false//crlf////tab////tab////tab//while ((not(Done)) and (Cntr<cElements))//crlf////tab////tab////tab////tab//strElement=getElement(arDrives\\comma\\Cntr\\comma\\\\quot\\{{pipe{{\\quot\\)\\plus\\\\quot\\onepos{{backslash{{exports{{backslash{{99\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\checking directory: \\quot\\\\plus\\strElement)//crlf////tab////tab////tab////tab//if ((fileExists(strElement)) and (fileIsDirectory(strElement)))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPreferences\\comma\\Aspect_BackOffice_Pref_onepos_export_directory\\comma\\0\\comma\\strElement)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Setting OnePos export directory to: \\quot\\\\plus\\strElement)//crlf////tab////tab////tab////tab////tab//Done=true//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab//endwhile//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab//driverClose(drvPreferences)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<!--------------------------------------------------------------------------------------------------------------------//crlf//Called when the apply button is pressed.  Enables or disables the library clients//crlf//used to create the exports.//crlf//-------------------------------------------------------------------------------------------------------------------->//crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\apply_preferences\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//scriptExec(Aspect_BackOffice_applyFreepourPreferences\\comma\\true)//crlf////tab//\\quot\\;>//crlf//</conditional>//crlf////crlf//<!--------------------------------------------------------------------------------------------------------------------//crlf//-------------------------------------------------------------------------------------------------------------------->//crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\find_onepos_export_directory\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//driverOpen(\\quot\\Aspect_BackOffice_Preferences_Read\\quot\\\\comma\\drvPreferences\\comma\\WRITE)//crlf////tab////tab////crlf////tab////tab////initialize onepos directory//crlf////tab////tab//strOnePosDir=driverGetFieldAbsolute(drvPreferences\\comma\\Aspect_BackOffice_Pref_onepos_export_directory\\comma\\0)//crlf////tab////tab//appendToLog(\\quot\\strOnePosDir=\\quot\\\\plus\\strOnePosDir)//crlf////tab////tab//if ((len(strOnePosDir)=0) or (not(fileExists(strOnePosDir))) or (not(fileIsDirectory(strOnePosDir))))//crlf////tab////tab////tab//appendToLog(\\quot\\OnePos export directory is invalid: \\quot\\\\plus\\strOnePosDir)//crlf////tab////tab////tab//appendToLog(\\quot\\fileExists: \\quot\\\\plus\\fileExists(strOnePosDir))//crlf////tab////tab////tab//appendToLog(\\quot\\fileIsDirectory: \\quot\\\\plus\\fileExists(strOnePosDir))//crlf////tab////tab////tab//arDrives=getDrives()//crlf////tab////tab////tab//cElements=getElementCount(arDrives\\comma\\\\quot\\{{pipe{{\\quot\\)//crlf////tab////tab////tab//Cntr=0//crlf////tab////tab////tab//Done=false//crlf////tab////tab////tab//while ((not(Done)) and (Cntr<cElements))//crlf////tab////tab////tab////tab//strElement=getElement(arDrives\\comma\\Cntr\\comma\\\\quot\\{{pipe{{\\quot\\)\\plus\\\\quot\\onepos{{backslash{{exports{{backslash{{99\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\checking directory: \\quot\\\\plus\\strElement)//crlf////tab////tab////tab////tab//if ((fileExists(strElement)) and (fileIsDirectory(strElement)))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPreferences\\comma\\Aspect_BackOffice_Pref_onepos_export_directory\\comma\\0\\comma\\strElement)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Setting OnePos export directory to: \\quot\\\\plus\\strElement)//crlf////tab////tab////tab////tab////tab//Done=true//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab//endwhile//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab//driverClose(drvPreferences)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<!--------------------------------------------------------------------------------------------------------------------//crlf//-------------------------------------------------------------------------------------------------------------------->//crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\setup_onepos_export\\quot\\)>//crlf////tab//<!-- check for exportset01.xml in onepos directory -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////crlf////tab////tab////abort if it\\apos\\s not a onepos system//crlf////tab////tab//if (not(boolean(getToken(\\quot\\Aspect_BackOffice_Pref_enable_freepour_onepos_export\\quot\\))))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab//strOneposExportDir=getToken(\\quot\\Aspect_BackOffice_Pref_onepos_export_directory\\quot\\)//crlf////tab////tab//if (len(strOneposExportDir)>0)//crlf////tab////tab////tab//strOneposDir=fileDrive(strOneposExportDir)//crlf////tab////tab////tab//strDir=replaceSubstring(fileDir(strOneposExportDir)\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab////tab//cElements=getElementCount(strDir\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab////tab//Cntr=0//crlf////tab////tab////tab//while (Cntr<cElements-2)//crlf////tab////tab////tab////tab//str=getElement(strDir\\comma\\Cntr\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab////tab////tab//if (len(str)>0)//crlf////tab////tab////tab////tab////tab//strOneposDir=strOneposDir \\plus\\ \\quot\\{{backslash{{\\quot\\\\plus\\str//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//strOneposDir=replaceSubstring(addDirSlash(strOneposDir)\\plus\\\\quot\\data/\\quot\\\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\{{backslash{{\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\ExportSet01 is in \\quot\\\\plus\\strOneposDir)//crlf////tab////tab////tab////crlf////tab////tab////tab////see if the directory exists//crlf////tab////tab////tab//if (fileExists(strOneposDir))//crlf////crlf////tab////tab////tab////tab//strSrc=getToken(\\quot\\packageurl_aspect_BackOffice\\quot\\)\\plus\\\\quot\\supporting_files_for_pos/EXPORTSET01.XML\\quot\\//crlf////tab////tab////tab////tab//strDest=strOneposdir\\plus\\\\quot\\EXPORTSET01.XML\\quot\\//crlf////crlf////tab////tab////tab////tab////Copy exportset01.xml to the directory//crlf////tab////tab////tab////tab//if (not(fileExists(strOneposdir\\plus\\\\quot\\exportset01.xml\\quot\\)))//crlf////tab////tab////tab////tab////tab//strCopyResult=fileCopy(strSrc\\comma\\strDest)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\src=\\quot\\\\plus\\strSrc)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\dest=\\quot\\\\plus\\strDest)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\fileCopy result: \\quot\\\\plus\\strResult)//crlf////tab////tab////tab////tab////tab//if (strCopyResult<>\\quot\\ok\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//strResult=\\quot\\[font color=\\apos\\red\\apos\\][b]Your OnePos system may not be ready to export.  There was an error copying the exportset01.xml file to \\quot\\\\plus\\strDest\\plus\\\\quot\\.[br]\\quot\\//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ \\quot\\  The error was: \\quot\\\\plus\\strCopyResult\\plus\\\\quot\\[/b][/font]\\quot\\//crlf////tab////tab////tab////tab////tab////tab//strResult=replaceSubstring(strResult\\comma\\\\quot\\[\\quot\\\\comma\\char(0x3C))//crlf////tab////tab////tab////tab////tab////tab//strResult=replaceSubstring(strResult\\comma\\\\quot\\]\\quot\\\\comma\\char(0x3E))//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////if exportset01.xml exists then make sure it\\apos\\s set to csv and not xml//crlf////tab////tab////tab////tab//if (fileExists(strDest))//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\checking for xml vs csv\\quot\\)//crlf////tab////tab////tab////tab////tab//strContent=fileGetContent(strDest)//crlf////tab////tab////tab////tab////tab//Int1=pos(char(0x3C)\\plus\\\\quot\\Type\\quot\\\\plus\\char(0x3E)\\comma\\strContent)//crlf////tab////tab////tab////tab////tab//Int2=pos(char(0x3C)\\plus\\\\quot\\/Type\\quot\\\\plus\\char(0x3E)\\comma\\strContent)//crlf////tab////tab////tab////tab////tab//str=substring(strContent\\comma\\Int1\\plus\\6\\comma\\Int2)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\str=\\quot\\\\plus\\str)//crlf////tab////tab////tab////tab////tab//if (str=\\quot\\xml\\quot\\) //crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\type is xml\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//strResult=\\quot\\[font color=\\apos\\red\\apos\\][b]Your OnePos system may not be ready to export.  The exportset01.xml file is configured to export to xml instead of csv.[br][br]\\quot\\//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ \\quot\\  If you are certain you do not need to export xml files from your OnePos system\\comma\\ you can manually rename or delete \\quot\\//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ strDest\\plus\\\\quot\\ and then press apply to replace the file.[/b][/font]\\quot\\//crlf////tab////tab////tab////tab////tab////tab//strResult=replaceSubstring(strResult\\comma\\\\quot\\[\\quot\\\\comma\\char(0x3C))//crlf////tab////tab////tab////tab////tab////tab//strResult=replaceSubstring(strResult\\comma\\\\quot\\]\\quot\\\\comma\\char(0x3E))//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\strResult=\\quot\\\\plus\\strResult)//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Checking destination for export\\quot\\)//crlf////tab////tab////tab////tab////tab//Int1=pos(char(0x3C)\\plus\\\\quot\\TargetDSN\\quot\\\\plus\\char(0x3E)\\comma\\strContent)//crlf////tab////tab////tab////tab////tab//Int2=pos(char(0x3C)\\plus\\\\quot\\/TargetDSN\\quot\\\\plus\\char(0x3E)\\comma\\strContent)//crlf////tab////tab////tab////tab////tab//str=fileDrive(strOneposExportDir)\\plus\\substring(strContent\\comma\\Int1\\plus\\11\\comma\\Int2)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\str=\\quot\\\\plus\\str)//crlf////tab////tab////tab////tab////tab//if (str<>strOneposExportDir) //crlf////tab////tab////tab////tab////tab////tab//strResult=\\quot\\[font color=\\apos\\red\\apos\\][b]Your OnePos system may not be ready to export.  The exportset01.xml file is configured to export to \\quot\\\\plus\\str//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ \\quot\\  but the export directory you have entered is \\quot\\\\plus\\strOneposExportDir\\plus\\\\quot\\.[br][br]\\quot\\//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ \\quot\\  Either edit \\quot\\\\plus\\strDest\\plus\\\\quot\\ to change the destination or change the OnePos Export Directory above to match it.[/b][/font]\\quot\\//crlf////tab////tab////tab////tab////tab////tab//strResult=replaceSubstring(strResult\\comma\\\\quot\\[\\quot\\\\comma\\char(0x3C))//crlf////tab////tab////tab////tab////tab////tab//strResult=replaceSubstring(strResult\\comma\\\\quot\\]\\quot\\\\comma\\char(0x3E))//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\strResult=\\quot\\\\plus\\strResult)//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//strResult=\\quot\\Your\\apos\\re ready to export data from your OnePos system.\\quot\\//crlf////tab////tab////tab////tab//strResult=replaceSubstring(strResult\\comma\\\\quot\\[\\quot\\\\comma\\char(0x3C))//crlf////tab////tab////tab////tab//strResult=replaceSubstring(strResult\\comma\\\\quot\\]\\quot\\\\comma\\char(0x3E))//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//strResult=\\quot\\[font color=\\apos\\red\\apos\\][b]Your OnePos system may not be ready to export.  The directory named \\quot\\\\plus\\quote(strOneposDir)\\plus\\\\quot\\ isn\\apos\\t valid.[br][br]\\quot\\//crlf////tab////tab////tab////tab//strResult=strResult \\plus\\ \\quot\\The OnePos export directory entered above needs to be located beneath the folder containing your OnePos program files.[/b][/font]\\quot\\//crlf////tab////tab////tab////tab//strResult=replaceSubstring(strResult\\comma\\\\quot\\[\\quot\\\\comma\\char(0x3C))//crlf////tab////tab////tab////tab//strResult=replaceSubstring(strResult\\comma\\\\quot\\]\\quot\\\\comma\\char(0x3E))//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf////crlf//^
ID=442858|X=1050|Y=30|W=673|H=496|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=Notes^
ID=debug_console|X=1050|Y=520|W=659|H=339|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=false|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=505737|X=1050|Y=30|W=673|H=496|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=2|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=transparent|Content=<h2>Debugging</h2>//crlf//<table>//crlf////tab//<tr>//crlf////tab////tab//<td>Aspect6StartInDirectory</td>//crlf////tab////tab//<td>{Aspect6StartInDirectory}</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Aspect_BackOffice_Pref_freepour_export_directory</td>//crlf////tab////tab//<td>{Aspect_BackOffice_Pref_freepour_export_directory}</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Aspect_BackOffice_Pref_onepos_export_directory</td>//crlf////tab////tab//<td>{Aspect_BackOffice_Pref_onepos_export_directory}</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Aspect_BackOffice_Pref_freepour_store_directory</td>//crlf////tab////tab//<td>{Aspect_BackOffice_Pref_freepour_store_directory}</td>//crlf////tab//</tr>//crlf////tab////crlf//</table>^
ID=viewer_for_export|X=1050|Y=30|W=673|H=496|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:false>//crlf//<!--------------------------------------------------------------------------------------------------------//crlf//This contains two viewers used by the Freepour library clients to export data.//crlf//One exports the Aspect6 sales mix files.  The other exports the onepos//crlf//journal files.//crlf////crlf//The library clients are defined in the supporting files of the back office package.//crlf////crlf//The conditional and include tags below follow one another without any line//crlf//breaks or spaces.  Otherwise\\comma\\ those would appear in the output.//crlf//---------------------------------------------------------------------------------------------------------->//crlf//</conditional><conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\export_salesmix\\apos\\)\\quot\\><!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Executing viewer for aspect salesmix export\\quot\\)//crlf////crlf////tab////tab////open the sales mix driver and export it to ascii //crlf////tab////tab//strTempFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files{{backslash{{\\quot\\\\plus\\getSalt(10)\\plus\\\\quot\\.csv\\quot\\//crlf////tab////tab//strDate=fileName(\\quot\\__Filename__\\quot\\)//crlf////tab////tab//setToken(\\quot\\Aspect6StoreDirectory\\quot\\\\comma\\fileDrive(\\quot\\__Filename__\\quot\\)\\plus\\fileDir(\\quot\\__Filename__\\quot\\))//crlf////tab////tab//setToken(\\quot\\Aspect6SelectDate1\\quot\\\\comma\\strDate)//crlf////tab////tab////crlf////tab////tab//driverOpen(Aspect6_Driver_Sales_Mix\\comma\\drvSalesMix\\comma\\READ\\comma\\false\\comma\\\\quot\\Date=\\quot\\\\plus\\strDate)//crlf////tab////tab//driverSetFilter(drvSalesMix\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//driverExportToAscii(drvSalesMix\\comma\\strTempFilename\\comma\\char(0x2c)\\comma\\\\quot\\freepour_salesmix_export\\quot\\\\comma\\false\\comma\\false\\comma\\false\\comma\\true\\comma\\true\\comma\\false)//crlf////tab////tab//driverClose(drvSalesMix)//crlf////tab////tab////crlf////tab////tab//// copy the file to the export directory//crlf////tab////tab////The file is manually copied here rather than using the posting feature of the library document because the filename must be formatted and there is not//crlf////tab////tab////enough room to specify the filename in the template for the library document//crlf////tab////tab////crlf////tab////tab//if(false)//crlf////tab////tab////tab//strDest=addDirSlash(getToken(Aspect_BackOffice_Pref_freepour_export_directory))\\plus\\\\quot\\salesmix_\\quot\\\\plus\\fileName(\\quot\\__FileName__\\quot\\)\\plus\\\\quot\\.csv\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Copying Aspect salesmix export to freepour: \\quot\\\\plus\\strDest)//crlf////tab////tab////tab//fileCopy(strTempFilename\\comma\\strDest)//crlf////tab////tab//endif//crlf////crlf////tab////tab//strResult=fileGetContent(strTempFilename)//crlf////tab////tab//fileDelete(strTempFilename)//crlf////tab////tab//scriptSetResult(strResult)//crlf////tab//\\quot\\></conditional><conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\export_onepos_journal\\apos\\)\\quot\\><!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Executing viewer for onepos jorsales export\\quot\\)//crlf////crlf////tab////tab////get the name of a temp file to which the output will be written//crlf////tab////tab//strTempFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files{{backslash{{\\quot\\\\plus\\getSalt(10)\\plus\\\\quot\\.csv\\quot\\//crlf////crlf////tab////tab////set the token used in the onepos package to specify the onepos directory//crlf////tab////tab//setToken(\\quot\\onepos_directory\\quot\\\\comma\\addDirSlash(getToken(\\quot\\Aspect_BackOffice_Pref_onepos_export_directory\\quot\\)))//crlf////tab////tab////crlf////tab////tab////open the sales driver and export it to ascii //crlf////tab////tab//strFilename=addDirSlash(getToken(\\quot\\Aspect_BackOffice_Pref_onepos_export_directory\\quot\\))\\plus\\\\quot\\jorsales.csv\\quot\\//crlf////tab////tab//dt=FileModified(strFilename)//crlf////tab////tab//appendToLog(\\quot\\dt of onepos jorsales: \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////tab////tab//driverOpen(onepos_jorsale_export\\comma\\drvOnePos\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yy\\quot\\))//crlf////tab////tab//driverSetFilter(drvOnePos\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//appendToLog(\\quot\\Record count of drvOnePos=\\quot\\\\plus\\driverGetRecordCount(drvOnePos\\comma\\false))//crlf////tab////tab//driverExportToAscii(drvOnePos\\comma\\strTempFilename\\comma\\char(0x2c)\\comma\\\\quot\\freepour_salesmix_export\\quot\\\\comma\\false\\comma\\false\\comma\\false\\comma\\true\\comma\\true\\comma\\false)//crlf////tab////tab//driverClose(drvOnePos)//crlf////tab////tab////crlf////tab////tab////open the voids driver and export it to ascii\\comma\\ appending to the previous output//crlf////tab////tab//strFilename=addDirSlash(getToken(\\quot\\Aspect_BackOffice_Pref_onepos_export_directory\\quot\\))\\plus\\\\quot\\JorSaleVoids.csv\\quot\\//crlf////tab////tab//dt=FileModified(strFilename)//crlf////tab////tab//driverOpen(onepos_jorsale_export\\comma\\drvOnePos\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yy\\quot\\))//crlf////tab////tab//driverSetFilter(drvOnePos\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//driverExportToAscii(drvOnePos\\comma\\strTempFilename\\comma\\char(0x2c)\\comma\\\\quot\\freepour_salesmix_export\\quot\\\\comma\\false\\comma\\false\\comma\\false\\comma\\true\\comma\\true\\comma\\true)//crlf////tab////tab//driverClose(drvOnePos)//crlf////tab////tab////crlf////tab////tab//// copy the file to the export directory//crlf////tab////tab////The file is manually copied here rather than using the posting feature of the library document because the filename must be formatted and there is not//crlf////tab////tab////enough room to specify the filename in the template for the library document//crlf////tab////tab//strDest=addDirSlash(getToken(Aspect_BackOffice_Pref_freepour_export_directory))\\plus\\\\quot\\salesmix_\\quot\\\\plus\\formatDate(incrementTime(now()\\comma\\0\\comma\\-6)\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\\\quot\\.csv\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Copying onepos export to freepour: \\quot\\\\plus\\strDest)//crlf////tab////tab//fileCopy(strTempFilename\\comma\\strDest)//crlf////tab////tab////crlf////tab////tab////delete the temp file//crlf////tab////tab//fileDelete(strTempFilename)//crlf////crlf////tab////tab////just return a status message that will be posted to status.txt//crlf////tab////tab//strResult=\\quot\\Onepos export created at \\quot\\\\plus\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)//crlf////tab////tab//scriptSetResult(strResult)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=enabled_status|X=141|Y=12|W=254|H=21|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=5|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content={@htmlConstant(\\quot\\freepour_enabled\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\isTaskEnabled(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Freepour - Monitor Aspect Sales Mix\\quot\\))}//crlf////crlf//<span {@htmlTooltip(\\quot\\Indicates whether exports to Freepour are enabled or not\\quot\\)}>//crlf////tab//<!conditional expression:(__freepour_enabled__)>//crlf////tab////tab//<img style=\\quot\\position:relative; top:2px\\quot\\ src=\\quot\\{@getImageUrl(\\quot\\greenlight\\quot\\\\comma\\\\quot\\greenlight12x12.png\\quot\\\\comma\\true)}\\quot\\> //crlf////tab////tab//Exports are enabled.//crlf////tab//</conditional>//crlf////crlf////tab//<!conditional expression:not(__freepour_enabled__)>//crlf////tab////tab//<img style=\\quot\\position:relative; top:2px\\quot\\ src=\\quot\\{@getImageUrl(\\quot\\greenlight\\quot\\\\comma\\\\quot\\greylight12x12.png\\quot\\\\comma\\true)}\\quot\\> //crlf////tab////tab//Exports are disabled.//crlf////tab//</conditional>//crlf//</span>//crlf//
</widget><widget name="Exports Container" group="Back-Office" category="" description="" type="Container" Processing=0 metadata="" IncludeInViewer="true" PublicName="Exports" modified="11-04-2011 00:16:18" modifiedby="Keith-Dell2">
Preferences|toolboxx=590|toolboxy=240|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Exports Container.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=553076|X=4|Y=7|W=150|H=20|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table class=\\apos\\tabdialog\\apos\\>//crlf//  <tr>//crlf//    <td><a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\775427\\apos\\)\\quot\\>Payroll \\amp\\ Accounting</a></td>//crlf//    <td><a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\844977{{pipe{{952894{{pipe{{messages\\apos\\)\\quot\\>Generic</a></td>//crlf//    <td><a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\644359\\apos\\)\\quot\\>Generic Doc</a></td>//crlf//  </tr>//crlf//</table>^
ID=775427|X=5|Y=30|W=850|H=599|AutoHeight=true|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<h1>Accounting \\amp\\ Report Exports</h1>//crlf//<div style=\\quot\\width:600px\\quot\\>//crlf////tab//<p>This tool automates the standard Aspect exports including those used to export to payroll services and accounting packages.  You can also create//crlf////tab////tab//report exports like Labor Detail\\comma\\ Cost Of Sales\\comma\\ Inventory Extensions and Income \\amp\\ Expense reports.</p>//crlf////tab//<p>Each record created defines a particular export.  For example\\comma\\ you can create a record to create a payroll export for your payroll company every Monday at 10:00am.</p>//crlf//</div>//crlf//<br>//crlf////crlf//<constant name:__driverID__; value:\\quot\\Aspect6_Export_Task\\quot\\>//crlf//<constant name:__DriverName__; value:\\quot\\Aspect6 Export Task\\quot\\>//crlf//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getCachedWidget\\amp\\DocumentID=ASQbJP8JvLllf4SvKkfnkzLx\\amp\\Widget=Aspect6 Export Tasks\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf//<constant name:__filterArgs__; value:\\quot\\FilterTaskEnabled=__FilterTaskEnabled__\\quot\\>//crlf//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////crlf//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf//<div ID=\\quot\\__WidgetID__isableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf//<!-- Overlay used to edit a record.  It is prepped and hidden initially.  When a record is edited\\comma\\//crlf////tab//the div is made visible and the fields are filled in using javascript.  -->//crlf//<constant name:__EditRecordHeight__; value:\\quot\\550\\quot\\>//crlf//<constant name:__EditRecordInputWidth1__; value:\\quot\\150\\quot\\>//crlf//<constant name:__EditRecordInputWidth2__; value:\\quot\\325\\quot\\>//crlf//<div ID=\\quot\\__WidgetID__EditOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\height:__EditRecordHeight__px; width:450px; display:none;\\quot\\>//crlf////tab//<record>//crlf////tab////tab//<h2>Edit Export Task</h2>//crlf////tab////tab//<form name=\\quot\\__WidgetID__Edit\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ >//crlf////crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Task Name</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\__tooltip_TaskName__\\quot\\)}><input type=\\apos\\text\\apos\\ style=\\quot\\width:__EditRecordInputWidth2__px\\quot\\ name=\\apos\\field_TaskName\\apos\\ value=\\apos\\\\apos\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td valign=\\apos\\top\\apos\\ style=\\quot\\text-align:top\\quot\\>Description</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\__tooltip_TaskDescription__\\quot\\)}><textarea style=\\quot\\width:__EditRecordInputWidth2__px\\quot\\ name=\\quot\\field_TaskDescription\\quot\\ rows=\\quot\\3\\quot\\>__$TaskDescription$__</textarea></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Export Type</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\__tooltip_Export_Type__\\quot\\)}><!include type:expression; expression:htmlSelect(Aspect6_Export_Task_Types\\comma\\\\quot\\field_Export_Type\\quot\\\\comma\\\\quot\\__field_Export_Type__\\quot\\\\comma\\\\quot\\style=\\apos\\width:__EditRecordInputWidth2__px\\apos\\ onChange=\\quot\\\\plus\\quote(\\quot\\javaScript:setEditableFields()\\quot\\))></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\SelectIncomeAndExpenseReport\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Report</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\__tooltip_Income_Expense_Report__\\quot\\)}><!include type:expression; expression:htmlSelect(Aspect6_Income_And_Expense_Names\\comma\\\\quot\\field_Income_Expense_Report\\quot\\\\comma\\\\quot\\__field_Income_Expense_Report__\\quot\\\\comma\\\\quot\\style=\\apos\\width:__EditRecordInputWidth2__px\\apos\\\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\SelectSales_Format\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Format</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\__tooltip_Sales_Format__\\quot\\)}><!include type:expression; expression:htmlSelect(Aspect6_Export_Task_Accounting_Package\\comma\\\\quot\\field_Sales_Format\\quot\\\\comma\\\\quot\\__field_Sales_Format__\\quot\\\\comma\\\\quot\\style=\\apos\\width:__EditRecordInputWidth2__px\\apos\\\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\SelectPayroll_Format\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Format</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\__tooltip_Payroll_Format__\\quot\\)}><!include type:expression; expression:htmlSelect(Aspect6_Export_Task_Payroll_Formats\\comma\\\\quot\\field_Payroll_Format\\quot\\\\comma\\\\quot\\__field_Payroll_Format__\\quot\\\\comma\\\\quot\\style=\\apos\\width:__EditRecordInputWidth2__px\\apos\\\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\SelectInvoice_Format\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Format</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\__tooltip_Invoice_Format__\\quot\\)}><!include type:expression; expression:htmlSelect(Aspect6_Export_Task_Invoice_Formats\\comma\\\\quot\\field_Invoice_Format\\quot\\\\comma\\\\quot\\__field_Invoice_Format__\\quot\\\\comma\\\\quot\\style=\\apos\\width:__EditRecordInputWidth2__px\\apos\\\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Stores</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\__tooltip_Store_Codes__\\quot\\)}>//crlf////tab////tab////tab////tab////tab////tab//<!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Store_Codes\\quot\\\\comma\\ \\quot\\field_Store_Codes\\quot\\\\comma\\ \\quot\\__Store_Codes__\\quot\\\\comma\\\\quot\\multiple=\\apos\\multiple\\apos\\ style=\\apos\\height:100px; width:__EditRecordInputWidth2__px;\\apos\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Folder</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlToolTip(\\quot\\__tooltip_Export_Folder__\\quot\\)}><input type=\\quot\\text\\quot\\ name=\\apos\\field_Export_Folder\\apos\\ value=\\quot\\\\quot\\ style=\\quot\\width:__EditRecordInputWidth2__px\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Filename</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlToolTip(\\quot\\__tooltip_Export_Filename__\\quot\\)}><input type=\\quot\\text\\quot\\ name=\\apos\\field_Export_Filename\\apos\\ value=\\quot\\\\quot\\ style=\\quot\\width:__EditRecordInputWidth2__px\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td colspan=\\apos\\2\\apos\\>//crlf////tab////tab////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr {@htmlToolTip(\\quot\\__tooltip_TaskEnabled__\\quot\\)}>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td><input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_TaskEnabled\\apos\\ <!include type:expression; expression:\\quot\\if(\\apos\\__TaskEnabled__\\apos\\\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td>Enabled</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td><input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_TaskEnabled\\apos\\ value=\\apos\\false\\apos\\></td>//crlf////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Week End</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlToolTip(\\quot\\__tooltip_Week_End__\\quot\\)}><!include type:expression; expression:htmlSelect(Aspect6_Export_Task_Week_End_Day\\comma\\\\quot\\field_Week_End\\quot\\\\comma\\\\quot\\__field_Week_End__\\quot\\\\comma\\\\quot\\style=\\apos\\width:__EditRecordInputWidth1__px\\apos\\\\quot\\)></td>//crlf////crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Period</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlToolTip(\\quot\\__tooltip_Period__\\quot\\)}><!include type:expression; expression:htmlSelect(Aspect6_Export_Task_Periods\\comma\\\\quot\\field_Period\\quot\\\\comma\\\\quot\\__field_Period__\\quot\\\\comma\\\\quot\\style=\\apos\\width:__EditRecordInputWidth1__px\\apos\\\\quot\\)></td>//crlf////crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>POS Reset</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlToolTip(\\quot\\__tooltip_Rollover_Time__\\quot\\)}><input type=\\apos\\text\\apos\\ name=\\apos\\field_Rollover_Time\\apos\\ value=\\apos\\\\apos\\ size=\\apos\\5\\apos\\ datatype=\\apos\\time\\apos\\ pattern=\\quot\\HH:mm\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Start Time</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlToolTip(\\quot\\__tooltip_TaskInitialStartTime__\\quot\\)}><input type=\\apos\\text\\apos\\ name=\\apos\\field_TaskInitialStartTime\\apos\\ value=\\apos\\\\apos\\ size=\\apos\\20\\apos\\ datatype=\\apos\\time\\apos\\ pattern=\\quot\\MM-dd-yyyy HH:mm\\quot\\ control=\\quot\\date\\quot\\></td>//crlf////crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Interval</td>//crlf////tab////tab////tab////tab////tab//<td {@htmlToolTip(\\quot\\__tooltip_TaskIntervalType__\\quot\\)}><!include type:expression; expression:htmlSelect(TaskIntervalType\\comma\\\\quot\\field_TaskIntervalType\\quot\\\\comma\\\\quot\\__field_TaskIntervalType__\\quot\\\\comma\\\\quot\\\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab////crlf////tab////tab////tab//<!-- Time between executions -->//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr {@htmlToolTip(\\quot\\__tooltip_TimeBetweenExecution__\\quot\\)}>//crlf////tab////tab////tab////tab////tab//<td>Time between executions:</td>//crlf////tab////tab////tab////tab////tab//<td>Days</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_TaskDaysBetweenExecution\\apos\\ value=\\apos\\__$TaskDaysBetweenExecution$__\\apos\\ size=\\apos\\5\\apos\\></td>//crlf////tab////tab////tab////tab////tab//<td>Hours</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_TaskHoursBetweenExecution\\apos\\ value=\\apos\\__$TaskHoursBetweenExecution$__\\apos\\ size=\\apos\\5\\apos\\></td>//crlf////tab////tab////tab////tab////tab//<td>Minutes</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_TaskMinutesBetweenExecution\\apos\\ value=\\apos\\__$TaskMinutesBetweenExecution$__\\apos\\ size=\\apos\\5\\apos\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab////crlf////tab////tab////tab//<!-- Days to execute -->//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr {@htmlToolTip(\\quot\\__tooltip_DaysToExecute__\\quot\\)}>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_TaskExecuteSun\\apos\\ <!include type:expression; expression:\\quot\\if(\\apos\\__TaskExecuteSun__\\apos\\\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>></td>//crlf////tab////tab////tab////tab////tab//<td>Sun</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_TaskExecuteMon\\apos\\ <!include type:expression; expression:\\quot\\if(\\apos\\__TaskExecuteMon__\\apos\\\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>></td>//crlf////tab////tab////tab////tab////tab//<td>Mon</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_TaskExecuteTue\\apos\\ <!include type:expression; expression:\\quot\\if(\\apos\\__TaskExecuteTue__\\apos\\\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>></td>//crlf////tab////tab////tab////tab////tab//<td>Tue</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_TaskExecuteWed\\apos\\ <!include type:expression; expression:\\quot\\if(\\apos\\__TaskExecuteWed__\\apos\\\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>></td>//crlf////tab////tab////tab////tab////tab//<td>Wed</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_TaskExecuteThu\\apos\\ <!include type:expression; expression:\\quot\\if(\\apos\\__TaskExecuteThu__\\apos\\\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>></td>//crlf////tab////tab////tab////tab////tab//<td>Thu</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_TaskExecuteFri\\apos\\ <!include type:expression; expression:\\quot\\if(\\apos\\__TaskExecuteFri__\\apos\\\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>></td>//crlf////tab////tab////tab////tab////tab//<td>Fri</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_TaskExecuteSat\\apos\\ <!include type:expression; expression:\\quot\\if(\\apos\\__TaskExecuteSat__\\apos\\\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>></td>//crlf////tab////tab////tab////tab////tab//<td>Sat</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<!-- These are hidden fields required for the checkboxes above -->//crlf////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_TaskExecuteSun\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_TaskExecuteMon\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_TaskExecuteTue\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_TaskExecuteWed\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_TaskExecuteThu\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_TaskExecuteFri\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_TaskExecuteSat\\apos\\ value=\\apos\\false\\apos\\>//crlf////crlf////tab////tab////tab//<!-- Buttons -->//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Edit\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__EditOverlay\\apos\\);\\quot\\>//crlf////tab////tab////tab////crlf////tab////tab////tab//<!-- Fields required to record the changes -->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\putRecord\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\append\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab//</form>//crlf////tab//</record>//crlf//</div>//crlf////crlf//<!-- Overlay used to delete a record.  It is prepped and hidden initially.  When a record is deleted\\comma\\//crlf////tab//the div is made visible and the description and expression are filled in using javascript.  -->//crlf//<div ID=\\quot\\__WidgetID__DeleteOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\height:300px; display:none;\\quot\\>//crlf////tab//<h2>deleteRecord <span ID=\\quot\\__WidgetID__DeleteRecordDescription\\quot\\></span></h2>//crlf////tab//<record>//crlf////tab////tab//<form name=\\quot\\__WidgetID__Delete\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////tab////tab////tab//Delete record?//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Delete\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__DeleteOverlay\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\deleteRecord\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab//</form>//crlf////tab//</record>//crlf//</div>//crlf////crlf//<input type=\\apos\\button\\apos\\ value=\\apos\\Add a new export\\apos\\ onClick=\\quot\\javascript:editRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\new\\apos\\\\comma\\\\apos\\__driverID__\\apos\\);\\quot\\ {@htmlTooltip(\\quot\\__tooltip_new_task__\\quot\\)}><br>//crlf//<br>//crlf////crlf//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf//<!include type:driver;//crlf////tab//driver: __driverID__;//crlf////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab//params: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\TaskEnabled\\comma\\TaskName\\comma\\Export_Type\\comma\\Period\\comma\\TaskIntervalType\\comma\\Frequency\\comma\\ExportTaskEditButton\\comma\\_DeleteButton\\quot\\;//crlf////tab//sort: \\quot\\TaskName\\quot\\;//crlf////tab//filter: \\quot\\(if(startsWith(\\apos\\__FilterTaskEnabled__\\apos\\\\comma\\\\apos\\__\\apos\\)\\comma\\true\\comma\\(not(__FilterTaskEnabled__)) or (TaskEnabled)))\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//paging: \\quot\\false\\quot\\;//crlf////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab//debug: \\quot\\false\\quot\\;//crlf//>//crlf////crlf//<!-- add some blank space -->//crlf//<div style=\\quot\\height:500px\\quot\\></div>//crlf////crlf//<constant name:__tooltip_new_task__; value:\\quot\\Click to add a new export task\\quot\\>//crlf//<constant name:__tooltip_TaskName__; value:\\quot\\A descriptive name for the task\\quot\\>//crlf//<constant name:__tooltip_TaskDescription__; value:\\quot\\The description entered hear appears when you place the mouse over the task name in the table of tasks.\\quot\\>//crlf//<constant name:__tooltip_Export_Type__; value:\\quot\\Select the type of information to be exported\\quot\\>//crlf//<constant name:__tooltip_Income_Expense_Report__; value:\\quot\\Select the Income \\amp\\ Expense report to be exported.  These reports are created in Aspect Back-Office by selecting Settings / Sales Setup / Income \\amp\\ Expense Setup.\\quot\\>//crlf//<constant name:__tooltip_Sales_Format__; value:\\quot\\Select an accounting package format for the export\\quot\\>//crlf//<constant name:__tooltip_Payroll_Format__; value:\\quot\\Select a payroll service format for the export\\quot\\>//crlf//<constant name:__tooltip_Invoice_Format__; value:\\quot\\Select an accounting package format for the export\\quot\\>//crlf//<constant name:__tooltip_Store_Codes__; value:\\quot\\Select one or more stores to export.  Press Ctrl while clicking to select multiple stores.\\quot\\>//crlf//<constant name:__tooltip_Export_Folder__; value:\\quot\\The output folder for the export file.  Tokens may be used in the folder name including:<br>//crlf////tab//$storedir$ - The store directory<br>//crlf////tab//$storecode$ - The store code<br>//crlf////tab//$date$ - The ending date formatted as mm-dd-yyyy<br>//crlf////tab//$month$ - The month part of the ending date<br>//crlf////tab//$day$ - The day part of the ending date<br>//crlf////tab//$yr$ - The last two digits of the year<br>//crlf////tab//$year$ - The last four digits of the year<br>//crlf////tab//$hour$ - The current hour<br>//crlf////tab//$minute$ - The current minute<br>//crlf////tab//<br>//crlf////tab//Example: $storedir$exports - would export to something like c:{{backslash{{{{backslash{{aspect{{backslash{{{{backslash{{store1{{backslash{{{{backslash{{exports<br><br>//crlf////tab//The output folder can also be specified using an expression if it begins with \\amp\\quot;=\\amp\\quot;.<br>//crlf////tab//\\quot\\>//crlf//<constant name:__tooltip_Export_Filename__; value:\\quot\\The output folder for the export file.  Tokens may be used in the folder name including:<br>//crlf////tab//$storedir$ - The store directory<br>//crlf////tab//$storecode$ - The store code<br>//crlf////tab//$date$ - The ending date formatted as mm-dd-yyyy<br>//crlf////tab//$month$ - The month part of the ending date<br>//crlf////tab//$day$ - The day part of the ending date<br>//crlf////tab//$yr$ - The last two digits of the year<br>//crlf////tab//$year$ - The last four digits of the year<br>//crlf////tab//$hour$ - The current hour<br>//crlf////tab//$minute$ - The current minute<br>//crlf////tab//<br>//crlf////tab//Example: $storedir$exports - would export to something like c:{{backslash{{{{backslash{{aspect{{backslash{{{{backslash{{store1{{backslash{{{{backslash{{exports<br><br>//crlf////tab//The output folder can also be specified using an expression if it begins with \\amp\\quot;=\\amp\\quot;.<br>//crlf////tab//\\quot\\>//crlf//<constant name:__tooltip_TaskEnabled__; value:\\quot\\Exports will only be created if they are enabled\\quot\\>//crlf//<constant name:__tooltip_Week_End__; value:\\quot\\The week end day is used when creating week-to-date exports/\\quot\\>//crlf//<constant name:__tooltip_Period__; value:\\quot\\Select the period to export.\\quot\\>//crlf//<constant name:__tooltip_Rollover_Time__; value:\\quot\\The time at which the POS system is reset each day.  A new business day begins after this time.  You can also enter the opening time of the business day since the POS system should be reset by this time.  Any reports generated prior to that time will be for the previous business day.\\quot\\>//crlf//<constant name:__tooltip_TaskInitialStartTime__; value:\\quot\\If this task is scheduled to occur at an interval\\amp\\\\pound\\44; select the starting time to begin.  For example\\amp\\\\pound\\44; to execute a task every day at 7:00am\\amp\\\\pound\\44; enter a starting time of 07:00 and the date you want the task to begin (usually today).\\quot\\>//crlf//<constant name:__tooltip_TaskIntervalType__; value:\\quot\\The inverval determines when the task will be executed.\\quot\\>//crlf//<constant name:__tooltip_TimeBetweenExecution__; value:\\quot\\The amount of time between executions\\quot\\>//crlf//<constant name:__tooltip_DaysToExecute__; value:\\quot\\The days of the week on which the export will be created\\quot\\>//crlf//^
ID=952894|X=5|Y=30|W=851|H=469|AutoHeight=false|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<!-- Note: To add a new export://crlf////tab//- Add a checkbox for it in the appropriate section.  Use export_xxx as the name.  xxx will be stored in the //crlf////tab////tab//Aspect_BackOffice_Pref_Exports_Generic_Files field in Aspect BackOffice preferences//crlf////tab//- Add values to arExportCode and arExportSpec in the Aspect script in this document that generates the filespec//crlf////tab//- Add a diskindex field to the Aspect6 driver structure//crlf////tab//- Add a generic export structure and drivers for ascii-csv\\comma\\ ascii-tab and dbase.  Field ID\\apos\\s must be no more than 11 characters to be dbase compatible//crlf////tab//- Modify the view to recognize the new file(s) and respond accordingly.  The viewer does not know anything about the code used to add the file to the filespec.//crlf////tab////tab//It only sees the file names when they are posted by the library.//crlf//-->//crlf////crlf//<!-- //tab//A note about calculated fields//crlf////crlf////tab//Obviously\\comma\\ the export files do not contain virtual or calculated field.  However\\comma\\ when creating the export\\comma\\ a virtual field in the source driver//crlf////tab//can be merged to a non-virtual field in the destination and it will appear in the file.  And example is the Payroll Number and POS Number in //crlf////tab//the labor detail structure.  These fields are calculated in the Aspect6 structure but they are non-virtual in the generic structure.  This causes//crlf////tab//them to appear in the export file.//crlf////tab////crlf////tab//Virtual fields are not included in the structure definition on the doc page since they\\apos\\re not in the file.//crlf////tab////crlf////tab//Virtual fields can still be defined in the generic structures if it helps when importing or working with data in these files.  They just don\\apos\\t play//crlf////tab//any role in the export.//crlf//-->//crlf////crlf//<h1>Generic Export</h1>//crlf////crlf//<div style=\\quot\\width:600px\\quot\\>//crlf////tab//<p>This tool gives you easy access to all of the data collected by Aspect.  When data is imported or edited\\comma\\ it is automatically exported to//crlf////tab////tab//another folder in either ascii or dbase format.  In effect\\comma\\ all of your store data is mirrored to another directory in a common format.  Data for each//crlf////tab////tab//store is exported to a directory named \\apos\\mirror_export\\apos\\ beneath the store directory.</p>//crlf////tab////tab////crlf////tab//<p>Need help setting this up?  Watch the <a href=\\quot\\javascript:playVideo(\\apos\\i_HT52_bPw4\\apos\\)\\quot\\>video</a>.</p>//crlf////tab//<br>//crlf//</div>//crlf////crlf//<form name=\\quot\\export_preferences\\quot\\>//crlf////crlf////tab//<!-- These fields are set when the form is submitted -->//crlf////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\field_Aspect_BackOffice_Pref_Exports_Generic_Files\\quot\\ value=\\quot\\\\quot\\>//crlf////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\field_Aspect_BackOffice_Pref_Exports_Generic_Stores\\quot\\ value=\\quot\\\\quot\\>//crlf////crlf////tab//<constant name:__input_width__; value:200px;>//crlf////tab//<record>//crlf////tab////tab//<table class=\\quot\\form\\quot\\>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td valign=\\quot\\top\\quot\\ style=\\quot\\vertical-align:top\\quot\\>//crlf////tab////tab////tab////tab////tab//<b>Export Options</b><br>//crlf////tab////tab////tab////tab////tab//<table class=\\quot\\form\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<!-- Enable -->//crlf////tab////tab////tab////tab////tab////tab////tab//<td colspan=\\apos\\2\\apos\\>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_Aspect_BackOffice_Pref_Exports_Generic_Enable\\apos\\ <!include type:expression; expression:\\quot\\if(__Aspect_BackOffice_Pref_Exports_Generic_Enable__\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_Aspect_BackOffice_Pref_Exports_Generic_Enable\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//Enable export//crlf////tab////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<!-- Format -->//crlf////tab////tab////tab////tab////tab////tab////tab//<td>Format</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\__field_Aspect_BackOffice_Pref_Exports_Generic_ExportFormat__\\quot\\)}>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<!--//tab//Note: the values in the select box (e.g. ascii_csv) are appended to a prefix in the view to get the complete driver ID.  Any values added or changed here//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//also need to be added or changed in the viewer -->//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<select name=\\quot\\field_Aspect_BackOffice_Pref_Exports_Generic_ExportFormat\\quot\\ style=\\quot\\width:__input_width__;\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<option value=\\quot\\ascii_csv\\quot\\ <!include type:expression; expression:\\quot\\if(\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_ExportFormat__\\apos\\=\\apos\\ascii_csv\\apos\\\\comma\\\\quot\\selected\\quot\\\\comma\\\\quot\\\\quot\\)\\quot\\>>Ascii (Comma Delimited)</option>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<option value=\\quot\\ascii_tab\\quot\\ <!include type:expression; expression:\\quot\\if(\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_ExportFormat__\\apos\\=\\apos\\ascii_tab\\apos\\\\comma\\\\quot\\selected\\quot\\\\comma\\\\quot\\\\quot\\)\\quot\\>>Ascii (Tab Delimited)</option>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<option value=\\quot\\dbase\\quot\\ <!include type:expression; expression:\\quot\\if(\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_ExportFormat__\\apos\\=\\apos\\dbase\\apos\\\\comma\\\\quot\\selected\\quot\\\\comma\\\\quot\\\\quot\\)\\quot\\>>DBase</option>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</select>//crlf////tab////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td>Start with</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td {@htmlTooltip(\\quot\\__startdate__\\quot\\)}><input type=\\quot\\text\\quot\\ name=\\quot\\field_Aspect_BackOffice_Pref_Exports_Generic_Start_Date\\quot\\ size=\\quot\\12\\quot\\ style=\\quot\\width:185px;\\quot\\ value=\\quot\\__Aspect_BackOffice_Pref_Exports_Generic_Start_Date__\\quot\\ control=\\quot\\date\\quot\\></td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab//<table class=\\quot\\form\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td>//tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab//<!-- Stores to export -->//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<b>Stores to export</b>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<conditional expression:\\quot\\len(\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Stores__\\apos\\)=0\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<span class=\\apos\\warning\\apos\\> (None selected)</span>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<span {@htmlTooltip(\\quot\\__StoresToExport__\\quot\\)}>//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//<!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Store_Codes\\quot\\\\comma\\ \\quot\\StoresToExport\\quot\\\\comma\\ \\quot\\__Aspect_BackOffice_Pref_Exports_Generic_Stores__\\quot\\\\comma\\\\quot\\multiple=\\apos\\multiple\\apos\\ style=\\apos\\height:100px; width:250px;\\apos\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//</span>//crlf////tab////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab//</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////tab////tab//<br>//crlf////tab////tab////crlf////tab////tab//<table>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab//<!-- Sales Exports -->//crlf////tab////tab////tab////tab////tab//<b>Sales</b> <a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\selectAllExports(\\apos\\Sales\\apos\\\\comma\\true)\\quot\\>All</a>\\amp\\nbsp;\\amp\\nbsp;<a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\selectAllExports(\\apos\\Sales\\apos\\\\comma\\false)\\quot\\>None</a><br>//crlf////tab////tab////tab////tab////tab//<div class=\\apos\\scrolling_checkbox\\apos\\>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_mix\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\mix\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_mix__\\quot\\)}> Sales Mix (mm-dd-yy.mix)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_ckh\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\ckh\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_ckh__\\quot\\)}> Check Headers (mm-dd-yy.ckh)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_ckd\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\ckd\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_ckd__\\quot\\)}> Check Details (mm-dd-yy.ckh)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_category\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\category\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_category__\\quot\\)}> Categories (category.dta)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_comp\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\comp\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_comp__\\quot\\)}> Comps (comp.dta)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_department\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\department\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_department__\\quot\\)}> Departments (deptmnt.dta)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_discount\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\discount\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_discount__\\quot\\)}> Discounts (disc.dta)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_giftcert\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\giftcert\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_giftcert__\\quot\\)}> Gift Certificates (giftcert.dta)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_paidin\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\paidin\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_paidin__\\quot\\)}> Paid-In (paidin.dta)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_paidout\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\paidout\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_paidout__\\quot\\)}> Paid-Out (paidout.dta)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_revctr\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\revctr\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_revctr__\\quot\\)}> Revenue Centers (revctr.dta)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_tax\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\tax\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_tax__\\quot\\)}> Tax (tax.dta)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_tender\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\tender\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_tender__\\quot\\)}> Tender (tender.dta)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_timeper\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\timeper\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_tender__\\quot\\)}> Time Periods (timeper.dta)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_void\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\void\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_void__\\quot\\)}> Void (void.dta)</span><br>//crlf////tab////tab////tab////tab////tab//</div>//crlf////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab//<!-- Labor Exports -->//crlf////tab////tab////tab////tab////tab//<b>Labor</b> <a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\selectAllExports(\\apos\\labor\\apos\\\\comma\\true)\\quot\\>All</a>\\amp\\nbsp;\\amp\\nbsp;<a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\selectAllExports(\\apos\\labor\\apos\\\\comma\\false)\\quot\\>None</a><br>//crlf////tab////tab////tab////tab////tab//<div class=\\apos\\scrolling_checkbox\\apos\\>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_lbr\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\lbr\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_lbr__\\quot\\)}> Employee Timeclock (mm-dd-yy.lbr)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_employee\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\employee\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_employee__\\quot\\)}> Employee Records (employee.def)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_jobcode\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\jobcode\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_employee__\\quot\\)}> Job Codes (jobdef.dta)</span><br>//crlf////tab////tab////tab////tab////tab//</div>//crlf////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab//<!-- Inventory Exports -->//crlf////tab////tab////tab////tab////tab//<b>Inventory</b> <a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\selectAllExports(\\apos\\inventory\\apos\\\\comma\\true)\\quot\\>All</a>\\amp\\nbsp;\\amp\\nbsp;<a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\selectAllExports(\\apos\\inventory\\apos\\\\comma\\false)\\quot\\>None</a><br>//crlf////tab////tab////tab////tab////tab//<div class=\\apos\\scrolling_checkbox\\apos\\>//crlf////tab////tab////tab////tab////tab////tab//<!--input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_cnt\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\cnt\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>> Inventory Counts (mm-dd-yy.cnt)<br-->//crlf////tab////tab////tab////tab////tab////tab//<!--input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_usg\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\usg\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>> Legitimate Usage (mm-dd-yy.usg)<br-->//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_acctpybl\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\acctpybl\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_acctpybl__\\quot\\)}> Invoice Headers (acctpybl.dta)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_pay\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\pay\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_pay__\\quot\\)}> Invoice Details (mm-dd-yy.pay)</span><br>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ name=\\quot\\export_menuitem\\quot\\ <!include type:expression; expression:\\quot\\if(pos(\\apos\\menuitem\\apos\\\\comma\\\\apos\\__Aspect_BackOffice_Pref_Exports_Generic_Files__\\apos\\)>=0\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>><span {@htmlTooltip(\\quot\\__export_menuitem__\\quot\\)}> Menu Items (recipe.dta)</span><br>//crlf////tab////tab////tab////tab////tab//</div>//crlf////tab////tab////tab////tab//</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////tab////tab////crlf////tab////tab//<!-- Buttons -->//crlf////tab////tab//<br>//crlf////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\apply\\quot\\ value=\\quot\\Apply\\quot\\ onClick=\\quot\\submitPreferences(false)\\quot\\ {@htmlTooltip(\\quot\\__button_apply__\\quot\\)} onClick=\\quot\\javascript:submitPreferences(false)\\quot\\>//crlf////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\exportnow\\quot\\ value=\\quot\\Apply \\amp\\ Export Now\\quot\\ onClick=\\quot\\submitPreferences(true);\\quot\\ {@htmlTooltip(\\quot\\__button_apply_and_export__\\quot\\)}>//crlf////tab////tab//<input type=\\quot\\reset\\quot\\ name=\\quot\\reset\\quot\\ value=\\quot\\Reset\\quot\\ {@htmlTooltip(\\quot\\__button_reset__\\quot\\)}>//crlf////crlf////tab////tab//<!-- These direct the browser to the listener to record the values in the form -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\Network\\quot\\ value=\\quot\\GreenLight\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\putRecord\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\Aspect_BackOffice_Preferences_Read\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\Aspect_BackOffice_Pref_DiskIndex=0\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\secure\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\append\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab//</record>//crlf//</form>//crlf////crlf//<constant name:__field_Aspect_BackOffice_Pref_Exports_Generic_Interval__; value:\\quot\\Select the frequency with with the mirrored files will be updated.  If the interval is set to \\amp\\quot;Off\\amp\\quot; the exports will be disabled.<br><br>//crlf////tab//Files will only be exported if they have been created or modified since the last export.\\quot\\>//crlf//<constant name:__starttime__; value:\\quot\\The starting time used to calculate the interval.  For example\\amp\\\\pound\\44; to update the exports every day at 7am\\amp\\\\pound\\44; enter a start time of 07:00 and an interval of 24 hours.  Successive intervals will be calculated from the initial start time.\\quot\\>//crlf//<constant name:__field_Aspect_BackOffice_Pref_Exports_Generic_ExportFormat__; value:\\quot\\Files may be exported to dBase\\amp\\\\pound\\44; Ascii (tab delimited) or Ascii (comma delimited).\\quot\\>//crlf//<constant name:__startdate__; value:\\quot\\You can avoid exporting older files by specifying a start date.  Files older than the date entered will not be exported.  This option only applies to files with names formatted as \\amp\\quot;mm-dd-yy\\amp\\quot; (e.g. \\amp\\quot;01-01-2010.lbr\\amp\\quot;).\\quot\\>//crlf//<constant name:__StoresToExport__; value:\\quot\\Select one or more stores to export.\\quot\\>//crlf//<constant name:__export_mix__; value:\\quot\\Sales mix records - the quantify of each menu item sold and the sales dollars.\\quot\\>//crlf//<constant name:__export_ckh__; value:\\quot\\Check headers - information about when the check was opened\\amp\\\\pound\\44; closed\\amp\\\\pound\\44; the table number\\amp\\\\pound\\44; employee number\\amp\\\\pound\\44; etc.\\quot\\>//crlf//<constant name:__export_ckd__; value:\\quot\\Check details - detailed information about each line on the a guest check\\quot\\>//crlf//<constant name:__export_lbr__; value:\\quot\\Employee timeclock records including the time in/out\\amp\\\\pound\\44; job code and rate.\\quot\\>//crlf//<constant name:__export_employee__; value:\\quot\\Names\\amp\\\\pound\\44; addresses\\amp\\\\pound\\44; phone numbers\\amp\\\\pound\\44; etc.\\quot\\>//crlf//<constant name:__export_acctpybl__; value:\\quot\\Summary information about invoices\\quot\\>//crlf//<constant name:__export_pay__; value:\\quot\\Line-item detail for each invoice\\quot\\>//crlf//<constant name:__export_category__; value:\\quot\\Menu categories.  A subclass of departments.\\quot\\>//crlf//<constant name:__export_comp__; value:\\quot\\Comp descriptions\\quot\\>//crlf//<constant name:__export_department__; value:\\quot\\Menu Departments.  These are one step above categories.\\quot\\>//crlf//<constant name:__export_discount__; value:\\quot\\Discount descriptions\\quot\\>//crlf//<constant name:__export_giftcert__; value:\\quot\\Gift certificate descriptions\\quot\\>//crlf//<constant name:__export_paidin__; value:\\quot\\Paid-in descriptions\\quot\\>//crlf//<constant name:__export_paidout__; value:\\quot\\Paid-out descriptions\\quot\\>//crlf//<constant name:__export_revctr__; value:\\quot\\Revenue center descriptions\\quot\\>//crlf//<constant name:__export_tax__; value:\\quot\\Tax descriptions\\quot\\>//crlf//<constant name:__export_tender__; value:\\quot\\Tender descriptions\\quot\\>//crlf//<constant name:__export_void__; value:\\quot\\Void descriptions\\quot\\>//crlf//<constant name:__export_menuitem__; value:\\quot\\Menu items\\quot\\>//crlf//<constant name:__button_apply__; value:\\quot\\Save your changes.\\quot\\>//crlf//<constant name:__button_apply_and_export__; value:\\quot\\Save your changes and export the data now without waiting for the scheduled time.\\quot\\>//crlf//<constant name:__button_reset__; value:\\quot\\Reset the form to its initial values\\quot\\>//crlf//^
ID=234098|X=870|Y=10|W=150|H=20|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table class=\\apos\\tabdialog\\apos\\>//crlf//  <tr>//crlf//    <td><a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\831097\\apos\\)\\quot\\>JS - Accounting</a></td>//crlf//    <td><a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\935103\\apos\\)\\quot\\>JS - Generic</a></td>//crlf//    <td><a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\857847\\apos\\)\\quot\\>JS - Generic Doc</a></td>//crlf//    <td><a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\307771\\apos\\)\\quot\\>Aspect - Scripts</a></td>//crlf//    <td><a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\export_task\\apos\\)\\quot\\>Export Task</a></td>//crlf//    <td><a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\generic_export_viewer\\apos\\)\\quot\\>Viewer</a></td>//crlf//    <td><a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\209332\\apos\\)\\quot\\>CSS</a></td>//crlf//    <td><a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\809055\\apos\\)\\quot\\>Notes</a></td>//crlf//  </tr>//crlf//</table>^
ID=831097|X=870|Y=33|W=766|H=514|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=234098|AttachLeft=|AlignLeft=234098|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=function editTask(strWidgetID\\comma\\strRecordID\\comma\\strDriverID) {//crlf////tab//editRecord(strWidgetID\\comma\\strRecordID\\comma\\strDriverID);//crlf////tab//setEditableFields(strWidgetID);//crlf//};//crlf////tab////crlf//function setEditableFields(strWidgetID)//crlf//{//crlf////tab//var strValue=document.forms[strWidgetID\\plus\\\\quot\\Edit\\quot\\].field_Export_Type.value;//crlf////crlf////tab//setVisible(\\quot\\SelectSales_Format\\quot\\\\comma\\strValue==\\quot\\1\\quot\\);//crlf////tab//setVisible(\\quot\\SelectPayroll_Format\\quot\\\\comma\\strValue==\\quot\\2\\quot\\);//crlf////tab//setVisible(\\quot\\SelectInvoice_Format\\quot\\\\comma\\strValue==\\quot\\3\\quot\\);//crlf////tab//setVisible(\\quot\\SelectIncomeAndExpenseReport\\quot\\\\comma\\strValue==\\quot\\9\\quot\\);//crlf////tab////tab////crlf////tab//e=document.getElementById(strWidgetID\\plus\\\\quot\\EditOverlay\\quot\\);//crlf////tab//switch(strValue) {//crlf////tab////tab//case \\quot\\1\\quot\\: //crlf////tab////tab//case \\quot\\2\\quot\\: //crlf////tab////tab//case \\quot\\3\\quot\\: //crlf////tab////tab//case \\quot\\9\\quot\\: e.style.height=(__EditRecordHeight__\\plus\\20)\\plus\\\\quot\\px\\quot\\; break;//crlf////tab////tab//default : e.style.height=\\quot\\__EditRecordHeight__px\\quot\\;//crlf////tab//};//crlf//};//crlf//^
ID=935103|X=870|Y=33|W=766|H=514|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=234098|AttachLeft=|AlignLeft=234098|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=/***************************************************************************//crlf//Called when the \\apos\\all\\apos\\ or \\apos\\none\\apos\\ hyperlinks are used to select items to be exportd//crlf//sGroup is \\apos\\sales\\apos\\\\comma\\ \\apos\\labor\\apos\\ or \\apos\\inventory\\apos\\.  b is true or false to select or unselect all items//crlf//***************************************************************************///crlf//function selectAllExports(sGroup\\comma\\b)//crlf//{//crlf////tab//var f=document.forms[\\quot\\export_preferences\\quot\\];//crlf////tab//if(sGroup.equalsIgnoreCase(\\quot\\sales\\quot\\)) {//crlf////tab////tab//f.export_mix.checked=b;//crlf////tab////tab//f.export_ckh.checked=b;//crlf////tab////tab//f.export_ckd.checked=b;//crlf////tab////tab//f.export_category.checked=b;//crlf////tab////tab//f.export_comp.checked=b;//crlf////tab////tab//f.export_department.checked=b;//crlf////tab////tab//f.export_discount.checked=b;//crlf////tab////tab//f.export_giftcert.checked=b;//crlf////tab////tab//f.export_paidin.checked=b;//crlf////tab////tab//f.export_paidout.checked=b;//crlf////tab////tab//f.export_revctr.checked=b;//crlf////tab////tab//f.export_tax.checked=b;//crlf////tab////tab//f.export_tender.checked=b;//crlf////tab////tab//f.export_timeper.checked=b;//crlf////tab////tab//f.export_void.checked=b;//crlf////tab//}//crlf////tab//else if(sGroup.equalsIgnoreCase(\\quot\\labor\\quot\\)) {//crlf////tab////tab//f.export_lbr.checked=b;//crlf////tab////tab//f.export_employee.checked=b;//crlf////tab////tab//f.export_jobcode.checked=b;//crlf////tab//}//crlf////tab//else if(sGroup.equalsIgnoreCase(\\quot\\inventory\\quot\\)) {//crlf////tab////tab//f.export_acctpybl.checked=b;//crlf////tab////tab//f.export_pay.checked=b;//crlf////tab////tab//f.export_menuitem.checked=b;//crlf////tab//};//crlf//};//crlf////crlf///***************************************************************************//crlf//Called when Apply or Apply And Export Now are clicked//crlf//***************************************************************************///crlf//function submitPreferences(boolExportNow\\comma\\b)//crlf//{//crlf////tab////if b is defined\\comma\\ the preferences have been submitted.//crlf////tab//if(b) {//crlf////tab////tab//loadContent(\\quot\\844977\\quot\\); //tab////the icon indicating whether the task is enabled or not//crlf////tab////tab//loadContent(\\quot\\messages\\quot\\\\comma\\\\quot\\\\quot\\);//tab////the message table//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//showDialog(\\quot\\icon=true\\amp\\msg=Saving changes...\\quot\\);//crlf////crlf////tab//var f=document.forms[\\quot\\export_preferences\\quot\\];//crlf////tab////crlf////tab////disable buttons so the user knows something\\apos\\s happening//crlf////tab//f.apply.disabled=true;//crlf////tab//f.exportnow.disabled=true;//crlf////tab//f.reset.disabled=true;//crlf////tab////crlf////tab////Get the stores selected and set the value of the hidden input used to record the value in Greenlight//crlf////tab//var arSelected=\\quot\\\\quot\\;//crlf////tab//e=f.StoresToExport;//crlf////tab//for (var i=0;i<e.options.length;i\\plus\\\\plus\\) {//crlf////tab////tab//if (e.options[i].selected) arSelected=addElement(arSelected\\comma\\e.options[i].value\\comma\\\\quot\\{{pipe{{\\quot\\);//crlf////tab//};//crlf////tab//f.field_Aspect_BackOffice_Pref_Exports_Generic_Stores.value=arSelected;//crlf////crlf////tab////Append all of the checkboxes used to select exports together and record them in the //crlf////tab//arSelected=\\quot\\\\quot\\;//crlf////tab//for (var i=0;i<f.elements.length;i\\plus\\\\plus\\) {//crlf////tab////tab//e=f.elements[i];//crlf////tab////tab//if ((e.type==\\quot\\checkbox\\quot\\) \\amp\\\\amp\\ (e.name.startsWith(\\quot\\export_\\quot\\))) {//crlf////tab////tab////tab//if (e.checked) arSelected=addElement(arSelected\\comma\\e.name.substring(7)\\comma\\\\quot\\{{pipe{{\\quot\\);//crlf////tab////tab//};//crlf////tab//};//crlf////tab//f.field_Aspect_BackOffice_Pref_Exports_Generic_Files.value=arSelected;//crlf////crlf////tab////submit the  form//crlf////tab//strArgs=getFormSubmissionUrl(document.forms[\\quot\\export_preferences\\quot\\]);//crlf////tab//var strUrl=\\quot\\https://127.0.0.1:{GreenLight_Client_Https_Port}/?\\quot\\\\plus\\strArgs//crlf////tab//var strResult=getxmlHttpRequest(strUrl);//crlf////crlf////tab////reload Aspect BackOffice preferences //crlf////tab//var strUrl=\\quot\\https://127.0.0.1:{GreenLight_Client_Https_Port}/?network=Aspect_BackOffice\\amp\\ID=execScript\\amp\\ScriptID=Aspect_BackOffice_Preferences_Read\\quot\\;//crlf////tab//var strResult=getxmlHttpRequest(strUrl);//crlf////crlf////tab////execute the script to enable/disable the library client and to execute the export if apply \\amp\\ export was clicked//crlf////tab////Refresh the icon indicating whether the task is enabled after the script finishes//crlf////tab//strFunc=\\quot\\submitPreferences(false\\comma\\true)\\quot\\;//crlf////tab//if(boolExportNow) {//crlf////tab////tab//loadContent(\\quot\\307771\\quot\\\\comma\\\\quot\\action=apply_and_export\\quot\\\\comma\\strFunc\\comma\\strFunc);//crlf////tab//}//crlf////tab//else {//crlf////tab////tab//loadContent(\\quot\\307771\\quot\\\\comma\\\\quot\\action=apply_preferences\\quot\\\\comma\\strFunc\\comma\\strFunc);//crlf////tab//};//crlf////crlf////tab//f.apply.disabled=false;//crlf////tab//f.exportnow.disabled=false;//crlf////tab//f.reset.disabled=false;//crlf////tab//showDialog();//crlf////tab////crlf////tab//return(false);//crlf//};//crlf//^
ID=307771|X=870|Y=33|W=766|H=514|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=234098|AttachLeft=|AlignLeft=234098|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<!---------------------------------------------------------------------------------------------------------------------------------------------//crlf//Used to test dbase file creation//crlf//----------------------------------------------------------------------------------------------------------------------------------------------->//crlf//<conditional expression:false>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Testing dbase creation\\quot\\)//crlf////tab////tab//strFilename=\\quot\\c:{{backslash{{aspect{{backslash{{sample{{backslash{{exports{{backslash{{test.dbf\\quot\\//crlf////tab////tab//fileDelete(strFilename)//crlf////tab////tab//driverOpen(Aspect_BackOffice_GenPos_SalesMix_DBase\\comma\\drvTest\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename)//crlf////tab////tab//intRecord=driverAddNewRecord(drvTest)//crlf////tab////tab//driverPutFieldAbsolute(drvTest\\comma\\\\quot\\ItemID\\quot\\\\comma\\intRecord\\comma\\\\quot\\1\\quot\\)//crlf////tab////tab//driverPutFieldAbsolute(drvTest\\comma\\\\quot\\Item_Name\\quot\\\\comma\\intRecord\\comma\\\\quot\\test item\\quot\\)//crlf////tab////tab//driverClose(drvTest)//crlf////tab////tab//appendToLog(\\quot\\Testing dbase creation complete\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<!---------------------------------------------------------------------------------------------------------------------------------------------//tab////crlf//This script enables or disables the library client use to generate exports depending on the preferences recorded.//crlf//It also calculates the filespec for the library client based on the preferences and records it in the preferences.//crlf//The filespec is recorded in the preferences because it may be too long to fit in the library client.  The library client//crlf//references the filespec using a token.//crlf////tab////crlf//If the Action is apply_and_export then the Library_updateClient script is called to update the client immediately.//crlf//--------------------------------------------------------------------------------------------------------------------------------------------->//crlf//<conditional expression:(\\apos\\__Action__\\apos\\=\\apos\\apply_preferences\\apos\\) or (\\apos\\__Action__\\apos\\=\\apos\\apply_and_export\\apos\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////Set the filespec in the Aspect BackOffice preferences used by the generic export library client //crlf////tab////tab//strFilespec=\\quot\\\\quot\\//crlf////tab////tab////crlf////tab////tab////These abbreviations are correlated with the names of the checkboxes used to enable/disable them.//crlf////tab////tab//arExportCode=\\quot\\mix{{pipe{{lbr{{pipe{{ckh{{pipe{{ckd{{pipe{{employee{{pipe{{cnt{{pipe{{acctpybl{{pipe{{pay{{pipe{{category{{pipe{{comp{{pipe{{department{{pipe{{discount{{pipe{{giftcert{{pipe{{paidin{{pipe{{paidout{{pipe{{revctr{{pipe{{tax{{pipe{{tender{{pipe{{jobcode{{pipe{{menuitem{{pipe{{void{{pipe{{timeper\\quot\\//crlf////tab////tab//arExportSpec=\\quot\\*.mix{{pipe{{*.lbr{{pipe{{*.ckh{{pipe{{*.ckd{{pipe{{employee.def{{pipe{{*.cnt{{pipe{{acctpybl.dta{{pipe{{*.pay{{pipe{{recpgrp.dta{{pipe{{comp.dta{{pipe{{deptmnt.dta{{pipe{{disc.dta{{pipe{{giftcert.dta{{pipe{{paidin.dta{{pipe{{paidout.dta{{pipe{{revctr.dta{{pipe{{tax.dta{{pipe{{tender.dta{{pipe{{jobdef.dta{{pipe{{recipe.dta{{pipe{{void.dta{{pipe{{timeper.dta\\quot\\//crlf////tab////tab//arStoreCodes=getToken(\\quot\\Aspect_BackOffice_Pref_Exports_Generic_Stores\\quot\\)//crlf////tab////tab//arExports=getToken(\\quot\\Aspect_BackOffice_Pref_Exports_Generic_Files\\quot\\)//crlf////tab////tab//cStores=getElementCount(arStoreCodes\\comma\\\\quot\\{{pipe{{\\quot\\)//crlf////tab////tab//cExports=getElementCount(arExports\\comma\\\\quot\\{{pipe{{\\quot\\)//crlf////tab////tab//cntrStores=0//crlf////crlf////tab////tab//cntrFileGroups=0//crlf////tab////tab//while (cntrFileGroups<cExports)//crlf////tab////tab////tab//strExport=getElement(arExports\\comma\\cntrFileGroups\\comma\\\\quot\\{{pipe{{\\quot\\)//crlf////tab////tab////tab//Int1=containsElement(arExportCode\\comma\\strExport\\comma\\\\quot\\{{pipe{{\\quot\\)//crlf////tab////tab////tab//if (Int1>=0)//crlf////tab////tab////tab////tab//strFilespec=addElement(strFilespec\\comma\\getElement(arExportSpec\\comma\\Int1\\comma\\\\quot\\{{pipe{{\\quot\\)\\comma\\\\quot\\{{pipe{{\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//cntrFileGroups=cntrFileGroups \\plus\\ 1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab////record the filespec in the preferences//crlf////tab////tab//driverOpen(Aspect_BackOffice_Preferences\\comma\\drvPreferences\\comma\\WRITE)//crlf////tab////tab//driverPutFieldAbsolute(drvPreferences\\comma\\\\quot\\Aspect_BackOffice_Pref_Exports_Generic_Filespec\\quot\\\\comma\\0\\comma\\strFilespec)//crlf////tab////tab//driverClose(drvPreferences)//crlf////crlf////tab////tab////read the Aspect BackOffice preferences to update the token preferences//crlf////tab////tab//scriptExec(Aspect_BackOffice_Preferences_Read\\comma\\true)//crlf////tab////tab////crlf////tab////tab//if (\\quot\\__Action__\\quot\\=\\quot\\apply_and_export\\quot\\) //crlf////tab////tab////tab//scriptExec(Aspect6_genericExport\\comma\\false)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab//\\quot\\>//crlf//</conditional>//crlf//^
ID=809055|X=870|Y=33|W=766|H=514|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=true|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=234098|AttachLeft=|AlignLeft=234098|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=8/9/2011 //crlf////crlf//<p>The generic export is handled by Aspect6_genericExport which is called by a system timer every minute.  When the state of either the store directory or the export directory changes\\comma\\ the script updates the export files.</p>//crlf////crlf//<p>Files are exported to an /exports directory beneath the store directory.  The directory will be created if it does not exist.</p>//crlf////crlf//<p>The filespec used to determine the files to be exported is based on the selections (checkboxes) in this widget.  The filespec is recorded in the back-office preferences in the field Aspect_BackOffice_Pref_Exports_Generic_Filespec</p>//crlf////crlf//<p>The script gets a list of all files defined by the filespec excluding any files that already exist in the exports directory that have a timestamp later than the source file.</p>//crlf////crlf//<p>The view included in this widget (Viewer Tab) is called by Aspect6_genericExport for each file in the list.  The viewer is responsible for excluding any files earlier than the specified start date.  (It would be better to handle this in the script to avoid loading the viewer). The viewer uses driverCopy to copy the source file to the export file.  The export file is created first as a temp file in temporary_files and is then copied to the /exports directory beneath the store directory.</p>^
ID=debug_console|X=870|Y=550|W=769|H=209|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=false|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=messages|X=5|Y=501|W=819|H=269|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=10|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=952894|AttachLeft=|AlignLeft=952894|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\clear_messages\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//driverSetFilter(drvSystemStatusMsg\\comma\\\\quot\\type=2\\quot\\\\comma\\true)//crlf////tab////tab//driverDeleteActiveRecords(drvSystemStatusMsg)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<h2>Messages</h2>//crlf//<a href=\\quot\\\\pound\\home\\quot\\ onClick=loadContent(\\quot\\messages\\quot\\\\comma\\\\quot\\action=clear_messages\\quot\\)>Clear messages</a>//crlf////crlf//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf//<div style=\\quot\\width:100\\percent\\; height:200px; overflow:auto\\quot\\>//crlf////tab//<!include type:driver;//crlf////tab////tab//driver: \\quot\\drvSystemStatusMsg\\quot\\;//crlf////tab////tab//systemdriver: true;//crlf////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\Time\\comma\\Message\\quot\\;//crlf////tab////tab//sort: \\quot\\-Time\\quot\\;//crlf////tab////tab//filter: \\quot\\type=2\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab//tablestyle: \\quot\\width:800px\\quot\\;//crlf////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf//</div>//crlf////crlf// //crlf//^
ID=export_task|X=870|Y=33|W=766|H=514|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=234098|AttachLeft=|AlignLeft=234098|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<!--//tab//This widget is called by the Aspect6_executeExportTask script when a scheduled export task is fired. //crlf////tab//The task ID is passed in the TaskID parameter.//crlf////tab////crlf////tab//The following settings are defined for each task in the Aspect6_Export_Task driver://crlf////tab////crlf////tab//ExportType - The type of export being created//crlf////tab////tab//0 - Undefined (select)//tab////tab////tab//1 - Accounting - Sales//tab////tab////tab//2 - Accounting - Payroll//crlf////tab////tab//3 - Accounting - Invoices//tab////tab//4 - Check Details//tab////tab////tab////tab//5 - Check Headers//crlf////tab////tab//6 - Cost Of Sales//tab////tab////tab////tab//7 - Employee Records//tab////tab////tab//8 - Employee Schedule//crlf////tab////tab//9 - Income \\amp\\ Expense//tab////tab////tab//10 - Inventory Extensions//tab////tab//11 - Labor Detail//crlf////tab////tab//12 - Menu Items//tab////tab////tab////tab//13 - Menu Profit Report//tab////tab//14 - POS ID\\apos\\s//crlf////tab////tab//15 - Sales Mix Detail//tab////tab////tab//16 - Sales Record//tab////tab////tab////tab//17 - Sales Summary//crlf////tab////tab////crlf////tab//Period - The period to export//crlf////tab////tab//0 - Undefined (Select)//tab////tab////tab//1 - Last Full Day //tab////tab////tab////tab//2 - Last Full Week//crlf////tab////tab//3 - Last Full Month//tab////tab////tab//4 - Week To Date//tab////tab////tab////tab//5 - Month To Date//crlf////tab////tab////crlf////tab//Week_End//crlf////tab////tab//0 - Sunday//tab////tab////tab////tab////tab//1 - Monday//tab////tab////tab////tab////tab//2 - Tuesday//crlf////tab////tab//3 - Wednesday//tab////tab////tab////tab//4 - Thursday//tab////tab////tab////tab////tab//5 - Friday//crlf////tab////tab//6 - Saturday//crlf//-->//crlf////crlf//<conditional expression:\\quot\\(not(startsWith(\\apos\\__TaskID__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////Turn debugging information on/off//crlf////tab////tab//boolDebug=true//crlf////tab////tab////crlf////tab////tab//if (boolDebug)//crlf////tab////tab////tab//appendToLog(\\quot\\Processing task: __TaskID__\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////open the export tasks driver and locate the record to be exported//crlf////tab////tab//driverOpen(\\quot\\Aspect6_Export_Task\\quot\\\\comma\\drvTasks\\comma\\WRITE)//crlf////tab////tab//intRecord=driverFindRecordAbsolute(drvTasks\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\quote(\\quot\\__TaskID__\\quot\\))//crlf////tab////tab//if (intRecord<0)//crlf////tab////tab////tab//appendToLog(\\quot\\Cannot locate an export task with the ID - __TaskID__\\quot\\)//crlf////tab////tab////tab//driverClose(drvTasks)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get the settings for the task//crlf////tab////tab//intExportType=driverGetFieldAbsolute(drvTasks\\comma\\\\quot\\Export_Type\\quot\\\\comma\\intRecord)//crlf////tab////tab//strTaskName=driverGetFieldAbsolute(drvTasks\\comma\\\\quot\\TaskName\\quot\\\\comma\\intRecord)//crlf////tab////tab//arStores=driverGetFieldAbsolute(drvTasks\\comma\\\\quot\\Store_Codes\\quot\\\\comma\\intRecord)//crlf////tab////tab//strExportFolder=driverGetFieldAbsolute(drvTasks\\comma\\\\quot\\Export_Folder\\quot\\\\comma\\intRecord)//crlf////tab////tab//strExportFilename=driverGetFieldAbsolute(drvTasks\\comma\\\\quot\\Export_Filename\\quot\\\\comma\\intRecord)//crlf////tab////tab//intIncExpReport=driverGetFieldAbsolute(drvTasks\\comma\\\\quot\\Income_Expense_Report\\quot\\\\comma\\intRecord)//crlf////crlf////tab////tab//strFormat=\\quot\\\\quot\\//crlf////tab////tab//if (intExportType=1)//crlf////tab////tab////tab//strFormat=lookup(Aspect6_Export_Task_Accounting_Package\\comma\\driverGetFieldAbsolute(drvTasks\\comma\\\\quot\\Sales_Format\\quot\\\\comma\\intRecord))//crlf////tab////tab//elseif (intExportType=2)//crlf////tab////tab////tab//strFormat=lookup(Aspect6_Export_Task_Payroll_Formats\\comma\\driverGetFieldAbsolute(drvTasks\\comma\\\\quot\\Payroll_Format\\quot\\\\comma\\intRecord))//crlf////tab////tab//elseif (intExportType=3)//crlf////tab////tab////tab//strFormat=lookup(Aspect6_Export_Task_Invoice_Formats\\comma\\driverGetFieldAbsolute(drvTasks\\comma\\\\quot\\Invoice_Format\\quot\\\\comma\\intRecord))//crlf////tab////tab//elseif (intExportType=9)//crlf////tab////tab////tab//strFormat=lookup(Aspect6_Income_And_Expense_Names\\comma\\intIncExpReport)//crlf////tab////tab//endif//crlf////crlf////tab////tab//intPeriod=driverGetFieldAbsolute(drvTasks\\comma\\\\quot\\Period\\quot\\\\comma\\intRecord)//crlf////tab////tab//intWeekEnd=driverGetFieldAbsolute(drvTasks\\comma\\\\quot\\Week_End\\quot\\\\comma\\intRecord)//crlf////tab////tab//intWeekBegin=intWeekEnd\\plus\\1//crlf////tab////tab//if(intWeekBegin>6)//crlf////tab////tab////tab//intWeekBegin=0//crlf////tab////tab//endif//crlf////tab////tab//tmRollover=driverGetFieldAbsolute(drvTasks\\comma\\\\quot\\Rollover_Time\\quot\\\\comma\\intRecord)//crlf////tab////tab////crlf////tab////tab////close the driver//crlf////tab////tab//driverClose(drvTasks)//crlf////crlf////tab////tab////abort if any parameters are invalid//crlf////tab////tab//if (intExportType=0)//crlf////tab////tab////tab//appendToLog(\\quot\\Aborting export named \\quot\\\\plus\\quote(strTaskName)\\plus\\\\quot\\ because an export type has not been selected\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////abort if a period is not supplied and not exporting employees\\comma\\ menu items or POS ID\\apos\\s//crlf////tab////tab//if (intPeriod=0) and ((intExportType<>2) and (intExportType<>12) and (intExportType<>14))//crlf////tab////tab////tab//appendToLog(\\quot\\Aborting export named \\quot\\\\plus\\quote(strTaskName)\\plus\\\\quot\\ because a period has not been selected\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////determine ending date//crlf////tab////tab//dtTo=incrementTime(now()\\comma\\0\\comma\\-hour(tmRollover)\\comma\\-minute(tmRollover))//crlf////crlf////tab////tab//if (boolDebug)//crlf////tab////tab////tab//appendToLog(\\quot\\Initial dtTo=\\quot\\\\plus\\formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab//if (intPeriod=1)//crlf////tab////tab////tab////last full day//crlf////tab////tab////tab//dtFrom=dtTo//crlf////tab////tab//elseif (intPeriod=2)//crlf////tab////tab////tab////last full week//crlf////tab////tab////tab//while (dayOfWeek(dtTo)-1<>intWeekEnd)//crlf////tab////tab////tab////tab//dtTo=incrementTime(dtTo\\comma\\-1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//dtFrom=incrementTime(dtTo\\comma\\-6)//crlf////tab////tab//elseif (intPeriod=3)//crlf////tab////tab////tab////last full month//crlf////tab////tab////tab//while (day(dtTo)>1)//crlf////tab////tab////tab////tab//dtTo=incrementTime(dtTo\\comma\\-1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//dtTo=incrementTime(dtTo\\comma\\-1)//crlf////tab////tab////tab//dtFrom=setTime(dtTo\\comma\\-1\\comma\\-1\\comma\\1)//crlf////tab////tab//elseif (intPeriod=4)//crlf////tab////tab////tab////week to date//crlf////tab////tab////tab//dtFrom=dtTo//crlf////tab////tab////tab//while (dayOfWeek(dtFrom)-1<>intWeekBegin)//crlf////tab////tab////tab////tab//dtFrom=incrementTime(dtFrom\\comma\\-1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab//elseif (intPeriod=5)//crlf////tab////tab////tab////month to date//crlf////tab////tab////tab//dtFrom=setTime(dtTo\\comma\\-1\\comma\\-1\\comma\\1)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////output debugging information//crlf////tab////tab//if (boolDebug) //crlf////tab////tab////tab//appendToLog(\\quot\\---------------------------------------\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Export Task \\quot\\\\plus\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\---------------------------------------\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\  Task Name: \\quot\\\\plus\\strTaskName)//crlf////tab////tab////tab//appendToLog(\\quot\\  Export Type: \\quot\\\\plus\\intExportType\\plus\\\\quot\\ (\\quot\\\\plus\\lookup(Aspect6_Export_Task_Types\\comma\\intExportType)\\plus\\\\quot\\)\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\  Store: \\quot\\\\plus\\arStores)//crlf////tab////tab////tab//appendToLog(\\quot\\  Filename: \\quot\\\\plus\\strExportFilename)//crlf////tab////tab////tab//appendToLog(\\quot\\  Format: \\quot\\\\plus\\strFormat)//crlf////tab////tab////tab//appendToLog(\\quot\\  Period: \\quot\\\\plus\\intPeriod\\plus\\\\quot\\ (\\quot\\\\plus\\lookup(Aspect6_Export_Task_Periods\\comma\\intPeriod)\\plus\\\\quot\\)\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\  Week End: \\quot\\\\plus\\intWeekEnd\\plus\\\\quot\\ (\\quot\\\\plus\\lookup(Aspect6_Export_Task_Week_End_Day\\comma\\intWeekEnd)\\plus\\\\quot\\)\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\  Rollover: \\quot\\\\plus\\formatDate(tmRollover\\comma\\\\quot\\HH:mm\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\  From: \\quot\\\\plus\\formatDate(dtFrom\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\  To  : \\quot\\\\plus\\formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\---------------------------------------\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab//strExeFilename=addDirSlash(getToken(\\quot\\Aspect6AspectDirectory\\quot\\))\\plus\\\\quot\\endofday.exe\\quot\\//crlf////tab////tab//strWorkingDir=addDirSlash(getToken(\\quot\\Aspect6StartInDirectory\\quot\\))//crlf////tab////tab//strTermFilename=addDirSlash(getToken(\\quot\\Aspect6AspectDirectory\\quot\\))\\plus\\\\quot\\term.dta\\quot\\//crlf////tab////tab////crlf////tab////tab//strFrom=formatDate(dtFrom\\comma\\\\quot\\MMddyy\\quot\\)//crlf////tab////tab//strTo=formatDate(dtTo\\comma\\\\quot\\MMddyy\\quot\\)//crlf////crlf////tab////tab//cStores=getElementCount(arStores\\comma\\\\quot\\\\percent\\\\quot\\)//crlf////tab////tab//cntrStore=0//crlf////tab////tab//while (cntrStore<cStores)//crlf////tab////tab////tab////get the store code//crlf////tab////tab////tab//strStoreCode=getElement(arStores\\comma\\cntrStore\\comma\\\\quot\\\\percent\\\\quot\\)//crlf////tab////tab////tab////crlf////tab////tab////tab////get the store directory//crlf////tab////tab////tab//strStoreDir=lookup(Aspect6_Store_Directories_By_Code\\comma\\strStoreCode)//crlf////tab////tab////tab//strStoreName=lookup(Aspect6_Store_Codes\\comma\\strStoreCode)//crlf////tab////tab////tab////crlf////tab////tab////tab////verify the store directory is valid//crlf////tab////tab////tab//boolAbort=false//crlf////tab////tab////tab//if ((len(strStoreDir)=0) or (not(fileExists(strStoreDir))))//crlf////tab////tab////tab////tab//boolAbort=true//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Aborting export because the store directory for \\quot\\\\plus\\quote(strStoreCode)\\plus\\\\quot\\ is invalid\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab//if (not(boolAbort))//crlf////tab////tab////tab////tab//if (boolDebug)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Exporting store: \\quot\\\\plus\\strStoreName)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//strArgs=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////export the file//crlf////tab////tab////tab////tab//if (intExportType=1)//crlf////tab////tab////tab////tab////tab////1 - Accounting - Sales//crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\sales.csv\\quot\\//crlf////tab////tab////tab////tab////tab//strArgs=\\quot\\/export_sales \\quot\\\\plus\\quote(\\quot\\/exportto=\\quot\\\\plus\\strFormat)//crlf////tab////tab////tab////tab//elseif (intExportType=2)//crlf////tab////tab////tab////tab////tab////2 - Accounting - Payroll//crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\payroll.csv\\quot\\//crlf////tab////tab////tab////tab////tab//strArgs=\\quot\\/export_payroll \\quot\\\\plus\\quote(\\quot\\/exportto=\\quot\\\\plus\\strFormat)//crlf////tab////tab////tab////tab//elseif (intExportType=3)//crlf////tab////tab////tab////tab////tab////3 - Accounting - Invoices//tab////tab////crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\invoices.csv\\quot\\//crlf////tab////tab////tab////tab////tab//strArgs=\\quot\\/export_ap \\quot\\\\plus\\quote(\\quot\\/options=\\quot\\\\plus\\strFormat\\plus\\\\quot\\{{pipe{{all{{pipe{{exportposted\\quot\\)//crlf////tab////tab////tab////tab//elseif (intExportType=4)//crlf////tab////tab////tab////tab////tab////4 - Check Details//tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//strArgs=\\quot\\/xml /xmlreport=9\\quot\\//crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\ckdetail.csv\\quot\\//crlf////tab////tab////tab////tab//elseif (intExportType=5)//crlf////tab////tab////tab////tab////tab////5 - Check Headers//crlf////tab////tab////tab////tab////tab//strArgs=\\quot\\/xml /xmlreport=8\\quot\\//crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\ckheader.csv\\quot\\//crlf////tab////tab////tab////tab//elseif (intExportType=6)//crlf////tab////tab////tab////tab////tab////6 - Cost Of Sales//tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//strArgs=\\quot\\/xml /xmlreport=2\\quot\\//crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\cos.csv\\quot\\//crlf////tab////tab////tab////tab//elseif (intExportType=7)//crlf////tab////tab////tab////tab////tab////7 - Employee Records//crlf////tab////tab////tab////tab////tab//strArgs=\\quot\\/xml /xmlreport=10\\quot\\//crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\employees.csv\\quot\\//crlf////tab////tab////tab////tab//elseif (intExportType=8)//crlf////tab////tab////tab////tab////tab////8 - Employee Schedule//crlf////tab////tab////tab////tab////tab//strArgs=\\quot\\/xml /xmlreport=3\\quot\\//crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\sched.csv\\quot\\//crlf////tab////tab////tab////tab//elseif (intExportType=9)//crlf////tab////tab////tab////tab////tab////9 - Income \\amp\\ Expense//tab////tab////tab////crlf////tab////tab////tab////tab////tab////Report 1 is 1\\comma\\ reports 2 - 8 are 20 - 26\\comma\\ reports 9 - 16 are 28 - 35//crlf////tab////tab////tab////tab////tab//if (intIncExpReport=0)//crlf////tab////tab////tab////tab////tab////tab//strArgs=\\quot\\/xml /xmlreport=1\\quot\\//crlf////tab////tab////tab////tab////tab//elseif ((intIncExpReport>=1) and (intIncExpReport<=7))//crlf////tab////tab////tab////tab////tab////tab//strArgs=\\quot\\/xml /xmlreport=\\quot\\\\plus\\(intIncExpReport\\plus\\19)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//strArgs=\\quot\\/xml /xmlreport=\\quot\\\\plus\\(intIncExpReport\\plus\\20)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\incexp\\quot\\\\plus\\(intIncExpReport\\plus\\1)\\plus\\\\quot\\.csv\\quot\\//crlf////tab////tab////tab////tab//elseif (intExportType=10)//crlf////tab////tab////tab////tab////tab////10 - Inventory Extensions//tab////tab////crlf////tab////tab////tab////tab////tab//strArgs=\\quot\\/xml /xmlreport=5\\quot\\//crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\invext.csv\\quot\\//crlf////tab////tab////tab////tab//elseif (intExportType=11)//crlf////tab////tab////tab////tab////tab////11 - Labor Detail//crlf////tab////tab////tab////tab////tab//strArgs=\\quot\\/xml /xmlreport=6\\quot\\//crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\lbrdtl.csv\\quot\\//crlf////tab////tab////tab////tab//elseif (intExportType=12)//crlf////tab////tab////tab////tab////tab////12 - Menu Items//tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//strArgs=\\quot\\/xml /xmlreport=11\\quot\\//crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\menuitem.csv\\quot\\//crlf////tab////tab////tab////tab//elseif (intExportType=13)//crlf////tab////tab////tab////tab////tab////13 - Menu Profit Report//tab////tab////crlf////tab////tab////tab////tab////tab//strArgs=\\quot\\/xml /xmlreport=4\\quot\\//crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\menuprft.csv\\quot\\//crlf////tab////tab////tab////tab//elseif (intExportType=14)//crlf////tab////tab////tab////tab////tab////14 - POS ID\\apos\\s - (only a csv is generated)//crlf////tab////tab////tab////tab////tab//strArgs=\\quot\\/xml /xmlreport=13\\quot\\//crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\posid.csv\\quot\\//crlf////tab////tab////tab////tab//elseif (intExportType=15)//crlf////tab////tab////tab////tab////tab////15 - Sales Mix Detail//tab////tab////tab////crlf////tab////tab////tab////tab////tab//strArgs=\\quot\\/xml /xmlreport=27\\quot\\//crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\mixdtl.csv\\quot\\//crlf////tab////tab////tab////tab//elseif (intExportType=16)//crlf////tab////tab////tab////tab////tab////16 - Sales Record//tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//strArgs=\\quot\\/xml /xmlreport=12\\quot\\//crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\salesrec.csv\\quot\\//crlf////tab////tab////tab////tab//elseif (intExportType=17)//crlf////tab////tab////tab////tab////tab////17 - Sales Summary//crlf////tab////tab////tab////tab////tab//strArgs=\\quot\\/xml /xmlreport=7\\quot\\//crlf////tab////tab////tab////tab////tab//strFilename=\\quot\\salessum.csv\\quot\\//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Unrecognized export type (\\quot\\\\plus\\intExportType\\plus\\\\quot\\) while executing export task named \\quot\\\\plus\\strTaskName)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////delete term.dta from the aspect directory.  Aspect writes this file when it terminates as a way to signal termination//crlf////tab////tab////tab////tab//fileDelete(strTermFilename)//crlf////crlf////tab////tab////tab////tab//strArgs=strArgs \\plus\\ \\quot\\ \\quot\\\\plus\\quote(\\quot\\/Store=\\quot\\\\plus\\strStoreCode)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//if (strStoreCode=\\quot\\samp\\quot\\)//crlf////tab////tab////tab////tab////tab//strArgs=strArgs \\plus\\ \\quot\\ /from=031497 /to=031497\\quot\\//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//strArgs=strArgs \\plus\\ \\quot\\ /from=\\quot\\\\plus\\strFrom\\plus\\\\quot\\ /to=\\quot\\\\plus\\strTo//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////use a short filename to keep the command line short.  It appears to be limited to 128 chars or so//crlf////tab////tab////tab////tab//strShortFilename=getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab////tab////tab//strArgs=strArgs \\plus\\ \\quot\\ /filename=\\quot\\\\plus\\strShortFilename\\plus\\\\quot\\ /silent\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab//if (boolDebug) //crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Launching \\quot\\\\plus\\strExeFilename\\plus\\\\quot\\ \\quot\\\\plus\\strArgs)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////do the export//crlf////tab////tab////tab////tab//launchApplication(strExeFilename\\comma\\strWorkingDir\\comma\\false\\comma\\strArgs)//crlf////crlf////tab////tab////tab////tab////wait until aspect terminates or 60 seconds//crlf////tab////tab////tab////tab//tm1=now()//crlf////tab////tab////tab////tab//while ((not(fileExists(strTermFilename))) and (dateNumber(now())-dateNumber(tm1)<10000))//crlf////tab////tab////tab////tab////tab//scriptSleep(500)//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////determine the directory the exported file will be copied to//crlf////tab////tab////tab////tab//if (startsWith(strExportFolder\\comma\\\\quot\\=\\quot\\))//crlf////tab////tab////tab////tab////tab//strOutputDir=indirect(strExportFolder)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//strOutputDir=strExportFolder//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//strOutputDir=replaceSubstring(strOutputDir\\comma\\\\quot\\$storedir$\\quot\\\\comma\\strStoreDir)//crlf////tab////tab////tab////tab//strOutputDir=replaceSubstring(strOutputDir\\comma\\\\quot\\$storecode$\\quot\\\\comma\\strStoreCode)//crlf////tab////tab////tab////tab//strOutputDir=replaceSubstring(strOutputDir\\comma\\\\quot\\$month$\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\MM\\quot\\))//crlf////tab////tab////tab////tab//strOutputDir=replaceSubstring(strOutputDir\\comma\\\\quot\\$day$\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\dd\\quot\\))//crlf////tab////tab////tab////tab//strOutputDir=replaceSubstring(strOutputDir\\comma\\\\quot\\$date$\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//strOutputDir=replaceSubstring(strOutputDir\\comma\\\\quot\\$yr$\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\yy\\quot\\))//crlf////tab////tab////tab////tab//strOutputDir=replaceSubstring(strOutputDir\\comma\\\\quot\\$year$\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\yyyy\\quot\\))//crlf////tab////tab////tab////tab//strOutputDir=replaceSubstring(strOutputDir\\comma\\\\quot\\$Hour$\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\HH\\quot\\))//crlf////tab////tab////tab////tab//strOutputDir=replaceSubstring(strOutputDir\\comma\\\\quot\\$minute$\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\mm\\quot\\))//crlf////tab////tab////tab////tab//strOutputDir=replaceSubstring(strOutputDir\\comma\\\\quot\\{{backslash{{{{backslash{{\\quot\\\\comma\\\\quot\\{{backslash{{\\quot\\)//crlf////tab////tab////tab////tab//strOutputDir=replaceSubstring(strOutputDir\\comma\\\\quot\\//\\quot\\\\comma\\\\quot\\/\\quot\\)//crlf////crlf////tab////tab////tab////tab//if (len(strOutputDir)=0)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Invalid output directory in export task: \\quot\\\\plus\\strTaskName)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//strOutputDir=addDirSlash(strOutputDir)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////determine the filename the exported file will be copied to//crlf////tab////tab////tab////tab//if (startsWith(strExportFilename\\comma\\\\quot\\=\\quot\\))//crlf////tab////tab////tab////tab////tab//strFilename=indirect(strExportFilename)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//strFilename=strExportFilename//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//strFilename=strExportFilename//crlf////tab////tab////tab////tab//strFilename=replaceSubstring(strFilename\\comma\\\\quot\\$storedir$\\quot\\\\comma\\strStoreDir)//crlf////tab////tab////tab////tab//strFilename=replaceSubstring(strFilename\\comma\\\\quot\\$storecode$\\quot\\\\comma\\strStoreCode)//crlf////tab////tab////tab////tab//strFilename=replaceSubstring(strFilename\\comma\\\\quot\\$month$\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\MM\\quot\\))//crlf////tab////tab////tab////tab//strFilename=replaceSubstring(strFilename\\comma\\\\quot\\$day$\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\dd\\quot\\))//crlf////tab////tab////tab////tab//strFilename=replaceSubstring(strFilename\\comma\\\\quot\\$date$\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//strFilename=replaceSubstring(strFilename\\comma\\\\quot\\$yr$\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\yy\\quot\\))//crlf////tab////tab////tab////tab//strFilename=replaceSubstring(strFilename\\comma\\\\quot\\$year$\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\yyyy\\quot\\))//crlf////tab////tab////tab////tab//strFilename=replaceSubstring(strFilename\\comma\\\\quot\\$Hour$\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\HH\\quot\\))//crlf////tab////tab////tab////tab//strFilename=replaceSubstring(strFilename\\comma\\\\quot\\$minute$\\quot\\\\comma\\formatDate(dtTo\\comma\\\\quot\\mm\\quot\\))//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//if (len(strFilename)=0)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Invalid output file name in export task: \\quot\\\\plus\\strTaskName)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////At this point\\comma\\ an export file exists in the working directory with a $$$ extension.  It could be a csv or an xml file.  If another file with the//crlf////tab////tab////tab////tab////same name and a csv extension exists\\comma\\ then it\\apos\\s an xml file//crlf////tab////tab////tab////tab//strExportFilename=strWorkingDir\\plus\\strShortFilename//crlf////tab////tab////tab////tab//strCsvFilename//tab//=strWorkingDir\\plus\\fileName(strShortFilename)\\plus\\\\quot\\.csv\\quot\\//crlf////tab////tab////tab////tab//strHdrFilename//tab//=strWorkingDir\\plus\\fileName(strShortFilename)\\plus\\\\quot\\.hdr\\quot\\//crlf////crlf////tab////tab////tab////tab//appendToLog(\\quot\\OutputDir=\\quot\\\\plus\\strOutputDir)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Filename=\\quot\\\\plus\\strFilename)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//if (fileExists(strExportFilename))//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////copy the temp export file to the destination.  Only get the csv\\comma\\ not the xml//crlf////tab////tab////tab////tab////tab//if ((len(strOutputDir)>0) and (len(strFilename)>0))//crlf////tab////tab////tab////tab////tab////tab//if (fileExists(strCsvFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////if a csv file exists\\comma\\ copy the csv and header//crlf////tab////tab////tab////tab////tab////tab////tab//fileCopy(strCsvFilename\\comma\\strOutputDir\\plus\\strFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//if (fileExists(strHdrFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//fileCopy(strHdrFilename\\comma\\strOutputDir\\plus\\fileName(strFilename)\\plus\\\\quot\\.hdr\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////otherwise\\comma\\ the output file is the csv file//crlf////tab////tab////tab////tab////tab////tab////tab//fileCopy(strExportFilename\\comma\\strOutputDir\\plus\\strFilename)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////delete the temporary files//crlf////tab////tab////tab////tab////tab//fileDelete(strExportFilename)//crlf////tab////tab////tab////tab////tab//if (fileExists(strCsvFilename))//crlf////tab////tab////tab////tab////tab////tab//fileDelete(strCsvFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//if (fileExists(strHdrFilename))//crlf////tab////tab////tab////tab////tab////tab//fileDelete(strHdrFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//if (boolDebug) //crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Launch complete\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//cntrStore=cntrStore \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=generic_export_viewer|X=870|Y=33|W=766|H=514|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=false|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=234098|AttachLeft=|AlignLeft=234098|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<!--//tab//This script is a viewer for the generic export.  When files are added to the library\\comma\\ the are posted to a file using a blank filename.//crlf////tab//The blank filename means the files are not actually copied but it still causes this viewer to be invoked.//crlf////tab////crlf////tab//This viewer uses the filename of the document to determine what type of file it is.  When the type of file is determined\\comma\\ the //crlf////tab//appropriate source and destination driver ID\\apos\\s are set and a merge is done to export the file.//crlf//-->//crlf//<include type:script; commands:\\quot\\//crlf////tab////abort if a valid filename is not given//crlf////tab//if (startsWith(\\quot\\__filename__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab//strMsg=\\quot\\Skipping generic export because a filename was not specified.\\quot\\//crlf////tab////tab//scriptExec(GreenLight_Record_System_Status_Message\\comma\\false\\comma\\\\quot\\Type=2\\amp\\Class=0\\amp\\Msg=\\quot\\\\plus\\strMsg)//crlf////tab////tab//exit//crlf////tab//endif//crlf////crlf////tab//appendToLog(\\quot\\Generic export started for __Filename__\\quot\\)//crlf////tab//tmStart=now()//crlf////tab////crlf////tab////the temp file used to create the export//crlf////tab//strTempFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(24)//crlf////tab////appendToLog(\\quot\\Tempfilename=\\quot\\\\plus\\strTempFilename)//crlf////crlf////tab//strSourceDriverID=\\quot\\\\quot\\//crlf////tab//strDestDriverID=\\quot\\\\quot\\//crlf////tab//strKeyFields=\\quot\\\\quot\\//crlf////tab//strFieldsToMerge=\\quot\\\\quot\\//crlf////tab//strAliasFields=\\quot\\\\quot\\//crlf////tab////crlf////tab////NOTE: fields to merge uses the destination field ID\\apos\\s\\comma\\ not the source ID\\apos\\s //crlf////crlf////tab////determine the destination filename//crlf////tab////Convert 2-digit year to 4 digits.  //crlf////tab////Also create date string in strFileDate to be passed to driver so the date can be used in fields in the structure (e.g. dates in a check header file)//crlf////tab//strFileDate=\\quot\\\\quot\\//crlf////tab//strFilename=fileName(\\quot\\__Filename__\\quot\\)//crlf////tab//if (substring(strFilename\\comma\\2\\comma\\3)=\\quot\\-\\quot\\)//crlf////tab////tab//strMonth=substring(strFilename\\comma\\0\\comma\\2)//crlf////tab////tab//strDay=substring(strFilename\\comma\\3\\comma\\5)//crlf////tab////tab//intYear=value(substring(strFilename\\comma\\6\\comma\\8))//crlf////tab////tab//if (intYear<90)//crlf////tab////tab////tab//intYear=intYear \\plus\\ 2000//crlf////tab////tab//else//crlf////tab////tab////tab//intYear=intYear \\plus\\ 1900//crlf////tab////tab//endif//crlf////tab////tab//strFilename=strMonth\\plus\\\\quot\\-\\quot\\\\plus\\strDay\\plus\\\\quot\\-\\quot\\\\plus\\intYear//crlf////tab////tab//strFileDate=strFilename//crlf////tab////tab//strDestFilename=lowercase(fileDrive(\\quot\\__Filename__\\quot\\)\\plus\\fileDir(\\quot\\__Filename__\\quot\\)\\plus\\\\quot\\exports/\\quot\\\\plus\\strFilename\\plus\\\\quot\\_\\quot\\\\plus\\substring(fileExt(\\quot\\__Filename__\\quot\\)\\comma\\1))//crlf////tab//else//crlf////tab////tab//strDestFilename=lowercase(fileDrive(\\quot\\__Filename__\\quot\\)\\plus\\fileDir(\\quot\\__Filename__\\quot\\)\\plus\\\\quot\\exports/\\quot\\\\plus\\strFilename)//crlf////tab//endif//crlf////tab////crlf////tab//if (getToken(\\quot\\Aspect_BackOffice_Pref_Exports_Generic_ExportFormat\\quot\\)=\\quot\\ascii_csv\\quot\\)//crlf////tab////tab//strDestFilename=strDestFilename \\plus\\ \\quot\\.csv\\quot\\//crlf////tab//elseif (getToken(\\quot\\Aspect_BackOffice_Pref_Exports_Generic_ExportFormat\\quot\\)=\\quot\\ascii_tab\\quot\\)//crlf////tab////tab//strDestFilename=strDestFilename \\plus\\ \\quot\\.txt\\quot\\//crlf////tab//elseif (getToken(\\quot\\Aspect_BackOffice_Pref_Exports_Generic_ExportFormat\\quot\\)=\\quot\\dbase\\quot\\)//crlf////tab////tab//strDestFilename=strDestFilename \\plus\\ \\quot\\.dbf\\quot\\//crlf////tab//endif//crlf////crlf////tab////don\\apos\\t export the file if the destination already exists//crlf////tab//if ((fileExists(strDestFilename)) and (dateNumber(fileModified(strDestFilename))>dateNumber(fileModified(\\quot\\__filename__\\quot\\))))//crlf////tab////tab//strMsg=\\quot\\Skipping export of __filename__ because an export file already exists with a date later than the source file.\\quot\\//crlf////tab////tab//scriptExec(GreenLight_Record_System_Status_Message\\comma\\false\\comma\\\\quot\\Type=2\\amp\\Class=0\\amp\\Msg=\\quot\\\\plus\\strMsg)//crlf////tab////tab//exit//crlf////tab//endif//crlf////tab////crlf////tab////get the store code for the file //crlf////tab//strDir=fileDrive(\\quot\\__Filename__\\quot\\)\\plus\\fileDir(\\quot\\__Filename__\\quot\\)//crlf////tab//strStoreCode=lookup(Aspect6_Store_Code_By_Directory\\comma\\strDir)//crlf////tab////crlf////tab////get the date of any mm-dd-yy file and determine if it should be exported//crlf////tab//strExt=fileExt(\\quot\\__filename__\\quot\\)//crlf////tab//if ((strExt=\\quot\\.mix\\quot\\) or (strExt=\\quot\\.cnt\\quot\\) or (strExt=\\quot\\.usg\\quot\\) or (strExt=\\quot\\.lbr\\quot\\) or (strExt=\\quot\\.ckh\\quot\\) or (strExt=\\quot\\.ckd\\quot\\) or (strExt=\\quot\\.dtl\\quot\\))//crlf////tab////tab//strDate=substring(fileName(\\quot\\__filename__\\quot\\)\\comma\\0\\comma\\6)\\plus\\\\quot\\20\\quot\\\\plus\\substring(fileName(\\quot\\__FileName__\\quot\\)\\comma\\6)//crlf////tab////tab//dt1=parseTime(strDate\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////crlf////tab////tab////convert any 209? files to 199?//crlf////tab////tab//strDate=formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//if (pos(\\quot\\209\\quot\\\\comma\\strDate)>0)//crlf////tab////tab////tab//dt1=parseTime(replaceSubstring(strDate\\comma\\\\quot\\209\\quot\\\\comma\\\\quot\\199\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//dt2=parseTime(getToken(Aspect_BackOffice_Pref_Exports_Generic_Start_Date)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//if (dateNumber(dt1)<dateNumber(dt2))//crlf////tab////tab////tab//strMsg=appendToLog(\\quot\\Skipping export for __filename__ because it is older than \\quot\\\\plus\\formatDate(dt2\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//scriptExec(GreenLight_Record_System_Status_Message\\comma\\false\\comma\\\\quot\\Type=2\\amp\\Class=0\\amp\\Msg=\\quot\\\\plus\\strMsg)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab//endif//crlf////crlf////tab////Note: The destination driver ID is only a partial text string.  The remainder of the ID is determined by appending _Ascii_csv\\comma\\ _Ascii_tab or _DBase to it depending on the type of export//crlf////tab//strKeyFields=\\quot\\Line\\quot\\//crlf////tab//strAliasFields=\\quot\\Line=DiskIndex{{pipe{{\\quot\\//crlf////tab//strSrcFilter=\\quot\\true\\quot\\//crlf////tab//if (fileExt(\\quot\\__Filename__\\quot\\)=\\quot\\.mix\\quot\\)//crlf////tab////tab//strSourceDriverID=\\quot\\Aspect6_Driver_Sales_Mix_By_Filename\\quot\\//crlf////tab////tab//strDestDriverID=\\quot\\POS_Generic_SalesMix\\quot\\//crlf////tab////tab//strFieldsToMerge=\\quot\\ItemID{{pipe{{Item_Name{{pipe{{Sold{{pipe{{Net_Sales{{pipe{{Sale_Price{{pipe{{Avg_Price{{pipe{{Comps{{pipe{{Time\\quot\\//crlf////tab////tab//strAliasFields=strAliasFields \\plus\\ \\quot\\Item_Name=ItemName_Export{{pipe{{Sold=ID_TSALESMIXREC_SOLD{{pipe{{Net_Sales=Amount{{pipe{{Sale_Price=ID_TSALESMIXREC_SALE_PRICE{{pipe{{Avg_Price=ID_TSALESMIXREC_PRICE{{pipe{{Comps=ID_TSALESMIXREC_DISCOUNTS{{pipe{{Time=ExportDate\\quot\\//crlf////tab//elseif (fileExt(\\quot\\__Filename__\\quot\\)=\\quot\\.ckh\\quot\\)//crlf////tab////tab//strSourceDriverID=\\quot\\Aspect6_Driver_Check_Header_By_Filename\\quot\\//crlf////tab////tab//strDestDriverID=\\quot\\POS_Generic_Check_Header\\quot\\//crlf////tab////tab//strFieldsToMerge=\\quot\\CheckNumber{{pipe{{TransNum{{pipe{{Time_Open{{pipe{{Time_Close{{pipe{{Net_Sales{{pipe{{Voids{{pipe{{Tax1{{pipe{{Tax2{{pipe{{Tax3{{pipe{{Tax4{{pipe{{Comps{{pipe{{Discounts{{pipe{{Tendered{{pipe{{ChangeGiven{{pipe{{AutoGrat{{pipe{{Gc_Amount{{pipe{{Gc_Id{{pipe{{Emp_Open{{pipe{{Emp_Close{{pipe{{Rev_Ctr{{pipe{{Room{{pipe{{Guests{{pipe{{TableNumber\\quot\\//crlf////tab////tab//strAliasFields=strAliasFields \\plus\\ \\quot\\CheckNumber=ID_TCHECKHDRREC_CHECK_NUMBER{{pipe{{TransNum=ID_TCHECKHDRREC_TRANSACTION_NUM{{pipe{{Net_Sales=ID_TCHECKHDRREC_NET_SALES{{pipe{{Voids=ID_TCHECKHDRREC_VOIDS{{pipe{{Tax1=ID_TCHECKHDRREC_TAX1{{pipe{{Tax2=ID_TCHECKHDRREC_TAX2{{pipe{{Tax3=ID_TCHECKHDRREC_TAX3{{pipe{{Tax4=ID_TCHECKHDRREC_TAX4{{pipe{{Comps=ID_TCHECKHDRREC_COMPS{{pipe{{Discounts=ID_TCHECKHDRREC_DISCOUNTS{{pipe{{Tendered=ID_TCHECKHDRREC_TENDERED{{pipe{{ChangeGiven=ID_TCHECKHDRREC_CHANGE_GIVEN{{pipe{{AutoGrat=ID_TCHECKHDRREC_AUTO_GRATUITY{{pipe{{Gc_Amount=ID_TCHECKHDRREC_GC_AMOUNT{{pipe{{Gc_Id=ID_TCHECKHDRREC_GC_ID{{pipe{{Emp_Open=ID_TCHECKHDRREC_EMP_OPEN{{pipe{{Emp_Close=ID_TCHECKHDRREC_EMP_CLOSE{{pipe{{Rev_Ctr=ID_TCHECKHDRREC_REV_CTR{{pipe{{Room=ID_TCHECKHDRREC_ROOM{{pipe{{Guests=ID_TCHECKHDRREC_GUESTS{{pipe{{TableNumber=ID_TCHECKHDRREC_TABLE_NUMBER\\quot\\//crlf////tab//elseif (fileExt(\\quot\\__Filename__\\quot\\)=\\quot\\.ckd\\quot\\)//crlf////tab////tab//strSourceDriverID=\\quot\\Aspect6_Driver_Check_Detail_By_Filename\\quot\\//crlf////tab////tab//strDestDriverID=\\quot\\POS_Generic_Check_Detail\\quot\\//crlf////tab////tab//strFieldsToMerge=\\quot\\CheckNumber{{pipe{{Rectype{{pipe{{Time{{pipe{{Employee{{pipe{{Quantity{{pipe{{Department{{pipe{{Category{{pipe{{Menuitem{{pipe{{Id1{{pipe{{Amount{{pipe{{Id2\\quot\\//crlf////tab////tab//strAliasFields=strAliasFields \\plus\\ \\quot\\CheckNumber=Check_Number_Lookup{{pipe{{Rectype=ID_TCHECKDTLREC_RECTYPE{{pipe{{Employee=ID_TCHECKDTLREC_EMPLOYEE{{pipe{{Quantity=ID_TCHECKDTLREC_QUANTITY{{pipe{{Department=ID_TCHECKDTLREC_DEPARTMENT{{pipe{{Category=ID_TCHECKDTLREC_CATEGORY{{pipe{{Menuitem=ID_TCHECKDTLREC_MENUITEM{{pipe{{Id1=ID_TCHECKDTLREC_ID1{{pipe{{Amount=ID_TCHECKDTLREC_AMOUNT{{pipe{{Id2=ID_TCHECKDTLREC_ID2\\quot\\//crlf////tab//elseif (fileExt(\\quot\\__Filename__\\quot\\)=\\quot\\.lbr\\quot\\)//crlf////tab////tab//strSourceDriverID=\\quot\\Aspect6_Daily_Labor_Details_By_Filename\\quot\\//crlf////tab////tab//strDestDriverID=\\quot\\POS_Generic_Labor_Detail\\quot\\//crlf////tab////tab//strFieldsToMerge=\\quot\\Employee{{pipe{{PayrollNum{{pipe{{SchJobCode{{pipe{{SchPosition{{pipe{{SchPayType{{pipe{{SchTimeIn{{pipe{{SchTimeOut{{pipe{{SchRegRate{{pipe{{SchOvtRate{{pipe{{SchBreakIn{{pipe{{SchBreakOut{{pipe{{SchBrkNotPd{{pipe{{ActJobCode{{pipe{{ActPosition{{pipe{{ActPayType{{pipe{{ActTimeIn{{pipe{{ActTimeOut{{pipe{{ActRegRate{{pipe{{ActOvtRate{{pipe{{ActBreakIn{{pipe{{ActBreakOut{{pipe{{ActBrkNotPd{{pipe{{AppJobCode{{pipe{{AppPosition{{pipe{{AppPayType{{pipe{{AppTimeIn{{pipe{{AppTimeOut{{pipe{{AppRegRate{{pipe{{AppOvtRate{{pipe{{AppBreakIn{{pipe{{AppBreakOut{{pipe{{AppBrkNotPd\\quot\\//crlf////tab////tab//strAliasFields=strAliasFields \\plus\\ \\quot\\Employee=ID_TDLYLBRPAYINFO_POS_NUMBER{{pipe{{PayrollNum=ID_TDLYLBRPAYINFO_PAYROLL_NUMBER{{pipe{{SchJobCode=Job_Code_Number_Sch{{pipe{{SchPosition=ID_TDLYLBRDTLREC_PAYINFO[1].ID_TDLYLBRPAYINFO_POSITION{{pipe{{SchPayType=ID_TDLYLBRDTLREC_PAYINFO[1].ID_TDLYLBRPAYINFO_PAY_TYPE{{pipe{{SchRegRate=ID_TDLYLBRDTLREC_PAYINFO[1].ID_TDLYLBRPAYINFO_REGULAR_RATE{{pipe{{SchOvtRate=ID_TDLYLBRDTLREC_PAYINFO[1].ID_TDLYLBRPAYINFO_OVERTIME_RATE{{pipe{{SchBreakIn=ID_TDLYLBRDTLREC_PAYINFO[1].ID_TDLYLBRPAYINFO_BREAK_IN{{pipe{{SchBreakOut=ID_TDLYLBRDTLREC_PAYINFO[1].ID_TDLYLBRPAYINFO_BREAK_OUT{{pipe{{SchBrkNotPd=ID_TDLYLBRDTLREC_PAYINFO[1].ID_TDLYLBRPAYINFO_BREAK_NOT_PAID{{pipe{{ActJobCode=Job_Code_Number_Act{{pipe{{ActPosition=ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_POSITION{{pipe{{ActPayType=ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_PAY_TYPE{{pipe{{ActRegRate=ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_REGULAR_RATE{{pipe{{ActOvtRate=ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_OVERTIME_RATE{{pipe{{ActBreakIn=ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_BREAK_IN{{pipe{{ActBreakOut=ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_BREAK_OUT{{pipe{{ActBrkNotPd=ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_BREAK_NOT_PAID{{pipe{{AppJobCode=Job_Code_Number_App{{pipe{{AppPosition=ID_TDLYLBRDTLREC_PAYINFO[3].ID_TDLYLBRPAYINFO_POSITION{{pipe{{AppPayType=ID_TDLYLBRDTLREC_PAYINFO[3].ID_TDLYLBRPAYINFO_PAY_TYPE{{pipe{{AppRegRate=ID_TDLYLBRDTLREC_PAYINFO[3].ID_TDLYLBRPAYINFO_REGULAR_RATE{{pipe{{AppOvtRate=ID_TDLYLBRDTLREC_PAYINFO[3].ID_TDLYLBRPAYINFO_OVERTIME_RATE{{pipe{{AppBreakIn=ID_TDLYLBRDTLREC_PAYINFO[3].ID_TDLYLBRPAYINFO_BREAK_IN{{pipe{{AppBreakOut=ID_TDLYLBRDTLREC_PAYINFO[3].ID_TDLYLBRPAYINFO_BREAK_OUT{{pipe{{AppBrkNotPd=ID_TDLYLBRDTLREC_PAYINFO[3].ID_TDLYLBRPAYINFO_BREAK_NOT_PAID\\quot\\//crlf////tab////tab//strSrcFilter=\\quot\\ID_RESERVED_USED\\quot\\//crlf////tab//elseif (fileName(\\quot\\__Filename__\\quot\\)\\plus\\fileExt(\\quot\\__Filename__\\quot\\)=\\quot\\employee.def\\quot\\)//crlf////tab////tab//strSourceDriverID=\\quot\\Aspect6_Employee_Records_By_Filename\\quot\\//crlf////tab////tab//strDestDriverID=\\quot\\POS_Generic_Employee\\quot\\//crlf////tab////tab//strFieldsToMerge=\\quot\\EmpNum{{pipe{{EmpName{{pipe{{CheckName{{pipe{{Last_Name{{pipe{{Mid_Name{{pipe{{First_Name{{pipe{{JobNum1{{pipe{{RegRate1{{pipe{{OvtRate1{{pipe{{JobNum2{{pipe{{RegRate2{{pipe{{OvtRate2{{pipe{{JobNum3{{pipe{{RegRate3{{pipe{{OvtRate3{{pipe{{JobNum4{{pipe{{RegRate4{{pipe{{OvtRate4{{pipe{{JobNum5{{pipe{{RegRate5{{pipe{{OvtRate5{{pipe{{JobNum6{{pipe{{RegRate6{{pipe{{OvtRate6\\quot\\//crlf////tab////tab//strAliasFields=strAliasFields \\plus\\ \\quot\\EmpNum=ID_TEMPDEFREC_M_EMPLOYEE_NUMBER{{pipe{{EmpName=ID_TEMPDEFREC_M_EMPLOYEE_NAME{{pipe{{CheckName=ID_TEMPDEFREC_M_GUEST_CHECK_NAME{{pipe{{Last_Name=ID_TEMPDEFREC_LAST_NAME{{pipe{{Mid_Name=ID_TEMPDEFREC_MID_NAME{{pipe{{First_Name=ID_TEMPDEFREC_FIRST_NAME{{pipe{{JobNum1=ID_TEMPDEFREC_M_RATE[1].ID_TRATEREC_JOB_CODE_NUMBER{{pipe{{RegRate1=ID_TEMPDEFREC_M_RATE[1].ID_TRATEREC_REGULAR_PAY{{pipe{{OvtRate1=ID_TEMPDEFREC_M_RATE[1].ID_TRATEREC_OVERTIME_PAY{{pipe{{JobNum2=ID_TEMPDEFREC_M_RATE[2].ID_TRATEREC_JOB_CODE_NUMBER{{pipe{{RegRate2=ID_TEMPDEFREC_M_RATE[2].ID_TRATEREC_REGULAR_PAY{{pipe{{OvtRate2=ID_TEMPDEFREC_M_RATE[2].ID_TRATEREC_OVERTIME_PAY{{pipe{{JobNum3=ID_TEMPDEFREC_M_RATE[3].ID_TRATEREC_JOB_CODE_NUMBER{{pipe{{RegRate3=ID_TEMPDEFREC_M_RATE[3].ID_TRATEREC_REGULAR_PAY{{pipe{{OvtRate3=ID_TEMPDEFREC_M_RATE[3].ID_TRATEREC_OVERTIME_PAY{{pipe{{JobNum4=ID_TEMPDEFREC_M_RATE[4].ID_TRATEREC_JOB_CODE_NUMBER{{pipe{{RegRate4=ID_TEMPDEFREC_M_RATE[4].ID_TRATEREC_REGULAR_PAY{{pipe{{OvtRate4=ID_TEMPDEFREC_M_RATE[4].ID_TRATEREC_OVERTIME_PAY{{pipe{{JobNum5=ID_TEMPDEFREC_M_RATE[5].ID_TRATEREC_JOB_CODE_NUMBER{{pipe{{RegRate5=ID_TEMPDEFREC_M_RATE[5].ID_TRATEREC_REGULAR_PAY{{pipe{{OvtRate5=ID_TEMPDEFREC_M_RATE[5].ID_TRATEREC_OVERTIME_PAY{{pipe{{JobNum6=ID_TEMPDEFREC_M_RATE[6].ID_TRATEREC_JOB_CODE_NUMBER{{pipe{{RegRate6=ID_TEMPDEFREC_M_RATE[6].ID_TRATEREC_REGULAR_PAY{{pipe{{OvtRate6=ID_TEMPDEFREC_M_RATE[6].ID_TRATEREC_OVERTIME_PAY\\quot\\//crlf////tab//elseif (fileName(\\quot\\__Filename__\\quot\\)\\plus\\fileExt(\\quot\\__Filename__\\quot\\)=\\quot\\acctpybl.dta\\quot\\)//crlf////tab////tab//strSourceDriverID=\\quot\\Aspect6_Driver_Invoices_By_Filename\\quot\\//crlf////tab////tab//strDestDriverID=\\quot\\POS_Generic_Invoice_Headers\\quot\\//crlf////tab////tab//strFieldsToMerge=\\quot\\ID{{pipe{{DtEntered{{pipe{{Date{{pipe{{Number{{pipe{{Vendor{{pipe{{Amount{{pipe{{Due_Date{{pipe{{Discnt_Date{{pipe{{Discnt_Amt{{pipe{{Paid_By{{pipe{{Chk_Number{{pipe{{Posted\\quot\\//crlf////tab////tab//strAliasFields=strAliasFields \\plus\\ \\quot\\ID=ID_TINVOICEHDRREC_ID{{pipe{{Date=ID_TINVOICEHDRREC_DATE{{pipe{{Due_Date=ID_TINVOICEHDRREC_DUE_DATE{{pipe{{Discnt_Date=ID_TINVOICEHDRREC_DISC_DATE{{pipe{{Vendor=ID_TINVOICEHDRREC_VENDOR{{pipe{{Number=ID_TINVOICEHDRREC_NUMBER{{pipe{{Amount=ID_TINVOICEHDRREC_AMOUNT{{pipe{{Discnt_Amt=ID_TINVOICEHDRREC_DISC_AMOUNT{{pipe{{Chk_Number=ID_TINVOICEHDRREC_CHECK_NUMBER{{pipe{{Paid_By=ID_TINVOICEHDRREC_PAID_BY{{pipe{{Posted=ID_TINVOICEHDRREC__POSTED{{pipe{{DtEntered=ID_TINVOICEHDRREC_DATE_ENTERED\\quot\\//crlf////tab//elseif (fileExt(\\quot\\__Filename__\\quot\\)=\\quot\\.pay\\quot\\)//crlf////tab////tab//strSourceDriverID=\\quot\\Aspect6_Invoice_Details_By_Filename\\quot\\//crlf////tab////tab//strDestDriverID=\\quot\\POS_Generic_Invoice_Details\\quot\\//crlf////tab////tab//strFieldsToMerge=\\quot\\Invoice{{pipe{{ID{{pipe{{Item{{pipe{{Qty{{pipe{{Size_Prefix{{pipe{{Size_Unit{{pipe{{Amount\\quot\\//crlf////tab////tab//strAliasFields=strAliasFields \\plus\\ \\quot\\Invoice=ID_TINVOICEDTLREC_INVOICE_INDEX{{pipe{{ID=ID_TINVOICEDTLREC_ID{{pipe{{Item=ID_TINVOICEDTLREC_INGREDIENT{{pipe{{Qty=ID_TINVOICEDTLREC_QTY{{pipe{{Size_Prefix=ID_TINVOICEDTLREC_SIZE.ID_TSIZEREC_PREFIX{{pipe{{Size_Unit=ID_TINVOICEDTLREC_SIZE.ID_TSIZEREC_SZ{{pipe{{Amount=ID_TINVOICEDTLREC_EXT_PRICE\\quot\\//crlf////tab//elseif (fileName(\\quot\\__Filename__\\quot\\)\\plus\\fileExt(\\quot\\__Filename__\\quot\\)=\\quot\\recpgrp.dta\\quot\\)//crlf////tab////tab//strSourceDriverID=\\quot\\Aspect6_Driver_Recipe_Groups_By_Filename\\quot\\//crlf////tab////tab//strDestDriverID=\\quot\\POS_Generic_Menu_Category\\quot\\//crlf////tab////tab//strFieldsToMerge=\\quot\\Number{{pipe{{Name\\quot\\//crlf////tab////tab//strAliasFields=strAliasFields \\plus\\ \\quot\\Number=ID_TRECIPEGROUPREC_M_NUMBER{{pipe{{Name=ID_TRECIPEGROUPREC_NAME\\quot\\//crlf////tab////tab//strDestFilename=replaceSubstring(strDestFilename\\comma\\\\quot\\recpgrp\\quot\\\\comma\\\\quot\\category\\quot\\)//crlf////tab//elseif (pos(fileName(\\quot\\__Filename__\\quot\\)\\comma\\\\quot\\category{{pipe{{comp{{pipe{{Deptmnt{{pipe{{discount{{pipe{{giftcert{{pipe{{paidin{{pipe{{paidout{{pipe{{revctr{{pipe{{tax{{pipe{{tender{{pipe{{void\\quot\\)>=0)//crlf////tab////tab//strSourceDriverID=\\quot\\Aspect6_POSIds_By_Filename\\quot\\//crlf////tab////tab//strDestDriverID=\\quot\\POS_Generic_POSIDs\\quot\\//crlf////tab////tab//strFieldsToMerge=\\quot\\Number{{pipe{{Name\\quot\\//crlf////tab////tab//strAliasFields=strAliasFields \\plus\\ \\quot\\Number=ID_TPOSIDREC_NUMBER{{pipe{{Name=ID_TPOSIDREC_NAME\\quot\\//crlf////tab//elseif (fileName(\\quot\\__Filename__\\quot\\)\\plus\\fileExt(\\quot\\__Filename__\\quot\\)=\\quot\\jobdef.dta\\quot\\)//crlf////tab////tab//strSourceDriverID=\\quot\\Aspect6_Driver_Job_Codes_By_Filename\\quot\\//crlf////tab////tab//strDestDriverID=\\quot\\POS_Generic_JobCode\\quot\\//crlf////tab////tab//strFieldsToMerge=\\quot\\Number{{pipe{{Name{{pipe{{Early_In{{pipe{{Late_In{{pipe{{Early_Out{{pipe{{Late_Out{{pipe{{PR_Number{{pipe{{RegHrs_Code{{pipe{{OvtHrs_Code{{pipe{{Tips_Code{{pipe{{Sales_Code{{pipe{{Union_Code\\quot\\//crlf////tab////tab//strAliasFields=strAliasFields \\plus\\ \\quot\\Number=ID_TJOBCODEREC_NUMBER{{pipe{{Name=ID_TJOBCODEREC_NAME{{pipe{{Early_In=ID_TJOBCODEREC_GRACE_EARLY_IN{{pipe{{Late_In=ID_TJOBCODEREC_GRACE_LATE_IN{{pipe{{Early_Out=ID_TJOBCODEREC_GRACE_EARLY_OUT{{pipe{{Late_Out=ID_TJOBCODEREC_GRACE_LATE_OUT{{pipe{{PR_Number=ID_TJOBCODEREC_PR_JOB_NUMBER{{pipe{{RegHrs_Code=ID_TJOBCODEREC_REG_HOURS_EARN_CODE{{pipe{{OvtHrs_Code=ID_TJOBCODEREC_OVT_HOURS_EARN_CODE{{pipe{{Tips_Code=ID_TJOBCODEREC_TIPS_EARN_CODE{{pipe{{Sales_Code=ID_TJOBCODEREC_SALES_EARN_CODE{{pipe{{Union_Code=ID_TJOBCODEREC_UNION_CODE\\quot\\//crlf////tab//elseif (fileName(\\quot\\__Filename__\\quot\\)\\plus\\fileExt(\\quot\\__Filename__\\quot\\)=\\quot\\recipe.dta\\quot\\)//crlf////tab////tab//strSourceDriverID=\\quot\\Aspect6_Driver_Recipes_By_Filename\\quot\\//crlf////tab////tab//strDestDriverID=\\quot\\POS_Generic_Menu_Item\\quot\\//crlf////tab////tab//strFieldsToMerge=\\quot\\MenuItemID{{pipe{{CategoryID{{pipe{{Name1{{pipe{{Name2{{pipe{{Sale_Price{{pipe{{IsDeleted\\quot\\//crlf////tab////tab//strAliasFields=strAliasFields \\plus\\ \\quot\\MenuItemID=ID_TRECIPEHDRREC_M_NUMBER{{pipe{{CategoryID=POS_Group_ID{{pipe{{Name1=ID_TRECIPEHDRREC_NAME1{{pipe{{Name2=ID_TRECIPEHDRREC_NAME2{{pipe{{Sale_Price=ID_TRECIPEHDRREC_SALE_PRICE{{pipe{{IsDeleted=ID_TRECIPEHDRREC_DELETED\\quot\\//crlf////tab//elseif (fileName(\\quot\\__Filename__\\quot\\)\\plus\\fileExt(\\quot\\__Filename__\\quot\\)=\\quot\\timeper.dta\\quot\\)//crlf////tab////tab//strSourceDriverID=\\quot\\Aspect6_Driver_Time_Periods_By_Filename\\quot\\//crlf////tab////tab//strDestDriverID=\\quot\\POS_Generic_TimePeriod\\quot\\//crlf////tab////tab//strFieldsToMerge=\\quot\\Number{{pipe{{Name{{pipe{{Time_Start{{pipe{{Time_End\\quot\\//crlf////tab////tab//strAliasFields=strAliasFields \\plus\\ \\quot\\Number=ID_TTIMEPERIODREC_NUMBER{{pipe{{Name=ID_TTIMEPERIODREC_NAME\\quot\\//crlf////tab//else//crlf////tab////tab//appendToLog(\\quot\\Unrecognized export file: __filename__\\quot\\)//crlf////tab//endif//crlf////crlf////tab//if ((len(strSourceDriverID)>0) and (len(strDestDriverID)>0))//crlf//if(false)//crlf////tab////tab////open the source file//crlf////tab////tab//driverOpen(strSourceDriverID\\comma\\drvSource\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__filename__{{pipe{{Date=\\quot\\\\plus\\strFileDate)//crlf////tab////tab//driverSetFilter(drvSource\\comma\\strSrcFilter\\comma\\true)//crlf////tab////tab////crlf////tab////tab////open the output file//crlf////tab////tab//driverOpen(strDestDriverID\\plus\\\\quot\\_\\quot\\\\plus\\getToken(\\quot\\Aspect_BackOffice_Pref_Exports_Generic_ExportFormat\\quot\\)\\comma\\drvDest\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strTempFilename\\plus\\\\quot\\{{pipe{{storecode=\\quot\\\\plus\\strStoreCode\\plus\\\\quot\\{{pipe{{storeID=\\quot\\\\plus\\strStoreCode)//crlf////tab////tab//driverMerge(true\\comma\\drvDest\\comma\\\\quot\\true\\quot\\\\comma\\drvSource\\comma\\\\quot\\true\\quot\\\\comma\\strKeyFields\\comma\\strFieldsToMerge\\comma\\strAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSource)//crlf////tab////tab//driverClose(drvDest)//crlf//endif//tab////tab////crlf//if(true)//crlf////tab////tab////open the source file//crlf////tab////tab//driverOpen(strSourceDriverID\\comma\\drvSource\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__filename__{{pipe{{Date=\\quot\\\\plus\\strFileDate)//crlf////tab////tab//driverOpen(strDestDriverID\\plus\\\\quot\\_\\quot\\\\plus\\getToken(\\quot\\Aspect_BackOffice_Pref_Exports_Generic_ExportFormat\\quot\\)\\comma\\drvDest\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strTempFilename\\plus\\\\quot\\{{pipe{{storecode=\\quot\\\\plus\\strStoreCode\\plus\\\\quot\\{{pipe{{storeID=\\quot\\\\plus\\strStoreCode)//crlf////tab////tab//driverCopyDriver(drvDest\\comma\\drvSource\\comma\\strFieldsToMerge\\comma\\strAliasFields)//crlf////tab////tab//driverClose(drvSource)//crlf////tab////tab//driverClose(drvDest)//crlf//endif//crlf////tab////tab////copy the temp output file to the destination //crlf////tab////tab//if(fileExists(strTempFilename))//crlf////tab////tab////tab////appendToLog(\\quot\\Copying \\quot\\\\plus\\strTempFilename\\comma\\\\plus\\\\quot\\ to \\quot\\\\plus\\strDestFilename)//crlf////tab////tab////tab//strResult=fileCopy(strTempFilename\\comma\\strDestFilename)//crlf////tab////tab//else//crlf////tab////tab////tab//appendToLog(\\quot\\Error: Did not create \\quot\\\\plus\\strTempFilename)//crlf////tab////tab//endif//crlf////crlf////tab////tab//strMsg=\\quot\\Exported __filename__ to \\quot\\\\plus\\strDestFilename\\plus\\\\quot\\ (\\quot\\\\plus\\formatNumber((dateNumber(now())-dateNumber(tmStart))/1000\\comma\\\\quot\\0.0\\quot\\)\\plus\\\\quot\\ seconds)\\quot\\//crlf////tab////tab//appendToLog(strMsg)//crlf////tab////tab//scriptExec(GreenLight_Record_System_Status_Message\\comma\\false\\comma\\\\quot\\Type=2\\amp\\Class=0\\amp\\Msg=\\quot\\\\plus\\strMsg)//crlf////tab//else//crlf////tab////tab//appendToLog(\\quot\\No source or destination driver ID defined in generic export for __filename__\\quot\\)//crlf////tab//endif//crlf////crlf////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab//fileDelete(strTempFilename)//crlf////crlf//\\quot\\>//crlf////crlf//^
ID=209332|X=870|Y=33|W=766|H=514|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=css|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=234098|AttachLeft=|AlignLeft=234098|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=div.scrolling_checkbox {height:150px; width:220px; overflow:auto; border-style:solid; border-width:1px; border-color:\\pound\\7f9db9;}//crlf//^
ID=644359|X=5|Y=30|W=851|H=469|AutoHeight=true|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=false|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<h1>Generic Export Documentation</h1>//crlf////tab////crlf//<div class=\\quot\\paragraph\\quot\\>//crlf////tab//<p>This page provides an easy way to look up the structure of any export file created by the mirror export.</p>//crlf////tab////tab////tab////crlf////tab//<p>Each file consists of a table of records and each record takes up one line in the file.  //crlf////tab////tab//Records are divided into fields\\comma\\ each field represented by a column.  For example\\comma\\ an employee export might look like this</p>//crlf////tab//<b>Scott\\comma\\ Smith\\comma\\ Bartender<br>//crlf////tab//Jane\\comma\\ Smith\\comma\\ Host</b><br>//crlf////tab//<p>In this example\\comma\\ the file contains two records and each record contains three fields - First name\\comma\\ last name and job code.</p>//crlf////tab////tab////crlf////tab//<p>All export files follow this convention and you can view the fields defined in any file by selecting it from the list below.</p>//crlf//</div>//crlf////tab////crlf//<!-- Form used to select a structure -->//crlf//<form name=\\quot\\select_structure_doc\\quot\\ action=\\quot\\\\quot\\ method=\\quot\\get\\quot\\>//crlf////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Structure</td>//crlf////tab////tab////tab//<td><include type:expression; expression:htmlSelect(\\quot\\POS_Generic_Structure_Names\\quot\\\\comma\\\\quot\\SelectPOS_Generic_Structure_Names\\quot\\\\comma\\\\quot\\__StructureID__\\quot\\\\comma\\\\quot\\onChange=structureSelected()\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)></td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf//</form>//crlf//<br>//crlf////crlf//<!-- //tab//Table of fields for a selected Generic POS structure //crlf////tab//The ID of the selected structure is passed as a parameter in StructureID//crlf//-->//crlf//<constant name:__driverID__; value:\\quot\\POS_Generic_Structures\\quot\\>//crlf//<constant name:__DriverName__; value:\\quot\\Structures\\quot\\>//crlf//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getCachedWidget\\amp\\DocumentID=ASQbJP8JvLllf4SvKkfnkzLx\\amp\\Widget=Mirror Export Structure Doc\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf//<constant name:__filterArgs__; value:\\quot\\$FilterArgs$\\quot\\>//crlf//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////crlf//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf//<!include type:driver;//crlf////tab//driver: __driverID__;//crlf////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab//params: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\Aspect_Structures_FieldID\\comma\\Aspect_Structures_Description\\comma\\Aspect_Structures_SimpleFieldType\\comma\\Aspect_Structures_Tooltip\\quot\\;//crlf////tab//sort: \\quot\\Aspect_Structures_VirtualIndex\\quot\\;//crlf////tab//filter: \\quot\\(Aspect_Structures_ID=\\apos\\__StructureID__\\apos\\) and (not(Aspect_Structures_Calculated)) and (not(Aspect_Structures_IsVirtual))\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//paging: \\quot\\false\\quot\\;//crlf////tab//maxrecords: \\quot\\999\\quot\\;//crlf////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab//debug: \\quot\\false\\quot\\;//crlf//>//crlf////crlf//^
ID=857847|X=870|Y=33|W=769|H=519|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=234098|AttachLeft=|AlignLeft=234098|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=//When a structure is selected\\comma\\ this function updates the widget to display the selected structure//crlf//function structureSelected(b)//crlf//{//crlf////tab//var e=document.forms[\\quot\\select_structure_doc\\quot\\].SelectPOS_Generic_Structure_Names;//crlf////tab//if(b) {//crlf////tab////tab//showDialog();//crlf////tab////tab//e.disabled=false;//crlf////tab//}//crlf////tab//else {//crlf////tab////tab//var strID=e.value;//crlf////tab////tab//e.disabled=true;//crlf////tab////tab//showDialog(\\quot\\icon=true\\amp\\top=200\\amp\\left=200\\amp\\msg=Loading structure...\\quot\\);//crlf////tab////tab//loadContent(\\quot\\644359\\quot\\\\comma\\\\quot\\StructureID=\\quot\\\\plus\\strID\\comma\\\\quot\\structureSelected(true)\\quot\\\\comma\\\\quot\\structureSelected(false)\\quot\\);//crlf////tab//};//crlf//};//crlf//^
ID=844977|X=136|Y=42|W=167|H=15|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=5|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=Transparent|Content={@htmlConstant(\\quot\\TaskEnabled\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\isTaskEnabled(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect Generic Export\\quot\\))}//crlf//{@htmlConstant(\\quot\\IsExporting\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\(scriptCount(\\quot\\Aspect6_genericExport\\quot\\)>0))}//crlf////crlf//<!conditional expression:(boolean(getToken(\\quot\\Aspect_BackOffice_Pref_Exports_Generic_Enable\\quot\\)))>//crlf////tab//<img src=\\quot\\{@getImageUrl(\\quot\\greenlight\\quot\\\\comma\\\\quot\\greenlight12x12.png\\quot\\\\comma\\true)}\\quot\\ style=\\quot\\position:relative;top:2px\\quot\\> Task enabled//crlf//</conditional>//crlf////crlf//<!conditional expression:(not(boolean(getToken(\\quot\\Aspect_BackOffice_Pref_Exports_Generic_Enable\\quot\\))))>//crlf////tab//<img src=\\quot\\{@getImageUrl(\\quot\\greenlight\\quot\\\\comma\\\\quot\\greylight12x12.png\\quot\\\\comma\\true)}\\quot\\ style=\\quot\\position:relative;top:2px\\quot\\> Task disabled//crlf//</conditional>//crlf////crlf//\\amp\\nbsp;\\amp\\nbsp;\\amp\\nbsp;//crlf////crlf//<!conditional expression:(boolean(\\quot\\__IsExporting__\\quot\\))>//crlf////tab//<img src=\\quot\\{@getImageUrl(\\quot\\greenlight\\quot\\\\comma\\\\quot\\greenlight12x12.png\\quot\\\\comma\\true)}\\quot\\ style=\\quot\\position:relative;top:2px\\quot\\> Exporting...//crlf//</conditional>//crlf////crlf//<!conditional expression:(not(boolean(\\quot\\__IsExporting__\\quot\\)))>//crlf////tab//<img src=\\quot\\{@getImageUrl(\\quot\\greenlight\\quot\\\\comma\\\\quot\\greylight12x12.png\\quot\\\\comma\\true)}\\quot\\ style=\\quot\\position:relative;top:2px\\quot\\> Idle//crlf//</conditional>
</widget><widget name="Videos Container" group="Back-Office" category="" description="" type="Container" Processing=2 metadata="" IncludeInViewer="true" PublicName="Videos" modified="05-18-2011 22:56:44" modifiedby="dell2">
Preferences|toolboxx=711|toolboxy=251|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Videos Container.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=695822|X=4|Y=9|W=219|H=23|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|zindex=1|opacity=10|Background=Transparent|Content=<table class=\\apos\\tabdialog\\apos\\>//crlf//  <tr>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\222340\\apos\\)\\quot\\>Sales</a></td>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\637359\\apos\\)\\quot\\>Inventory</a></td>//crlf//<!--//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\366202\\apos\\)\\quot\\>Labor</a></td>//crlf//-->//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\495897\\apos\\)\\quot\\>Other</a></td>//crlf//  </tr>//crlf//</table>^
ID=222340|X=4|Y=34|W=668|H=597|AutoHeight=true|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|zindex=1|opacity=10|Background=Transparent|Content=<div interval=\\quot\\3600\\quot\\ style=\\quot\\width:100\\percent\\;\\quot\\ url=\\quot\\https://__server__/?Network=GreenLight\\amp\\ID=getxmlHttpRequest\\amp\\url=https://{AspectServerIP1}/?Network=GreenLight{{pipe{{ID=getCachedWidget{{pipe{{DocumentID=CExis5b6ybLmITZ2wF7XmGwk{{pipe{{Widget=Video Library For Customer{{pipe{{remoteIP=127.0.0.1{{pipe{{Client={ExternalIPAddress}:{GreenLight_Client_Https_Port}{{pipe{{Group=Sales\\quot\\>//crlf////tab//<img src=\\quot\\https://__server__/?Network=GreenLight\\amp\\ID=fileGetContent\\amp\\filename={packageurl_aspect_software_net_core}core/doc/images/StatusActive01.gif\\quot\\>//crlf//</div>//crlf//^
ID=637359|X=4|Y=34|W=668|H=597|AutoHeight=true|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|zindex=1|opacity=10|Background=Transparent|Content=<div interval=\\quot\\3600\\quot\\ style=\\quot\\width:100\\percent\\;\\quot\\ url=\\quot\\https://__server__/?Network=GreenLight\\amp\\ID=getxmlHttpRequest\\amp\\url=https://{AspectServerIP1}/?Network=GreenLight{{pipe{{ID=getCachedWidget{{pipe{{DocumentID=CExis5b6ybLmITZ2wF7XmGwk{{pipe{{Widget=Video Library For Customer{{pipe{{remoteIP=127.0.0.1{{pipe{{Client={ExternalIPAddress}:{GreenLight_Client_Https_Port}{{pipe{{Group=Inventory\\quot\\>//crlf////tab//<img src=\\quot\\https://__server__/?Network=GreenLight\\amp\\ID=fileGetContent\\amp\\filename={packageurl_aspect_software_net_core}core/doc/images/StatusActive01.gif\\quot\\>//crlf//</div>//crlf//^
ID=366202|X=4|Y=34|W=668|H=597|AutoHeight=true|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|zindex=1|opacity=10|Background=Transparent|^
ID=495897|X=4|Y=34|W=668|H=597|AutoHeight=true|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|zindex=1|opacity=10|Background=Transparent|Content=<div interval=\\quot\\3600\\quot\\ style=\\quot\\width:100\\percent\\;\\quot\\ url=\\quot\\https://__server__/?Network=GreenLight\\amp\\ID=getxmlHttpRequest\\amp\\url=https://{AspectServerIP1}/?Network=GreenLight{{pipe{{ID=getCachedWidget{{pipe{{DocumentID=CExis5b6ybLmITZ2wF7XmGwk{{pipe{{Widget=Video Library For Customer{{pipe{{remoteIP=127.0.0.1{{pipe{{Client={ExternalIPAddress}:{GreenLight_Client_Https_Port}{{pipe{{Group=Other\\quot\\>//crlf////tab//<img src=\\quot\\https://__server__/?Network=GreenLight\\amp\\ID=fileGetContent\\amp\\filename={packageurl_aspect_software_net_core}core/doc/images/StatusActive01.gif\\quot\\>//crlf//</div>//crlf//
</widget><widget name="OnePos Merge" group="POS Interface" category="Onepos" description="Old onepos interface.  Replaced by POS Interface - OnePos" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Onepos Merge" modified="04-13-2014 12:31:48" modifiedby="Keith-Dell2" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-02-2014 18:40:24:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=1510|toolboxy=290|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=OnePos Merge.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=onepos_tabs|X=10|Y=40|W=861|H=20|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<div style=\\quot\\border:none; border-bottom:solid 1px \\pound\\c9c9c9; width:900px\\quot\\>//crlf////tab//<table class=\\apos\\tabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\onepos_job_codes\\apos\\)\\quot\\>Job Codes</a></td>//crlf////tab//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\onepos_employees\\apos\\)\\quot\\>Employees</a></td>//crlf////tab//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\onepos_timeclock\\apos\\)\\quot\\>Timeclock</a></td>//crlf////tab//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\onepos_categories\\apos\\)\\quot\\>Categories</a></td>//crlf////tab//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\onepos_departments\\apos\\)\\quot\\>Departments</a></td>//crlf////tab//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\onepos_menu_items\\apos\\)\\quot\\>Items</a></td>//crlf////tab//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\onepos_comps\\apos\\)\\quot\\>Comps</a></td>//crlf////tab//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\onepos_discounts\\apos\\)\\quot\\>Discounts</a></td>//crlf////tab//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\onepos_tenders\\apos\\)\\quot\\>Tenders</a></td>//crlf////tab//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\onepos_taxes\\apos\\)\\quot\\>Tax</a></td>//crlf////tab//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\onepos_check_headers\\apos\\)\\quot\\>Headers</a></td>//crlf////tab//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\onepos_check_details\\apos\\)\\quot\\>Details</a></td>//crlf////tab//  </tr>//crlf////tab//</table>//crlf//</div>^
ID=onepos_job_codes|X=11|Y=63|W=854|H=496|AutoHeight=true|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\import\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Importing job codes.  Store=__StoreCode__ Dir=__StoreDir__ PosDir=__PosDir__\\quot\\)//crlf////crlf////tab////tab//strStoreCode=\\quot\\__StoreCode__\\quot\\//crlf////tab////tab//strStoreID=\\quot\\__StoreID__\\quot\\//crlf////crlf////tab////tab//strSrcFilename=\\quot\\__PosDir__PayCategories.csv\\quot\\//crlf////tab////tab//strDestFilename=\\quot\\__StoreDir__jobdef.dbf\\quot\\//crlf////crlf////tab////tab////if the timestamp of the destination is later than the source\\comma\\ then exit//crlf////tab////tab//if(startsWith(\\quot\\__overwrite__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab//if (fileExists(strDestFilename))//crlf////tab////tab////tab////tab//if(dateNumber(fileModified(strDestFilename\\plus\\\\quot\\.dbf\\quot\\))>dateNumber(fileModified(strSrcFilename)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\skipping import of \\quot\\\\plus\\strDestFilename\\plus\\\\quot\\.dbf because the file is already up to date.\\quot\\)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the files//crlf////tab////tab//driverOpen(POS_OnePos_PayCategories\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strSrcFilename\\plus\\\\quot\\{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(POS_Generic_JobCode_Dbase\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strDestFilename)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////merge the files//crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{Number{{pipe{{Name\\quot\\//crlf////tab////tab//arAlias=\\quot\\Number=ID\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\Number\\quot\\//crlf////tab////tab//driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\Importing job codes complete\\quot\\)//crlf////tab//\\quot\\;>//crlf//</conditional>//crlf//^
ID=onepos_employees|X=11|Y=63|W=854|H=494|AutoHeight=true|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\import\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Importing employees.  Store=__StoreCode__ Dir=__StoreDir__ PosDir=__PosDir__\\quot\\)//crlf////crlf////tab////tab//strStoreCode=\\quot\\__StoreCode__\\quot\\//crlf////tab////tab//strStoreID=\\quot\\__StoreID__\\quot\\//crlf////crlf////tab////tab//strSrcFilename=\\quot\\__PosDir__Employees.csv\\quot\\//crlf////tab////tab//strDestFilename=\\quot\\__StoreDir__employee.dbf\\quot\\//crlf////crlf////tab////tab////if the timestamp of the destination is later than the source\\comma\\ then exit//crlf////tab////tab//if(startsWith(\\quot\\__overwrite__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab//if (fileExists(strDestFilename))//crlf////tab////tab////tab////tab//if(dateNumber(fileModified(strDestFilename\\plus\\\\quot\\.dbf\\quot\\))>dateNumber(fileModified(strSrcFilename)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\skipping import of \\quot\\\\plus\\strDestFilename\\plus\\\\quot\\.dbf because the file is already up to date.\\quot\\)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the files//crlf////tab////tab//driverOpen(POS_OnePos_employees\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strSrcFilename\\plus\\\\quot\\{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(POS_Generic_Employee_Dbase\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strDestFilename)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////merge the files//crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{EmpNum{{pipe{{First_Name{{pipe{{Last_Name\\quot\\//crlf////tab////tab//arAlias=\\quot\\EmpNum=EmpID{{pipe{{First_Name=FirstName{{pipe{{Last_Name=LastName\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\EmpNum\\quot\\//crlf////tab////tab//driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\Importing employees complete\\quot\\)//crlf////tab//\\quot\\;>//crlf//</conditional>//crlf//^
ID=onepos_timeclock|X=11|Y=63|W=860|H=550|AutoHeight=true|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\import\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Importing timeclock.  Store=__StoreCode__ Dir=__StoreDir__ PosDir=__PosDir__\\quot\\)//crlf////crlf////tab////tab//strStoreCode=\\quot\\__StoreCode__\\quot\\//crlf////tab////tab//strStoreID=\\quot\\__StoreID__\\quot\\//crlf////crlf////tab////tab//strSrcFilename=\\quot\\__PosDir__TimeClockClocks.csv\\quot\\//crlf////tab////tab//strDestFilename=\\quot\\__StoreDir____OperatingDate___lbr.dbf\\quot\\//crlf////crlf////tab////tab////if the timestamp of the destination is later than the source\\comma\\ then exit//crlf////tab////tab//if(startsWith(\\quot\\__overwrite__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab//if (fileExists(strDestFilename))//crlf////tab////tab////tab////tab//if(dateNumber(fileModified(strDestFilename\\plus\\\\quot\\.dbf\\quot\\))>dateNumber(fileModified(strSrcFilename)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\skipping import of \\quot\\\\plus\\strDestFilename\\plus\\\\quot\\.dbf because the file is already up to date.\\quot\\)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the files//crlf////tab////tab//driverOpen(POS_OnePos_Timeclock\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strSrcFilename\\plus\\\\quot\\{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(POS_Generic_Labor_Detail_Dbase\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strDestFilename)//crlf////tab////tab//strFilter=\\quot\\formatDate(ActTimeIn\\comma\\\\quot\\\\plus\\quote(\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\)=\\quot\\\\plus\\quote(\\quot\\__OperatingDate__\\quot\\)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\strFilter\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////merge the files//crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{Employee{{pipe{{ActJobCode{{pipe{{ActTimeIn{{pipe{{ActTimeOut{{pipe{{ActRegRate\\quot\\//crlf////tab////tab//arAlias=\\quot\\Employee=EmpID{{pipe{{ActJobCode=PayCategory{{pipe{{ActRegRate=PayRate\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\Employee{{pipe{{ActTimeIn\\quot\\//crlf////tab////tab//driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\merging \\quot\\\\plus\\strDestFilename\\plus\\\\quot\\ complete\\quot\\)//crlf////tab//\\quot\\;>//crlf//</conditional>//crlf//^
ID=onepos_tenders|X=11|Y=63|W=854|H=494|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\import\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Importing tenders.  Store=__StoreCode__ Dir=__StoreDir__ PosDir=__PosDir__\\quot\\)//crlf////crlf////tab////tab//strStoreCode=\\quot\\__StoreCode__\\quot\\//crlf////tab////tab//strStoreID=\\quot\\__StoreID__\\quot\\//crlf////crlf////tab////tab//strSrcFilename=\\quot\\__PosDir__Payments.csv\\quot\\//crlf////tab////tab//strDestFilename=\\quot\\__StoreDir__tender.dbf\\quot\\//crlf////crlf////tab////tab////if the timestamp of the destination is later than the source\\comma\\ then exit//crlf////tab////tab//if(startsWith(\\quot\\__overwrite__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab//if (fileExists(strDestFilename))//crlf////tab////tab////tab////tab//if(dateNumber(fileModified(strDestFilename\\plus\\\\quot\\.dbf\\quot\\))>dateNumber(fileModified(strSrcFilename)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\skipping import of \\quot\\\\plus\\strDestFilename\\plus\\\\quot\\.dbf because the file is already up to date.\\quot\\)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the files//crlf////tab////tab//driverOpen(POS_OnePos_Payments\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strSrcFilename\\plus\\\\quot\\{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(POS_Generic_POSIDs_DBase\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strDestFilename)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////merge the files//crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{Number{{pipe{{Name\\quot\\//crlf////tab////tab//arAlias=\\quot\\Number=ID\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\Number\\quot\\//crlf////tab////tab//driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\Importing tenders complete.\\quot\\)//crlf////tab//\\quot\\;>//crlf//</conditional>//crlf//^
ID=onepos_discounts|X=12|Y=64|W=863|H=501|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\import\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Importing discounts.  Store=__StoreCode__ Dir=__StoreDir__ PosDir=__PosDir__\\quot\\)//crlf////crlf////tab////tab//strStoreCode=\\quot\\__StoreCode__\\quot\\//crlf////tab////tab//strStoreID=\\quot\\__StoreID__\\quot\\//crlf////crlf////tab////tab//strSrcFilename=\\quot\\__PosDir__Discounts.csv\\quot\\//crlf////tab////tab//strDestFilename=\\quot\\__StoreDir__disc.dbf\\quot\\//crlf////crlf////tab////tab////if the timestamp of the destination is later than the source\\comma\\ then exit//crlf////tab////tab//if(startsWith(\\quot\\__overwrite__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab//if (fileExists(strDestFilename))//crlf////tab////tab////tab////tab//if(dateNumber(fileModified(strDestFilename\\plus\\\\quot\\.dbf\\quot\\))>dateNumber(fileModified(strSrcFilename)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\skipping import of \\quot\\\\plus\\strDestFilename\\plus\\\\quot\\.dbf because the file is already up to date.\\quot\\)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the files//crlf////tab////tab//driverOpen(POS_OnePos_Discounts\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strSrcFilename\\plus\\\\quot\\{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(POS_Generic_POSIDs_DBase\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strDestFilename)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////merge the files//crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{Number{{pipe{{Name\\quot\\//crlf////tab////tab//arAlias=\\quot\\Number=ID\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\Number\\quot\\//crlf////tab////tab//driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\Importing discounts complete.\\quot\\)//crlf////tab//\\quot\\;>//crlf//</conditional>//crlf//^
ID=onepos_taxes|X=11|Y=63|W=854|H=494|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\import\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Importing taxes.  Store=__StoreCode__ Dir=__StoreDir__ PosDir=__PosDir__\\quot\\)//crlf////crlf////tab////tab//strStoreCode=\\quot\\__StoreCode__\\quot\\//crlf////tab////tab//strStoreID=\\quot\\__StoreID__\\quot\\//crlf////crlf////tab////tab//strSrcFilename=\\quot\\__PosDir__Taxes.csv\\quot\\//crlf////tab////tab//strDestFilename=\\quot\\__StoreDir__tax.dbf\\quot\\//crlf////crlf////tab////tab////if the timestamp of the destination is later than the source\\comma\\ then exit//crlf////tab////tab//if(startsWith(\\quot\\__overwrite__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab//if (fileExists(strDestFilename))//crlf////tab////tab////tab////tab//if(dateNumber(fileModified(strDestFilename\\plus\\\\quot\\.dbf\\quot\\))>dateNumber(fileModified(strSrcFilename)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\skipping import of \\quot\\\\plus\\strDestFilename\\plus\\\\quot\\.dbf because the file is already up to date.\\quot\\)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the files//crlf////tab////tab//driverOpen(POS_OnePos_Taxes\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strSrcFilename\\plus\\\\quot\\{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(POS_Generic_POSIDs_DBase\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strDestFilename)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////merge the files//crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{Number{{pipe{{Name\\quot\\//crlf////tab////tab//arAlias=\\quot\\Number=ID\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\Number\\quot\\//crlf////tab////tab//driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\Importing taxes complete.\\quot\\)//crlf////tab//\\quot\\;>//crlf//</conditional>//crlf//^
ID=onepos_categories|X=11|Y=63|W=854|H=494|AutoHeight=true|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\import\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Importing categories.  Store=__StoreCode__ Dir=__StoreDir__ PosDir=__PosDir__\\quot\\)//crlf////crlf////tab////tab//strStoreCode=\\quot\\__StoreCode__\\quot\\//crlf////tab////tab//strStoreID=\\quot\\__StoreID__\\quot\\//crlf////crlf////tab////tab//strSrcFilename=\\quot\\__PosDir__SalesCategories.csv\\quot\\//crlf////tab////tab//strDestFilename=\\quot\\__StoreDir__category.dbf\\quot\\//crlf////crlf////tab////tab////if the timestamp of the destination is later than the source\\comma\\ then exit//crlf////tab////tab//if(startsWith(\\quot\\__overwrite__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab//if (fileExists(strDestFilename))//crlf////tab////tab////tab////tab//if(dateNumber(fileModified(strDestFilename\\plus\\\\quot\\.dbf\\quot\\))>dateNumber(fileModified(strSrcFilename)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\skipping import of \\quot\\\\plus\\strDestFilename\\plus\\\\quot\\.dbf because the file is already up to date.\\quot\\)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the files//crlf////tab////tab//driverOpen(POS_OnePos_Sales_Categories\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strSrcFilename\\plus\\\\quot\\{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(POS_Generic_Menu_Category_Dbase\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strDestFilename)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////merge the files//crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{Number{{pipe{{Name\\quot\\//crlf////tab////tab//arAlias=\\quot\\Number=ID\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\Number\\quot\\//crlf////tab////tab//driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\Importing categories complete\\quot\\)//crlf////tab//\\quot\\;>//crlf//</conditional>//crlf//^
ID=onepos_menu_items|X=11|Y=63|W=854|H=494|AutoHeight=true|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\import\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Importing menu items.  Store=__StoreCode__ Dir=__StoreDir__ PosDir=__PosDir__\\quot\\)//crlf////crlf////tab////tab//strStoreCode=\\quot\\__StoreCode__\\quot\\//crlf////tab////tab//strStoreID=\\quot\\__StoreID__\\quot\\//crlf////crlf////tab////tab//strSrcFilename=\\quot\\__PosDir__Merchandise.csv\\quot\\//crlf////tab////tab//strDestFilename=\\quot\\__StoreDir__recipe.dbf\\quot\\//crlf////crlf////tab////tab////if the timestamp of the destination is later than the source\\comma\\ then exit//crlf////tab////tab//if(startsWith(\\quot\\__overwrite__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab//if (fileExists(strDestFilename))//crlf////tab////tab////tab////tab//if(dateNumber(fileModified(strDestFilename\\plus\\\\quot\\.dbf\\quot\\))>dateNumber(fileModified(strSrcFilename)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\skipping import of \\quot\\\\plus\\strDestFilename\\plus\\\\quot\\.dbf because the file is already up to date.\\quot\\)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the files//crlf////tab////tab//driverOpen(POS_OnePos_Merchandise\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strSrcFilename\\plus\\\\quot\\{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(POS_Generic_Menu_Item_DBase\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strDestFilename)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////merge the files//crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{MenuItemID{{pipe{{Name1\\quot\\//crlf////tab////tab//arAlias=\\quot\\MenuItemID=ItemID{{pipe{{Name1=ItemName\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\MenuItemID\\quot\\//crlf////tab////tab//driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\Importing menu items complete.\\quot\\)//crlf////tab//\\quot\\;>//crlf//</conditional>//crlf//^
ID=onepos_departments|X=11|Y=63|W=854|H=494|AutoHeight=true|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\import\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Importing departments.  Store=__StoreCode__ Dir=__StoreDir__ PosDir=__PosDir__\\quot\\)//crlf////crlf////tab////tab//strStoreCode=\\quot\\__StoreCode__\\quot\\//crlf////tab////tab//strStoreID=\\quot\\__StoreID__\\quot\\//crlf////crlf////tab////tab//strSrcFilename=\\quot\\__PosDir__SalesDepartments.csv\\quot\\//crlf////tab////tab//strDestFilename=\\quot\\__StoreDir__deptmnt.dbf\\quot\\//crlf////crlf////tab////tab////if the timestamp of the destination is later than the source\\comma\\ then exit//crlf////tab////tab//if(startsWith(\\quot\\__overwrite__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab//if (fileExists(strDestFilename))//crlf////tab////tab////tab////tab//if(dateNumber(fileModified(strDestFilename\\plus\\\\quot\\.dbf\\quot\\))>dateNumber(fileModified(strSrcFilename)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\skipping import of \\quot\\\\plus\\strDestFilename\\plus\\\\quot\\.dbf because the file is already up to date.\\quot\\)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the files//crlf////tab////tab//driverOpen(POS_OnePos_Sales_Departments\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strSrcFilename\\plus\\\\quot\\{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(POS_Generic_POSIDs_DBase\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strDestFilename)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////merge the files//crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{Number{{pipe{{Name\\quot\\//crlf////tab////tab//arAlias=\\quot\\Number=ID\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\Number\\quot\\//crlf////tab////tab//driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\Importing departments complete\\quot\\)//crlf////tab//\\quot\\;>//crlf//</conditional>//crlf//^
ID=onepos_check_headers|X=11|Y=63|W=854|H=494|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\import\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Importing check headers  Store=__StoreCode__ Date=__OperatingDate__ Dir=__StoreDir__ PosDir=__PosDir__\\quot\\)//crlf////crlf////tab////tab//appendToLog(\\quot\\Importing check headers  complete\\quot\\)//crlf////tab//\\quot\\;>//crlf//</conditional>//crlf//^
ID=onepos_check_details|X=11|Y=63|W=855|H=495|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\import\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Importing check details Store=__StoreCode__ Date=__OperatingDate__ Dir=__StoreDir__ PosDir=__PosDir__\\quot\\)//crlf////crlf////tab////tab//appendToLog(\\quot\\Importing check details complete\\quot\\)//crlf////tab//\\quot\\;>//crlf//</conditional>//crlf//^
ID=901366|X=945|Y=10|W=164|H=23|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table class=\\apos\\tabdialog\\apos\\>//crlf//  <tr>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\67367\\apos\\)\\quot\\>Javascript</a></td>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\AspectScript\\apos\\)\\quot\\>Aspect Script</a></td>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\notes\\apos\\)\\quot\\>Notes</a></td>//crlf//  </tr>//crlf//</table>^
ID=67367|X=945|Y=32|W=564|H=507|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=function testImport(sStoreInfo)//crlf//{//crlf////tab//appendToLog(\\quot\\testImport\\quot\\);//crlf////tab//var f=document.forms[\\quot\\test_import\\quot\\];//crlf////tab//var sPos=f.POS.value.toLowerCase();//crlf////tab//var sStoreID=f.StoreID.value;//crlf////tab//var sImport=f.Import.value;//crlf////tab//var sDate=f.date.value;//crlf////crlf////tab//if(sStoreInfo) {//crlf////tab////tab//sStoreCode=getElementValue(sStoreInfo\\comma\\\\quot\\StoreCode\\quot\\\\comma\\\\quot\\\\amp\\\\quot\\);//crlf////tab////tab//sStoreDir=getElementValue(sStoreInfo\\comma\\\\quot\\StoreDir\\quot\\\\comma\\\\quot\\\\amp\\\\quot\\);//crlf////tab////tab//sPosDir=getElementValue(sStoreInfo\\comma\\\\quot\\PosDir\\quot\\\\comma\\\\quot\\\\amp\\\\quot\\);//crlf////crlf////tab////tab//appendToLog(\\quot\\Code=\\quot\\\\plus\\sStoreCode\\plus\\\\quot\\ StoreDir=\\quot\\\\plus\\sStoreDir\\plus\\\\quot\\ PosDir=\\quot\\\\plus\\sPosDir\\plus\\\\quot\\ POS=\\quot\\\\plus\\sPos);//crlf////crlf////tab////tab//strArgs=\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\StoreCode=\\quot\\\\plus\\sStoreCode;//crlf////tab////tab//strArgs\\plus\\=\\quot\\\\amp\\StoreDir=\\quot\\\\plus\\sStoreDir\\plus\\\\quot\\\\amp\\PosDir=\\quot\\\\plus\\sPosDir;//crlf////tab////tab//strArgs\\plus\\=\\quot\\\\amp\\OperatingDate=\\quot\\\\plus\\sDate;//crlf////tab////tab//strArgs\\plus\\=\\quot\\\\amp\\action=import\\amp\\overwrite=true\\quot\\;//crlf////crlf////tab////tab//if((sImport==\\quot\\all\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\all_labor\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\job_codes\\quot\\)) {//crlf////tab////tab////tab//loadContent(sPos\\plus\\\\quot\\_job_codes\\quot\\\\comma\\strArgs);//tab////tab////crlf////tab////tab//};//crlf////crlf////tab////tab//if((sImport==\\quot\\all\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\all_labor\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\employees\\quot\\)) {//crlf////tab////tab////tab//loadContent(sPos\\plus\\\\quot\\_employees\\quot\\\\comma\\strArgs);//tab////tab////crlf////tab////tab//};//crlf////crlf////tab////tab//if((sImport==\\quot\\all\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\all_labor\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\timeclock\\quot\\)) {//crlf////tab////tab////tab//loadContent(sPos\\plus\\\\quot\\_timeclock\\quot\\\\comma\\strArgs);//tab////tab////crlf////tab////tab//};//crlf////crlf////tab////tab//if((sImport==\\quot\\all\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\all_inventory\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\departments\\quot\\)) {//crlf////tab////tab////tab//loadContent(sPos\\plus\\\\quot\\_departments\\quot\\\\comma\\strArgs);//tab////tab////crlf////tab////tab//};//crlf////crlf////tab////tab//if((sImport==\\quot\\all\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\all_inventory\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\categories\\quot\\)) {//crlf////tab////tab////tab//loadContent(sPos\\plus\\\\quot\\_categories\\quot\\\\comma\\strArgs);//crlf////tab////tab//};//crlf////crlf////tab////tab//if((sImport==\\quot\\all\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\all_inventory\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\menuitems\\quot\\)) {//crlf////tab////tab////tab//loadContent(sPos\\plus\\\\quot\\_menu_items\\quot\\\\comma\\strArgs);//crlf////tab////tab//};//crlf////crlf////tab////tab//if((sImport==\\quot\\all\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\all_sales\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\comps\\quot\\)) {//crlf////tab////tab////tab//loadContent(sPos\\plus\\\\quot\\_comps\\quot\\\\comma\\strArgs);//crlf////tab////tab//};//crlf////crlf////tab////tab//if((sImport==\\quot\\all\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\all_sales\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\discounts\\quot\\)) {//crlf////tab////tab////tab//loadContent(sPos\\plus\\\\quot\\_discounts\\quot\\\\comma\\strArgs);//crlf////tab////tab//};//crlf////crlf////tab////tab//if((sImport==\\quot\\all\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\all_sales\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\tenders\\quot\\)) {//crlf////tab////tab////tab//loadContent(sPos\\plus\\\\quot\\_tenders\\quot\\\\comma\\strArgs);//crlf////tab////tab//};//crlf////crlf////tab////tab//if((sImport==\\quot\\all\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\all_sales\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\taxes\\quot\\)) {//crlf////tab////tab////tab//loadContent(sPos\\plus\\\\quot\\_taxes\\quot\\\\comma\\strArgs);//crlf////tab////tab//};//crlf////crlf////crlf////tab////tab//if((sImport==\\quot\\all\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\all_sales\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\check_headers\\quot\\)) {//crlf////tab////tab////tab//loadContent(sPos\\plus\\\\quot\\_check_headers\\quot\\\\comma\\strArgs);//crlf////tab////tab//};//crlf////crlf////tab////tab//if((sImport==\\quot\\all\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\all_sales\\quot\\) {{pipe{{{{pipe{{ (sImport==\\quot\\check_details\\quot\\)) {//crlf////tab////tab////tab//loadContent(sPos\\plus\\\\quot\\_check_details\\quot\\\\comma\\strArgs);//crlf////tab////tab//};//crlf////tab//}//crlf////tab//else {//crlf////tab////tab//strFunc=\\quot\\testImport(s)\\quot\\;//crlf////tab////tab//loadContent(\\quot\\AspectScript\\quot\\\\comma\\\\quot\\Action=getStoreInfo\\amp\\StoreID=\\quot\\\\plus\\sStoreID\\comma\\strFunc);//crlf////tab//};//crlf////crlf//};^
ID=AspectScript|X=945|Y=33|W=560|H=503|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\getStoreInfo\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\getStoreInfo:  StoreID=__StoreID__ Import=__Import__\\quot\\)//crlf////crlf////tab////tab////get the store directories//crlf////tab////tab//driverOpen(Aspect_BackOffice_Store\\comma\\drvStore\\comma\\READ)//crlf////crlf////tab////tab//intRecord=driverFindRecordAbsolute(drvStore\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\quote(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab//if(intRecord<0)//crlf////tab////tab////tab//appendToLog(\\quot\\Error: cannot locate store with ID=__StoreID__\\quot\\)//crlf////tab////tab////tab//driverClose(drvStore)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//strResult=\\quot\\StoreID=__StoreID__\\quot\\//crlf////tab////tab//strResult=strResult \\plus\\ \\quot\\\\amp\\StoreCode=\\quot\\\\plus\\driverGetFieldAbsolute(drvStore\\comma\\\\quot\\Code\\quot\\\\comma\\intRecord)//crlf////tab////tab//strResult=strResult \\plus\\ \\quot\\\\amp\\StoreDir=\\quot\\\\plus\\addDirSlash(driverGetFieldAbsolute(drvStore\\comma\\\\quot\\Store_Directory\\quot\\\\comma\\intRecord))//crlf////tab////tab//strResult=strResult \\plus\\ \\quot\\\\amp\\PosDir=\\quot\\\\plus\\addDirSlash(driverGetFieldAbsolute(drvStore\\comma\\\\quot\\POS_Directory\\quot\\\\comma\\intRecord))//crlf////crlf////tab////tab//driverClose(drvStore)//crlf////tab////tab//scriptSetResult(strResult)//crlf////tab//\\quot\\;>//crlf//</conditional>^
ID=debug_console|X=945|Y=539|W=559|H=153|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=true|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=380400|X=10|Y=3|W=921|H=38|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<form name=\\quot\\test_import\\quot\\>//crlf////tab//<table class=\\quot\\form\\quot\\>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>//tab//Store</td>//crlf////tab////tab////tab//<td>//tab//<include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\\\comma\\ \\quot\\StoreID\\quot\\\\comma\\ \\quot\\__StoreID__\\quot\\\\comma\\ \\quot\\\\quot\\\\comma\\ \\quot\\\\quot\\\\comma\\ \\quot\\POS_Type=\\quot\\\\plus\\quote(\\quot\\onepos\\quot\\));></td>//crlf////tab////tab////tab//<td>Import</td>//crlf////tab////tab////tab//<td>//crlf////tab////tab////tab////tab//<select name=\\quot\\Import\\quot\\>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\all\\quot\\>All</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\all_labor\\quot\\>All Labor</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\all_inventory\\quot\\>All Inventory</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\\\quot\\>---------------</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\job_codes\\quot\\>Job Codes</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\employees\\quot\\>Employees</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\timeclock\\quot\\>Timeclock</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\\\quot\\>---------------</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\departments\\quot\\>Departments</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\categories\\quot\\>Categories</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\menuitems\\quot\\>Menu Items</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\\\quot\\>---------------</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\comps\\quot\\>Comps</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\discounts\\quot\\>Discounts</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\tenders\\quot\\>Tenders</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\taxes\\quot\\>Taxes</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\\\quot\\>---------------</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\check_headers\\quot\\>Check Headers</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\check_details\\quot\\>Check Details</option>//crlf////tab////tab////tab////tab//</select>//crlf////tab////tab////tab//</td>//crlf////tab////tab////tab//<td>Date</td>//crlf////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ name=\\quot\\date\\quot\\ value=\\quot\\{@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}\\quot\\ control=\\quot\\date\\quot\\ style=\\quot\\width:100px\\quot\\>//crlf////tab////tab////tab//<td><input type=\\quot\\button\\quot\\ value=\\quot\\Import\\quot\\ onClick=\\quot\\testImport()\\quot\\></td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf//</form>^
ID=onepos_comps|X=11|Y=63|W=860|H=550|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\import\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Importing comps.  Store=__StoreCode__ Dir=__StoreDir__ PosDir=__PosDir__\\quot\\)//crlf////crlf////tab////tab//strStoreCode=\\quot\\__StoreCode__\\quot\\//crlf////tab////tab//strStoreID=\\quot\\__StoreID__\\quot\\//crlf////crlf////tab////tab//strSrcFilename=\\quot\\__PosDir__Comps.csv\\quot\\//crlf////tab////tab//strDestFilename=\\quot\\__StoreDir__comp.dbf\\quot\\//crlf////crlf////tab////tab////if the timestamp of the destination is later than the source\\comma\\ then exit//crlf////tab////tab//if(startsWith(\\quot\\__overwrite__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab//if (fileExists(strDestFilename))//crlf////tab////tab////tab////tab//if(dateNumber(fileModified(strDestFilename\\plus\\\\quot\\.dbf\\quot\\))>dateNumber(fileModified(strSrcFilename)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\skipping import of \\quot\\\\plus\\strDestFilename\\plus\\\\quot\\.dbf because the file is already up to date.\\quot\\)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the files//crlf////tab////tab//driverOpen(POS_OnePos_Comps\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strSrcFilename\\plus\\\\quot\\{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(POS_Generic_POSIDs_DBase\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strDestFilename)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////merge the files//crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{Number{{pipe{{Name\\quot\\//crlf////tab////tab//arAlias=\\quot\\Number=ID\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\Number\\quot\\//crlf////tab////tab//driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\Importing comps complete.\\quot\\)//crlf////tab//\\quot\\;>//crlf//</conditional>//crlf//^
ID=notes|X=945|Y=32|W=564|H=507|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|
</widget><widget name="BackOffice Setup" group="Back-Office" category="" description="" type="Container" Mobile="" Processing=0 metadata="" IncludeInViewer="true" PublicName="Stores" modified="09-19-2012 23:19:02" modifiedby="Keith-Dell2" TaskEnabled= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskWindowForExecution=>
Preferences|toolboxx=1050|toolboxy=176|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=BackOffice Setup.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=484763|X=6|Y=10|W=767|H=23|AutoHeight=true|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<div style=\\quot\\border:none; border-bottom:solid 1px \\pound\\c9c9c9\\quot\\>//crlf////tab//<table class=\\apos\\tabdialog\\apos\\>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\stores\\apos\\)\\quot\\>Stores</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\store_groups\\apos\\)\\quot\\>Store Groups</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\time_periods\\apos\\)\\quot\\>Time Periods</span></td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf//</div>^
ID=stores|X=6|Y=33|W=1046|H=1683|AutoHeight=true|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=484763|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<constant name:__Client__; value:{externalipaddress}>//crlf//<include type:expression; expression:htmlConstant(\\quot\\WidgetContainerItemID\\quot\\\\comma\\\\quot\\__WidgetContainerItemID__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////crlf//<constant name:__driverID__; value:\\quot\\Aspect_BackOffice_Store\\quot\\>//crlf//<constant name:__DriverName__; value:\\quot\\Aspect Back-Office Store\\quot\\>//crlf//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=//DocumentID//\\amp\\Widget=//Widget//\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\quot\\>//crlf//<constant name:__filterArgs__; value:\\quot\\\\quot\\>//crlf////crlf//<include type:expression; expression:\\quot\\htmlConstant(\\apos\\FilterStoreCategory\\apos\\\\comma\\\\apos\\__FilterStoreCategory__\\apos\\\\comma\\\\apos\\0\\apos\\)\\quot\\>//crlf////crlf//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=//DocumentID//_//Widget//\\amp\\DisplayName=__DisplayName__\\amp\\debug=false\\quot\\;>//crlf////crlf//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf//<!-- Overlay used to edit a record.  It is prepped and hidden initially.  When a record is edited\\comma\\//crlf////tab//the div is made visible and the fields are filled in using javascript.  -->//crlf//<constant name:__field_width1__; value:\\quot\\400px\\quot\\>//crlf//<constant name:__dialog_height__; value:\\quot\\400px\\quot\\>//crlf//<constant name:__tab_height__; value:\\quot\\350px\\quot\\>//crlf////crlf//<div ID=\\quot\\__WidgetID__EditOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\width:500px; height:__dialog_height__; display:none;\\quot\\>//crlf////crlf////tab//<form name=\\quot\\__WidgetID__Edit\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////crlf////tab////tab//<div style=\\quot\\border:none; border-bottom:solid 1px \\pound\\c9c9c9; width:100\\percent\\\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\tabdialog\\apos\\>//crlf////tab////tab////tab//  <tr>//crlf////tab////tab////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\pos\\apos\\)\\quot\\>POS</a></td>//crlf////tab////tab////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\payroll\\apos\\)\\quot\\>Payroll Settings</a></td>//crlf////tab////tab////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\notes\\apos\\)\\quot\\>Notes</a></td>//crlf////tab////tab////tab//  </tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div ID=\\quot\\pos\\quot\\ style=\\quot\\height:__tab_height__\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Store Name</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_Store_Name\\apos\\ value=\\apos\\\\apos\\ style=\\quot\\width:__field_width1__\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Category</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_Category1\\apos\\ value=\\apos\\\\apos\\ style=\\quot\\width:__field_width1__\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Code</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_Code\\apos\\ value=\\apos\\\\apos\\ style=\\quot\\width:__field_width1__\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Point Of Sale</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_POS_Names\\comma\\\\quot\\field_POS_Type\\quot\\\\comma\\\\quot\\__field_POS_Type__\\quot\\\\comma\\\\quot\\style=\\quot\\\\plus\\quote(\\quot\\width:__field_width1__\\quot\\))></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Store Directory</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_Default_Store_Directory\\apos\\ value=\\apos\\\\apos\\ style=\\quot\\width:__field_width1__\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>POS Directory</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_POS_Directory\\apos\\ value=\\apos\\\\apos\\ style=\\quot\\width:__field_width1__\\quot\\ {@htmlTooltip(\\quot\\__TooltipPosDir__\\quot\\)}></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td valign=\\apos\\top\\apos\\ style=\\quot\\vertical-align:top\\quot\\>Store Group</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Store_Group_By_ID\\comma\\\\quot\\field_Store_Group\\quot\\\\comma\\\\quot\\__field_Store_Group__\\quot\\\\comma\\\\quot\\style=\\apos\\width:__field_width1__; height:80px;\\apos\\ multiple=\\apos\\multiple\\apos\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td colspan=\\apos\\2\\apos\\>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_Enable_POS_Import\\apos\\ <!include type:expression; expression:\\quot\\if(__Enable_POS_Import__\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>> Enable POS Import//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_Enable_POS_Import\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_Create_Aspect6_Import_Files\\apos\\ <!include type:expression; expression:\\quot\\if(__Create_Aspect6_Import_Files__\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>> Create Aspect (Version 6) import files//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_Create_Aspect6_Import_Files\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Synchronize with the POS for the last</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_Synch_Data_Days\\apos\\ value=\\apos\\\\apos\\ style=\\quot\\width:50px\\quot\\></td>//crlf////tab////tab////tab////tab////tab//<td>days</td>//tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Synchronize timeclock entries for the last</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_Synch_Timeclock_Days\\apos\\ value=\\apos\\\\apos\\ style=\\quot\\width:50px\\quot\\></td>//crlf////tab////tab////tab////tab////tab//<td>days</td>//tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div ID=\\quot\\payroll\\quot\\ style=\\quot\\height:__tab_height__\\quot\\>//crlf////tab////tab////tab//<table class=\\quot\\form\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Payroll week starts on</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_Common_Day_Of_Week\\comma\\\\quot\\field_PR_Week_Start_Day\\quot\\\\comma\\\\quot\\__field_PR_Week_Start_Day__\\quot\\\\comma\\\\quot\\\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Payroll period starts on</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_PR_Period_Start_Date\\apos\\ value=\\apos\\__PR_Period_Start_Date__\\apos\\ size=\\apos\\15\\apos\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ control=\\quot\\date\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Payroll frequency</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Frequency\\comma\\\\quot\\field_PR_Frequency\\quot\\\\comma\\\\quot\\__field_PR_Frequency__\\quot\\\\comma\\\\quot\\\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Calculate overtime after</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Over_40\\comma\\\\quot\\field_PR_40Hours\\quot\\\\comma\\\\quot\\__field_PR_40Hours__\\quot\\\\comma\\\\quot\\\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Minimum Wage</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_PR_Minimum_Wage\\apos\\ value=\\apos\\__PR_Minimum_Wage__\\apos\\ size=\\apos\\15\\apos\\ datatype=\\quot\\number\\quot\\ pattern=\\quot\\\\pound\\.\\pound\\\\pound\\\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Rate for hours over 8 on a single day</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Overtime_Rate\\comma\\\\quot\\field_PR_Over_8_In_Day\\quot\\\\comma\\\\quot\\__field_PR_Over_8_In_Day__\\quot\\\\comma\\\\quot\\\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Rate for hours over 12 on a single day</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Overtime_Rate\\comma\\\\quot\\field_PR_Over_12_In_Day\\quot\\\\comma\\\\quot\\__field_PR_Over_12_In_Day__\\quot\\\\comma\\\\quot\\\\quot\\)></td>//crlf////crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Rate for first 8 hours on the 7th consecutive day</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Overtime_Rate\\comma\\\\quot\\field_PR_First8_7th_Day\\quot\\\\comma\\\\quot\\__field_PR_First8_7th_Day__\\quot\\\\comma\\\\quot\\\\quot\\)></td>//crlf////crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Rate for hours over 8 on the 7th consecutive day</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Overtime_Rate\\comma\\\\quot\\field_PR_Over8_7th_Day\\quot\\\\comma\\\\quot\\__field_PR_Over8_7th_Day__\\quot\\\\comma\\\\quot\\\\quot\\)></td>//crlf////crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab//<table class=\\quot\\form\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_PR_Use_Tip_Credit\\apos\\ <!include type:expression; expression:\\quot\\if(__PR_Use_Tip_Credit__\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>>//crlf////tab////tab////tab////tab////tab////tab//Calculate tip credit//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_PR_Use_Tip_Credit\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_PR_Use_Avg_Reg_Rate\\apos\\ <!include type:expression; expression:\\quot\\if(__PR_Use_Avg_Reg_Rate__\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>>//crlf////tab////tab////tab////tab////tab////tab//Use average regular rate to calculate overtime rate//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_PR_Use_Avg_Reg_Rate\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_PR_Round_Clock_Times\\apos\\ <!include type:expression; expression:\\quot\\if(__PR_Round_Clock_Times__\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>>//crlf////tab////tab////tab////tab////tab////tab//Round clock in/out times to the nearest minute when calculating hours//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_PR_Round_Clock_Times\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_PR_No_Overtime_Calc\\apos\\ <!include type:expression; expression:\\quot\\if(__PR_No_Overtime_Calc__\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>>//crlf////tab////tab////tab////tab////tab////tab//Do not calculate overtime hours and pay//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_PR_No_Overtime_Calc\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div ID=\\quot\\notes\\quot\\ style=\\quot\\height:__tab_height__\\quot\\>//crlf////tab////tab////tab//<textarea name=\\apos\\field_Notes\\apos\\ style=\\quot\\width:500px; height:320px\\quot\\></textarea></td>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<!-- Store directory.  Copied from default via javascript when the form is submitted -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\field_store_directory\\quot\\ value=\\quot\\\\quot\\>//crlf////tab////tab////crlf////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitStoreRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Edit\\apos\\);\\quot\\>//crlf////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__EditOverlay\\apos\\);\\quot\\>//crlf////crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\putRecord\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\append\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab//</form>//crlf//</div>//crlf////crlf//<!-- Overlay used to delete a record.  It is prepped and hidden initially.  When a record is deleted\\comma\\//crlf////tab//the div is made visible and the description and expression are filled in using javascript.  -->//crlf//<div ID=\\quot\\__WidgetID__DeleteOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\width:300px; height:70px; display:none;\\quot\\>//crlf////tab//<form name=\\quot\\__WidgetID__Delete\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////tab////tab//Delete this store?<br><br>//crlf////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitStoreRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Delete\\apos\\);\\quot\\>//crlf////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__DeleteOverlay\\apos\\);\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\deleteRecord\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab//</form>//crlf//</div>//crlf////crlf//<br>//crlf//<input type=\\apos\\button\\apos\\ value=\\apos\\Add a new store\\apos\\ onClick=\\quot\\javascript:editRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\new\\apos\\\\comma\\\\apos\\__driverID__\\apos\\);\\quot\\><br>//crlf////crlf//<!-- Filter -->//crlf//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab//<!-- Speed filters go here -->//crlf////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Category <!include type:expression; expression:\\quot\\htmlSelect(\\apos\\Aspect_BackOffice_Store_Categories\\apos\\\\comma\\ \\apos\\FilterStoreCategory\\apos\\\\comma\\ \\apos\\__FilterStoreCategory__\\apos\\\\comma\\\\apos\\onchange=refreshDisplay(\\apos\\\\plus\\quote(\\apos\\__WidgetID__\\apos\\)\\plus\\\\apos\\\\comma\\\\apos\\\\plus\\quote(\\apos\\Filter\\apos\\\\plus\\\\apos\\__WidgetID__\\apos\\)\\plus\\\\apos\\)\\apos\\\\comma\\ \\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\></td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////tab//</div>//crlf////crlf////tab//<!--//tab//Custom fields go here. -->//crlf////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab//</div>//crlf////tab////crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=//DocumentID//\\amp\\ParentWidget=//Widget//\\quot\\;>//crlf////tab////crlf////tab//<!-- Preserve arguments from parent page -->//crlf////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\hiddenparam1\\apos\\ value=\\apos\\__hiddenparam1__\\apos\\>//crlf//</form>//crlf////crlf//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf//<!include type:driver;//crlf////tab//driver: __driverID__;//crlf////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab//params: \\quot\\\\quot\\;//crlf////tab//_fields: \\quot\\Code\\comma\\Store_Name_With_Edit_Hyperlink\\comma\\POS_Type\\comma\\Store_Directory\\comma\\POS_Directory\\comma\\Enable_POS_Import\\comma\\_DeleteButton\\quot\\;//crlf////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab//filter: \\quot\\((\\apos\\__FilterStoreCategory__\\apos\\=\\apos\\0\\apos\\) or (Category1=\\apos\\__FilterStoreCategory__\\apos\\))\\quot\\;//crlf////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab//paging: \\quot\\false\\quot\\;//crlf////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab//debug: \\quot\\false\\quot\\;//crlf//>//crlf////crlf//<!-- Initialize any custom controls -->//crlf//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf//<constant name:__TooltipPosDir__; value:\\quot\\The directory containing your POS export files.  This may be a networked//crlf////tab// drive (e.g. {{backslash{{{{backslash{{{{backslash{{{{backslash{{mycomputer{{backslash{{{{backslash{{posdir).\\quot\\>//crlf////crlf//<div style=\\quot\\height:300px\\quot\\></div>//crlf//^
ID=store_groups|X=6|Y=33|W=759|H=571|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=484763|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<constant name:__Client__; value:{externalipaddress}>//crlf//<include type:expression; expression:htmlConstant(\\quot\\WidgetContainerItemID\\quot\\\\comma\\\\quot\\__WidgetContainerItemID__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////crlf//<constant name:__driverID__; value:\\quot\\Aspect_BackOffice_Store_Group\\quot\\>//crlf//<constant name:__DriverName__; value:\\quot\\Aspect Back-Office Store Group\\quot\\>//crlf////crlf//<!----------------------------------------------------------------------------------------//crlf//NOTE:  getCachedWidget needs to be replaced with getContainerWidgetItem when this output is used in a container //crlf//------------------------------------------------------------------------------------------>//crlf//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=//DocumentID//\\amp\\Widget=//Widget//\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\quot\\>//crlf////crlf//<constant name:__filterArgs__; value:\\quot\\\\quot\\>//crlf//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=//DocumentID//_//Widget//\\amp\\DisplayName=__DisplayName__\\amp\\debug=false\\quot\\;>//crlf////crlf//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf//<!-- Overlay used to edit a record.  It is prepped and hidden initially.  When a record is edited\\comma\\//crlf////tab//the div is made visible and the fields are filled in using javascript.  -->//crlf//<div ID=\\quot\\__WidgetID__EditOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\height:180px; width:370px; display:none;\\quot\\>//crlf////tab//<form name=\\quot\\__WidgetID__Edit\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td style=\\quot\\width:40px\\quot\\>Name</td>//crlf////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_Name\\apos\\ value=\\apos\\__$Name$__\\apos\\ style=\\quot\\width:300px\\quot\\></td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td colspan=\\apos\\2\\apos\\>Description</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td colspan=\\apos\\2\\apos\\><textarea name=\\apos\\field_Description\\apos\\ rows=\\apos\\5\\apos\\ style=\\quot\\width:345px\\quot\\>__$Description$__</textarea></td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////tab////tab//<br>//crlf////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitStoreGroup(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Edit\\apos\\);\\quot\\>//crlf////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__EditOverlay\\apos\\);\\quot\\>//crlf////tab////tab////crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\putRecord\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\append\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab//</form>//crlf//</div>//crlf////crlf//<!-- Overlay used to delete a record.  It is prepped and hidden initially.  When a record is deleted\\comma\\//crlf////tab//the div is made visible and the description and expression are filled in using javascript.  -->//crlf//<div ID=\\quot\\__WidgetID__DeleteOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\width:300px; height:70px; display:none;\\quot\\>//crlf////tab//<form name=\\quot\\__WidgetID__Delete\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////tab////tab//Delete this group?<br><br>//crlf////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Delete\\apos\\);\\quot\\>//crlf////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__DeleteOverlay\\apos\\);\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\deleteRecord\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab//</form>//crlf//</div>//crlf////crlf//<br>//crlf//<input type=\\apos\\button\\apos\\ value=\\apos\\Add a new store group\\apos\\ onClick=\\quot\\javascript:editRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\new\\apos\\\\comma\\\\apos\\__driverID__\\apos\\);\\quot\\><br>//crlf////crlf//<!--//crlf//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\url\\quot\\ value=\\quot\\__ReloadURL__\\quot\\>//crlf//</form>//crlf//-->//crlf////crlf//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf//<!include type:driver;//crlf////tab//driver: __driverID__;//crlf////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab//params: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\Name_With_Edit_Hyperlink\\comma\\Description\\comma\\_DeleteButton\\quot\\;//crlf////tab//sort: \\quot\\ID\\quot\\;//crlf////tab//filter: \\quot\\true\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//paging: \\quot\\false\\quot\\;//crlf////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab//debug: \\quot\\false\\quot\\;//crlf//>//crlf////crlf//<!-- Initialize any custom controls -->//crlf//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf// //crlf//^
ID=time_periods|X=6|Y=33|W=759|H=571|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=484763|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<!--servertimer=false-->//crlf////crlf//<constant name:__driverID__; value:\\quot\\Aspect_BackOffice_Time_Period\\quot\\>//crlf//<constant name:__DriverName__; value:\\quot\\Aspect BackOffice Time Period\\quot\\>//crlf//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getCachedWidget\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Time Periods\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf//<constant name:__filterArgs__; value:\\quot\\$FilterArgs$\\quot\\>//crlf//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////crlf//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf//<!-- Overlay used to edit a record.  It is prepped and hidden initially.  When a record is edited\\comma\\//crlf////tab//the div is made visible and the fields are filled in using javascript.  -->//crlf//<div ID=\\quot\\__WidgetID__EditOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\height:150px; width:300px; display:none;\\quot\\>//crlf////crlf////tab//<form name=\\quot\\__WidgetID__Edit\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////crlf////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab//<td colspan=\\apos\\3\\apos\\><input type=\\apos\\text\\apos\\ name=\\apos\\field_Name\\apos\\ value=\\apos\\__$Name$__\\apos\\ style=\\quot\\width:200px\\quot\\></td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Time Start</td>//crlf////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_Time_Start\\apos\\ value=\\apos\\__$Time_Start$__\\apos\\ style=\\quot\\width:60px\\quot\\></td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Time End</td>//crlf////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_Time_End\\apos\\ value=\\apos\\__$Time_End$__\\apos\\ style=\\quot\\width:60px\\quot\\></td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////tab////tab//<br>//crlf////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Edit\\apos\\);\\quot\\>//crlf////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__EditOverlay\\apos\\);\\quot\\>//crlf////tab////tab////crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\putRecord\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\append\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab//</form>//crlf//</div>//crlf////crlf//<!-- Overlay used to delete a record.  It is prepped and hidden initially.  When a record is deleted\\comma\\//crlf////tab//the div is made visible and the description and expression are filled in using javascript.  -->//crlf//<div ID=\\quot\\__WidgetID__DeleteOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\width:300px; height:70px; display:none;\\quot\\>//crlf////tab//<form name=\\quot\\__WidgetID__Delete\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////tab////tab//Delete this time period?<br><br>//crlf////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Delete\\apos\\);\\quot\\>//crlf////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__DeleteOverlay\\apos\\);\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\deleteRecord\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab//</form>//crlf//</div>//crlf////crlf//<br>//crlf//<input type=\\apos\\button\\apos\\ value=\\apos\\Add a new time period\\apos\\ onClick=\\quot\\javascript:editRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\new\\apos\\\\comma\\\\apos\\__driverID__\\apos\\);\\quot\\><br>//crlf////crlf//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\url\\quot\\ value=\\quot\\__ReloadURL__\\quot\\>//crlf//</form>//crlf////crlf//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf//<!include type:driver;//crlf////tab//driver: __driverID__;//crlf////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab//params: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\Name_With_Edit_Hyperlink\\comma\\Time_Start\\comma\\Time_End\\comma\\_DeleteButton\\quot\\;//crlf////tab//sort: \\quot\\Sort\\quot\\;//crlf////tab//filter: \\quot\\true\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//paging: \\quot\\false\\quot\\;//crlf////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab//debug: \\quot\\false\\quot\\;//crlf//>//crlf////crlf//<!-- Initialize any custom controls -->//crlf//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf// //crlf//^
ID=102082|X=1062|Y=7|W=150|H=20|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table class=\\apos\\tabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\752507\\apos\\)\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\162053\\apos\\)\\quot\\>Aspect</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\682872\\apos\\)\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=752507|X=1062|Y=29|W=662|H=480|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=102082|AttachLeft=|AlignLeft=102082|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=/*************************************************************************//crlf//*************************************************************************///crlf//function submitStoreRecord(strID\\comma\\strFormName) //crlf//{//crlf////tab////When the form is initialized\\comma\\ the default store directory is set to the value of the //crlf////tab////store directory if it is valid.  Otherwise it is set to the default.  This is done using//crlf////tab////a calculated field in the store structure.//crlf////tab//var e=document.forms[strFormName].field_store_directory;//crlf////tab//if(e) e.value=document.forms[strFormName].field_Default_Store_Directory.value;//crlf////tab////crlf////tab////submit the record//crlf////tab//submitRecord(strID\\comma\\strFormName);//crlf////tab////crlf////tab////make sure necessary packages are enabled/disabled//crlf////tab//strUrl=\\quot\\https://__server__/?Network=aspect_BackOffice\\amp\\ID=execScript\\amp\\ScriptID=Aspect_BackOffice_enablePOSPackages\\quot\\;//crlf////tab//asynchInclude(null\\comma\\strUrl);//crlf//};//crlf////crlf///*************************************************************************//crlf//Submits a store group record and refreshes the store list so new groups appear when //crlf//editing a store record.//crlf//*************************************************************************///crlf//function submitStoreGroup(strID\\comma\\strFormName)//crlf//{//crlf////tab////submit the record//crlf////tab//submitRecord(strID\\comma\\strFormName);//crlf////tab////crlf////tab////Refresh the store list so new store groups appear in the select input//crlf////tab//loadContent(\\quot\\stores\\quot\\);//crlf//};//crlf//^
ID=162053|X=1062|Y=29|W=662|H=480|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=102082|AttachLeft=|AlignLeft=102082|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=682872|X=1062|Y=29|W=663|H=481|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=102082|AttachLeft=|AlignLeft=102082|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=Notes^
ID=debug_console|X=1062|Y=507|W=654|H=174|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|
</widget><widget name="Job Codes (Horz Consolidate)" group="Reports_Beta" category="Labor" description="This is a test of a horizontally consolidated driver.  See the notes at the top about what needs to be done to handle horizontally consolidated drivers." type="Simple" Processing=0 metadata="" IncludeInViewer="false" PublicName="Job Codes (Horz Consolidate)" modified="02-11-2012 22:12:38" modifiedby="Keith-Dell2" TaskEnabled= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskWindowForExecution=>
<!----------------------------------------------------------------------------------------------------------------------------
	For this consolidated driver to work, the following things need to be addressed:
	
	1.	The fields available in the filter dialog must come from the system driver instead of from a structure since
		the structure is created on the fly from the embedded drivers.  A unique field is created for each field
		embedded from each driver (e.g. Store1 Job Name, Store2 Job Name, etc.  Instead of showing all of the unique
		fields, it might be good to show only one field and then translate that to display all the individual fields.
		For example, selecting Job Name in the display would cause Store1 Job Name, Store2 Job Name, etc. to be
		displayed.  Otherwise, the displays will have to be constantly updated when different stores are selected.
		
	2.	Another list of fields needs to be created for sorting the display
	
	3.	A way of summing fields will need to be provided.  For example:
		Name 		| Store1 | Store2 | Total
		Net Sales	| 100	| 200	| 300
		
---------------------------------------------------------------------------------------------------------------------------->

<!-- Job Codes Report Table -->
<!--servertimer=false-->

<conditional expression:false>
	<state>
		============State============<br>
		Version 06-01-2011-01
		<include type:script; commands:"
			strResult=""
			cStore=getElementCount("__SelectedStores__","|")
			Cntr=0
			while (Cntr<cStore) 
				str=getElement("__SelectedStores__",Cntr,"|")
				strFilename=addDirSlash(str)+"jobdef.dbf"
				if (fileExists(strFilename))
					strResult=strResult + fileModified(strFilename)
				endif
				Cntr=Cntr + 1
			endwhile
			scriptSetResult(strResult)
		";>

		__SelectedStores__
		__FilterDate1__
		__FilterDate2__
		__DisplayName__
		__DisplayOptions__

		____DriverName__NextPage__
		____DriverName__PrevPage__
		____DriverName__FirstPage__
		____DriverName__LastPage__
		____DriverName__startrecord__
		============State============<br>
	</state>
</conditional>

<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->
<include type:expression; expression:htmlConstant("consDriverName","__","drvCons"+getSalt(8))>

<constant name:__driverID__; value:"POS_Generic_JobCode_DBase">
<constant name:__DriverName__; value:"POS Generic Job Code DBase">
<constant name:__widgeturl__; value:"/?Network=GreenLight&ID=getCachedWidget&DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Job Codes (Horz Consolidate)&WidgetID=__WidgetID__&Client=__Client__">
<constant name:__filterArgs__; value:"SelectedStores=__SelectedStores__">
<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Header Script"; params:"remoteip=__RemoteIP__&debug=false&DriverName=__DriverName__"; text:true;>
<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Initialization Script"; text:true; params:"Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Job Codes (Horz Consolidate)&DisplayName=__DisplayName__&debug=false";>

<h1>Job Codes</h1>
<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->
<div ID="__WidgetID__DisableContent" class="disable_content" style="display:none;"></div>

<!-- Filter -->
<form name="Filter__WidgetID__" action="https://__Server__/" method="post" style="z-index:0">

	<!-- Speed filters go here -->
	<div ID="FilterSpeedFields__WidgetID__" style="margin:0px; padding:0px">
	</div>

	<!--	Custom fields go here. -->
	<div ID="FilterCustomFields__WidgetID__">
	</div>
	
	<!-- Must make this a !!include in order to pass the system driver to it so fields can be gotten from the driver instead of the structure since
		this is a horizontally consolidated driver.  The system driver is passed in the driver argument 
		Because a !!include is used, the DisplayReportName token must also be passed
	-->
	<!!include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Filter Dialog"; text:true; params:"ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY&ParentWidget=Job Codes (Horz Consolidate)&DisplayReportName=__DisplayReportName__&HorzDriverName=__consDriverName__&debug=false";>
	
	<!-- Preserve arguments from parent page -->
	<input type='hidden' name='SelectedStores' value='__SelectedStores__'>

</form>

<!-- Create consolidated driver for report -->
<!include type:script; commands:"
	strDest=getToken("homedir")+"temporary_files/"+getSalt(8)+".$$$"
	driverOpen(ConsDriverHorz,__consDriverName__,WRITE,true)

	cStore=getElementCount("__SelectedStores__","|")
	Cntr=0
	while (Cntr<cStore) 
		str=getElement("__SelectedStores__",Cntr,"|")
		sStoreName=lookup("Aspect_BackOffice_Store_Name_By_Directory",replaceSubstring(str,"\","/"))
		strFilename=addDirSlash(str)+"jobdef.dbf"
		if (fileExists(strFilename))
			driverOpen(POS_Generic_JobCode_DBase,drvDbf+Cntr,READ,true,"filename="+strFilename+"|Description="+sStoreName)
			driverSetFilter(drvDbf+Cntr,"true",true)
			driverConsolidate(__consDriverName__,drvDbf+Cntr,"","","true","Number")
		endif
		Cntr=Cntr + 1
	endwhile
	driverSetFilter(__consDriverName__,"true",true)
">

<!conditional expression:"(driverGetRecordCount('__consDriverName__',true)=0)">
	<p>No records to display</p>
</conditional>
<!conditional expression:"(driverGetRecordCount('__consDriverName__',true)>0)">
	<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->
	<div ID="Report_Content__WidgetID__" style="height:auto;">
		<!!include type:driver;
			driver: __driverID__;
			driver: "__consDriverName__";
			name: "__DriverName__";
			systemdriver: "true";
			_params: "filename={@addDirSlash("__SelectedStores__")}jobdef.dbf";
			params: "";
			fields: "__FieldsSelected__";
			sort: "{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort1__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort2__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort3__";
			filter: "true";
			class: "<!include type:expression; expression:"if(boolean('__SubtotalsOnly__'),'subtotalonly','basic1')">";
			paging: "false";
			maxrecords: "-1";
			pageargs: "__DriverName__NextPage=____DriverName__NextPage__&__DriverName__PrevPage=____DriverName__PrevPage__&__DriverName__FirstPage=____DriverName__FirstPage__&__DriverName__LastPage=____DriverName__LastPage__";
			startrecord: "____DriverName__startrecord__";
			url: "javascript:reloadWidget('__WidgetID__','__reloadURL__&__filterArgs__')";
			details:"<!include type:expression; expression:"not(boolean('__SubtotalsOnly__'))">";
			subtotal1: "__subtotalargs1__";
			subtotal2: "__subtotalargs2__";
			subtotal3: "__subtotalargs3__";
			subtotal4: "__subtotalargs4__";
			tableborder: "true";
			tablestyle: "width:auto";
			tableheader: "true";
			chartType: "__ChartType__";
			chartWidth: "800";
			chartHeight: "300";
			chartLabels: "45";
			chartTitle: "Sales Mix";
			debug: "false";
		>
	</div>
</conditional>

<!-- Initialize any custom controls -->
<script language="Javascript">initializeTable("__WidgetID__");</script>

<!-- close the driver -->
<!!include type:script; commands:"
	driverClose(__consDriverName__);
">

__servertimerresults__
</widget><widget name="Check Header Report (Horz Consolidate)" group="Reports_Beta" category="Sales" description="" type="Simple" Processing=0 metadata="" IncludeInViewer="false" PublicName="Check Header Report (Horz Consolidate)" modified="02-11-2012 22:24:16" modifiedby="Keith-Dell2" TaskEnabled= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskWindowForExecution=>
<conditional expression:false>
	<state>
		{@now()}
		<include type:script; commands:"
			strResult=""
			cStore=getElementCount("__SelectedStores__","|")
			Cntr=0
			while (Cntr<cStore) 
				str=getElement("__SelectedStores__",Cntr,"|")
				dt1=parseTime("__FilterDate1__","MM-dd-yyyy")
				dt2=parseTime("__FilterDate2__","MM-dd-yyyy")
				while (dateNumber(dt1)<=dateNumber(dt2))
					strFilename=addDirSlash(str)+formatDate(dt1,"MM-dd-yyyy")+"_ckh.dbf"
					if (fileExists(strFilename))
						strResult=strResult + fileModified(strFilename)
					endif
					dt1=incrementTime(dt1,1)
				endwhile
				Cntr=Cntr + 1
			endwhile
			scriptSetResult(strResult)
		";>
		__SelectedStores__
		__FilterDate1__
		__FilterDate2__
		__DisplayName__
		__DisplayOptions__

		__Filter_Revenue_Center__
		__Filter_Store_Name__
		__FilterFromTime_Open__
		__FilterToTime_Open__
		__Filter_EmpOpen_Name__
		__Filter_EmpClose_Name__
	</state>
</conditional>

<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->
<include type:expression; expression:htmlConstant("consDriverName","__","drvCons"+getSalt(8))>

<!-- Check Header Report Table -->
<!--servertimer=false-->

<constant name:__driverID__; value:"POS_Generic_Check_Header_DBase">
<constant name:__DriverName__; value:"POS Generic Check Header DBase">
<constant name:__widgeturl__; value:"/?Network=GreenLight&ID=getCachedWidget&DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Check Header Report (Horz Consolidate)&WidgetID=__WidgetID__&Client=__Client__">
<constant name:__filterArgs__; value:"">
<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Header Script"; params:"remoteip=__RemoteIP__&debug=false&DriverName=__DriverName__"; text:true;>
<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Initialization Script"; text:true; params:"Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Check Header Report (Horz Consolidate)&DisplayName=__DisplayName__";>

<constant name:__FilterDate1__; value:{@if(startsWith("__FilterDate1__","__"),formatDate(parseTime("06042010","MMddyyyy"),"MM-dd-yyyy"),"__FilterDate1__")}>
<constant name:__FilterDate2__; value:{@if(startsWith("__FilterDate2__","__"),formatDate(parseTime("06042010","MMddyyyy"),"MM-dd-yyyy"),"__FilterDate2__")}>
<constant name:__FilterFromTime_Open__; value:{@initConstant("__FilterFromTime_Open__","__FilterDate1__"+" 00:00")}>
<constant name:__FilterToTime_Open__; value:{@initConstant("__FilterToTime_Open__","__FilterDate1__"+" 00:00")}>
<constant name:__FilterFromTime_Close__; value:{@initConstant("__FilterFromTime_Close__","__FilterDate1__"+" 00:00")}>
<constant name:__FilterToTime_Close__; value:{@initConstant("__FilterToTime_Close__","__FilterDate1__"+" 00:00")}>
<constant name:__Filter_Revenue_Center__; value:{@initConstant("__Filter_Revenue_Center__","all")}>
<constant name:__Filter_Store_Name__; value:{@initConstant("__Filter_Store_Name__","all")}>
<constant name:__Filter_EmpOpen_Name__; value:{@initConstant("__Filter_EmpOpen_Name__","all")}>
<constant name:__Filter_EmpClose_Name__; value:{@initConstant("__Filter_EmpClose_Name__","all")}>

<conditional expression:not(__NoTitle__)>
	<h1>Check Totals</h1>
</conditional>

<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->
<div ID="__WidgetID__DisableContent" class="disable_content" style="display:none;"></div>

<!-- Filter -->
<form name="Filter__WidgetID__" action="https://__Server__/" method="post" style="z-index:0">

	<!-- Speed filters go here -->
	<div ID="FilterSpeedFields__WidgetID__" style="margin:0px; padding:0px">
		<!--
		<table class='form'>
			<tr>
				<td>From</td>
				<td><input type='text' name='FilterDate1' value='__FilterDate1__' size='10' datatype="time" pattern="MM-dd-yyyy" control="date"></td>
				<td>To</td>
				<td><input type='text' name='FilterDate2' value='__FilterDate2__' size='10' datatype="time" pattern="MM-dd-yyyy" control="date"></td>
			</tr>
		</table>
		-->
	</div>

	<!-- Custom fields go here. -->
	<constant name:"__field_width1__"; value:"150px">
	<div ID="FilterCustomFields__WidgetID__">
		<table class='form'>
			<tr>
				<td>Revenue Center</td>
				<td colspan='3'><!!include type:expression; expression:"htmlSelect('POS_Generic_Check_Header_Filter_Revenue_Center','Filter_Revenue_Center','__Filter_Revenue_Center__','style='+quote('width:__field_width1__'),'','','__consDriverName__')"></td>
			</tr>
		</table>
	</div>
	
	<!!include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Filter Dialog"; text:true; params:"ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY&ParentWidget=Check Header Report (Horz Consolidate)&DisplayReportName=__DisplayReportName__&HorzDriverName=__consDriverName__&debug=false";>
	
	<!-- Preserve arguments from parent page -->
	<input type='hidden' name='SelectedStores' value='__SelectedStores__'>
	<input type='hidden' name='FilterDate1' value='__FilterDate1__'>
	<input type='hidden' name='FilterDate2' value='__FilterDate2__'>

</form>

<!-- Create consolidated driver for report -->
<!include type:script; commands:"
	strDest=getToken("homedir")+"temporary_files/"+getSalt(8)+".$$$"
	driverOpen(ConsDriverHorz,__consDriverName__,WRITE,true)
	cStore=getElementCount("__SelectedStores__","|")
	Cntr=0
	while (Cntr<cStore) 
		str=replaceSubstring(getElement("__SelectedStores__",Cntr,"|"),"\","/")
		drvConsVert=getSalt(8)
		sStoreName=lookup("Aspect_BackOffice_Store_Name_By_Directory",replaceSubstring(str,"\","/"))
		driverOpen(ConsDriverVert,drvConsVert,WRITE,true,"|Description="+sStoreName)
		dt1=parseTime("__FilterDate1__","MM-dd-yyyy")
		dt2=parseTime("__FilterDate2__","MM-dd-yyyy")
		while (dateNumber(dt1)<=dateNumber(dt2))
			strFilename=addDirSlash(str)+formatDate(dt1,"MM-dd-yyyy")+"_ckh.dbf"
			if (fileExists(strFilename))
				driverOpen(POS_Generic_Check_Header_DBase,drvDbf+"__FilterDate1__",READ,true,"filename="+strFilename)
				driverSetFilter(drvDbf+"__FilterDate1__","true",true)
				driverConsolidate(drvConsVert,drvDbf+"__FilterDate1__","","","")
			endif
			dt1=incrementTime(dt1,1)
		endwhile
		driverConsolidate(__consDriverName__,drvConsVert,"","","true","Date|Store_Name|Rev_Ctr_Name|CheckNumber|Hour_Open|Hour_Close")
		Cntr=Cntr + 1
	endwhile
	driverSetFilter(__consDriverName__,"true",true)
">

<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->
<div ID="Report_Content__WidgetID__" style="padding:0px; margin:0px">
	<!!include type:driver;
		_driver: __driverID__;
		driver: "__consDriverName__";
		name: "__DriverName__";
		systemdriver: "true";
		_params: "filename={@addDirSlash("__SelectedStores__")}__FilterDate1___ckh.dbf";
		params: "";
		_fields: "__ConsolidatedHorzDriver__Record,__FieldsSelected__";
		fields: "__FieldsSelected__";
		_sort: "__ConsolidatedHorzDriver__Record";
		sort: "{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort1__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort2__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort3__";
		filter: "true";
		_filter: "(('__Filter_Revenue_Center__'='all') or (Rev_Ctr_Name='__Filter_Revenue_Center__')) and
				 (('__Filter_Store_Name__'='all') or (Store_Name='__Filter_Store_Name__')) and
				 ((dateNumber(parseTime('__FilterFromTime_Open__','MM-dd-yyyy HH:mm'))=dateNumber(parseTime('__FilterToTime_Open__','MM-dd-yyyy HH:mm'))) or ((dateNumber(Time_Open)>=dateNumber(parseTime('__FilterFromTime_Open__','MM-dd-yyyy HH:mm'))) and (dateNumber(Time_Open)<=dateNumber(parseTime('__FilterToTime_Open__','MM-dd-yyyy HH:mm'))))) and
				 ((dateNumber(parseTime('__FilterFromTime_Close__','MM-dd-yyyy HH:mm'))=dateNumber(parseTime('__FilterToTime_Close__','MM-dd-yyyy HH:mm'))) or ((dateNumber(Time_Close)>=dateNumber(parseTime('__FilterFromTime_Close__','MM-dd-yyyy HH:mm'))) and (dateNumber(Time_Close)<=dateNumber(parseTime('__FilterToTime_Close__','MM-dd-yyyy HH:mm'))))) and
				 (('__Filter_EmpOpen_Name__'='all') or (Employee_Open_Name='__Filter_EmpOpen_Name__')) and
				 (('__Filter_EmpClose_Name__'='all') or (Employee_Close_Name='__Filter_EmpClose_Name__'))
				";
		class: "<!include type:expression; expression:"if(boolean('__SubtotalsOnly__'),'subtotalonly','basic1')">";
		paging: "false";
		maxrecords: "-1";
		pageargs: "__DriverName__NextPage=____DriverName__NextPage__&__DriverName__PrevPage=____DriverName__PrevPage__&__DriverName__FirstPage=____DriverName__FirstPage__&__DriverName__LastPage=____DriverName__LastPage__";
		startrecord: "____DriverName__startrecord__";
		url: "javascript:reloadWidget('__WidgetID__','__reloadURL__&__filterArgs__')";
		details:"__ShowDetails__";
		subtotal1: "__subtotalargs1__";
		subtotal2: "__subtotalargs2__";
		subtotal3: "__subtotalargs3__";
		subtotal4: "__subtotalargs4__";
		tableborder: "true";
		tablestyle: "width:auto";
		tableheader: "true";
		chartType: "__ChartType__";
		chartSeries: "__ChartSeries__";
		chartLabels: "45";
		chartWidth: "800";
		chartHeight: "250";
		debug: "false";
	>
</div>

<!-- Initialize any custom controls -->
<script language="Javascript">initializeTable("__WidgetID__");</script>

<!-- close the driver -->
<!!include type:script; commands:"
	driverClose(__consDriverName__);
">
 
</widget><widget name="Check Detail Report (Horz Consolidate)" group="Reports_Beta" category="Sales" description="" type="Simple" Processing=0 metadata="" IncludeInViewer="false" PublicName="Check Detail Report (Horz Consolidate)" modified="02-11-2012 22:22:55" modifiedby="Keith-Dell2" TaskEnabled= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskWindowForExecution=>
<!-- Check Detail Report Table -->
<!--servertimer=false-->
<conditional expression:false>
	<state>
		{@now()}
		<include type:script; commands:"
		";>
		__SelectedStores__ 
		__FilterDate1__ 
		__FilterDate2__
		__DisplayName__
		__DisplayOptions__
	</state>
</conditional>

<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->
<include type:expression; expression:htmlConstant("consDriverName","__","drvCons"+getSalt(8))>

<constant name:__driverID__; value:"POS_Generic_Check_Detail_DBase">
<constant name:__DriverName__; value:"POS Generic Check Detail DBase">
<constant name:__widgeturl__; value:"/?Network=GreenLight&ID=getCachedWidget&DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Check Detail Report (Horz Consolidate)&WidgetID=__WidgetID__&Client=__Client__">
<constant name:__filterArgs__; value:"">
<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Header Script"; params:"remoteip=__RemoteIP__&debug=false&DriverName=__DriverName__&Display=__Display__"; text:true;>
<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Initialization Script"; text:true; params:"Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Check Detail Report (Horz Consolidate)&DisplayName=__DisplayName__";>

<!include type:expression; expression:htmlConstant("FilterRecordType","__FilterRecordType__","all")>

<conditional expression:not(__NoTitle__)>
	<h1>Check Details</h1>
</conditional>

<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->
<div ID="__WidgetID__DisableContent" class="disable_content" style="display:none;"></div>

<!-- Filter -->
<form name="Filter__WidgetID__" action="https://__Server__/" method="post" style="z-index:0">

	<!-- Speed filters go here -->
	<div ID="FilterSpeedFields__WidgetID__" style="margin:0px; padding:0px">
		<table class='form'>
		</table>
	</div>

	<!-- Custom fields go here. -->
	<div ID="FilterCustomFields__WidgetID__">
		<table class='form'>
			<tr>
				<td>Transaction Type</td>
				<td colspan='3'><!!include type:expression; expression:"htmlSelect('POS_Generic_Check_Detail_Record_Types','FilterRecordType','__FilterRecordType__','save='+quote('aspect')+' style='+quote('width:150px'),'','','')"></td>
			</tr>
		</table>
	</div>
	
	<!!include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Filter Dialog"; text:true; params:"ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY&ParentWidget=Check Detail Report (Horz Consolidate)&DisplayReportName=__DisplayReportName__&HorzDriverName=__consDriverName__&debug=false";>
	
	<!-- Preserve arguments from parent page -->
	<input type='hidden' name='SelectedStores' value='__SelectedStores__'>
	<input type='hidden' name='FilterDate1' value='__FilterDate1__'>
	<input type='hidden' name='FilterDate2' value='__FilterDate2__'>

</form>

<!-- Create consolidated driver for report -->
<!include type:script; commands:"
	strDest=getToken("homedir")+"temporary_files/"+getSalt(8)+".$$$"
	driverOpen(ConsDriverHorz,__consDriverName__,WRITE,true)
	cStore=getElementCount("__SelectedStores__","|")
	Cntr=0
	while (Cntr<cStore) 
		str=getElement("__SelectedStores__",Cntr,"|")
		drvConsVert=getSalt(8)
		sStoreName=lookup("Aspect_BackOffice_Store_Name_By_Directory",replaceSubstring(str,"\","/"))
		driverOpen(ConsDriverVert,drvConsVert,WRITE,true,"|Description="+sStoreName)
		dt1=parseTime("__FilterDate1__","MM-dd-yyyy")
		dt2=parseTime("__FilterDate2__","MM-dd-yyyy")
		while (dateNumber(dt1)<=dateNumber(dt2))
			sDate=formatDate(dt1,"MM-dd-yyyy")
			strFilename=addDirSlash(str)+sDate+"_ckd.dbf"
			if (fileExists(strFilename))
				drvDbf="drvDbf"+Cntr+sDate
				driverOpen(POS_Generic_Check_Detail_DBase,drvDbf,READ,true,"filename="+strFilename)
				driverSetFilter(drvDbf,"true",true)
				driverConsolidate(drvConsVert,drvDbf,"","","")
			endif
			dt1=incrementTime(dt1,1)
		endwhile
		driverConsolidate(__consDriverName__,drvConsVert,"","","true","Store_Name|Time|CheckNumber|Rectype|Line|Hour|Section_Header_Hour|Menu_Item_Name")
		Cntr=Cntr + 1
	endwhile
	driverSetFilter(__consDriverName__,"true",true)
">

<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->
<div ID="Report_Content__WidgetID__" style="">
	<!conditional expression:"driverGetRecordCount(__consDriverName__)>0">
		<!!include type:driver;
			_driver: __driverID__;
			driver: "__consDriverName__";
			name: "__DriverName__";
			systemdriver: "true";
			params: "";
			fields: "__FieldsSelected__";
			sort: "{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort1__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort2__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort3__";
			filter: "if(('__FilterRecordType__'='all') or (RecType='__FilterRecordType__'),
						true,
					false)";
			class: "<!include type:expression; expression:"if(boolean('__SubtotalsOnly__'),'subtotalonly','basic1')">";
			paging: "false";
			maxrecords: "-1";
			pageargs: "__DriverName__NextPage=____DriverName__NextPage__&__DriverName__PrevPage=____DriverName__PrevPage__&__DriverName__FirstPage=____DriverName__FirstPage__&__DriverName__LastPage=____DriverName__LastPage__";
			startrecord: "____DriverName__startrecord__";
			url: "javascript:reloadWidget('__WidgetID__','__reloadURL__&__filterArgs__')";
			details:"<!include type:expression; expression:"not(boolean('__SubtotalsOnly__'))">";
			subtotal1: "__subtotalargs1__";
			subtotal2: "__subtotalargs2__";
			subtotal3: "__subtotalargs3__";
			subtotal4: "__subtotalargs4__";
			tableborder: "true";
			tablestyle: "width:auto";
			tableheader: "true";
			chartType: "__ChartType__";
			chartSeries: "__ChartSeries__";
			chartLabels: "45";
			chartWidth: "800";
			chartHeight: "250";
			debug: "true";
		>
	</conditional>
</div>

<!-- Initialize any custom controls -->
<script language="Javascript">initializeTable("__WidgetID__");</script>

<!-- close the driver -->
<!!include type:script; commands:"
	driverClose(__consDriverName__);
">

<div style="overflow:auto; height:500px; width:100%">
__servertimerresults__
</div>
<p></p>
<p></p>
<p></p>
 
</widget><widget name="Employee Record (Horz Consolidate)" group="Reports_Beta" category="Labor" description="" type="Simple" Processing=0 metadata="" IncludeInViewer="false" PublicName="Employee Record (Horz Consolidate)" modified="02-11-2012 22:10:53" modifiedby="Keith-Dell2" TaskEnabled= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskWindowForExecution=>
<!-- Employee Record Report Table - Horizontal Consolidation -->
<!--servertimer=false-->

<conditional expression:false>
	<state>
		============State============<br>
		Version 06-01-2011-01
		<include type:script; commands:"
			strResult=""
			cStore=getElementCount("__SelectedStores__","|")
			Cntr=0
			while (Cntr<cStore) 
				str=getElement("__SelectedStores__",Cntr,"|")
				strFilename=addDirSlash(str)+"employee.dbf"
				if (fileExists(strFilename))
					strResult=strResult+fileModified(strFilename)
				endif
				Cntr=Cntr + 1
			endwhile
			scriptSetResult(strResult)
		";>

		__SelectedStores__
		__FilterDate1__
		__FilterDate2__
		__DisplayName__
		__DisplayOptions__

		____DriverName__NextPage__
		____DriverName__PrevPage__
		____DriverName__FirstPage__
		____DriverName__LastPage__
		____DriverName__startrecord__
		<br>
		============State============<br>
	</state>
</conditional>

<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->
<include type:expression; expression:htmlConstant("consDriverName","__","drvCons"+getSalt(8))>

<constant name:__driverID__; value:"POS_Generic_Employee_DBase">
<constant name:__DriverName__; value:"POS Generic Employee DBase">
<constant name:__widgeturl__; value:"/?Network=GreenLight&ID=getCachedWidget&DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Employee Record (Horz Consolidate)&WidgetID=__WidgetID__&Client=__Client__">
<constant name:__filterArgs__; value:"SelectedStores=__SelectedStores__">
<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Header Script"; params:"remoteip=__RemoteIP__&debug=false&DriverName=__DriverName__"; text:true;>
<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Initialization Script"; text:true; params:"Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Employee Record (Horz Consolidate)&DisplayName=__DisplayName__&debug=false";>

<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->
<div ID="__WidgetID__DisableContent" class="disable_content" style="display:none;"></div>

<!-- Overlay used to edit a record.  It is prepped and hidden initially.  When a record is edited,
	the div is made visible and the fields are filled in using javascript.  -->
<div ID="__WidgetID__EditOverlay" class="dialog_overlay" style="height:370px; width:400px; display:none;">

	<form name="__WidgetID__Edit" action="https://__Server__/" method="post">

		<h2>#<span name='__EmpNum__'></span> <span name='__Last_Name__'></span>, <span name='__First_Name__'></span></h2>
		<hr>
		<br>
		
		<table class='form'>
			<tr>
				<td>Date Of Hire</td>
				<td colspan='2'><input type='text' name='field_DateOfHire' value='__$DateOfHire$__' size='13' control='date' datatype="time" pattern="MM-dd-yyyy"></td>
			</tr>
			<tr>
				<td>Terminated</td>
				<td><input type='text' name='field_DateOfTerm' value='__$DateOfTerm$__' size='13' control='date' datatype="time" pattern="MM-dd-yyyy"></td>
				<td>
					<input type='checkbox' name='field_Terminated' <!include type:expression; expression:"if(__Terminated__,'checked','')">>&nbsp;This employee is terminated
					<input type='hidden' name='checkbox_Terminated' value='false'>
				</td>
			</tr>
		</table>
		<br>
		
		<b>Job Codes & Rates</b><br>
		<table class="basic1">
			<tr>
				<th>Job Number</th>
				<th>Job Name</th>
				<th>Rate</th>
			</tr>
			<tr>
				<td><span name='__JobNum1__'></span></td>
				<td><span name='__Job_Name_1__'></span></td>
				<td align='right'><span name='__RegRate1__'></span></td>
			</tr>
			<tr>
				<td><span name='__JobNum2__'></span></td>
				<td><span name='__Job_Name_2__'></span></td>
				<td align='right'><span name='__RegRate2__'></span></td>
			</tr>
			<tr>
				<td><span name='__JobNum3__'></span></td>
				<td><span name='__Job_Name_3__'></span></td>
				<td align='right'><span name='__RegRate3__'></span></td>
			</tr>
			<tr>
				<td><span name='__JobNum4__'></span></td>
				<td><span name='__Job_Name_4__'></span></td>
				<td align='right'><span name='__RegRate4__'></span></td>
			</tr>
			<tr>
				<td><span name='__JobNum5__'></span></td>
				<td><span name='__Job_Name_5__'></span></td>
				<td align='right'><span name='__RegRate5__'></span></td>
			</tr>
			<tr>
				<td><span name='__JobNum6__'></span></td>
				<td><span name='__Job_Name_6__'></span></td>
				<td align='right'><span name='__RegRate6__'></span></td>
			</tr>
		</table>
		
		<br>
		<input type='checkbox' name='field_NoImport' <!include type:expression; expression:"if(__NoImport__,'checked','')">>&nbsp;Do not import timeclock records for this employee
		<input type='hidden' name='checkbox_NoImport' value='false'>
		<br><br>

		<input type="button" name="submit" value="Ok" onClick="submitRecord('__WidgetID__','__WidgetID__Edit');">
		<input type="button" name="cancel" value="Cancel" onClick="cancelRecord('__WidgetID__','__WidgetID__EditOverlay');">
		<input type="hidden" name="driverID" value="__driverID__">
		<!--	note: a hidden field named DriverParams is added by editRecord()  to pass the driver params (filename) when submitRecord() is called.
			The driver params are defined in the call to editRecord() in the edit hyperlink in the structure -->
		<input type="hidden" name="expression" value="false">
		<input type="hidden" name="ValuesURL" value="__valuesurl__"><!-- Note: The name valuesurl is used in the javascript function submitRecord -->
		<input type="hidden" name="server" value="__Server__">
		<input type="hidden" name="network" value="greenlight">
		<input type="hidden" name="ID" value="putRecord">
		<input type="hidden" name="append" value="true">
		<input type="hidden" name="ResultOK" value='__resulturl__'>
		<input type="hidden" name="debug" value="false">

		<!-- Preserve arguments from parent page -->
		<input type='hidden' name='SelectedStores' value='__SelectedStores__'>
	</form>
</div>

<!-- Overlay used to delete a record.  It is prepped and hidden initially.  When a record is deleted,
	the div is made visible and the description and expression are filled in using javascript.  -->
<div ID="__WidgetID__DeleteOverlay" class="dialog_overlay" style="height:70px; width:300px; display:none;">
	<form name="__WidgetID__Delete" action="https://__Server__/" method="post">
		Delete this record?<br><br>
		<input type="button" name="submit" value="Ok" onClick="submitRecord('__WidgetID__','__WidgetID__Delete');">
		<input type="button" name="cancel" value="Cancel" onClick="cancelRecord('__WidgetID__','__WidgetID__DeleteOverlay');">
		<input type="hidden" name="driverID" value="__driverID__">
		<input type="hidden" name="expression" value="false">
		<input type="hidden" name="ValuesURL" value="__valuesurl__"><!-- Note: The name valuesurl is used in the javascript function submitRecord -->
		<input type="hidden" name="server" value="__Server__">
		<input type="hidden" name="network" value="greenlight">
		<input type="hidden" name="ID" value="deleteRecord">
		<input type="hidden" name="ResultOK" value='__resulturl__'>
		<input type="hidden" name="debug" value="true">

		<!-- Preserve arguments from parent page -->
		<input type='hidden' name='SelectedStores' value='__SelectedStores__'>
	</form>
</div>

<!-- Filter -->
<form name="Filter__WidgetID__" action="https://__Server__/" method="post" style="z-index:0">

	<!-- Speed filters go here -->
	<div ID="FilterSpeedFields__WidgetID__" style="margin:0px; padding:0px">
	</div>

	<!-- Custom fields go here. -->
	<div ID="FilterCustomFields__WidgetID__">
	</div>
	
	<!!include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Filter Dialog"; text:true; params:"ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY&ParentWidget=Employee Record (Horz Consolidate)&DisplayReportName=__DisplayReportName__&HorzDriverName=__consDriverName__&debug=false";>
	
	<!-- Preserve arguments from parent page -->
	<input type='hidden' name='SelectedStores' value='__SelectedStores__'>

</form>

<!-- Create consolidated driver for report -->
<!include type:script; commands:"
	strDest=getToken("homedir")+"temporary_files/"+getSalt(8)+".$$$"
	driverOpen(ConsDriverHorz,__consDriverName__,WRITE,true)

	cStore=getElementCount("__SelectedStores__","|")
	Cntr=0
	while (Cntr<cStore) 
		str=getElement("__SelectedStores__",Cntr,"|")
		sStoreName=lookup("Aspect_BackOffice_Store_Name_By_Directory",replaceSubstring(str,"\","/"))
		strFilename=addDirSlash(str)+"employee.dbf"
		if (fileExists(strFilename))
			driverOpen(POS_Generic_Employee_DBase,drvDbf+Cntr,WRITE,true,"filename="+strFilename+"|Description="+sStoreName)
			driverSetFilter(drvDbf+Cntr,"true",true)
			driverConsolidate(__consDriverName__,drvDbf+Cntr,"","","true","EmpNum|POS_Number_Numeric")
		endif
		Cntr=Cntr + 1
	endwhile
	driverSetFilter(__consDriverName__,"true",true)
">

<!conditional expression:"(driverGetRecordCount('__consDriverName__',true)=0)">
	<p>No records to display</p>
</conditional>
<!conditional expression:"(driverGetRecordCount('__consDriverName__',true)>0)">
	<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->
	<div ID="Report_Content__WidgetID__">
		<!!include type:driver;
			driver: __driverID__;
			driver: "__consDriverName__";
			name: "__DriverName__";
			systemdriver: "true";
			_params: "filename={@addDirSlash("__SelectedStores__")}employee_def.dbf";
			params: "";
			fields: "__FieldsSelected__";
			sort: "{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort1__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort2__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort3__";
			filter: "true";
			class: "<!include type:expression; expression:"if(boolean('__SubtotalsOnly__'),'subtotalonly','basic1')">";
			paging: "false";
			maxrecords: "-1";
			pageargs: "__DriverName__NextPage=____DriverName__NextPage__&__DriverName__PrevPage=____DriverName__PrevPage__&__DriverName__FirstPage=____DriverName__FirstPage__&__DriverName__LastPage=____DriverName__LastPage__";
			startrecord: "____DriverName__startrecord__";
			url: "javascript:reloadWidget('__WidgetID__','__reloadURL__&__filterArgs__')";
			details:"<!include type:expression; expression:"not(boolean('__SubtotalsOnly__'))">";
			subtotal1: "__subtotalargs1__";
			subtotal2: "__subtotalargs2__";
			subtotal3: "__subtotalargs3__";
			subtotal4: "__subtotalargs4__";
			tableborder: "true";
			tablestyle: "width:auto";
			tableheader: "true";
			chartType: "__ChartType__";
			chartWidth: "800";
			chartHeight: "300";
			chartLabels: "45";
			chartTitle: "Sales Mix";
			debug: "false";
		>
	</div>
</conditional>

<!-- Initialize any custom controls -->
<script language="Javascript">initializeTable("__WidgetID__");</script>

<!-- close the driver -->
<!!include type:script; commands:"
	driverClose(__consDriverName__);
">


 
 
 
 
 
 
 
 
 
 
</widget><widget name="Timeclock (Horz Consolidate)" group="Reports_Beta" category="Labor" description="" type="Simple" Processing=0 metadata="" IncludeInViewer="false" PublicName="Timeclock (Horz Consolidate)" modified="02-11-2012 22:13:59" modifiedby="Keith-Dell2" TaskEnabled= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskWindowForExecution=>
<!-- Employee Timeclock (Horz Consolidate) Report Table -->
<!--servertimer=false-->

<conditional expression:false>
	<state>
		============State============<br>
		Version 06-01-2011-01
		{@now()}
		<include type:script; commands:"
			//add timestamp of store file in case payroll settings change
			strFilename=getToken("homedir")+"aspect_backoffice/store_list.dta"
			if (fileExists(strFilename))
				strResult=strResult+fileModified(strFilename)
			endif
			
			strResult=""
			cStore=getElementCount("__SelectedStores__","|")
			Cntr=0
			while (Cntr<cStore) 
				str=getElement("__SelectedStores__",Cntr,"|")
				//timestamp of employee file (in case a name changes)
				strFilename=addDirSlash(str)+"employee.dbf"
				if (fileExists(strFilename))
					strResult=strResult+fileModified(strFilename)
				endif
				
				//timestamp of job code file (in case a job code name changes)
				strFilename=addDirSlash(str)+"jobdef.dbf"
				if (fileExists(strFilename))
					strResult=strResult+fileModified(strFilename)
				endif
				
				dt1=parseTime("__FilterDate1__","MM-dd-yyyy")
				dt2=parseTime("__FilterDate2__","MM-dd-yyyy")
				while (dateNumber(dt1)<=dateNumber(dt2))
					//add timestamp of each labor file
					strFilename=addDirSlash(str)+formatDate(dt1,"MM-dd-yyyy")+"_lbr.dbf"
					if (fileExists(strFilename))
						strResult=strResult+fileModified(strFilename)
					endif
					
					//add timestamp of check header file in case net sales changes
					strFilename=addDirSlash(str)+formatDate(dt1,"MM-dd-yyyy")+"_ckh.dbf"
					if (fileExists(strFilename))
						strResult=strResult+fileModified(strFilename)
					endif
					
					dt1=incrementTime(dt1,1)
				endwhile
				Cntr=Cntr + 1
			endwhile
			scriptSetResult(strResult)
		";>
		
		__SelectedStores__
		__FilterDate1__
		__FilterDate2__
		__DisplayName__
		__DisplayOptions__
		
		____DriverName__NextPage__
		____DriverName__PrevPage__
		____DriverName__FirstPage__
		____DriverName__LastPage__
		____DriverName__startrecord__
		<br>
		============State============<br>
	</state>
</conditional>

<constant name:__driverID__; value:"POS_Generic_Labor_Detail_DBase">
<constant name:__DriverName__; value:"POS Generic Labor Detail DBase">

<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->
<include type:expression; expression:htmlConstant("consDriverName","__","drvCons"+getSalt(8))>

<constant name:__widgeturl__; value:"/?Network=GreenLight&ID=getCachedWidget&DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Timeclock (Horz Consolidate)&WidgetID=__WidgetID__&Client=__Client__">
<constant name:__filterArgs__; value:"SelectedStores=__SelectedStores__&FilterDate1=__FilterDate1__">
<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Header Script"; params:"remoteip=__RemoteIP__&debug=false&DriverName=__DriverName__"; text:true;>
<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Initialization Script"; text:true; params:"Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Timeclock (Horz Consolidate)&DisplayName=__DisplayName__";>

<constant name:__FilterDate1__; value:{@if(startsWith("__FilterDate1__","__"),formatDate(parseTime("06042010","MMddyyyy"),"MM-dd-yyyy"),"__FilterDate1__")}>
<constant name:__FilterDate2__; value:{@if(startsWith("__FilterDate2__","__"),formatDate(parseTime("06042010","MMddyyyy"),"MM-dd-yyyy"),"__FilterDate2__")}>
<constant name:__Filter_Store_Name__; value:{@initConstant("__Filter_Store_Name__","~all~")}>
<constant name:__Filter_Actual_Job_Code_Name__; value:{@initConstant("__Filter_Actual_Job_Code_Name__","~all~")}>
{@htmlConstant("Filter_Employee_Name","__Filter_Employee_Name__","~all~")}

<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->
<div ID="__WidgetID__DisableContent" class="disable_content" style="display:none;"></div>

<!-- Filter -->
<form name="Filter__WidgetID__" action="https://__Server__/" method="post" style="z-index:0">

	<!-- Speed filters go here -->
	<div ID="FilterSpeedFields__WidgetID__" style="margin:0px; padding:0px">
	</div>

	<!--	Custom fields go here. -->
	<div ID="FilterCustomFields__WidgetID__">
		<table class='form'>
		</table>
	</div>
	
	<!!include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Filter Dialog"; text:true; params:"ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY&ParentWidget=Timeclock (Horz Consolidate)&DisplayReportName=__DisplayReportName__&HorzDriverName=__consDriverName__&debug=false";>
	
	<!-- Preserve arguments from parent page -->
	<input type='hidden' name='SelectedStores' value='__SelectedStores__'>
	<input type="hidden" name="FilterDate1" value="__FilterDate1__">
	<input type="hidden" name="FilterDate2" value="__FilterDate2__">

</form>

<!-- Create consolidated driver for report -->
<!include type:script; commands:"

	//calculate net sales total for each store & date to pass to consolidated driver in driverparams
	strDriverParams=""
	dblGrandTtlNetSales=0
	cStore=getElementCount("__SelectedStores__","|")
	Cntr=0
	while (Cntr<cStore) 
		str=getElement("__SelectedStores__",Cntr,"|")
		sStoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory,str)
		sStoreName=lookup(Aspect_BackOffice_Store_Name_By_Directory,str)
		dt1=parseTime("__FilterDate1__","MM-dd-yyyy")
		dt2=parseTime("__FilterDate2__","MM-dd-yyyy")
		dblStoreSales=0
		while (dateNumber(dt1)<=dateNumber(dt2))
			strFilename=addDirSlash(str)+formatDate(dt1,"MM-dd-yyyy")+"_lbr.dbf"
			if (fileExists(strFilename))
				//get net sales total for the day to pass to the daily labor file to calculate labor percentages
				dblNetSales=0
				strCkHeaderFilename=addDirSlash(str)+formatDate(dt1,"MM-dd-yyyy")+"_ckh.dbf"
				if (fileExists(strCkHeaderFilename))
					driverOpen(POS_Generic_Check_Header_DBase,drvCkHeader,READ,false,"filename="+strCkHeaderFilename+"|Date="+formatDate(dt1,"MM-dd-yyyy"))
					dblNetSales=driverRangeSum(drvCkHeader,"Net_Sales",true,"true")
					driverClose(drvCkHeader)
				endif
				strDriverParams=addElement(strDriverParams,"netsales^"+sStoreName+"^"+formatDate(dt1,"MMddyyyy")+"="+dblNetSales,"|")
				dblStoreSales=dblStoreSales + dblNetSales
				dblGrandTtlNetSales=dblGrandTtlNetSales + dblNetSales 
			endif
			dt1=incrementTime(dt1,1)
		endwhile
		strDriverParams=addElement(strDriverParams,"netsales^"+sStoreName+"="+dblStoreSales,"|")
		Cntr=Cntr + 1
	endwhile
	strDriverParams=addElement(strDriverParams,"ttlnetsales="+dblGrandTtlNetSales,"|")

	//open the consolidated driver
	//At this point, the consolidated driver has driver params that can be used to look up the net sales for any store or store / date
	//The structure field used for this is Total_Net_Sales and it looks like this:
	//=if(len(Employee)>0,value(#netsales),if(not(StartsWith(Business_Date,"Bus")),getElementValue(Params,"netsales^"+Store_Name+"^"+formatDate(Business_Date,"MMddyyyy"),"|"),if(startsWith(Store_Name,"Store_Name"),getElementValue(Params,"netsales^"+Store_Name,"|"),getElementValue(Params,"ttlnetsales","|"))))
	//It's a long if statement that looks up the net sales in the driver params using getElementValue.  The conditions are based on whether certain fields are defined.   Whether a field is defined or not is used to
	//determine the type of subtotal (detail, store/date, store, grand total) is being calculated
	strDest=getToken("homedir")+"temporary_files/"+getSalt(8)+".$$$"
	driverOpen(ConsDriverHorz,__consDriverName__,WRITE,true,strDriverParams)

	dblGrandTtlNetSales=0
	cStore=getElementCount("__SelectedStores__","|")
	Cntr=0
	while (Cntr<cStore) 
		str=replaceSubstring(getElement("__SelectedStores__",Cntr,"|"),"\","/")
		sStoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory,str)
		sStoreName=lookup(Aspect_BackOffice_Store_Name_By_Directory,str)
		scriptExec(Aspect_Common_getCachedWidget,true,"DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Calculate Overtime&Params=StoreID="+sStoreID+"|Date=__FilterDate1__")

		driverOpen(ConsDriverVert,drvConsVert,WRITE,true,"|Description="+sStoreName)
		dt1=parseTime("__FilterDate1__","MM-dd-yyyy")
		dt2=parseTime("__FilterDate2__","MM-dd-yyyy")
		while (dateNumber(dt1)<=dateNumber(dt2))
			strFilename=addDirSlash(str)+formatDate(dt1,"MM-dd-yyyy")+"_lbr.dbf"
			if (fileExists(strFilename))
				//get net sales total for the day to pass to the daily labor file to calculate labor percentages
				dblNetSales=0
				strCkHeaderFilename=addDirSlash(str)+formatDate(dt1,"MM-dd-yyyy")+"_ckh.dbf"
				if (fileExists(strCkHeaderFilename))
					driverOpen(POS_Generic_Check_Header_DBase,drvCkHeader,READ,false,"filename="+strCkHeaderFilename+"|Date="+formatDate(dt1,"MM-dd-yyyy"))
					dblNetSales=driverRangeSum(drvCkHeader,"Net_Sales",true,"true")
					driverClose(drvCkHeader)
				else
					appendToLog("Cannot locate file "+strCkHeaderFilename+" to get net sales")
				endif

				driverOpen(POS_Generic_Labor_Detail_DBase,drvDbf+"__FilterDate1__",READ,true,"filename="+strFilename+"|storename="+sStoreName+"|NetSales="+dblNetSales+"|Date="+formatDate(dt1,"MM-dd-yyyy"))
				driverSetFilter(drvDbf+"__FilterDate1__","true",true)
				driverConsolidate(drvConsVert,drvDbf+"__FilterDate1__","","","")
			endif
			dt1=incrementTime(dt1,1)
		endwhile
		driverConsolidate(__consDriverName__,drvConsVert,"","","true","Business_Date|Store_Name|AppJobCode|AppJobCodeName|Employee|Line")
		Cntr=Cntr + 1
	endwhile
	driverSetFilter(__consDriverName__,"true",true)
">

<!conditional expression:"(driverGetRecordCount('__consDriverName__',true)=0)">
	<p>No records to display</p>
</conditional>
<!conditional expression:"(driverGetRecordCount('__consDriverName__',true)>0)">
	<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->
	<div ID="Report_Content__WidgetID__">
		<!!include type:driver;
			driver: __driverID__;
			driver: "__consDriverName__";
			name: "__DriverName__";
			systemdriver: "true";
			_params: "filename={@addDirSlash("__SelectedStores__")}__FilterDate1___lbr.dbf";
			params: "";
			fields: "__FieldsSelected__";
			sort: "{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort1__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort2__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort3__";
			filter: "(('__Filter_Actual_Job_Code_Name__'='~all~') or (AppJobCodeName='__Filter_Actual_Job_Code_Name__')) and
					 (('__Filter_Employee_Name__'='~all~') or (EmpName='__Filter_Employee_Name__'))
					";
			class: "<!include type:expression; expression:"if(boolean('__SubtotalsOnly__'),'subtotalonly','basic1')">";
			paging: "false";
			maxrecords: "-1";
			pageargs: "__DriverName__NextPage=____DriverName__NextPage__&__DriverName__PrevPage=____DriverName__PrevPage__&__DriverName__FirstPage=____DriverName__FirstPage__&__DriverName__LastPage=____DriverName__LastPage__";
			startrecord: "____DriverName__startrecord__";
			url: "javascript:reloadWidget('__WidgetID__','__reloadURL__&__filterArgs__')";
			details:"<!include type:expression; expression:"not(boolean('__SubtotalsOnly__'))">";
			subtotal1: "__subtotalargs1__";
			subtotal2: "__subtotalargs2__";
			subtotal3: "__subtotalargs3__";
			subtotal4: "__subtotalargs4__";
			tableborder: "true";
			tablestyle: "width:auto";
			tableheader: "true";
			chartType: "__ChartType__";
			chartWidth: "800";
			chartHeight: "300";
			chartLabels: "45";
			chartTitle: "Sales Mix";
			debug: "false";
		>
	</div>
</conditional>

<!-- Initialize any custom controls -->
<script language="Javascript">initializeTable("__WidgetID__");</script>

<!-- close the driver -->
<!!include type:script; commands:"
	driverClose(__consDriverName__);
">
 
 

 
 
 
 
 
 
 
 
 
 
 
 
</widget><widget name="Menu Categories (Horz Consolidate)" group="Reports_Beta" category="Lists" description="" type="Simple" Processing=0 metadata="" IncludeInViewer="false" PublicName="Menu Categories (Horz Consolidate)" modified="02-11-2012 22:16:19" modifiedby="Keith-Dell2" TaskEnabled= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskWindowForExecution=>
<!-- Menu Categories (Horz Consolidate) -->
<!--servertimer=false-->

<conditional expression:false>
	<state>
		============State============<br>
		Version 06-01-2011-01
		{@now()}
		<include type:script; commands:"
			strResult=""
			cStore=getElementCount("__SelectedStores__","|")
			Cntr=0
			while (Cntr<cStore) 
				str=getElement("__SelectedStores__",Cntr,"|")
				strFilename=addDirSlash(str)+"category.dbf"
				if (fileExists(strFilename))
					strResult=strResult + fileModified(strFilename)
				endif
				Cntr=Cntr + 1
			endwhile
			scriptSetResult(strResult)
		";>
		
		__SelectedStores__
		__FilterDate1__
		__FilterDate2__
		__DisplayName__
		__DisplayOptions__
		
		__FilterDepartment__

		____DriverName__NextPage__
		____DriverName__PrevPage__
		____DriverName__FirstPage__
		____DriverName__LastPage__
		____DriverName__startrecord__
		<br>
		============State============<br>
	</state>
</conditional>

<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->
<include type:expression; expression:htmlConstant("consDriverName","__","drvCons"+getSalt(8))>

<constant name:__driverID__; value:"POS_Generic_Menu_Category_DBase">
<constant name:__DriverName__; value:"POS Generic Menu Category DBase">
<constant name:__widgeturl__; value:"/?Network=GreenLight&ID=getCachedWidget&DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Menu Categories (Horz Consolidate)&WidgetID=__WidgetID__&Client=__Client__">
<constant name:__filterArgs__; value:"">
<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Header Script"; params:"remoteip=__RemoteIP__&debug=false&DriverName=__DriverName__"; text:true;>
<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Initialization Script"; text:true; params:"Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Menu Categories (Horz Consolidate)&DisplayName=__DisplayName__";>

<h1>Menu Categories (Horz Consolidate)</h1>

<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->
<div ID="__WidgetID__DisableContent" class="disable_content" style="display:none;"></div>

<!-- Overlay used to edit a record.  It is prepped and hidden initially.  When a record is edited,
	the div is made visible and the fields are filled in using javascript.  -->
<div ID="__WidgetID__EditOverlay" class="dialog_overlay" style="height:300px; display:none;">

	<h2>editRecord: __ID__</h2>
	<form name="__WidgetID__Edit" action="https://__Server__/" method="post">

		<table class='form'>
		</table>
		
		<input type="button" name="submit" value="Ok" onClick="submitRecord('__WidgetID__','__WidgetID__Edit');">
		<input type="button" name="cancel" value="Cancel" onClick="cancelRecord('__WidgetID__','__WidgetID__EditOverlay');">
		<input type="hidden" name="driverID" value="__driverID__">
		<input type="hidden" name="expression" value="false">
		<input type="hidden" name="ValuesURL" value="__valuesurl__"><!-- Note: The name valuesurl is used in the javascript function submitRecord -->
		<input type="hidden" name="server" value="__Server__">
		<input type="hidden" name="network" value="greenlight">
		<input type="hidden" name="ID" value="putRecord">
		<input type="hidden" name="append" value="true">
		<input type="hidden" name="ResultOK" value='__resulturl__'>
		<input type="hidden" name="debug" value="false">
	</form>
</div>

<!-- Overlay used to delete a record.  It is prepped and hidden initially.  When a record is deleted,
	the div is made visible and the description and expression are filled in using javascript.  -->
<div ID="__WidgetID__DeleteOverlay" class="dialog_overlay" style="height:300px; display:none;">
	<h2>deleteRecord <span ID="__WidgetID__DeleteRecordDescription"></span></h2>
	<form name="__WidgetID__Delete" action="https://__Server__/" method="post">
		Delete record?
		<input type="button" name="submit" value="Ok" onClick="submitRecord('__WidgetID__','__WidgetID__Delete');">
		<input type="button" name="cancel" value="Cancel" onClick="cancelRecord('__WidgetID__','__WidgetID__DeleteOverlay');">
		<input type="hidden" name="driverID" value="__driverID__">
		<input type="hidden" name="expression" value="false">
		<input type="hidden" name="ValuesURL" value="__valuesurl__"><!-- Note: The name valuesurl is used in the javascript function submitRecord -->
		<input type="hidden" name="server" value="__Server__">
		<input type="hidden" name="network" value="greenlight">
		<input type="hidden" name="ID" value="deleteRecord">
		<input type="hidden" name="ResultOK" value='__resulturl__'>
		<input type="hidden" name="debug" value="true">
	</form>
</div>

<!-- Filter -->
<form name="Filter__WidgetID__" action="https://__Server__/" method="post" style="z-index:0">

	<!-- Speed filters go here -->
	<div ID="FilterSpeedFields__WidgetID__" style="margin:0px; padding:0px">
	</div>

	<!--	Custom fields go here. -->
	<div ID="FilterCustomFields__WidgetID__">
	</div>
	
	<!-- Must make this a !!include in order to pass the system driver to it so fields can be gotten from the driver instead of the structure since
		this is a horizontally consolidated driver.  The system driver is passed in the driver argument 
		Because a !!include is used, the DisplayReportName token must also be passed
	-->
	<!!include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Filter Dialog"; text:true; params:"ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY&ParentWidget=Menu Categories (Horz Consolidate)&DisplayReportName=__DisplayReportName__&HorzDriverName=__consDriverName__&debug=false";>
	
	<!-- Preserve arguments from parent page -->
	<input type='hidden' name='SelectedStores' value='__SelectedStores__'>

</form>

<!-- Create consolidated driver for report -->
<!include type:script; commands:"
	strDest=getToken("homedir")+"temporary_files/"+getSalt(8)+".$$$"
	driverOpen(ConsDriverHorz,__consDriverName__,WRITE,true)

	cStore=getElementCount("__SelectedStores__","|")
	Cntr=0
	while (Cntr<cStore) 
		str=getElement("__SelectedStores__",Cntr,"|")
		sStoreName=lookup("Aspect_BackOffice_Store_Name_By_Directory",replaceSubstring(str,"\","/"))
		strFilename=addDirSlash(str)+"category.dbf"
		if (fileExists(strFilename))
			driverOpen(POS_Generic_Menu_Category_DBase,drvDbf+Cntr,READ,true,"filename="+strFilename+"|Description="+sStoreName)
			driverSetFilter(drvDbf+Cntr,"true",true)
			driverConsolidate(__consDriverName__,drvDbf+Cntr,"","","true","Number")
		endif
		Cntr=Cntr + 1
	endwhile
	driverSetFilter(__consDriverName__,"true",true)
">

<!conditional expression:"(driverGetRecordCount('__consDriverName__',true)=0)">
	<p>No records to display</p>
</conditional>
<!conditional expression:"(driverGetRecordCount('__consDriverName__',true)>0)">
	<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->
	<div ID="Report_Content__WidgetID__" style="">
		<!!include type:driver;
			driver: __driverID__;
			driver: "__consDriverName__";
			name: "__DriverName__";
			systemdriver: "true";
			params: "";
			fields: "__FieldsSelected__";
			sort: "{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort1__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort2__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort3__";
			filter: "(if(startsWith('__FilterDepartment__','__'),true,pos('__FilterDepartment__','Department')>=0))";
			class: "<!include type:expression; expression:"if(boolean('__SubtotalsOnly__'),'subtotalonly','basic1')">";
			paging: "false";
			maxrecords: "-1";
			pageargs: "__DriverName__NextPage=____DriverName__NextPage__&__DriverName__PrevPage=____DriverName__PrevPage__&__DriverName__FirstPage=____DriverName__FirstPage__&__DriverName__LastPage=____DriverName__LastPage__";
			startrecord: "____DriverName__startrecord__";
			url: "javascript:reloadWidget('__WidgetID__','__reloadURL__&__filterArgs__')";
			details:"<!include type:expression; expression:"not(boolean('__SubtotalsOnly__'))">";
			subtotal1: "__subtotalargs1__";
			subtotal2: "__subtotalargs2__";
			subtotal3: "__subtotalargs3__";
			subtotal4: "__subtotalargs4__";
			tableborder: "true";
			tablestyle: "width:auto";
			tableheader: "true";
			chartType: "__ChartType__";
			chartWidth: "800";
			chartHeight: "300";
			chartLabels: "45";
			chartTitle: "Sales Mix";
			debug: "false";
		>
	</div>
</conditional>

<!-- Initialize any custom controls -->
<script language="Javascript">initializeTable("__WidgetID__");</script>

<!-- close the driver -->
<!!include type:script; commands:"
	driverClose(__consDriverName__);
">











 
</widget><widget name="Tenders (Horz Consolidate)" group="Reports_Beta" category="Lists" description="" type="Simple" Processing=0 metadata="" IncludeInViewer="false" PublicName="Tenders (Horz Consolidate)" modified="02-11-2012 22:21:38" modifiedby="Keith-Dell2" TaskEnabled= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskWindowForExecution=>
<!-- Tenders  (Horz Consolidate) -->
<!--servertimer=false-->

<conditional expression:false>
	<state>
		============State============<br>
		Version 06-01-2011-01
		{@now()}
		<include type:script; commands:"
			strResult=""
			cStore=getElementCount("__SelectedStores__","|")
			Cntr=0
			while (Cntr<cStore) 
				str=getElement("__SelectedStores__",Cntr,"|")
				strFilename=addDirSlash(str)+"tender.dbf"
				if (fileExists(strFilename))
					strResult=strResult + fileModified(strFilename)
				endif
				Cntr=Cntr + 1
			endwhile
			scriptSetResult(strResult)
		";>
		
		__SelectedStores__
		__FilterDate1__
		__FilterDate2__
		__DisplayName__
		__DisplayOptions__
		
		____DriverName__NextPage__
		____DriverName__PrevPage__
		____DriverName__FirstPage__
		____DriverName__LastPage__
		____DriverName__startrecord__
		<br>
		============State============<br>
	</state>
</conditional>

<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->
<include type:expression; expression:htmlConstant("consDriverName","__","drvCons"+getSalt(8))>

<constant name:__driverID__; value:"POS_Generic_Tenders_DBase">
<constant name:__DriverName__; value:"POS Generic Tenders DBase">
<constant name:__widgeturl__; value:"/?Network=GreenLight&ID=getCachedWidget&DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Tenders (Horz Consolidate)&WidgetID=__WidgetID__&Client=__Client__">
<constant name:__filterArgs__; value:"">
<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Header Script"; params:"remoteip=__RemoteIP__&debug=false&DriverName=__DriverName__"; text:true;>
<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Initialization Script"; text:true; params:"Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Tender (Horz Consolidate)s&DisplayName=__DisplayName__";>

<h1>Tenders</h1>

<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->
<div ID="__WidgetID__DisableContent" class="disable_content" style="display:none;"></div>

<!-- Overlay used to edit a record.  It is prepped and hidden initially.  When a record is edited,
	the div is made visible and the fields are filled in using javascript.  -->
<div ID="__WidgetID__EditOverlay" class="dialog_overlay" style="height:300px; display:none;">

	<h2>editRecord: __ID__</h2>
	<form name="__WidgetID__Edit" action="https://__Server__/" method="post">

		<table class='form'>
		</table>

		<input type="button" name="submit" value="Ok" onClick="submitRecord('__WidgetID__','__WidgetID__Edit');">
		<input type="button" name="cancel" value="Cancel" onClick="cancelRecord('__WidgetID__','__WidgetID__EditOverlay');">
		<input type="hidden" name="driverID" value="__driverID__">
		<input type="hidden" name="expression" value="false">
		<input type="hidden" name="ValuesURL" value="__valuesurl__"><!-- Note: The name valuesurl is used in the javascript function submitRecord -->
		<input type="hidden" name="server" value="__Server__">
		<input type="hidden" name="network" value="greenlight">
		<input type="hidden" name="ID" value="putRecord">
		<input type="hidden" name="append" value="true">
		<input type="hidden" name="ResultOK" value='__resulturl__'>
		<input type="hidden" name="debug" value="false">
	</form>
</div>

<!-- Overlay used to delete a record.  It is prepped and hidden initially.  When a record is deleted,
	the div is made visible and the description and expression are filled in using javascript.  -->
<div ID="__WidgetID__DeleteOverlay" class="dialog_overlay" style="height:300px; display:none;">
	<h2>deleteRecord <span ID="__WidgetID__DeleteRecordDescription"></span></h2>
	<form name="__WidgetID__Delete" action="https://__Server__/" method="post">
		Delete record?
		<input type="button" name="submit" value="Ok" onClick="submitRecord('__WidgetID__','__WidgetID__Delete');">
		<input type="button" name="cancel" value="Cancel" onClick="cancelRecord('__WidgetID__','__WidgetID__DeleteOverlay');">
		<input type="hidden" name="driverID" value="__driverID__">
		<input type="hidden" name="expression" value="false">
		<input type="hidden" name="ValuesURL" value="__valuesurl__"><!-- Note: The name valuesurl is used in the javascript function submitRecord -->
		<input type="hidden" name="server" value="__Server__">
		<input type="hidden" name="network" value="greenlight">
		<input type="hidden" name="ID" value="deleteRecord">
		<input type="hidden" name="ResultOK" value='__resulturl__'>
		<input type="hidden" name="debug" value="true">
	</form>
</div>

<!-- Filter -->
<form name="Filter__WidgetID__" action="https://__Server__/" method="post" style="z-index:0">

	<!-- Speed filters go here -->
	<div ID="FilterSpeedFields__WidgetID__" style="margin:0px; padding:0px">
	</div>

	<!--	Custom fields go here. -->
	<div ID="FilterCustomFields__WidgetID__">
	</div>
	
	<!-- Must make this a !!include in order to pass the system driver to it so fields can be gotten from the driver instead of the structure since
		this is a horizontally consolidated driver.  The system driver is passed in the driver argument 
		Because a !!include is used, the DisplayReportName token must also be passed
	-->
	<!!include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Filter Dialog"; text:true; params:"ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY&ParentWidget=Tenders (Horz Consolidate)&DisplayReportName=__DisplayReportName__&HorzDriverName=__consDriverName__&debug=false";>
	
	<!-- Preserve arguments from parent page -->
	<input type='hidden' name='SelectedStores' value='__SelectedStores__'>
</form>

<!-- Create consolidated driver for report -->
<!include type:script; commands:"
	strDest=getToken("homedir")+"temporary_files/"+getSalt(8)+".$$$"
	driverOpen(ConsDriverHorz,__consDriverName__,WRITE,true)

	cStore=getElementCount("__SelectedStores__","|")
	Cntr=0
	while (Cntr<cStore) 
		str=getElement("__SelectedStores__",Cntr,"|")
		sStoreName=lookup("Aspect_BackOffice_Store_Name_By_Directory",replaceSubstring(str,"\","/"))
		strFilename=addDirSlash(str)+"tender.dbf"
		if (fileExists(strFilename))
			driverOpen(POS_Generic_Tenders_DBase,drvDbf+Cntr,READ,true,"filename="+strFilename+"|Description="+sStoreName)
			driverSetFilter(drvDbf+Cntr,"true",true)
			driverConsolidate(__consDriverName__,drvDbf+Cntr,"","","true","Number")
		endif
		Cntr=Cntr + 1
	endwhile
	driverSetFilter(__consDriverName__,"true",true)
">

<!conditional expression:"(driverGetRecordCount('__consDriverName__',true)=0)">
	<p>No records to display</p>
</conditional>
<!conditional expression:"(driverGetRecordCount('__consDriverName__',true)>0)">
	<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->
	<div ID="Report_Content__WidgetID__" style="">
		<!!include type:driver;
			driver: __driverID__;
			driver: "__consDriverName__";
			name: "__DriverName__";
			systemdriver: "true";
			params: "";
			fields: "__FieldsSelected__";
			sort: "{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort1__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort2__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort3__";
			filter: "true";
			class: "<!include type:expression; expression:"if(boolean('__SubtotalsOnly__'),'subtotalonly','basic1')">";
			paging: "false";
			maxrecords: "-1";
			pageargs: "__DriverName__NextPage=____DriverName__NextPage__&__DriverName__PrevPage=____DriverName__PrevPage__&__DriverName__FirstPage=____DriverName__FirstPage__&__DriverName__LastPage=____DriverName__LastPage__";
			startrecord: "____DriverName__startrecord__";
			url: "javascript:reloadWidget('__WidgetID__','__reloadURL__&__filterArgs__')";
			details:"<!include type:expression; expression:"not(boolean('__SubtotalsOnly__'))">";
			subtotal1: "__subtotalargs1__";
			subtotal2: "__subtotalargs2__";
			subtotal3: "__subtotalargs3__";
			subtotal4: "__subtotalargs4__";
			tableborder: "true";
			tablestyle: "width:auto";
			tableheader: "true";
			chartType: "__ChartType__";
			chartWidth: "800";
			chartHeight: "300";
			chartLabels: "45";
			chartTitle: "Sales Mix";
			debug: "false";
		>
	</div>
</conditional>

<!-- Initialize any custom controls -->
<script language="Javascript">initializeTable("__WidgetID__");</script>

<!-- close the driver -->
<!!include type:script; commands:"
	driverClose(__consDriverName__);
">
 
 
 
 
 
 
</widget><widget name="Menu Items (Horz Consolidate)" group="Reports_Beta" category="Sales" description="" type="Simple" Processing=0 metadata="" IncludeInViewer="false" PublicName="Menu Items (Horz Consolidate)" modified="02-11-2012 22:25:39" modifiedby="Keith-Dell2" TaskEnabled= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskWindowForExecution=>
<!-- Menu Items (Horz Consolidate) -->
<!--servertimer=false-->

<conditional expression:false>
	<state>
		============State============<br>
		Version 06-01-2011-01
		{@now()}
		<include type:script; commands:"
			strResult=""
			cStore=getElementCount("__SelectedStores__","|")
			Cntr=0
			while (Cntr<cStore) 
				str=getElement("__SelectedStores__",Cntr,"|")
				strFilename=addDirSlash(str)+"recipe.dbf"
				if (fileExists(strFilename))
					strResult=strResult + fileModified(strFilename)
				endif
				Cntr=Cntr + 1
			endwhile
			scriptSetResult(strResult)
		";>
		
		__SelectedStores__
		__FilterDate1__
		__FilterDate2__
		__DisplayName__
		__DisplayOptions__
		
		____DriverName__NextPage__
		____DriverName__PrevPage__
		____DriverName__FirstPage__
		____DriverName__LastPage__
		____DriverName__startrecord__
		<br>
		============State============<br>
	</state>
</conditional>

<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->
<include type:expression; expression:htmlConstant("consDriverName","__","drvCons"+getSalt(8))>

<constant name:__driverID__; value:"POS_Generic_Menu_Item_DBase">
<constant name:__DriverName__; value:"POS Generic Menu Item DBase">
<constant name:__widgeturl__; value:"/?Network=GreenLight&ID=getCachedWidget&DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Menu Items (Horz Consolidate)&WidgetID=__WidgetID__&Client=__Client__">
<constant name:__filterArgs__; value:"SelectedStores=__SelectedStores__&FilterDate=__FilterDate__">
<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Header Script"; params:"remoteip=__RemoteIP__&debug=false&DriverName=__DriverName__"; text:true;>
<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Initialization Script"; text:true; params:"Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Menu Items (Horz Consolidate)&DisplayName=__DisplayName__";>

<include type:expression; expression:htmlConstant("Filter_Category_Name","__Filter_Category_Name__","~all~")>
<include type:expression; expression:htmlConstant("Filter_Department_Name","__Filter_Department_Name__","~all~")>

<h1>Menu Items</h1>

<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->
<div ID="__WidgetID__DisableContent" class="disable_content" style="display:none;"></div>

<!-- Filter -->
<form name="Filter__WidgetID__" action="https://__Server__/" method="post" style="z-index:0">

	<!-- Speed filters go here -->
	<div ID="FilterSpeedFields__WidgetID__" style="margin:0px; padding:0px">
	</div>

	<!--	Custom fields go here. -->
	<div ID="FilterCustomFields__WidgetID__">
	</div>
	
	<!-- Must make this a !!include in order to pass the system driver to it so fields can be gotten from the driver instead of the structure since
		this is a horizontally consolidated driver.  The system driver is passed in the driver argument 
		Because a !!include is used, the DisplayReportName token must also be passed
	-->
	<!!include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Filter Dialog"; text:true; params:"ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY&ParentWidget=Menu Items (Horz Consolidate)&DisplayReportName=__DisplayReportName__&HorzDriverName=__consDriverName__&debug=false";>
	
	<!-- Preserve arguments from parent page -->
	<input type='hidden' name='SelectedStores' value='__SelectedStores__'>

</form>

<!-- Create consolidated driver for report -->
<!include type:script; commands:"
	strDest=getToken("homedir")+"temporary_files/"+getSalt(8)+".$$$"
	driverOpen(ConsDriverHorz,__consDriverName__,WRITE,true)

	cStore=getElementCount("__SelectedStores__","|")
	Cntr=0
	while (Cntr<cStore) 
		str=getElement("__SelectedStores__",Cntr,"|")
		sStoreName=lookup("Aspect_BackOffice_Store_Name_By_Directory",replaceSubstring(str,"\","/"))
		strFilename=addDirSlash(str)+"recipe.dbf"
		if (fileExists(strFilename))
			driverOpen(POS_Generic_Menu_Item_DBase,drvDbf+Cntr,READ,true,"filename="+strFilename+"|Description="+sStoreName)
			driverSetFilter(drvDbf+Cntr,"true",true)
			driverConsolidate(__consDriverName__,drvDbf+Cntr,"","","true","MenuItemID|MenuItemID_Numeric|Department_Name|Category_Name")
		endif
		Cntr=Cntr + 1
	endwhile
	driverSetFilter(__consDriverName__,"true",true)
">

<!conditional expression:"(driverGetRecordCount('__consDriverName__',true)=0)">
	<p>No records to display</p>
</conditional>
<!conditional expression:"(driverGetRecordCount('__consDriverName__',true)>0)">
	<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->
	<div ID="Report_Content__WidgetID__" style="">
		<!!include type:driver;
			driver: __driverID__;
			driver: "__consDriverName__";
			name: "__DriverName__";
			systemdriver: "true";
			_params: "filename={@addDirSlash("__SelectedStores__")}recipe.dbf";
			params: "";
			fields: "__FieldsSelected__";
			sort: "{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort1__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort2__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort3__";
			filter: "(('__Filter_Category_Name__'='~all~') or (Category_Name='__Filter_Category_Name__')) and
					 (('__Filter_Department_Name__'='~all~') or (Department_Name='__Filter_Department_Name__'))
					";
			class: "<!include type:expression; expression:"if(boolean('__SubtotalsOnly__'),'subtotalonly','basic1')">";
			paging: "false";
			maxrecords: "-1";
			pageargs: "__DriverName__NextPage=____DriverName__NextPage__&__DriverName__PrevPage=____DriverName__PrevPage__&__DriverName__FirstPage=____DriverName__FirstPage__&__DriverName__LastPage=____DriverName__LastPage__";
			startrecord: "____DriverName__startrecord__";
			url: "javascript:reloadWidget('__WidgetID__','__reloadURL__&__filterArgs__')";
			details:"<!include type:expression; expression:"not(boolean('__SubtotalsOnly__'))">";
			subtotal1: "__subtotalargs1__";
			subtotal2: "__subtotalargs2__";
			subtotal3: "__subtotalargs3__";
			subtotal4: "__subtotalargs4__";
			tableborder: "true";
			tablestyle: "width:auto";
			tableheader: "true";
			chartType: "__ChartType__";
			chartWidth: "800";
			chartHeight: "300";
			chartLabels: "45";
			chartTitle: "Sales Mix";
			debug: "false";
		>
	</div>
</conditional>

<!-- Initialize any custom controls -->
<script language="Javascript">initializeTable("__WidgetID__");</script>

<!-- close the driver -->
<!!include type:script; commands:"
	driverClose(__consDriverName__);
">


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
</widget><widget name="Sales Mix Report (Horz Consolidate)" group="Reports_Beta" category="Sales" description="" type="Simple" Processing=0 metadata="" IncludeInViewer="false" PublicName="Sales Mix Report (Horz Consolidate)" modified="02-11-2012 22:26:37" modifiedby="Keith-Dell2" TaskEnabled= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskWindowForExecution=>
<!-- Sales Mix Report (Horz Consolidate) Table -->
<!--servertimer=false-->

<conditional expression:false>
	<state>
		============State============<br>
		Version 06-01-2011-01
		{@now()}
		<!include type:script; commands:"
			strResult=""
			cStore=getElementCount("__SelectedStores__","|")
			Cntr=0
			while (Cntr<cStore) 
				str=getElement("__SelectedStores__",Cntr,"|")
				dt1=parseTime("__FilterDate1__","MM-dd-yyyy")
				dt2=parseTime("__FilterDate2__","MM-dd-yyyy")
				while (dateNumber(dt1)<=dateNumber(dt2))
					strFilename=addDirSlash(str)+formatDate(dt1,"MM-dd-yyyy")+"_mix.dbf"
					if (fileExists(strFilename))
						strResult=strResult + fileModified(strFilename)
					endif
					dt1=incrementTime(dt1,1)
				endwhile
				Cntr=Cntr + 1
			endwhile
			scriptSetResult(strResult)
		";>
		__SelectedStores__
		__FilterDate1__
		__FilterDate2__
		__DisplayName__
		__DisplayOptions__

		__Filter_Category_Name__
		__Filter_Department_Name__

		____DriverName__NextPage__
		____DriverName__PrevPage__
		____DriverName__FirstPage__
		____DriverName__LastPage__
		____DriverName__startrecord__
		============State============<br>
	</state>
</conditional>

<constant name:__driverID__; value:"POS_Generic_SalesMix_DBase">
<constant name:__DriverName__; value:"POS Generic SalesMix DBase">

<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->
<include type:expression; expression:htmlConstant("consDriverName","__","drvCons"+getSalt(8))>

<constant name:__widgeturl__; value:"/?Network=GreenLight&ID=getCachedWidget&DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Sales Mix Report (Horz Consolidate)&WidgetID=__WidgetID__&Client=__Client__">
<constant name:__filterArgs__; value:"SelectedStores=__SelectedStores__&FilterDate1=__FilterDate1__">
<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Header Script"; params:"remoteip=__RemoteIP__&debug=false&DriverName=__DriverName__"; text:true;>
<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Initialization Script"; text:true; params:"Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Sales Mix Report (Horz Consolidate)&DisplayName=__DisplayName__";>

<include type:expression; expression:htmlConstant("FilterDate1","__FilterDate1__",formatDate(now(),"MM-dd-yyyy"))>
<include type:expression; expression:htmlConstant("FilterDate2","__FilterDate2__",formatDate(now(),"MM-dd-yyyy"))>
<include type:expression; expression:htmlConstant("Filter_Category_Name","__Filter_Category_Name__","~all~")>
<include type:expression; expression:htmlConstant("Filter_Department_Name","__Filter_Department_Name__","~all~")>

<conditional expression:(false) and (not(__NoTitle__))>
	<h1>Sales Mix</h1>
</conditional>

<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->
<div ID="__WidgetID__DisableContent" class="disable_content" style="display:none;"></div>

<!-- Filter -->
<form name="Filter__WidgetID__" action="https://__Server__/" method="post" style="z-index:0">

	<!-- Speed filters go here -->
	<div ID="FilterSpeedFields__WidgetID__" style="margin:0px; padding:0px">
		<table class='form'>
		</table>
	</div>

	<!--	Custom fields go here. -->
	<div ID="FilterCustomFields__WidgetID__">
	</div>
	
	<!!include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Filter Dialog"; text:true; params:"ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY&ParentWidget=Sales Mix Report (Horz Consolidate)&DisplayReportName=__DisplayReportName__&HorzDriverName=__consDriverName__&debug=false";>
	
	<!-- Preserve arguments from parent page -->
	<input type='hidden' name='SelectedStores' value='__SelectedStores__'>
	<input type="hidden" name="FilterDate1" value="__FilterDate1__">
	<input type="hidden" name="FilterDate2" value="__FilterDate2__">

</form>

<!-- Create consolidated driver for report -->
<!include type:script; commands:"
	strDest=getToken("homedir")+"temporary_files/"+getSalt(8)+".$$$"
	driverOpen(ConsDriverHorz,__consDriverName__,WRITE,true)
	cStore=getElementCount("__SelectedStores__","|")
	Cntr=0
	while (Cntr<cStore)
		str=replaceSubstring(getElement("__SelectedStores__",Cntr,"|"),"\","/")
		drvConsVert=getSalt(8)
		sStoreName=lookup("Aspect_BackOffice_Store_Name_By_Directory",replaceSubstring(str,"\","/"))
		driverOpen(ConsDriverVert,drvConsVert,WRITE,true,"|Description="+sStoreName)
		dt1=parseTime("__FilterDate1__","MM-dd-yyyy")
		dt2=parseTime("__FilterDate2__","MM-dd-yyyy")
		bAddVertDriver=false
		while (dateNumber(dt1)<=dateNumber(dt2))
			strFilename=addDirSlash(str)+formatDate(dt1,"MM-dd-yyyy")+"_mix.dbf"
			if (fileExists(strFilename))
				appendToLog("Sales Mix adding: "+sStoreName+" "+strFilename)
				sVertDrvName=getSalt(8)
				driverOpen(POS_Generic_SalesMix_For_Horz_Consolidation_DBase,sVertDrvName,READ,true,"filename="+strFilename)
				driverSetFilter(sVertDrvName,"true",true)
				driverConsolidate(drvConsVert,sVertDrvName,"","","")
				bAddVertDriver=true
			endif
			dt1=incrementTime(dt1,1)
		endwhile
		if(bAddVertDriver)
			driverConsolidate(__consDriverName__,drvConsVert,"","","true","Store_Name|CategoryName|Item_Name")
		endif
		Cntr=Cntr + 1
	endwhile
	appendToLog("Sales Mix setting filter")
	driverSetFilter(__consDriverName__,"true",true)
	appendToLog("Sales Mix consolidation complete")
">

<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->
<div ID="Report_Content__WidgetID__" style="">
	<!!include type:driver;
		driver: __driverID__;
		driver: "__consDriverName__";
		name: "__DriverName__";
		systemdriver: "true";
		_params: "filename={@addDirSlash("__SelectedStores__")}__FilterDate1___mix.dbf";
		params: "";
		fields: "__FieldsSelected__";
		sort: "{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort1__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort2__,{@if("__SortOrder1__"="1",char(0x2D),"")}__Sort3__";
		filter: "if(not(isDeleted),
					if(('__Filter_Category_Name__'='~all~') or (CategoryName='__Filter_Category_Name__'),
						if(('__Filter_Department_Name__'='~all~') or (Department_Name='__Filter_Department_Name__'),
							true,
						false),
					false),
				false)";
		class: "<!include type:expression; expression:"if(boolean('__SubtotalsOnly__'),'subtotalonly','basic1')">";
		paging: "false";
		maxrecords: "-1";
		pageargs: "__DriverName__NextPage=____DriverName__NextPage__&__DriverName__PrevPage=____DriverName__PrevPage__&__DriverName__FirstPage=____DriverName__FirstPage__&__DriverName__LastPage=____DriverName__LastPage__";
		startrecord: "____DriverName__startrecord__";
		url: "javascript:reloadWidget('__WidgetID__','__reloadURL__&__filterArgs__')";
		details:"<!include type:expression; expression:"not(boolean('__SubtotalsOnly__'))">";
		subtotal1: "__subtotalargs1__";
		subtotal2: "__subtotalargs2__";
		subtotal3: "__subtotalargs3__";
		subtotal4: "__subtotalargs4__";
		tableborder: "true";
		tablestyle: "width:auto";
		tableheader: "true";
		output: "chart";
		chartType: "__ChartType__";
		chartWidth: "800";
		chartHeight: "300";
		chartLabels: "45";
		chartTitle: "Sales Mix";
		debug: "false";
	>
</div>

<!-- Initialize any custom controls -->
<script language="Javascript">initializeTable("__WidgetID__");</script>

<!-- close the driver -->
<!!include type:script; commands:"
	driverClose(__consDriverName__);
">

__servertimerresults__
 
 
 
 
 
 
 
 
 
 
 
 
 
 
</widget><widget name="Notification Queries" group="Notifications" category="" description="" type="Simple" Mobile="false" Processing=2 metadata="" IncludeInViewer="false" PublicName="Notification Queries" modified="03-03-2021 19:07:29" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=03-08-2019 22:20:58:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
<conditional expression:false>
<!--	
	servertimer=false
	Back-Office Notifications
-->
</conditional>

<include type:script; commands:"
	appendToLog("Notification query: __query__");
">

<include type:expression; expression:htmlConstant("FormName","__",getSalt(16))>
<include type:expression; expression:htmlConstant("FormName1","__",getSalt(16))>
<include type:expression; expression:htmlConstant("FormName2","__",getSalt(16))>
<include type:expression; expression:htmlConstant("FormName3","__",getSalt(16))>

<conditional expression:("__action__"="packLibraryDrivers")>
	<conditional expression:false>
	=======================================================================================
	Packs library drivers
	Params:
		None
	=======================================================================================
	</conditional>

	<!include type:script; name:"setAspect6MasterPassword"; commands:"
		t=now()
		scriptExec("Library_packDrivers",true)
		scriptSetResult("Pack library drivers complete ("+(now()-t)+"ms)")
	">
</conditional>

<conditional expression:("__action__"="setAspect6MasterPassword")>
	<conditional expression:false>
	=======================================================================================
	Sets the Aspect6 master password
	Params:
		NewPassword  - The new master password
	=======================================================================================
	</conditional>

	<!include type:script; name:"setAspect6MasterPassword"; commands:"
		appendToLog("Set Aspect6 master password")
		appendToLog("Filename: "+addDirslash(getToken(Aspect6AspectDirectory))+"user.dta")
		
		//abort if no password specified
		if(undefined("__NewPassword__"))
			scriptSetResult("Error: No password specified")
			exit
		endif
		
		//abort if Aspect directory is not defined
		if(len(trim(getToken(Aspect6AspectDirectory)))=0)
			scriptSetResult("Error: No Aspect directory not defined")
			exit
		endif
		
		//encrypt the password
		c=len("__NewPassword__")
		driverOpen(Aspect6_UserRec,d,WRITE)
		driverPutFieldAbsolute(d,"Master_Password[1]",0,c))
		
		n=0
		while(n<c)
			b=asciiToByte(substring("__NewPassword__",n,n+1))+127
			driverPutFieldAbsolute(d,"Master_Password["+(n+2)+"]",0,b)
			n=n+1
		endwhile
		
		n=n+3
		while(n<=41)
			driverPutFieldAbsolute(d,"Master_Password["+(n)+"]",0,0)
			n=n+1
		endwhile
		driverClose(d)
		scriptSetResult("ok")
	">
</conditional>

<conditional expression:("__action__"="getAspect6ExportOptions")>
	<!include type:expression; expression:htmlConstant("salt","__",lowercase(getSalt(4)))>
	
	<!-- Dialog used to edit a record -->
	<div ID="__salt__ASPECT6_EXPORTPROFILERECDialog" class="default_table_dialog" style="height:auto; width:300px; display:none;">
		<div style="padding:5px">
			<!-- set this image to visible to include a close icon when the dialog header is disabled -->
			<img onclick="closeTableEditDialog(this)" style="float:right;display:block" src="__RequestServer__/?Network=Greenlight&ID=getImage&filename=close20x20.png">

			<!-- Create a random ID used in the tab ID's below.  This is necessary when the table is included several times in one container.  
				If the tabs and associated divs do not have unique ID's, they will not be shown/hidden properly. -->
			<include type:expression; expression:htmlConstant("tabrandom","__",getSalt(8))>
			
			<div style="width:100%; border-bottom:solid 1px #c9c9c9">
				<table class='tabdialog'>
					<tr>
						<td><span onClick="javascript:showTab(this,'__tabrandom__Main')">Main</span></td>
					</tr>
				</table>	
			</div>

			<!-- Main -->
			<div ID="__tabrandom__Main" style="height:350px;">
				<table>
					<tr>
						<td>Profile Name</td>
						<td><input ONCHANGE="submitDialogCell(this)" STYLE="null;width:150px" VALUE="All files" NAME="Profile" TYPE="text"></input></td>
					</tr>
					<tr>
						<td>Store</td>
						<td><input ONCHANGE="submitDialogCell(this)" STYLE="null;text-align:right;width:60px" VALUE="0" NAME="Store" TYPE="text"></input></td>
					</tr>
					<tr>
						<td>ExportName</td>
						<td><input ONCHANGE="submitDialogCell(this)" STYLE="null;width:150px" VALUE="aspect.fil" NAME="ExportName" TYPE="text"></input></td>
					</tr>
					<tr>
						<td>Period</td>
						<td><!include type:expression; expression:htmlSelect("Aspect6_Export_Store_Profile_Periods","Period","","style="+quote("width:auto")+" onChange="+quote("submitDialogCell(this)"))></td>
					</tr>
					<tr>
						<td COLSPAN="2"><input ONCHANGE="submitDialogCell(this)" VALUE="false" NAME="Skip_Earlier" TYPE="checkbox"></input> Skip_Earlier</td>
					</tr>
					<tr>
						<td COLSPAN="2"><input ONCHANGE="submitDialogCell(this)" VALUE="false" NAME="Compress" TYPE="checkbox"></input> Compress</td>
					</tr>
					<tr>
						<td COLSPAN="2"><input CHECKED="checked" ONCHANGE="submitDialogCell(this)" VALUE="true" NAME="Entire_Files" TYPE="checkbox"></input> Entire_Files</td>
					</tr>
				</table>
			</div>

		</div>
	</div>


	<!include type:driver;
		ver: "1.0";
		title: "";
		HashID: "";
		driver: "ASPECT6_EXPORTPROFILEREC";
		name: "";
		systemdriver: "false";
		dispose: "false";
		state: "";
		params: "keyexpression=ID_RESERVED_DISKINDEX|CacheTtl=0|Metadata=ASPECT6_EXPORTPROFILEREC";
		keyDescription: "";
		display: "";
		fields: "";
		sort: "ID";
		filter: "true";
		class: "basic1";
		maxrecords: "-1";
		startrecord: "0";
		style: "width:auto";
		canSelect: "true";
		readOnly: "false";
		canEdit: "true";
		canAdd: "true";
		canDelete: "true";
		EmbedValues: "";
		EditDialogID: "__salt__ASPECT6_EXPORTPROFILERECDialog";
		DialogHeader: "false";
		canCloseDialog: "true";
		ExternalParams: "";
		ExternalFilters: "";
		TableControls: "true";
		TableHeader: "true";
		TableBorder: "true";
		SelectDisplay: "true";
		EditDisplay: "true";
		Menu: "";
		Messages: "true";
		ChartType: "";
		ChartWidth: "640";
		ChartHeight: "480";
		ChartLabels: "Down_45";
		ChartTitle: "";
		ChartStyle: "display:none";
		RefreshInterval: "0";
		RefreshWhenHidden: "true";
		RefreshIntervalRemote: "0";
		RefreshWhenHiddenRemote: "true";
		Javascript: "DocumentID|Widget|ContainerItemID|Params";
		debug: "false";
	>
</conditional>

<conditional expression:("__action__"="restoreIngrItem")>
	<conditional expression:false>
	=======================================================================================
	Restores the first item in ingr.dta from a backup
	Params:
		Filename - The name of the ingr.dta that will be repaired
		Backup - The name of the ingr.dta containing the original data that will be restored
	=======================================================================================
	</conditional>

	<!include type:script; name:"restoreIngrItem"; commands:"
		sActiveFilename=trim("__Filename__")
		sBackupFilename=trim("__Backup__")

		appendToLog("Restoring first item in ingr.dta")
		appendToLog("Active filename: "+sActiveFilename)
		appendToLog("Backup filename: "+sBackupFilename)

		//abort if either filename is not specified
		if((startsWith(sActiveFilename,"__")) or (len(sActiveFilename)=0))
			scriptSetResult(appendToLog("Aborting because active filename is not valid"))
			exit
		endif

		if((startsWith(sBackupFilename,"__")) or (len(sBackupFilename)=0))
			scriptSetResult(appendToLog("Aborting because backup filename is not valid"))
			exit
		endif

		//abort if either file does not exist
		if(not(fileExists(sActiveFilename)))
			scriptSetResult(appendToLog("Aborting because "+sActiveFilename+" does not exist"))
			exit
		endif

		if(not(fileExists(sBackupFilename)))
			scriptSetResult(appendToLog("Aborting because "+sBackupFilename+" does not exist"))
			exit
		endif

		//abort if the files are the same
		if(sActiveFilename=sBackupFilename)
			scriptSetResult(appendToLog("Aborting because the files have the same name"))
			exit
		endif

		//open the drivers
		driverOpen(Aspect6_Driver_Inventory_Items_By_Filename,"drvActive",WRITE,false,"filename="+sActiveFilename)
		driverOpen(Aspect6_Driver_Inventory_Items_By_Filename,"drvBackup",WRITE,false,"filename="+sBackupFilename)
		
		cActive=driverGetRecordCount(drvActive,true)
		cBackup=driverGetRecordCount(drvBackup,true)

		appendToLog("Records in active file: "+cActive)
		appendToLog("Records in active file: "+cBackup)

		//Abort if the number of records in either file is 0
		if((cActive=0) or (cBackup=0))
			appendToLog("Aborting because the active record count is 0")
			driverClose(drvActive)
			driverClose(drvBackup)
			exit
		endif

		//copy the record from the backup driver to the active driver
		s=driverCopyRecord(drvBackup,0,drvActive,0)
		appendToLog("Copied record: "+s)

		//close the drivers		
		driverClose(drvActive)
		driverClose(drvBackup)
		
		scriptSetResult("Ok")
	">
</conditional>

<conditional expression:("__query__"="importMcLaneItemCodes")>
	<conditional expression:false>
	=========================================================================
	Creates a vendor named McLane if one does not exist, initializes the
	McLane codes and applies them to Aspect6.  Basically, this notification
	automatically does the work required in the McLane setup page.  If is 
	used to set up the codes for stores that have not done the work.
	=========================================================================
	</conditional>
	<!include type:script; name:"importMcLaneItemCodes"; commands:"
		sResult=appendToLog("Notification Query: importMcLaneItemCodes started")+char(0x3c)+"br"+char(0x3e)

		//Get store information
		sActiveStoreCode=getToken("Aspect6ActiveStoreCode")
		sActiveStoreDir=addDirSlash(lookup(Aspect6_Store_Directories_By_Code,sActiveStoreCode))
		sActiveStoreName=lookup(Aspect6_Store_Codes,sActiveStoreCode)

		//abort if vendors.dta or ingr.dta are not found
		if(not(fileExists(sActiveStoreDir+"vendors.dta"))) 
			sResult=sResult + "Aborting McLane setup because cannot locate "+sActiveStoreDir+"vendors.dta"+char(0x3c)+"br"+char(0x3e)
			scriptSetResult(sResult)
			exit
		endif
		if(not(fileExists(sActiveStoreDir+"ingr.dta"))) 
			s="Aborting McLane setup because cannot locate "+sActiveStoreDir+"ingr.dta"+char(0x3c)+"br"+char(0x3e)
			scriptSetResult(sResult)
			exit
		endif
		
		//add McLane vendor
		driverOpen(Aspect6_Driver_Vendors,drvVendors,WRITE,false,"code="+sActiveStoreCode)
		driverSetFilter(drvVendors,"true",true)
		sFilter="startsWith(ID_TVENDORREC_NAME,"+quote("McLane")+")"
		r=driverFindRecord(drvVendors,0,sFilter)
		if(r<0)
			sResult=sResult + appendToLog("Adding vendor record for McLane")+char(0x3c)+"br"+char(0x3e)
			r=driverAddNewRecord(drvVendors)
			driverPutFieldAbsolute(drvVendors,"ID_TVENDORREC_NAME",r,"McLane")
			driverPutFieldAbsolute(drvVendors,"ID_TVENDORREC_CODE",r,"McLane")
		else
			sResult=sResult + appendToLog("Vendor record for McLane already exists")+char(0x3c)+"br"+char(0x3e)
		endif
		driverClose(drvVendors)
		
		//create a hashtable of all item codes and the associated McLane code
		sResult=sResult + appendToLog("Creating collection of item codes")+char(0x3c)+"br"+char(0x3e)
		hashCreate(hLookupCode)
		driverOpen(Aspect6_Mclane_Setup,drvMcLane,READ)
		c=driverGetRecordCount(drvMcLane,true)
		n=0
		while(n<c)
			sMcLaneCode=driverGetFieldAbsolute(drvMcLane,"Item_Code",n)
			while((len(sMcLaneCode)>0) and (startsWith(sMcLaneCode,"0")))
				sMcLaneCode=substring(sMcLaneCode,1)
			endwhile
			sAllCodes=driverGetFieldAbsolute(drvMcLane,"All_Codes",n)
			cCode=getElementCount(sAllCodes,"|")
			nCode=0
			while(nCode<cCode)
				//trim any leading zeroes from the code
				sCode=getElement(sAllCodes,nCode,"|")
				while((len(sCode)>0) and (startsWith(sCode,"0")))
					sCode=substring(sCode,1)
				endwhile
				if(len(trim(sCode))>0)
					hashPut(hLookupCode,sCode,sMcLaneCode)
					//appendToLog("HashPut "+sCode+"="+sMcLaneCode)
				endif
				nCode=nCode+1
			endwhile
			n=n+1
		endwhile
		driverClose(drvMcLane)
		sResult=sResult + appendToLog("Found "+hashSize(hLookupCode)+" codes")+char(0x3c)+"br"+char(0x3e)

		driverOpen(Aspect6_Driver_Inventory_Items_By_Filename,drvIngr,WRITE,false,"Code="+sActiveStoreCode)
		driverSetFilter(	drvIngr,"true",true)
		cRecipe=0
		cDeleted=0
		cItem=0
		cMatch=0
		cAlreadySet=0
		c=driverGetRecordCount(drvIngr)
		n=0
		while(n<c)
			bIsRecipe=driverGetField(drvIngr,"ID_TRECIPEINFOREC_ISRECIPE",n)
			if(not(bIsRecipe))
				bDeleted=driverGetField(drvIngr,"ID_TINGREDIENTREC_DELETED",n)
				if(not(bDeleted))
					if(driverGetField(drvIngr,"McLane_Size_Prefix",n)=0)
						driverPutField(drvIngr,"McLane_Size_Prefix",n,1)
					endif

					if(len(trim(driverGetField(drvIngr,"McLane_Item_Code",n)))<4)
						cVendor=1
						while(cVendor<4)
							//trim any leading zeroes from the code and save the original so it can be recorded
							//The replaces_code field is used to avoid dropping the current vendor when adding the mclane vendor
							sExistingCode=trim(driverGetField(drvIngr,"ID_TINGREDIENTREC_VENDOR["+cVendor+"].ID_TVENDORINFOREC_CODE",n))
							sOriginalCode=sExistingCode
							while((len(sExistingCode)>0) and (startsWith(sExistingCode,"0")))
								sExistingCode=substring(sExistingCode,1)
							endwhile
							if(len(sExistingCode)>0)
								s=hashGet(hLookupCode,sExistingCode)
								//appendToLog("hashGet "+sExistingCode+"="+s)
								if(len(s)>0)
									driverPutField(drvIngr,"McLane_Item_Code",n,s)
									driverPutField(drvIngr,"McLane_Replaces_Code",n,sOriginalCode)

									//use the existing purchase size as the default
									sizePrefix=driverGetField(drvIngr,"ID_TINGREDIENTREC_VENDOR["+cVendor+"].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_PREFIX",n)
									sizeSz=driverGetField(drvIngr,"ID_TINGREDIENTREC_VENDOR["+cVendor+"].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ",n)
									driverPutField(drvIngr,"McLane_Size_Prefix",n,sizePrefix)
									driverPutField(drvIngr,"McLane_Size_Sz",n,sizeSz)

									cMatch=cMatch+1
								endif
							endif
							cVendor=cVendor+1
						endwhile
					else
						cAlreadySet=cAlreadySet + 1
					endif
					cItem=cItem + 1
				else
					cDeleted=cDeleted + 1
				endif
			else
				cRecipe=cRecipe  + 1
			endif

			n=n + 1
		endwhile
		driverClose(drvIngr)
		
		iTotalInitialized=cMatch+cAlreadySet
		sResult=sResult + appendToLog("Codes initialized for "+iTotalInitialized+" items "+formatNumber(iTotalInitialized/cItem,"0%"))+char(0x3c)+"br"+char(0x3e)
		
		//apply the changes.  This is done by calling the AspectScript item in the McLane setup page
		s=getWidget("DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=McLane Setup&ContainerItemID=AspectScript&action=applyMclaneSelections")
		s=trim(replaceSubstring(s,char(0x3c)+"html"+char(0x3e),""))
		sResult=sResult + appendToLog(s)+char(0x3c)+"br"+char(0x3e)
		
		scriptSetResult(sResult)
	">
</conditional>

<conditional expression:("__query__"="ListMcLaneInvoicesAtStore")>
	<conditional expression:false>
	//=======================================================================
	Called by the server when McLane invoices are available for download.
	The list of files is in __files__ in the form
		filename^size|filename^size
	//=======================================================================
	</conditional>
	
	<!!include type:driver;
		ver: "1.0";
		title: "";
		HashID: "";
		driver: "GREENLIGHT_GENERIC_FILE_LIST_WITH_FILESPEC";
		name: "";
		systemdriver: "false";
		dispose: "false";
		params: "keyexpression=Filename|CacheTtl=0|Filespec=<!include type:expression; expression:addDirSlash(trim(lookup(Aspect6_Store_Directories_By_Code,getToken("Aspect6ActiveStoreCode"))))+"mclane/*.*">";
		keyDescription: "Filename";
		display: "";
		fields: "Filename,RemoteSize,RemoteModified";
		sort: "Section_Header_By_RemoteDirectory,Filename";
		filter: "true";
		class: "basic1";
		maxrecords: "-1";
		startrecord: "0";
		style: "width:auto";
		canSelect: "false";
		readOnly: "true";
		canEdit: "false";
		canAdd: "false";
		canDelete: "false";
		EmbedValues: "";
		EditDialogID: "none";
		DialogHeader: "false";
		canCloseDialog: "true";
		ExternalParams: "";
		ExternalFilters: "";
		TableControls: "true";
		TableHeader: "true";
		TableBorder: "true";
		SelectDisplay: "true";
		EditDisplay: "true";
		Messages: "true";
		ChartType: "";
		ChartWidth: "640";
		ChartHeight: "480";
		ChartLabels: "Down_45";
		ChartTitle: "";
		ChartStyle: "display:none";
		debug: "false";
	>
</conditional>

<conditional expression:("__query__"="archiveMcLaneInvoices")>
	<conditional expression:false>
	//=======================================================================
	Moves invoices from the McLane folder to the McLane/Archive folder
	after the invoice has been imported into Aspect6.  Looks inside the 
	invoice file because files may contain more than one invoice.
	//=======================================================================
	</conditional>
	
	<!include type:script; name:"archiveMcLaneInvoices"; commands:"
		appendToLog("Archive McLane Invoices started")
		
		//hashIDs used for error notification
		sErrorHashID="4cdjwsw7d"+char(0x3B)+"4idczse67"+char(0x3B)+"c2dxgdryb"
		
		//get the active store code
		sStoreCode=trim(getToken("Aspect6ActiveStoreCode"))
		if(len(sStoreCode)=0)
			s="Aborting archive Mclane invoices because an active store code is not defined"
			//sendNotification(sErrorHashID,4,"Text="+s,"",5)
			scriptSetResult(appendToLog(s))
			exit
		endif
		
		//get the store directory
		sStoreDir=trim(lookup(Aspect6_Store_Directories_By_Code,sStoreCode))
		if((len(sStoreDir)=0) or (not(fileExists(sStoreDir))))
			s="Aborting archive Mclane invoices because the store directory is invalid: ["+sStoreDir+"]"
			//sendNotification(sErrorHashID,4,"Text="+s,"",5)
			scriptSetResult(appendToLog(s))
			exit
		endif
		appendToLog("Archive McLane Invoices StoreCode="+sStoreCode+" Dir="+sStoreDir)

		//get list of files in McLane directory
		sMcLaneDir=addDirSlash(sStoreDir)+"McLane/"
		arLocalFiles=getMatchingFiles(sMcLaneDir+"*.csv",false,false,0,"")
		cFiles=getElementCount(arLocalFiles,"|")
		
		//abort if there are no files in the directory
		if(cFiles=0)
			s="There are no invoices in the McLane directory"
			scriptSetResult(appendToLog(s))
			exit
		endif
		
		//open the Aspect6 invoice header file.  Filter to csv files so the parseTime
		//function below doesn't bomb on a file that's not an invoice
		driverOpen(Aspect6_Driver_Invoices,drvInvoiceHdr,READ,false,"code="+sStoreCode)
		driverSetFilter(drvInvoiceHdr,"true",true)
		
		//see if the invoices in each file have been imported
		hashCreate(hInvoiceNo)
		cFilesToImport=0
		cInvoicesToImport=0
		cArchived=0
		n=0
		while(n<cFiles)
			sFilename=getElement(arLocalFiles,n,"|")
			if(value(left(fileName(sFilename),6))>0)
				appendToLog("Check for import of "+sFilename)
				bArchiveIt=true
				hashClear(hInvoiceNo)

				//always archive invoices more than 14 days old
				dt=parseTime(substring(fileName(sFilename),0,6),"MMddyy")
				if(dt>incrementTime(now(),-14))
					//get a list of invoice numbers in the file
					driverOpen(Aspect_Back_Office_McLane_Invoice,drvMcLaneInvoice,READ,false,"filename="+sFilename)
					driverSetFilter(drvMcLaneInvoice,"true",true)
					cLine=driverGetRecordCount(drvMcLaneInvoice)
					nLine=0
					while(nLine<cLine)
						sInvoiceNumber=driverGetField(drvMcLaneInvoice,"Invoice_Number",nLine)
						if(not(hashContainsKey(hInvoiceNo,sInvoiceNumber)))
							appendToLog("Checking invoice "+sInvoiceNumber+" in "+sFilename)
							hashPut(hInvoiceNo,sInvoiceNumber,sInvoiceNumber)
							r=driverFindRecord(drvInvoiceHdr,0,"ID_TINVOICEHDRREC_NUMBER="+quote(sInvoiceNumber))
							if(r<0)
								bArchiveIt=false
								appendToLog("Invoice no. "+sInvoiceNumber+" has not been imported")
								cInvoicesToImport=cInvoicesToImport + 1
							else
								appendToLog("Invoice no. "+sInvoiceNumber+" has been imported")
							endif
						endif
						nLine=nLine+1
					endwhile
					driverClose(drvMcLaneInvoice)
				endif
				
				if(bArchiveIt) 
					sArchiveFilename=sMcLaneDir+"archive/"+fileName(sFilename)+fileExt(sFilename)
					appendToLog("Archiving invoice "+sFilename+" to "+sArchiveFilename)
					fileMove(sFilename,sArchiveFilename,true)
					cArchived=cArchived + 1
				else
					cFilesToImport=cFilesToImport + 1
				endif
			endif
			
			n=n+1
		endwhile
		
		driverClose(drvInvoiceHdr)
		
		//show system tray message if there are any invoices to import
		if(cInvoicesToImport>0) 
			s="You have "+cInvoicesToImport+" McLane invoices available to import."
			showSystemTrayMessage("McLane Invoices Available",s,"Information")
		endif
		
		s="Archive McLane invoices complete.  Archived: "+cArchived+" To Import: "+cInvoicesToImport+" invoices in "+cFilesToImport+" files"
		scriptSetResult(appendToLog(s))
	">
</conditional>

<conditional expression:("__query__"="requestMcLaneInvoices")>
	<conditional expression:false>
	//=======================================================================
	Called by the server when McLane invoices are available for download.
	The list of files is in __files__ in the form
		filename^size|filename^size
	//=======================================================================
	</conditional>
	
	<!include type:script; name:"requestMcLaneInvoices"; commands:"
		appendToLog("Request McLane Invoices started")
		appendToLog("ReplyTo=__NotificationReplyTo__")
		appendToLog("Files=__Files__")
		
		//hashIDs used for error notification
		sErrorHashID="4idczse67"+char(0x3B)+"c2dxgdryb"

		//get the Aspect7 directory to which invoices will be received
		sAspect7InvoiceDir=getToken("homedir")+"invoices\"

		//get the aspect6 active store code and directory
		sStoreCode=trim(getToken("Aspect6ActiveStoreCode"))
		sStoreDir=""
		if(len(sStoreCode)>0)
			sStoreDir=trim(lookup(Aspect6_Store_Directories_By_Code,sStoreCode))
		endif

		sMcLaneDir=addDirSlash(sStoreDir)+"McLane/"
		
		//if the aspect6 store directory is not valid, use the aspect7 directory
		if((len(sStoreDir)=0) or (not(fileExists(sStoreDir))))
			sMcLaneDir=sAspect7InvoiceDir
		endif
		
		appendToLog("Receiving McLane invoices to "+sMcLaneDir)
		
		//get IP address of the server - 1/28/14 - Modified to use http instead of https because
		//a customer (162bnh0kb) was unable to access the file using https
		//sServerIP=getToken("AspectServerIP1")
		sServerIP=getToken("AspectServerIP2")
		//if testing, use the local IP address
		if("__NotificationReplyTo__"<>getToken("AspectServerHashID"))
			//sServerIP="127.0.0.1:"+getToken("Greenlight_Client_Https_Port")
			sServerIP="127.0.0.1:"+getToken("Greenlight_Client_Http_Port")
		endif
		
		cFiles=getElementCount("__Files__","|")
		if(cFiles=0)
			s="No files included in notification"
			scriptSetResult(appendToLog(s))
			exit
		endif
		
		cReceived=0
		cSizeError=0
		cSaveError=0
		
		n=0
		while(n<cFiles)
			s=getElement("__Files__",n,"|")
			sFilename=getElement(s,0,"^")
			iSize=value(getElement(s,1,"^"))
			
			//get the file from the server
			sUrl="http://"+sServerIP+"/?Network=Aspect_Support&ID=getMcLaneInvoice&Filename="+sFilename
			appendToLog("Requesting "+sUrl)
			sContent=fileGetContent(sUrl)
			appendToLog("Got "+len(sContent)+" bytes.  Size1="+iSize)

			bUseSecureServer=false
			if(len(sContent)<iSize)
				sUrl2="https://"+getToken("AspectServerIP1")+"/?Network=Aspect_Support&ID=getMcLaneInvoice&Filename="+sFilename
				appendToLog("Requesting (secure) "+sUrl2)
				sContent=fileGetContent(sUrl2)
				appendToLog("Got "+len(sContent)+" bytes.  Size="+iSize+" using secure connection")
				bUseSecureServer=true
			endif

			//this is added to the start of each file
			sPrefix="McLane"+char(13)+char(10)
			
			if(len(sContent)=iSize) 
				//see if there's a file with the same date and size already saved
				sDate=substring(getElement(sFilename,1,"_"),4) + substring(getElement(sFilename,1,"_"),2,4)
				
				//get list of files already downloaded.  Need to include those moved to the arvhive directory too in
				//case files are moved back to the pending directory on the server to be sent again.  Otherwise, files
				//would be saved to the maclane directory, possibly using a different name (-1, -2, etc) and then
				//be duplicated in the archive direcory.  This means a customer may need to look in the archive folder
				//when an invoice is sent again.
				arLocalFiles=getMatchingFiles(sMcLaneDir+sDate+"*.csv",false,false,0,"")
				s=getMatchingFiles(sMcLaneDir+"archive/"+sDate+"*.csv",false,false,0,"")
				if(len(trim(s))>0)
					arLocalFiles=addElement(arLocalFiles,s,"|")
				endif
				
				cLocalFiles=getElementCount(arLocalFiles,"|")
				nLocalFiles=0
				sLocalFilename=""
				while((nLocalFiles<cLocalFiles) and (len(sLocalFilename)=0))
					s=getElement(arLocalFiles,nLocalFiles,"|")
					if(fileSize(s)=iSize+len(sPrefix))
						if(fileGetContent(s)=sPrefix+sContent)
							appendToLog("Invoice already saved as "+s)
							sLocalFilename=s
						endif
					endif
					nLocalFiles=nLocalFiles + 1
				endwhile
				
				//if the file does not already exist, give it a unique name.  Don't allow more than
				//9 files to be saved for the same date since this would probably be the result of an unknown error
				if(len(sLocalFilename)=0)
					i=1
					while((len(sLocalFilename)=0) and (i<10))
						s=sMcLaneDir + sDate + "-"+i+".csv"
						if(not(fileExists(s)))
							sLocalFilename=s
						endif
						i=i+1
					endwhile
					
					if(len(sLocalFilename)=0)
						appendToLog("More than 8 invoices already saved for "+sDate)
					endif
				endif

				//save the file 
				if(len(sLocalFilename)>0)
					fileWriteContent(sLocalFilename,sPrefix+sContent)
					appendToLog("Saved invoice "+sFilename+" to "+sLocalFilename)

					//copy the file to the aspect7 directory
					if(sStoreDir<>sAspect7InvoiceDir)
						sAspect7Filename=sAspect7InvoiceDir+fileName(sLocalFilename)+fileExt(sLocalFilename)
						fileCopy(sLocalFilename,sAspect7Filename)
						appendToLog("Copied "+sLocalFilename+" to "+sAspect7Filename)
					endif
					
					//send a message to the server that the invoice hass been successfully downloaded
					if(bUseSecureServer)
						sUrl="https://"+getToken("AspectServerIP1")+"/?Network=Aspect_Support&ID=confirmMcLaneInvoice&Filename="+sFilename
						appendToLog("Sending confirmation "+sUrl)
						s=fileGetContent(sUrl)
						appendToLog("Confirmed="+s)
					else
						sUrl="http://"+sServerIP+"/?Network=Aspect_Support&ID=confirmMcLaneInvoice&Filename="+sFilename
						appendToLog("Sending confirmation "+sUrl)
						s=fileGetContent(sUrl)
						appendToLog("Confirmed="+s)
					endif
					cReceived=cReceived + 1
				else
					appendToLog("Unable to save McLane invoice: "+sFilename)
					cSaveError=cSaveError + 1
				endif
			else
				cSizeError=cSizeError + 1
			endif
			
			n=n+1
		endwhile

		s="Receive McLane invoices. Received: "+cReceived+" SizeErr: "+cSizeError+" SaveErr: "+cSaveError
		if(cSizeError+cSaveError>0)
			sendNotification(sErrorHashID,4,"Text="+s,"",5)
		endif
		scriptSetResult(appendToLog(s))
	">
</conditional>

<conditional expression:("__query__"="setMclaneCustomerNumber")>
	<!include type:script; name:"NotificationQuery_setMclaneCustomerNumber"; commands:"
		driverOpen(Aspect_BackOffice_Preferences_Read,drvPref,WRITE)
		driverPutFieldAbsolute(drvPref,"Aspect_BackOffice_Pref_McLane_Customer_Code",0,"__MclaneCustomerNumber__")
		driverClose(drvPref)
		setToken("Aspect_BackOffice_Pref_McLane_Customer_Code","__MclaneCustomerNumber__")
		
		//send a status message
		scriptExec(Aspect_BackOffice_Status,false)
		
		scriptSetResult("Set McLane customer code to __MclaneCustomerNumber__ and updated status.")
	">
</conditional>

<conditional expression:("__query__"="getMclaneVendorRecord")>
	<conditional expression:false>
	=========================================================================
	Returns a table containing only the vendor(s) starting with McLane.
	The table Includes an input field for editing the g/l account.  This
	table is displayed on the McLane setup page.
	
	Params:
		StoreCode - 	The Aspect6 code of the store
		AddRecord -	If true, a new vendor record is created for McLane if
					one does not already exist
	=========================================================================
	</conditional>
	<conditional expression:("__AddRecord__"="true")>
		<!include type:script; name:"NotificationQueries_getMclaneVendorRecord"; commands:"
			appendToLog("Looking for McLane vendor record AddRecord=__AddRecord__")
			driverOpen(Aspect6_Driver_Vendors,drvVendors,WRITE,false,"code=__StoreCode__")
			driverSetFilter(drvVendors,"true",true)
			sFilter="startsWith(ID_TVENDORREC_NAME,"+quote("McLane")+")"
			r=driverFindRecord(drvVendors,0,sFilter)
			if(r<0)
				appendToLog("Adding vendor record for McLane")
				r=driverAddNewRecord(drvVendors)
				driverPutFieldAbsolute(drvVendors,"ID_TVENDORREC_NAME",r,"McLane")
				driverPutFieldAbsolute(drvVendors,"ID_TVENDORREC_CODE",r,"McLane")
			else
				appendToLog("Vendor record for McLane already exists")
			endif
			driverClose(drvVendors)
		">
	</conditional>
	<!include type:driver;
		ver: "1.0";
		title: "";
		HashID: "";
		driver: "ASPECT6_DRIVER_VENDORS";
		name: "";
		systemdriver: "false";
		dispose: "false";
		params: "keyexpression=ID_TVENDORREC_NAME|CacheTtl=0|code=__StoreCode__";
		keyDescription: "ID_TVENDORREC_NAME";
		display: "none";
		fields: "ID_TVENDORREC_NAME,ID_TVENDORREC_CODE,ID_TVENDORREC_GL_ACCOUNT";
		sort: "ID_TVENDORREC_NAME";
		filter: "startsWith(ID_TVENDORREC_NAME,'McLane')";
		class: "basic1";
		maxrecords: "-1";
		startrecord: "0";
		style: "width:auto";
		canSelect: "false";
		readOnly: "false";
		canEdit: "false";
		canAdd: "false";
		canDelete: "false";
		EmbedValues: "ID_TVENDORREC_NAME,ID_TVENDORREC_CODE,ID_TVENDORREC_GL_ACCOUNT";
		EditDialogID: "";
		DialogHeader: "false";
		canCloseDialog: "true";
		ExternalParams: "";
		ExternalFilters: "";
		TableControls: "false";
		TableHeader: "true";
		TableBorder: "true";
		SelectDisplay: "false";
		EditDisplay: "false";
		Messages: "true";
		ChartType: "";
		ChartWidth: "640";
		ChartHeight: "480";
		ChartLabels: "Down_45";
		ChartTitle: "";
		ChartStyle: "display:none";
		debug: "true";
	>
</conditional>

<conditional expression:("__query__"="SynchronizeOfficePolling")>
	<!include type:script; commands:"
		s=appendToLog("Synchronize office polling started.")
		if(getToken("Aspect_BackOffice_Pref_Polling_Location")<>"Office")
			s=s + "  Aborted because this is not an office computer."
			scriptSetResult(appendToLog(s))
		else
			n1=scriptCount("Library_updateClient","arClientID="+quote("Aspect_Polling_HomeOffice"))
			n2=scriptCount("Aspect6_importPollingFile")
			if(n1+n2=0) 
				//note: this command doesn't currently return a result.  A resultok argument needs to 
				//be passed to the script containing an expression to be evaluated using indirect()
				s=s + scriptExec(Library_updateClient,true,"LibraryClient=Aspect_Polling_HomeOffice")
			else
				s=s + "Already synchronizing."
			endif
			scriptSetResult(appendToLog(s))
		endif
	">
</conditional>

<conditional expression:("__query__"="UpgradeAspect6")>
	<!include type:script; commands:"
		if((startsWith("__Wait__","__")) or ("__Wait__"="false"))
			scriptSetResult("Aspect6 is being upgraded from version "+getToken("Aspect6VersionNumber")+"  A separate notification will be sent when the upgrade is complete.")
			appendToLog("Upgrade Aspect6.  ReplyTo=__NotificationReplyTo__ ParentID=__ParentID__")
			scriptExec(Aspect_BackOffice_upgradeAspect6,false,"NotificationReplyTo=__NotificationReplyTo__&ParentID=")
		else
			s=scriptExec(Aspect_BackOffice_upgradeAspect6,true,"")
			scriptSetResult(getToken("aspect6_install_progress"))
		endif
	">
</conditional>

<conditional expression:("__query__"="DownloadAspect6")>
	<!include type:script; commands:"
		s=scriptExec(Aspect_BackOffice_downloadAspect6,true,"InstallDrive=__InstallDrive__")
		scriptSetResult(getToken("aspect6_install_progress"))
	">
</conditional>

<conditional expression:("__query__"="get_registration")>
	<div ID="BackOfficePreferencesDialog" style="width:780px;display:block;margin:0px">
		<div ID="LocalPreferencesDialog" style="padding:0px 5px;margin:0px">
			<h2>Company</h2>
			<table class='form' style="width:100%">
				<tr>
					<td style="width:90px">Company&nbsp;Name*</td>
					<td {@htmlToolTip("__tooltip_Aspect_BackOffice_Pref_Contact_Company__")}><input type="text" ID="CompanyName" name="Aspect_BackOffice_Pref_Contact_Company" value="" style="width:250px" onchange="submitDialogCell(this,'BackOfficePreferencesDialog')"></td>
				</tr>
				<tr>
					<td valign='top'>Company&nbsp;ID</td>
					<td {@htmlToolTip("__tooltip_Aspect_BackOffice_Pref_CompanyPollingID__")}>
						<input type="text" ID="CompanyID" name="Aspect_BackOffice_Pref_CompanyPollingID" value="" style="width:250px" onChange="companyIDChanged()">
						<span ID="Company_ID_Validation_Msg" style="padding-left:5px"></span>
					</td>
				</tr>
				<tr>
					<td>Password*</td>
					<td {@htmlToolTip("__tooltip_Aspect_BackOffice_PollPasswd__")}><input type="password" name="Aspect_BackOffice_PollPasswd" value="" style="width:250px" onchange="submitDialogCell(this,'BackOfficePreferencesDialog')"></td>
				</tr>
				<tr>
					<td>Public Password</td>
					<td {@htmlToolTip("__tooltip_Public_Passwd__")}>{@left(encryptPassword(getToken("Aspect_BackOffice_PollPasswd") ,"abc",16),8)}</td>
				</tr>
			</table>

			<h2>Store</h2>
			<table class='form' style="width:100%">
				<tr>
					<td style="width:90px">Store&nbsp;Name*</td>
					<td><input type='text' name='Organization_Name' value='' style="width:250px" onchange="submitDialogCell(this,'LocalPreferencesDialog')"></td>
				</tr>
				<tr>
					<td>Email*</td>
					<td><input type='text' name='Contact_Email' value='' style="width:250px" onchange="submitDialogCell(this,'LocalPreferencesDialog')"></td>
				</tr>
				<tr>
					<td>Contact&nbsp;Name*</td>
					<td><input type='text' name='Contact_Name' value='' style="width:250px" onchange="submitDialogCell(this,'LocalPreferencesDialog')"></td>
				</tr>
				<tr>
					<td>Phone*</td>
					<td><input type='text' name='Contact_Phone' value='' style="width:250px" onchange="submitDialogCell(this','LocalPreferencesDialog')"></td>
				</tr>
			</table>

			<h2>This Computer</h2>
			<table class='form' width="100%">
				<tr>
					<td style="width:90px">Location</td>
					<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Polling_Location,"Aspect_BackOffice_Pref_Polling_Location","","ID="+quote("select_location")+" onChange="+quote("submitDialogCell(this,"+char(0x27)+"BackOfficePreferencesDialog"+char(0x27)+");"))></td>
				</tr>
				<tr>
					<td colspan='2'>
						<span><input type='checkbox' ID="ckbox_import_from_pos" name='Aspect_BackOffice_Pref_Import_From_POS' <!include type:expression; expression:if(getToken("Aspect_BackOffice_Pref_Polling_Location")="office","disabled","")> onchange="submitDialogCell(this,'BackOfficePreferencesDialog')"></span>
						This computer imports from the POS System
					</td>
				</tr>
			</table>

			<!-- This table does not display properly.  For some reason, the tbody has it's display style set to none
				and the table rows are not displayed.  Needs to be figured out.
			<h2>Polling</h2>
			< !include type:driver;
				ver: "1.0";
				title: "";
				HashID: "";
				driver: "LIBRARY_CLIENT";
				name: "xxx";
				systemdriver: "false";
				dispose: "false";
				params: "keyexpression=ID|CacheTtl=0";
				keyDescription: "ID";
				display: "none";
				fields: "Name,TaskEnabled";
				sort: "Name";
				filter: "(ID='Aspect_Polling_Store') or (ID='Aspect_Polling_HomeOffice')";
				class: "basic1";
				maxrecords: "2";
				startrecord: "0";
				style: "width:auto";
				canSelect: "false";
				readOnly: "false";
				canEdit: "true";
				canAdd: "false";
				canDelete: "false";
				EmbedValues: "ID,Name,TaskEnabled";
				EditDialogID: "";
				DialogHeader: "false";
				canCloseDialog: "true";
				ExternalParams: "";
				ExternalFilters: "";
				TableControls: "true";
				TableHeader: "true";
				TableBorder: "true";
				SelectDisplay: "false";
				EditDisplay: "false";
				Messages: "true";
				ChartType: "none";
				debug: "true";
			>
			-->
			
			<h2>Billing</h2>
			<table class='form' width="100%">
				<tr>
					<td style="width:90px">Bill To*</td>
					<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Billing_Method,"Aspect_BackOffice_Pref_Billing_Method","","ID="+quote("select_billing_method")+" onChange="+quote("selectBillingMethodChanged();submitDialogCell(this,"+char(0x27)+"BackOfficePreferencesDialog"+char(0x27)+")")+" style="+quote("width:250px")+" "+quote(htmlTooltip("__tooltip_billing_method__")))></td>
				</tr>
			</table>

			<div ID="bill_directly">
				<table class='form' width="100%">
					<tr>
						<td style="width:90px">Email*</td>
						<td><input type="text" name="Aspect_BackOffice_Pref_Billing_Email_Direct" value="" style="width:250px" {@htmlTooltip("__tooltip_billing_direct_email__")} onchange="submitDialogCell(this,'BackOfficePreferencesDialog')"></td>
					</tr>
				</table>
			</div>

			<div ID="bill_reseller">
				<table class='form' width="100%">
					<tr>
						<td style="width:90px">Company*</td>
						<td><input type="text" name="Aspect_BackOffice_Pref_Billing_Reseller_Company" value="" style="width:250px" {@htmlTooltip("__tooltip_reseller_company__")} onchange="submitDialogCell(this,'BackOfficePreferencesDialog')"></td>
					</tr>
					<tr>
						<td style="width:90px">Contact Name*</td>
						<td><input type="text" name="Aspect_BackOffice_Pref_Billing_Reseller_Contact" value="" style="width:250px" onchange="submitDialogCell(this,'BackOfficePreferencesDialog')"></td>
					</tr>
					<tr>
						<td style="width:90px">Phone*</td>
						<td><input type="text" name="Aspect_BackOffice_Pref_Billing_Reseller_Phone" value="" style="width:250px" onchange="submitDialogCell(this,'BackOfficePreferencesDialog')"></td>
					</tr>
					<tr>
						<td style="width:90px">Email</td>
						<td><input type="text" name="Aspect_BackOffice_Pref_Billing_Reseller_Email" value="" style="width:250px" onchange="submitDialogCell(this,'BackOfficePreferencesDialog')"></td>
					</tr>
				</table>
			</div>
		</div>
	</div>

	<!-- BackOffice Preferences -->
	<include type:driver;
		ver: "1.0";
		title: "";
		HashID: "";
		driver: "Aspect_BackOffice_Preferences";
		name: "";
		systemdriver: "false";
		dispose: "false";
		params: "keyexpression=Aspect_BackOffice_Pref_DiskIndex|CacheTtl=0";
		keyDescription: "Aspect_BackOffice_Pref_DiskIndex";
		display: "none";
		fields: "Aspect_BackOffice_Pref_DiskIndex";
		sort: "Aspect_BackOffice_Pref_DiskIndex";
		filter: "Aspect_BackOffice_Pref_DiskIndex=0";
		class: "basic1";
		maxrecords: "-1";
		startrecord: "0";
		style: "display:none";
		canSelect: "false";
		readOnly: "false";
		canEdit: "true";
		canAdd: "false";
		canDelete: "false";
		EmbedValues: "";
		DialogHeader: "false";
		canCloseDialog: "false";
		EditDialogID: "BackOfficePreferencesDialog";
		ExternalParams: "";
		ExternalFilters: "";
		TableControls: "true";
		TableHeader: "true";
		TableBorder: "true";
		SelectDisplay: "true";
		EditDisplay: "true";
		Messages: "true";
		ChartType: "";
		ChartWidth: "640";
		ChartHeight: "480";
		ChartLabels: "Down_45";
		ChartTitle: "";
		ChartStyle: "display:none";
		debug: "false";
	>

	<!-- Preferences from Aspect Core.  These include the organization name, contact name, email and phone -->
	<include type:driver;
		ver: "1.0";
		title: "";
		HashID: "";
		driver: "ReadLocalPreferences";
		name: "";
		systemdriver: "false";
		dispose: "false";
		params: "keyexpression=DiskIndex|CacheTtl=0";
		keyDescription: "DiskIndex";
		display: "none";
		fields: "DiskIndex,HomeDirectory";
		sort: "DiskIndex";
		filter: "DiskIndex=0";
		class: "basic1";
		maxrecords: "-1";
		startrecord: "0";
		style: "display:none";
		canSelect: "false";
		readOnly: "false";
		canEdit: "true";
		canAdd: "false";
		canDelete: "false";
		EmbedValues: "";
		DialogHeader: "false";
		canCloseDialog: "false";
		EditDialogID: "LocalPreferencesDialog";
		ExternalParams: "";
		ExternalFilters: "";
		TableControls: "true";
		TableHeader: "true";
		TableBorder: "true";
		SelectDisplay: "true";
		EditDisplay: "true";
		Messages: "true";
		ChartType: "";
		ChartWidth: "640";
		ChartHeight: "480";
		ChartLabels: "Down_45";
		ChartTitle: "";
		ChartStyle: "display:none";
		debug: "false";
	>
</conditional>

<conditional expression:("__query__"="getStatusMessage")>
	<!include type:script; commands:"
		//Send a status message.  This also updates the binary buffers created by the status message and included below
		scriptExec(Aspect_BackOffice_Status,true,"immediate=true")

		sResult="[h2]Status Message Contents[/h2]"
		sResult=sResult + "[table class='basic1'][tr][th align='left']ID[/th][th align='left']Value[/th][/tr]"
		arFieldID=driverGetFieldIDs(drvBackOfficeStatusMsgNow,0,false,"|",false)
		arFieldName=driverGetFieldIDs(drvBackOfficeStatusMsgNow,0,false,"|",true)
		cField=getElementCount(arFieldID,"|")
		n=0
		while(n<cField)
			sFieldID=getElement(arFieldID,n,"|")
			sFieldName=getElement(arFieldName,n,"|")
			sValue=driverGetFieldAbsolute(drvBackOfficeStatusMsgNow,sFieldID,0)
			if(sFieldID="autostart")
				sValue=lookup(Aspect_BackOffice_Loader_Status_Description,sValue)
			endif
			sResult=sResult + "[tr][td]"+sFieldName+"[/td][td]"+sValue+"[/td][/tr]"
			n=n+1
		endwhile
		sResult=sResult + "[/table][br][br]"

		//create table of store export files - show single file for store and all files for office
		sResult=sResult + "[h2]Aspect6 Export Files[/h2]"
		sResult=sResult + "[table class='basic1'][tr][th align='left']Store[/th][th align='left']Filename[/th][th align='left']Modified[/th][th align='left']Size[/th][/tr]"
		sLocation=getToken(Aspect_BackOffice_Pref_Polling_Location)
		if (driverIsOpen(drvStores))
			cStore=driverGetRecordCount(drvStores)
			n=0
			while (n<cStore)
				sStoreCode=driverGetField(drvStores,"ID_TSTOREREC_CODE",n)
				sStoreDir=driverGetField(drvStores,"ID_TSTOREREC_ASPECT_DIR",n)
				if ((sLocation="office") or (sStoreCode=getToken("Aspect6ActiveStoreCode")))
					sDate=""
					intSize=0
					sExportFilename=addDirSlash(sStoreDir)+sStoreCode+".zip"
					if (fileExists(sExportFilename))
						sDate=formatDate(fileModified(sExportFilename),"MMddyyyy HHmmssz")
						intSize=fileSize(sExportFilename)
					endif
					sResult=sResult + "[tr][td]"+sStoreCode+"[/td][td]"+sExportFilename+"[/td][td]"+sDate+"[/td][td]"+intSize+"[/td][/tr]"
				endif
				n=n + 1
			endwhile
		endif
		sResult=sResult + "[/table][br][br]"
		
		sResult=replaceSubstring(replaceSubstring(sResult,"[",char(0x3c)),"]",char(0x3e))
		scriptSetResult(sResult)
	">
</conditional>

<conditional expression:("__query__"="exportXMLReport")>
	<conditional expression:false>
		Creates an XML export.
		
		Params:
			StoreDir - Aspect6 store directory
			XMLReport - XML report to create: 6=Labor detail, 5=Extensions 2=Cost of Sales
			Date1 - Starting date (MM-dd-yyyy)
			Date2 - Ending date (MM-dd-yyyy) 
	</conditional>
	<!include type:script; commands:"
		//abort if store directory not defined
		if(undefined("__StoreDir__"))
			return("Error: Missing StoreDir")
		endif

		//abort if no stores selected
		if(getElementCount(arStoreCode,"|")=0)
			return("Error: No stores selected")
		endif

		//abort if no export selected
		if(undefined("__XMLReport__"))
			return("Error: No exports selected")
		endif

		//open Aspect6 store file
		sFilename=addDirSlash(getToken("Aspect6StartInDirectory"))+"stores.dta"
		if(not(fileExists(sFilename)))
			return("Error: Cannot locate "+sFilename)
		endif

		//abort if start date is blank or undefined
		if((startsWith("__Date1__","__")) or (len("__Date1__")=0))
			return("Error: Missing start date")
		endif

		//abort if end date is blank or undefined
		if((startsWith("__Date2__","__")) or (len("__Date2__")=0))
			return("Error: Missing ending date")
		endif

		Dt1=parseTime("__Date1__","MM-dd-yyyy")
		Dt2=parseTime("__Date2__","MM-dd-yyyy")

		//abort if starting date is invalid
		if(year(Dt1)<1970)
			return("Error: Invalid start date: __Date1__")
		endif

		//abort if ending date is invalid
		if(year(Dt2)<1970)
			return("Error: Invalid ending date: __Date2__")
		endif

		//abort if start date is later than ending date 
		if(Dt1>Dt2)
			return("Error: Start date is later than ending date.  Start:__Date1__ End:__Date2__")
		endif

		//set variables used to launch Aspect6
		sExeDir=replaceSubstring(addDirSlash(getToken("Aspect6AspectDirectory")),"/","\")
		sExe=sExeDir+"endofday.exe"
		sStartIn=replaceSubstring(addDirSlash(getToken("Aspect6StartInDirectory")),"/","\")
		sTerm=sExeDir+"term.dta"

		sDir=replaceSubstring(addDirSlash("__StoreDir__"),"/","\")
		sCode=lookup(Aspect6_Store_Code_By_Directory,sDir)
		appendToLog("Store directory: "+sDir+" sCode="+sCode)

		//export xml report
		sFilename=sDir+"__XMLReport__.xml"
		s=if(fileExists(sFilename),fileDelete(sFilename),"")
		sArgs="/silent /xml /xmlreport="__XMLReport__" /store="+sCode+" /from=__Date1__ /to=__Date2__ /filename="+sFilename
		appendToLog("Launching "+sExe+" "+sArgs)
		t=now()
		b=if(fileExists(sTerm),fileDelete(sTerm),"")
		launchApplication(sExe,sStartIn,30000,sArgs)
		cntrSleep=0
		while ((not(fileExists(sTerm))) and (cntrSleep<600))
			scriptSleep(100)
			cntrSleep=cntrSleep+1
		endwhile

		if((fileExists(sFilename)) and (fileSize(sFilename)>0))
			return("Ok: Exported "+fileSize(sFilename)+" bytes to "+sFilename)
		endif
		
		return("Error: Unable to export xml report")	
	">
</conditional>

<conditional expression:("__query__"="importPOSTotals")>
	<!include type:script; commands:"
		scriptSetResult(scriptExec(Aspect6_importPosFiles,true,"overwrite=true"))
	">
</conditional>

<conditional expression:("__query__"="updateLicense")>
	<!include type:script; commands:"
		if(__Create__)
			//rename the existing license
			s=scriptExec(Aspect_BackOffice_findEndofDay,true)
			sExeDir=addDirSlash(getElement(s,0,"|"))
			sStartInDir=addDirSlash(getElement(s,1,"|"))
			
			sLicenseFilename=sStartInDir+"install_.dta"
			sTempFilename=getToken("Temporary_Files")+"install_.$$$"
			if(fileExists(sLicenseFilename))
				fileCopy(sLicenseFilename,sTempFilename)
				fileDelete(sLicenseFilename)
				appendToLog("Deleted existing license")
			endif
			
			//launch endofday to initialize the license
			launchApplication(addDirSlash(sExeDir)+"endofday.exe",sStartInDir,false,"/InitializeLicense")
			scriptSleep(5000)
			
			//abort if the license was not created
			if(not(fileExists(sLicenseFilename)))
				fileCopy(sTempFilename,sLicenseFilename)
				scriptSetResult(appendToLog("Unable to create new license."))
				exit
			endif
		endif

		scriptSetResult("License status: "+scriptExec(Aspect6_updateLicense,true))
	">
	<br><br>
	<table>
		<tr><td>Home Directory</td><td>{homedir}</td></tr>
		<tr><td>Aspect6 Aspect Directory</td><td>{Aspect6AspectDirectory}</td></tr>
		<tr><td>Aspect6 Start-In Directory</td><td>{Aspect6StartInDirectory}</td></tr>
		<tr><td>Aspect6 Current Version</td><td>{Aspect6CurrentVersion}</td></tr>
		<tr><td>Aspect6 Active Store Code</td><td>{Aspect6ActiveStoreCode}</td></tr>
	</table>
</conditional>

<conditional expression:("__query__"="exportStore")>
	<conditional expression:false>
		Executes File / Aspect Store to export data for the home office.
	</conditional>
	<!include type:script; name:"exportStore"; commands:"
		appendToLog("Processing notification to export store.  Period=__Period__: "+lookup(Aspect6_Export_Store_Profile_Periods,"__Period__"))
		sArgs=if(not(startsWith("__Period__","__")),"Period=__Period__","")
		s=scriptExec(Aspect6_Export_Store,true,sArgs)
		scriptSetResult(s)
	">
</conditional>

<conditional expression:("__query__"="RequestStoreFiles")>
	<!include type:script; commands:"
		appendToLog("Notification query RequestStoreFiles started")
		sActiveStoreCode=getToken("Aspect6ActiveStoreCode")
		if(len(sActiveStoreCode)=0)
			scriptSetResult("The request for store files failed because there is no store selected as active")
			appendToLog("Notification query RequestStoreFiles aborted because no active store code specified")
			exit
		endif
		
		//get the store directory
		sStoreDir=lookup(Aspect6_Store_Directories_By_Code,sActiveStoreCode)
		
		//get the InitiateFileSynch widget from the requesting computer, passing the appropriate arguments
		//the getWidget funcion will wait until the widget is retrieved.  The result returned from the InitiateFileSynch
		//widget is returned below
		sArgs="Source=__NotificationReplyTo__&DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em&Widget=Notification Queries&Query=InitiateFileSynch"
		sArgs=sArgs + "&CustomerID={AspectHashID}&RemoteFilespec="+sStoreDir+"\*.*&LocalFilespec=__RemoteFilespec__"
		sArgs=sArgs + "&Recurse=false&MaxDir=0&Exclude=*.zip&Replace=true&TimeOnly=true&Age=90"
		appendToLog("RequestStoreFiles gets widget "+sArgs)
		sResult=getWidget(sArgs)
		appendToLog("RequestStoreFiles got result: "+sResult)
		
		scriptSetResult(sResult)
	">
</conditional>

<conditional expression:("__query__"="DeleteFile")>
	<!include type:script; commands:"
		sFilename=replaceSubstring("__Filename__","\","/")
		
		//abort if file does not exist
		if(not(fileExists(sFilename)))
			scriptSetResult("File does not exist: __Filename__")
			exit
		endif
		
		//abort if file is a directory
		if(FileIsDirectory(sFilename))
			scriptSetResult("Cannot delete a directory: __Filename__")
			exit
		endif
		
		//file must be located in the Aspect6 or Aspect7 directories
		bCandelete=false
		sHomeDir=replaceSubstring(getToken("Homedir"),"\","/")
		if(startsWith(sFilename,sHomeDir))
			bCandelete=true
		else
			sAspect6Dir=replaceSubstring(getToken("Aspect6AspectDirectory"),"\","/")
			if((len(sAspect6Dir)>0) and (startsWith(sFilename,sAspect6Dir))) 
				bCanDelete=true
			endif
		endif
		if(not(bCanDelete))
			scriptSetResult("Cannot delete __Filename__.  Must be in "+sHomeDir+" or "+sAspect6Dir)
			exit
		endif
			
		s=fileDelete(sFilename)
		scriptSetResult("Delete __Filename__: "+if(fileExists(sFilename),"Error","OK"))
	">
</conditional>

<conditional expression:("__query__"="RenameFile")>
	<!include type:script; commands:"
		sOldname=replaceSubstring("__OldName__","\","/")
		sNewname=replaceSubstring("__NewName__","\","/")
		
		//abort if file does not exist
		if(not(fileExists(sOldName)))
			scriptSetResult("File does not exist: __OldName__")
			exit
		endif
		
		//abort if file is a directory
		if(FileIsDirectory(sOldName))
			scriptSetResult("Cannot delete a directory: __OldName__")
			exit
		endif
		
		if(fileExists(sNewName)) 
			scriptSetResult("Cannot rename file because a file named __NewName__ already exists")
		endif
		
		//file must be located in the Aspect6 or Aspect7 directories
		bCanRename=false
		sHomeDir=replaceSubstring(getToken("Homedir"),"\","/")
		if(startsWith(sOldName,sHomeDir))
			bCanRename=true
		else
			sAspect6Dir=replaceSubstring(getToken("Aspect6AspectDirectory"),"\","/")
			if((len(sAspect6Dir)>0) and (startsWith(sOldName,sAspect6Dir))) 
				bCanRename=true
			endif
		endif
		if(not(bCanRename))
			scriptSetResult("Cannot rename __OldName__.  Must be in "+sHomeDir+" or "+sAspect6Dir)
			exit
		endif
			
		fileRename(sOldName,sNewName)
		scriptSetResult("Rename __OldName__ to __NewName__: "+if(fileExists(sNewName),"OK","Error"))
	">
</conditional>

<conditional expression:("__query__"="BackupAspect6StoreFiles")>
	<!include type:script; commands:"
		//abort if an active store is not defined
		sActiveStoreCode=getToken("Aspect6ActiveStoreCode")
		if(len(sActiveStoreCode)=0)
			scriptSetResult("Cannot backup Aspect6 store files because there is no active store code")
			exit
		endif
		
		//get the store directory
		sStoreDir=lookup(Aspect6_Store_Directories_By_Code,sActiveStoreCode)
		sArchiveName=sStoreDir+"backup_"+formatDate(now(),"MMddyyyy_HHmm")+".zip"
		sResult=zipFiles(sArchiveName,sStoreDir+"*.*",false,false,"","*.zip")
		
		//abort if file wasn't created
		if(not(fileExists(sArchiveName)))
			scriptSetResult("Error creating zip file named "+sArchiveName+": "+sResult)
			exit
		endif
		
		//return the contents of the zip file in the result
		sBr=char(0x3c)+"br"+char(0x3e)
		arContents=replaceSubstring(getZipContents(sArchiveName,char(13),true),char(13),sBr)
		
		sResult="Created "+sArchiveName+": "+sResult+"[br][br]"
		sResult=sResult + s + sBr+sBr+arContents
		scriptSetResult(sResult)
	">
</conditional>

<conditional expression:("__query__"="aspect7_setup")>
	
	<!-- tooltips -->
	<constant name:"__tooltip_company_list__"; value:"
		<p>The company list is retrieved from the server and includes every computer in the company.</p>
		<p>When the company list is updated on an office computer, stores are created automatically.</p>
		<p>The company list is used to create polling tasks on office computers to request files from each store (See Polling Tasks below).</p>
		<p>The company list is also used on both store and office computers to create the tasks used to synchronized data across computers in a company (See Synchronize Tasks below).</p>
		<p>There is currently no scheduled task to update the company list so it must be updated manually.</p>
	">
		
	<constant name:"__tooltip_stores__"; value:"
		<p>There should be one store listed on computers running at a store.  At an office, there should be one record for each store in the company.</p>
		<p>Store records are created automatically on office computers whenever the company list is updated.  The store directory will be defined using the
			customer ID of each store.</p>
	">
		
	<constant name:"__tooltip_polling_tasks__"; value:"
		<p>Polling tasks are created on both store and office computers.</p>
		<p>On store computers, a separate task is created for each office computer to send a notification every 60 minutes when the store data has been modified.</p>
		<p>On office computers, a task is created for each store to request any new data every 60 minutes.</p>
		<p>Since these two tasks run every 60 minutes, they are redundant.  In the future, stores will send their notifications more frequently and office 
			computers will request new data every 6 or 12 hours only as a backup in case a notification from a store is missed.</p>
	">
		
	<constant name:"__tooltip_synchronize_tasks__"; value:"
		<p>Synchronize tasks are used to send data from one computer in the company to another.  They can also be used to send data to all office computers,
			all store computers or to all computers in the company.  Files are transferred to another computer in the company by dropping them into the 
			appropriate directory under the synchronize/send directory.</p>
		<p>Synchronize tasks check the contents of the synchronize/send/... directories every 60 seconds.  When the contents of the directory are modified, a 
			notification is sent to the appropriate recipients to let them know that data is available.  The recipients then send a notification to request
			the data.</p>
	">
		
	<constant name:"__tooltip_pos_synch_tasks__"; value:"
		<p>POS Synch tasks are used to synchronize data with the POS.</p>
	">

	<conditional expression:"(not(startsWith('__action__','__'))) and (not(len('__action__')=0))">
		<!-- include Action header if an action is defined -->
		<h1>Actions</h1>
	</conditional>
	
	<!-- actions -->
	<conditional expression:"('__action__'='update_company_list')">
		<!include type:script; commands:"
			s=scriptExec(Aspect_BackOffice_updateCompanyList,true)
			scriptSetResult("Update company list: "+s)
		">
		<br>
	</conditional>
	
	<conditional expression:"('__action__'='update_polling_tasks')">
		<!include type:script; commands:"
			s=scriptExec(Aspect_BackOffice_updatePollingTasks,true)
			scriptSetResult("Update polling tasks: "+s)
		">
		<br>
	</conditional>
	
	<conditional expression:"('__action__'='update_synchronize_tasks')">
		<!include type:script; commands:"
			s=scriptExec(GreenLight_createSynchTasks,true)
			scriptSetResult("Update synchronize tasks: "+s)
		">
		<br>
	</conditional>
	
	<conditional expression:"(not(startsWith('__TaskName__','__'))) and ('__action__'='runtask')">
		<!include type:script; commands:"
			sResult=execTask("__TaskDriverID__","__TaskName__")
			scriptSetResult(appendToLog("Executed __TaskName__ Result: "+sResult))
		">
	</conditional>
	
	<h1>Setup</h1>
	<table>
		<tr><td>Home Directory</td><td>{homedir}</td></tr>
		<tr><td>Aspect6 Aspect Directory</td><td>{Aspect6AspectDirectory}</td></tr>
		<tr><td>Aspect6 Start-In Directory</td><td>{Aspect6StartInDirectory}</td></tr>
		<tr><td>Aspect6 Current Version</td><td>{Aspect6CurrentVersion}</td></tr>
		<tr><td>Aspect6 Active Store Code</td><td>{Aspect6ActiveStoreCode}</td></tr>
	</table>
	<br>
	
	<h1 {@htmlTooltip("__tooltip_company_list__")}>Company List</h1>
	
	<!-- office computers -->
	<!include type:driver;
		driver: Aspect_Back_Office_Company_List;
		name: "Aspect_Back_Office_Company_List";
		systemdriver: "false";
		params: "";
		fields: "Name,HashID";
		sort: "Section_Header_By_Location,Name";
		filter: "Location='office'";
		class: "basic1";
		paging: "false";
		maxrecords: "-1";
		pageargs: "Aspect_Back_Office_Company_ListNextPage=__Aspect_Back_Office_Company_ListNextPage__&Aspect_Back_Office_Company_ListPrevPage=__Aspect_Back_Office_Company_ListPrevPage__&Aspect_Back_Office_Company_ListFirstPage=__Aspect_Back_Office_Company_ListFirstPage__&Aspect_Back_Office_Company_ListLastPage=__Aspect_Back_Office_Company_ListLastPage__";
		startrecord: "__Aspect_Back_Office_Company_Liststartrecord__";
		url: "https://$server$/?Network=GreenLight&ID=getCachedWidget&DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Notification Queries";
		tableborder: "true";
		tablestyle: "width:auto";
		tableheader: "true";
		debug: "false";
	>

	<br>
	<!-- store computers -->
	<!include type:driver;
		driver: Aspect_Back_Office_Company_List;
		name: "Aspect_Back_Office_Company_List";
		systemdriver: "false";
		params: "";
		fields: "Name,HashID,Store_Directory";
		sort: "Section_Header_By_Location,Name";
		filter: "Location='store'";
		class: "basic1";
		paging: "false";
		maxrecords: "-1";
		pageargs: "Aspect_Back_Office_Company_ListNextPage=__Aspect_Back_Office_Company_ListNextPage__&Aspect_Back_Office_Company_ListPrevPage=__Aspect_Back_Office_Company_ListPrevPage__&Aspect_Back_Office_Company_ListFirstPage=__Aspect_Back_Office_Company_ListFirstPage__&Aspect_Back_Office_Company_ListLastPage=__Aspect_Back_Office_Company_ListLastPage__";
		startrecord: "__Aspect_Back_Office_Company_Liststartrecord__";
		url: "https://$server$/?Network=GreenLight&ID=getCachedWidget&DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Notification Queries";
		tableborder: "true";
		tablestyle: "width:auto";
		tableheader: "true";
		debug: "false";
	>
	<br>
	
	<form name="__formname1__">
		<input type="hidden" name="action" value="update_company_list">
		<input type="button" value="Update Company List" onClick="submitQueryResponse('__FormName1__')">
		
		<input type="hidden" name="AltText" value="Submitting request...">
		<input type="hidden" name="ParentID" value="__ParentID__">
		<input type="hidden" name="Recipient" value="__Recipient__">
		<input type="hidden" name="Type" value="13">
		<input type="hidden" name="TTL" value="5">
		<input type="hidden" name="DocumentID" value="h0BE4ziTlLytqKxtWLMy5CVY">
		<input type="hidden" name="Widget" value="Notification Queries">
		<input type="hidden" name="query" value="aspect7_setup">
	</form>
	<br>
	
	<h1 {@htmlTooltip("__tooltip_stores__")}>Stores</h1>
	<!-- stores -->
	<include type:driver;
		driver: Aspect_BackOffice_Store;
		name: "Aspect_BackOffice_Store";
		systemdriver: "false";
		params: "";
		fields: "Store_Name,HashID,Store_Directory,Code,POS_Type,Enable_POS_Import,POS_Directory";
		sort: "Store_Name";
		filter: "true";
		class: "basic1";
		paging: "false";
		maxrecords: "-1";
		tableborder: "true";
		tablestyle: "width:auto";
		tableheader: "true";
		debug: "false";
	>
	<br>

	<h1 {@htmlTooltip("__tooltip_polling_tasks__")}>Polling Tasks</h1>
	<!include type:driver;
		driver: "DRVENABLEDTASKS";
		name: "DRVENABLEDTASKS";
		systemdriver: "true";
		params: "";
		fields: "TaskName,IsRunning,TaskNextExecution,Last_Run,Duration,Last_Action,Run_Task";
		sort: "TaskName";
		filter: "(Category2='Polling') and (not(IsUserTask)) and (not(TaskName='Update Polling Tasks'))";
		class: "basic1";
		paging: "false";
		maxrecords: "-1";
		pageargs: "TaskScheduler_StatusNextPage=__TaskScheduler_StatusNextPage__&TaskScheduler_StatusPrevPage=__TaskScheduler_StatusPrevPage__&TaskScheduler_StatusFirstPage=__TaskScheduler_StatusFirstPage__&TaskScheduler_StatusLastPage=__TaskScheduler_StatusLastPage__";
		startrecord: "__TaskScheduler_Statusstartrecord__";
		url: "https://$server$/?Network=GreenLight&ID=getCachedWidget&DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em&Widget=Enabled Tasks";
		tableborder: "true";
		tablestyle: "width:90%";
		tableheader: "true";
		debug: "false";
	>	
	<br>
	<form name="__formname2__">
		<input type="hidden" name="action" value="update_polling_tasks">
		<input type="button" value="Update Polling Tasks" onClick="submitQueryResponse('__FormName2__')">
		
		<input type="hidden" name="AltText" value="Submitting request...">
		<input type="hidden" name="ParentID" value="__ParentID__">
		<input type="hidden" name="Recipient" value="__Recipient__">
		<input type="hidden" name="Type" value="13">
		<input type="hidden" name="TTL" value="5">
		<input type="hidden" name="DocumentID" value="h0BE4ziTlLytqKxtWLMy5CVY">
		<input type="hidden" name="Widget" value="Notification Queries">
		<input type="hidden" name="query" value="aspect7_setup">
	</form>
	<br>
	
	<h1 {@htmlTooltip("__tooltip_synchronize_tasks__")}>Synchronize Tasks</h1>
	<!include type:driver;
		driver: "DRVENABLEDTASKS";
		name: "DRVENABLEDTASKS";
		systemdriver: "true";
		params: "";
		fields: "TaskName,IsRunning,TaskNextExecution,Last_Run,Duration,Last_Action,Run_Task";
		sort: "TaskName";
		filter: "(Category1='Synchronize') and (not(IsUserTask)) and (not(TaskName='Create Synchronization Tasks'))";
		class: "basic1";
		paging: "false";
		maxrecords: "-1";
		pageargs: "TaskScheduler_StatusNextPage=__TaskScheduler_StatusNextPage__&TaskScheduler_StatusPrevPage=__TaskScheduler_StatusPrevPage__&TaskScheduler_StatusFirstPage=__TaskScheduler_StatusFirstPage__&TaskScheduler_StatusLastPage=__TaskScheduler_StatusLastPage__";
		startrecord: "__TaskScheduler_Statusstartrecord__";
		url: "https://$server$/?Network=GreenLight&ID=getCachedWidget&DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em&Widget=Enabled Tasks";
		tableborder: "true";
		tablestyle: "width:90%";
		tableheader: "true";
		debug: "false";
	>	
	<br>
	<form name="__formname3__">
		<input type="hidden" name="action" value="update_synchronize_tasks">
		<input type="button" value="Update Synchronize Tasks" onClick="submitQueryResponse('__FormName3__')">
		
		<input type="hidden" name="AltText" value="Submitting request...">
		<input type="hidden" name="ParentID" value="__ParentID__">
		<input type="hidden" name="Recipient" value="__Recipient__">
		<input type="hidden" name="Type" value="13">
		<input type="hidden" name="TTL" value="5">
		<input type="hidden" name="DocumentID" value="h0BE4ziTlLytqKxtWLMy5CVY">
		<input type="hidden" name="Widget" value="Notification Queries">
		<input type="hidden" name="query" value="aspect7_setup">
	</form>
	<br>

	<h1 {@htmlTooltip("__tooltip_pos_synch_tasks__")}>POS Synch Tasks</h1>
	
	<!include type:driver;
		driver: "DRVENABLEDTASKS";
		name: "DRVENABLEDTASKS";
		systemdriver: "true";
		params: "";
		fields: "TaskName,IsRunning,TaskNextExecution,Last_Run,Duration,Last_Action,Run_Task_For_Notification";
		sort: "-Section_Header_for_POS_Synch,TaskName";
		filter: "(DriverID='Aspect_Back_Office_Pos_Synch')";
		class: "basic1";
		paging: "false";
		maxrecords: "-1";
		pageargs: "TaskScheduler_StatusNextPage=__TaskScheduler_StatusNextPage__&TaskScheduler_StatusPrevPage=__TaskScheduler_StatusPrevPage__&TaskScheduler_StatusFirstPage=__TaskScheduler_StatusFirstPage__&TaskScheduler_StatusLastPage=__TaskScheduler_StatusLastPage__";
		startrecord: "__TaskScheduler_Statusstartrecord__";
		url: "https://$server$/?Network=GreenLight&ID=getCachedWidget&DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em&Widget=Enabled Tasks";
		tableborder: "true";
		tablestyle: "width:90%";
		tableheader: "true";
		debug: "false";
	>	

	<!-- Note: The field "Run_Task_For_Notification" in the table above gets its values from the form named FormName (as opposed to formname1, formname2, etc)
		so formname must be used here and formname1, etc. used in the other submissions for this query -->
	<form name="__formname__">
		<input type="hidden" name="Action" value="">
		<input type="hidden" name="TaskDriverID" value="">
		<input type="hidden" name="TaskName" value="">
		
		<!-- these fields are supplied by TNotification_ClientSide:processNotificationGetWidget() when the notification is processed -->
		<input type="hidden" name="AltText" value="Submitting request...">
		<input type="hidden" name="ParentID" value="__ParentID__">
		<input type="hidden" name="Recipient" value="__Recipient__">
		<input type="hidden" name="Type" value="13">
		<input type="hidden" name="TTL" value="5">
		<input type="hidden" name="DocumentID" value="h0BE4ziTlLytqKxtWLMy5CVY">
		<input type="hidden" name="Widget" value="Notification Queries">
		<input type="hidden" name="query" value="aspect7_setup">
	</form>
	
</conditional>

<conditional expression:("__query__"="get_synch_files")>
	<!include type:expression; expression:"htmlConstant('temp_drvname','__',getSalt(8))">
	
	<p>Files in synchronize directory</p>

	<!!include type:script; commands:"
		//open a system driver and add all files in the synchronize directory
		driverOpen(GreenLight_Generic_File_List,__temp_drvname__,WRITE,true)
		arFiles=getMatchingFiles(getToken("homedir")+"synchronize/*.*",true,true,0,"")
		cFiles=getElementCount(arFiles,"|")
		
		n=0
		while(n<cFiles)
			r=driverAddNewRecord(__temp_drvname__)
			driverPutFieldAbsolute(__temp_drvname__,"Filename",r,getElement(arFiles,n,"|"))
			n=n+1
		endwhile

		if(cFiles=0)
			sResult="No files found.[br][br]"
		else
			sResult="Found "+cFiles+" files.[br][br]"
		endif
		
		sResult=replaceSubstring(sResult,"[",char(0x3c))
		sResult=replaceSubstring(sResult,"]",char(0x3e))
		scriptSetResult(sResult)
	">
	
	<!!include type:driver;
		driver: __temp_drvname__;
		name: "__temp_drvname__";
		systemdriver: "true";
		params: "";
		fields: "Filename,Size,Modified";
		sort: "Section_Header_By_Directory,Filename";
		filter: "true";
		class: "basic1";
		paging: "false";
		maxrecords: "-1";
		pageargs: "Aspect_Back_Office_Company_ListNextPage=__Aspect_Back_Office_Company_ListNextPage__&Aspect_Back_Office_Company_ListPrevPage=__Aspect_Back_Office_Company_ListPrevPage__&Aspect_Back_Office_Company_ListFirstPage=__Aspect_Back_Office_Company_ListFirstPage__&Aspect_Back_Office_Company_ListLastPage=__Aspect_Back_Office_Company_ListLastPage__";
		startrecord: "__Aspect_Back_Office_Company_Liststartrecord__";
		url: "https://$server$/?Network=GreenLight&ID=getCachedWidget&DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Notification Queries";
		tableborder: "true";
		tablestyle: "width:auto";
		tableheader: "true";
		debug: "false";
	>

	<!!include type:script; commands:"
		//close the driver
		driverClose(__temp_drvname__)
	">
</conditional>

<conditional expression:("__query__"="get_company_list")>
	<conditional expression:"('__action__'='update_company_list')">
		<!include type:script; commands:"
			s=scriptExec(Aspect_BackOffice_updateCompanyList,true)
			scriptSetResult("Update company list: "+s)
		">
	</conditional>
	
	<!include type:driver;
		driver: Aspect_Back_Office_Company_List;
		name: "Aspect_Back_Office_Company_List";
		systemdriver: "false";
		params: "";
		fields: "Name,HashID";
		sort: "Section_Header_By_Location,Name";
		filter: "Location='office'";
		class: "basic1";
		paging: "false";
		maxrecords: "-1";
		pageargs: "Aspect_Back_Office_Company_ListNextPage=__Aspect_Back_Office_Company_ListNextPage__&Aspect_Back_Office_Company_ListPrevPage=__Aspect_Back_Office_Company_ListPrevPage__&Aspect_Back_Office_Company_ListFirstPage=__Aspect_Back_Office_Company_ListFirstPage__&Aspect_Back_Office_Company_ListLastPage=__Aspect_Back_Office_Company_ListLastPage__";
		startrecord: "__Aspect_Back_Office_Company_Liststartrecord__";
		url: "https://$server$/?Network=GreenLight&ID=getCachedWidget&DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Notification Queries";
		tableborder: "true";
		tablestyle: "width:auto";
		tableheader: "true";
		debug: "false";
	>

	<!include type:driver;
		driver: Aspect_Back_Office_Company_List;
		name: "Aspect_Back_Office_Company_List";
		systemdriver: "false";
		params: "";
		fields: "Name,HashID,Store_Directory";
		sort: "Section_Header_By_Location,Name";
		filter: "Location='store'";
		class: "basic1";
		paging: "false";
		maxrecords: "-1";
		pageargs: "Aspect_Back_Office_Company_ListNextPage=__Aspect_Back_Office_Company_ListNextPage__&Aspect_Back_Office_Company_ListPrevPage=__Aspect_Back_Office_Company_ListPrevPage__&Aspect_Back_Office_Company_ListFirstPage=__Aspect_Back_Office_Company_ListFirstPage__&Aspect_Back_Office_Company_ListLastPage=__Aspect_Back_Office_Company_ListLastPage__";
		startrecord: "__Aspect_Back_Office_Company_Liststartrecord__";
		url: "https://$server$/?Network=GreenLight&ID=getCachedWidget&DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Notification Queries";
		tableborder: "true";
		tablestyle: "width:auto";
		tableheader: "true";
		debug: "false";
	>

	<br>
	<form name="__formname__">
		<input type="hidden" name="action" value="update_company_list">
		<input type="button" value="Update From Server" onClick="submitQueryResponse('__FormName__')">
		
		<input type="hidden" name="AltText" value="Submitting request...">
		<input type="hidden" name="ParentID" value="__ParentID__">
		<input type="hidden" name="Recipient" value="__Recipient__">
		<input type="hidden" name="Type" value="13">
		<input type="hidden" name="TTL" value="5">
		<input type="hidden" name="DocumentID" value="h0BE4ziTlLytqKxtWLMy5CVY">
		<input type="hidden" name="Widget" value="Notification Queries">
		<input type="hidden" name="query" value="get_company_list">
	</form>
	<br>
	
</conditional>

<conditional expression:("__query__"="get_aspect7_stores")>
	<include type:driver;
		driver: Aspect_BackOffice_Store;
		name: "Aspect_BackOffice_Store";
		systemdriver: "false";
		params: "";
		fields: "Store_Name,HashID,Store_Directory,Code,POS_Type,Enable_POS_Import,POS_Directory";
		sort: "Store_Name";
		filter: "true";
		class: "basic1";
		paging: "false";
		maxrecords: "-1";
		tableborder: "true";
		tablestyle: "width:auto";
		tableheader: "true";
		debug: "false";
	>
</conditional>

<conditional expression:("__query__"="Initiate_Synch_Store_Files")>
	<!include type:script; name:"Initiate_Synch_Store_Files"; commands:"
		appendToLog("Initiate_Synch_Store_Files started")
		SCustomerID="__CustomerID__"
		sParentID=getElementValue(args,"ParentID","&")
		sRemoteFilespec="__RemoteFilespec__"
		bRecurse=false
		iMaxDir=0
		sExclude="*.zip"
		bReplace=true
		bTimeOnly=true
		iAge=90

		//open the stores driver to get the local filespec
		scriptExec(Aspect_BackOffice_openAspect7Stores,true)
		r=driverFindRecordAbsolute(drvAspect7Stores,0,"HashID="+quote(sCustomerID))
		if(r>=0)
			sLocalFilespec=addDirSlash(driverGetFieldAbsolute(drvAspect7Stores,"Store_Directory",r))
			synchFiles(sCustomerID,sLocalFilespec,sRemoteFilespec,bRecurse,iMaxDir,sExclude,bReplace,bTimeOnly,iAge,"__ParentID__")
			sResult="Data=SuppressDisplay=true"
			appendToLog("Found store.  Starting synchFiles")
			scriptSetResult(sResult)
		else
			s="Cannot locate store with Customer ID="+sCustomerID
			sendNotification(sCustomerID,4,s,"__ParentID__",5)
			appendToLog(s)
			scriptSetResult(s)
		endif
		
		appendToLog("Initiate_Synch_Store_Files complete")
	">
</conditional>

<conditional expression:("__query__"="Aspect6_Settings")>
	<!-- If a store code is supplied, set the active store code -->
	<conditional expression:"((len('__storecode__')>0) and (not(startsWith('__storecode__','__'))))">
		<!include type:script; commands:"
			setToken("Aspect6ActiveStoreCode","__storecode__")
			scriptExec(Aspect_BackOffice_Preferences_Save,true)
			sResult="Store code set to "+getToken("Aspect6ActiveStoreCode")
			appendToLog(sResult)
		">
	</conditional>
	
	<h2>Aspect6 Location</h2>
	<table>
		<tr><td>Program Directory</td><td>{Aspect6AspectDirectory}</td></tr>
		<tr><td>Start-In Directory</td><td>{Aspect6StartInDirectory}</td></tr>
	</table>
		
	<h2>Active Store</h2>
	<form name="__FormName__">
		Active Store Code: <!include type:expression; expression:getToken("Aspect6ActiveStoreCode")><br>
		Select Store <!include type:expression; expression:"htmlSelect('Aspect6_Store_Name_Code_and_Directory_by_Code', 'StoreCode',getToken('Aspect6ActiveStoreCode'), '', '', '')">
		<input type="button" value="send" onClick="submitQueryResponse('__FormName__')">
		
		<!-- these fields are supplied by TNotification_ClientSide:processNotificationGetWidget() when the notification is processed -->
		<input type="hidden" name="AltText" value="Submitting request...">
		<input type="hidden" name="ParentID" value="__ParentID__">
		<input type="hidden" name="Recipient" value="__Recipient__">
		<input type="hidden" name="Type" value="13">
		<input type="hidden" name="TTL" value="5">
		<input type="hidden" name="DocumentID" value="h0BE4ziTlLytqKxtWLMy5CVY">
		<input type="hidden" name="Widget" value="Notification Queries">
		<input type="hidden" name="query" value="Aspect6_Settings">
	</form>
	
	<h2>Stores in Aspect6</h2>
	<div style="background-color:white; width:auto">
		<!include type:driver;
			driver: Aspect6_Driver_Store_Settings;
			name: "Aspect6_Driver_Store_Settings";
			systemdriver: "false";
			params: "";
			fields: "ID_TSTOREREC_CODE,ID_TSTOREREC_NAME,ID_TSTOREREC_ASPECT_DIR";
			sort: "ID_TSTOREREC_CODE";
			filter: "true";
			class: "basic1";
			paging: "false";
			maxrecords: "-1";
			url: "https://$server$/?Network=GreenLight&ID=getCachedWidget&DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Notification Queries";
			tableborder: "true";
			tablestyle: "width:auto";
			tableheader: "true";
			debug: "false";
		>
	</div>
</conditional>

<conditional expression:("__query__"="get_directory_listing")>
	<!include type:expression; expression:htmlConstant("TempFileName","__",getToken("homedir")+"temporary_files/"+getSalt(8)+".$$$")>
	<!include type:expression; expression:htmlConstant("StoreCode","__StoreCode__","")>
	
	<!!include type:script; commands:"
		appendToLog("get directory listing started: __directory__, __files__, __storecode__")
		sDirectoryOption="__directory__"
		sFilesOption="__files__"
		sStoreCodeOption="__storecode__"
		sFilespec=""
		sResult=""

		//if it's a store, set the store code to the active stoer
		if(getToken("Aspect_BackOffice_Pref_Polling_Location")="store")
			sStoreCodeOption=getToken("Aspect6ActiveStoreCode")
			if(len(sStoreCodeOption)=0)
				sResult=sResult + "[font color='red'][b]Error: The active store code is not defined[/b][/font]"
			endif
			if(sDirectoryOption="Aspect6Store")
				sResult=sResult + "[p]Limiting files to the active store: "+sStoreCodeOption+"[/p]"
			endif
		endif
		
		appendToLog("Getting directory listing sDirectoryOption="+sDirectoryOption+" sFilesOption="+sFilesOption+" sStoreCodeOption="+sStoreCodeOption)
		
		if(sDirectoryOption="Aspect6StartIn")
			sFilespec=getToken("Aspect6StartInDirectory")+"*.*"
			sResult=sResult + "[h2]List of files in Aspect start directory[h2]"
		elseif(sDirectoryOption="Aspect6Program")
			sFilespec=getToken("Aspect6AspectDirectory")+"*.*"
			sResult=sResult + "[h2]List of files in Aspect program directory[h2]"
		elseif(sDirectoryOption="Aspect6Store")
			if(len("__StoreCode__")=0)
				sResult=sResult + "[h2}List of files in all stores[/h2]"
			else
				sResult=sResult + "[h2}List of files in: __StoreCode__[/h2]"
			endif

			if(sFilesOption="all")
				sResult=sResult+"[p]All Files.  Limited to files modified in the last 30 days.[/p]"
			elseif(sFilesOption="pos")
				sResult=sResult+"[p]POS Import Files[/p]"
			elseif(sFilesOption="Aspect6Polling")
				sResult=sResult+"[p]Polling Files[/p]"
			endif

			driverOpen(Aspect6_Driver_Store_Settings,drvStore,READ)
			driverSetFilter(drvStore,"true",true)
			cStores=driverGetRecordCount(drvStore)
			Cntr=0
			while(Cntr<cStores)
				sStoreCode=driverGetField(drvStore,ID_TSTOREREC_CODE,Cntr)
				sStoreDir=addDirSlash(driverGetField(drvStore,ID_TSTOREREC_ASPECT_DIR,Cntr))
				bInclude=true

				if((len(trim(sStoreDir))=0) or (not(fileExists(sStoreDir))) or (not(fileIsDirectory(sStoreDir))))
					bInclude=false
				endif
				
				if(len(trim(sStoreCodeOption))>0)
					if(sStoreCode<>sStoreCodeOption) 
						bInclude=false
					endif
				endif
				
				if(bInclude)
					appendToLog("Including store: "+sStoreCode)
					if(sFilesOption="all")
						sFilespec=addElement(sFilespec,sStoreDir+"*.*",char(0x3B))
					elseif(sFilesOption="pos")
						sFilespec=addElement(sFilespec,sStoreDir+"*.dbf",char(0x3B))
						sFilespec=addElement(sFilespec,sStoreDir+"*.~bf",char(0x3B))
						sFilespec=addElement(sFilespec,sStoreDir+"*.csv",char(0x3B))
						sFilespec=addElement(sFilespec,sStoreDir+"*.~sv",char(0x3B))
						sFilespec=addElement(sFilespec,sStoreDir+"*.dat",char(0x3B))
						sFilespec=addElement(sFilespec,sStoreDir+"*.~at",char(0x3B))
					elseif(sFilesOption="Aspect6Polling")
						sFilespec=addElement(sFilespec,sStoreDir+sStoreCode+".*",char(0x3B))
					endif
				else
					appendToLog("Excluding store: "+sStoreCode)
				endif
				
				Cntr=Cntr+1
			endwhile
			driverClose(drvStore)
		endif
		
		//get files in the filespec
		appendToLog("sFilespec="+sFilespec)
		
		//For some reason, the filespec created for all stores does not return any files when it is 
		//submitted to getMatchingFiles as a single filespec.  Breaking it down and calling 
		//getMatchingFiles once for each element in the filespec works.
		arFiles=""
		cFilespec=getElementCount(sFilespec,char(0x3B))
		cntr=0
		while(cntr<cFilespec)
			sDir=getElement(sFilespec,cntr,char(0x3B))
			sFiles=getMatchingFiles(sDir,false,true)
			if(len(trim(sFiles))>0)
				arFiles=addElement(arFiles,sFiles,"|")
			endif
			cntr=cntr+1
		endwhile
		
		cFiles=getElementCount(arFiles,"|")
		
		if(cFiles=0)
			sResult=sResult+"No files found"
		else
			//initialize date used to limit files to the last 30 days
			dt=incrementTime(now(),-30)
			
			//open system driver to record files
			driverOpen(GreenLight_Directory_Listing,drvDirectoryListing,WRITE,false,"filename=__TempFilename__")
			sMsg="Matching files: "+cFiles
			appendToLog(sMsg)
			sResult=sResult+sMsg+"[br]"
			
			Cntr=0
			cAdded=0
			while((Cntr<cFiles) and (cAdded<300))
				sFilename=getElement(arFiles,Cntr,"|")
				
				//if getting a store directory, only include mm-dd-yy files from the last 30 days
				bInclude=true
				if(sDirectoryOption="Aspect6Store")
					if((pos("-",sFilename)>0) and (fileModified(sFilename)<dt))
						bInclude=false
					endif
				endif
				
				if(bInclude)
					r=driverAddNewRecord(drvDirectoryListing)
					driverPutFieldAbsolute(drvDirectoryListing,"Filename",r,sFilename)
					cAdded=cAdded+1
				endif
				
				Cntr=Cntr+1
			endwhile
			driverClose(drvDirectoryListing)
			
			if(cFiles>cAdded)
				sResult=sResult + "Limited to "+cAdded+" files[br]"
			endif
		endif
		
		sResult=replaceSubstring(sResult,"[",char(0x3c))
		sResult=replaceSubstring(sResult,"]",char(0x3e))
		scriptSetResult(sResult)
	">
	
	<br>
	<!!include type:driver;
		driver: GreenLight_Directory_Listing;
		name: "GreenLight_Directory_Listing";
		systemdriver: "false";
		params: "filename=__TempFileName__";
		fields: "Filename,Size,Modified,Zip_Contents";
		sort: "Section_Header_Directory,Filename";
		filter: "true";
		class: "basic1";
		paging: "false";
		maxrecords: "-1";
		tableborder: "true";
		tablestyle: "width:auto";
		tableheader: "true";
		debug: "true";
	>
	
	<!!include type:script; commands:"
		if(fileExists("__TempFilename__"))
			appendToLog("Deleting temp file: __TempFilename__")
			//fileDelete("__TempFilename__")
		endif
	">
</conditional>

<conditional expression:("__query__"="get_aspect6_polling_import_status")>
	<conditional expression:false>
	//=======================================================================
	Returns the table showing the import status of .fil files at the office.  
	This is the same table that appears on the home office polling page 
	//=======================================================================
	</conditional>
	<!!include type:driver;
		ver: "1.0";
		title: "";
		ID: "<!include type:expression; expression:lowercase(getSalt(4))>";
		HashID: "";
		driver: "ASPECT6_POLLING_IMPORT_STATUS";
		name: "";
		systemdriver: "false";
		dispose: "false";
		state: "";
		params: "keyexpression=ID|CacheTtl=0|Metadata=ASPECT6_POLLING_IMPORT_STATUS";
		keyDescription: "";
		display: "";
		fields: "";
		IncludeFields: "";
		ExcludeFields: "";
		sort: "ID";
		filter: "true";
		BaseFilter: "";
		class: "basic1";
		maxrecords: "250";
		startrecord: "0";
		style: "width:auto";
		_style: "float:left;width:100%";
		height:"auto";
		_maxheight:"300px";
		canSelect: "false";
		readOnly: "false";
		canEdit: "false";
		canAdd: "false";
		canDelete: "false";
		EmbedValues: "";
		EditDialogID: "ASPECT6_POLLING_IMPORT_STATUSDialog";
		DialogHeader: "false";
		canCloseDialog: "true";
		ExternalParams: "";
		ExternalFilters: "";
		TableControls: "true";
		TableHeader: "true";
		TableBorder: "true";
		SelectDisplay: "true";
		EditDisplay: "true";
		Menu: "";
		Messages: "true";
		ChartType: "";
		ChartWidth: "640";
		ChartHeight: "480";
		ChartLabels: "Down_45";
		ChartTitle: "";
		ChartStyle: "display:none";
		RefreshInterval: "0";
		RefreshWhenHidden: "true";
		RefreshIntervalRemote: "0";
		RefreshWhenHiddenRemote: "true";
		_Javascript: "DocumentID|Widget|ContainerItemID|Params";
		debug: "false";
	>
</conditional>

<conditional expression:("__query__"="get_aspect6_activity_log")>
	<!-- The filename is passed as an argument by processNotificationGetWidget() -->
	<!include type:script; commands:"
		sDestFilename="__AttachFilename__"
		appendToLog("sDestFilename="+sDestFilename)
		
		//append eodlog.bak and eodlog.txt together and save to a temporary file
		sDir=addDirSlash(getToken("Aspect6AspectDirectory"))
		s=fileGetContent(sDir+"eodlog.bak")
		s=s + fileGetContent(sDir+"eodlog.txt")
		sTempFilename=getToken("homedir")+"temporary_files/ActivityLog-"+formatDate(now(),"MM-dd-yyyy HHmm")+".txt"
		fileWriteContent(sTempFilename,s)
		
		zipFile(sDestFilename,sTempFilename,false)
		fileDelete(sTempFilename)
		appendToLog("Zipped "+sTempFilename+" to "+sDestFilename)
	">
</conditional>

<conditional expression:("__query__"="confirm_posting_to_second_server")>
	<!include type:script; commands:"
		sResult="Confirming posting to 2nd server[br]"
		
		//delete any transports stuck in the queue
		
		//update the IP address in the library client library host
		driverOpen(Library_Client_Library_Host,drvHost,WRITE)
		r=driverFindRecordAbsolute(drvHost,0,"ID="+quote("sPZKDvmcHxieIUmmVdWTvqRU"))
		if(r>=0)
			sHost=driverGetFieldAbsolute(drvHost,"Library_Host",r)
			appendToLog("sHost1="+sHost)
			if(pos("38.13",sHost)>0)
				driverPutFieldAbsolute(drvHost,"Library_Host",r,"72.167.255.169:4447")
				sResult=sResult + "Updated store host[br]"
			else
				sResult=sResult + "Store host is up to date[br]"
			endif
		endif

		r=driverFindRecordAbsolute(drvHost,0,"ID="+quote("V7bfFiZJTMNmHRvQyHgwH2QN"))
		if(r>=0)
			sHost=driverGetFieldAbsolute(drvHost,"Library_Host",r)
			appendToLog("sHost2="+sHost)
			if(pos("38.13",sHost)>0)
				driverPutFieldAbsolute(drvHost,"Library_Host",r,"72.167.255.169:4447")
				sResult=sResult + "Updated office host[br]"
			else
				sResult=sResult + "Office host is up to date[br]"
			endif
		endif
		
		driverClose(drvHost)
		
		sResult=replaceSubstring(sResult,"[",char(0x3c))
		sResult=replaceSubstring(sResult,"]",char(0x3e))
		scriptSetResult(sResult)
	">
</conditional>

__servertimerresults__
</widget><widget name="Aspect6 Activity Log Table" group="Back-Office" category="" description="Used to display the activity log in the notifications table." type="Simple" Mobile="" Processing=0 metadata="" IncludeInViewer="false" PublicName="Aspect6 Activity Log Table" modified="11-30-2012 19:55:25" modifiedby="Keith-Dell2" TaskEnabled= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskWindowForExecution=>
<!--servertimer=false-->

<constant name:__driverID__; value:"Aspect6_Activity_Log">
<constant name:__DriverName__; value:"Activity Log">
<constant name:__widgeturl__; value:"/?Network=GreenLight&ID=getCachedWidget&DocumentID=h0BE4ziTlLytqKxtWLMy5CVY&Widget=Aspect6 Activity Log Table&WidgetID=__WidgetID__&Client=__Client__">
<constant name:__filterArgs__; value:"FilterFromTime=__FilterFromTime__&FilterToTime=__FilterToTime__&Filename=__Filename__">
<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:"Widget Header Script"; params:"remoteip=__RemoteIP__&debug=false&DriverName=__DriverName__"; text:true;>

<include type:expression; expression:htmlConstant("FilterFromTime","__FilterFromTime__","00:00")>
<include type:expression; expression:htmlConstant("FilterToTime","__FilterToTime__","23:59")>

<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->
<div ID="__WidgetID__DisableContent" class="disable_content" style="display:none;"></div>

<h2>Activity Log - Back-Office</h2>

<form name="Filter__WidgetID__" action="https://__Server__/" method="post" style="z-index:0">
	<table class='form'>
		<tr>
			<td>Time</td>
			<td>
				<input type='text' name='FilterFromTime' value='__FilterFromTime__' size='10'>
				<script language='JavaScript'>new tcal({'formname':'Filter__WidgetID__','controlname':'FilterFromTime'});</script>
				 to 
				<input type='text' name='FilterToTime' value='__FilterToTime__' size='10'>
				<script language='JavaScript'>new tcal({'formname':'Filter__WidgetID__','controlname':'FilterToTime'});</script>
			</td>
			<td><input type='button' name='submit' value='Refresh' onClick="javascript:filterTable('__WidgetID__','Filter__WidgetID__')"></td>
		</tr>
	</table>
	
	<input type="hidden" name="filename" value="__filename__">
	<input type="hidden" name="url" value="__ReloadURL__">
</form>

<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->
<!include type:driver;
	driver: __driverID__;
	name: "__DriverName__";
	params: "filename=__filename__";
	fields: "Line,Time,Message";
	sort: "-Line";
	filter: "if(date(Time,false,true)>=parseTime('__FilterFromTime__','HH:mm'),
				if(date(Time,false,true)<=parseTime('__FilterToTime__','HH:mm'),
					true,
				false),
			false)";
	class: "basic1";
	paging: "true";
	maxrecords: "2000";
	pageargs: "__DriverName__NextPage=____DriverName__NextPage__&__DriverName__PrevPage=____DriverName__PrevPage__&__DriverName__FirstPage=____DriverName__FirstPage__&__DriverName__LastPage=____DriverName__LastPage__";
	startrecord: "____DriverName__startrecord__";
	url: "javascript:reloadWidget('__WidgetID__','__reloadURL__&__filterArgs__')";
	tableborder: "true";
	tablestyle: "width:auto";
	tableheader: "true";
	debug: "true";
>

<!-- Initialize any custom controls -->
<script language="Javascript">initializeTable("__WidgetID__");</script>

 
</widget><widget name="POS Interface - HSI" group="POS Interface" category="HSI" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Hsi" modified="04-13-2014 12:28:31" modifiedby="Keith-Dell2" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-02-2014 18:40:24:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=1215|toolboxy=246|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=HSI Merge.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=open_driver|X=6|Y=29|W=1035|H=761|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\openDriver\\apos\\)\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - HSI openDriver __datatype__\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//////crlf////tab////tab////HSI POS Interface//crlf////tab////tab//////crlf////tab////tab////This script opens a driver to read pos data for the given StoreID\\comma\\ DataType and Date.  //crlf////tab////tab////The return value is a pipe-delimited string in the form Status=n{{pipe{{Driver=DriverName{{pipe{{Modified=MM-dd-yyyy HH:mm:ss{{pipe{{Size=nnn//crlf////tab////tab////Status is -1=not valid\\comma\\ 0=valid but not available\\comma\\ 1=valid and available//crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//DataType - The ID of one of the datatypes defined in the Aspect_BackOffice_POS_Data_Types collection//crlf////tab////tab//////tab//Date//tab// - A single date in the form MM-dd-yyyy//crlf////tab////tab//////tab//OpenDriver - If false\\comma\\ the driver will not be opened but the expression used to test for data will be returned.//crlf////tab////tab//////tab////tab////tab////tab//  This is used when adding tasks to the pos synch driver.//crlf////tab////tab//////crlf////tab////tab////Returns a string in the form://crlf////tab////tab//////tab//status=n{{pipe{{Driver=drivername{{pipe{{modified=mm-dd-yyyy HH:mm:ss{{pipe{{size=nnn{{pipe{{DataAvailable=Expression{{pipe{{DataState=expression//crlf////tab////tab//////crlf////tab////tab////Status is 1 on success or 0 if the data is not available.  Status is -1 if the datatype is not supported for the POS.//crlf////tab////tab////Modified is the date/time the data was last modified//crlf////tab////tab////Size is the number of records available (NOT the file size)//crlf////tab////tab//////crlf////tab////tab////DataAvailable is an expression returned to test whether pos data is available or not.  It is used when//crlf////tab////tab////processing the synch tasks to avoid making calls to synchronize data when the pos data is not available.//crlf////tab////tab//////crlf////tab////tab////DataState is an expression used to create a state value for the pos data.  It is generally a getFileSpecState//crlf////tab////tab////function.  This is used to determine when a synch task needs to be run because the pos data has been//crlf////tab////tab////modified//crlf////crlf////tab////tab//bDebug=false//crlf////tab////tab////crlf////tab////tab//bOpenDriver=if(startsWith(\\quot\\__OpenDriver__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\false\\comma\\boolean(\\quot\\__OpenDriver__\\quot\\))//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - HSI - Opening driver __datatype__ __date__ __StoreID__\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////get driver ID//crlf////tab////tab//sDriverID=lookup(POS_HSI_Associated_Driver_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//if(sDriverID=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab//s=\\quot\\status=-1{{pipe{{Driver={{pipe{{DataAvailable=false\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\openDriver returns \\quot\\\\plus\\s)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get POS type//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab//if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab//dtBusiness=date(now()\\comma\\true)//crlf////tab////tab//else//crlf////tab////tab////tab//dtBusiness=parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab//sPOSDir=addDirSlash(lookup(Aspect_BackOffice_POS_Directory_By_Store_ID\\comma\\\\quot\\__storeID__\\quot\\))//crlf////crlf////tab////tab//sDriverName=\\quot\\__datatype___\\quot\\\\plus\\getSalt(8)//crlf////tab////tab//sDriverParams=\\quot\\DataType=__DataType__{{pipe{{StoreID=__StoreID__{{pipe{{date=__date__{{pipe{{POS=\\quot\\\\plus\\sPOSType//crlf////crlf////tab////tab////Tax identifiers are not available from HSI.  Prepare and return a binary buffer containing 10 records when opening the driver for id_tax//crlf////tab////tab//if(\\quot\\__datatype__\\quot\\=\\quot\\id_tax\\quot\\)//crlf////crlf////tab////tab////tab////just return the DataAvailable and DataState expressions if OpenDriver is false//crlf////tab////tab////tab//if(not(bOpenDriver))//crlf////tab////tab////tab////tab//s=\\quot\\status=1{{pipe{{Driver={{pipe{{modified={{pipe{{size=10{{pipe{{DataAvailable=true{{pipe{{DataState=__Date__\\quot\\//crlf////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////pass the filename argument even though it\\apos\\s a binary buffer so the driver will open without//crlf////tab////tab////tab////using the scriptDriver argument in the driver\\apos\\s source//crlf////tab////tab////tab//driverOpen(sDriverID\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\sDriverParams\\plus\\\\quot\\{{pipe{{Filename=\\quot\\)//crlf////tab////tab////tab//while(driverGetRecordCount(sDriverName\\comma\\true)<10)//crlf////tab////tab////tab////tab//driverAddNewRecord(sDriverName)//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverSetFilter(sDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////crlf////tab////tab////tab//s=\\quot\\status=1{{pipe{{Driver=\\quot\\\\plus\\sDriverName\\plus\\\\quot\\{{pipe{{modified=\\quot\\\\plus\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)\\plus\\\\quot\\{{pipe{{size=10{{pipe{{DataAvailable=true{{pipe{{DataState=__Date__\\quot\\//crlf////tab////tab////tab////appendToLog(\\quot\\POS Interface - HSI openDriver returns \\quot\\\\plus\\s\\plus\\\\quot\\ (\\quot\\\\plus\\driverGetRecordCount(sDriverName)\\plus\\\\quot\\ records)\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//sDataFilename=\\quot\\\\quot\\//crlf////tab////tab//if((\\quot\\__datatype__\\quot\\=\\quot\\check_headers\\quot\\) or (\\quot\\__datatype__\\quot\\=\\quot\\check_details\\quot\\) or (\\quot\\__datatype__\\quot\\=\\quot\\sales_mix\\quot\\) )//crlf////tab////tab////tab////journal file//crlf////tab////tab////tab//sBrokenMonth=formatDate(dtBusiness\\comma\\\\quot\\MM\\quot\\)//crlf////tab////tab////tab//sBrokenMonth=left(sBrokenMonth\\comma\\1)\\plus\\\\quot\\.\\quot\\\\plus\\right(sBrokenMonth\\comma\\1)//crlf////tab////tab////tab//sDataFilename=\\quot\\jor2/jor\\quot\\\\plus\\formatDate(dtBusiness\\comma\\\\quot\\yyyy\\quot\\)\\plus\\sBrokenMonth\\plus\\formatDate(dtBusiness\\comma\\\\quot\\dd\\quot\\)//crlf////tab////tab////tab//sFilename=sPosDir\\plus\\sDataFilename//crlf////tab////tab////tab//if((dtBusiness>=dtYesterday) and (not(fileExists(sFilename))))//crlf////tab////tab////tab////tab//sFilename=sPosDir\\plus\\\\quot\\data2/journal.dat\\quot\\//crlf////tab////tab////tab//endif//tab////crlf////tab////tab//else//crlf////tab////tab////tab////all other files//crlf////tab////tab////tab//sLookup=lookup(POS_HSI_Associated_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab////tab//sDataFilename=\\quot\\data2/\\quot\\\\plus\\sLookup//crlf////tab////tab////tab//sFilename=sPosDir\\plus\\sDataFilename//crlf////tab////tab//endif//crlf////crlf////tab////tab////use a lookup for the pos directory to the test for data filename.  This allows the expression to remain//crlf////tab////tab////accurate even when the pos directory is changed in the store record\\comma\\ e.g. from one drive to another//crlf////tab////tab//sDataAvailableExpression=\\quot\\fileExists(lookup(Aspect_BackOffice_POS_Directory_By_Store_ID\\comma\\\\quot\\\\plus\\quote(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\)\\plus\\\\quot\\\\plus\\quote(sDataFilename)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab//sDataStateExpression=\\quot\\getFilespecState(lookup(Aspect_BackOffice_POS_Directory_By_Store_ID\\comma\\\\quot\\\\plus\\quote(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\)\\plus\\\\quot\\\\plus\\quote(sDataFilename)\\plus\\\\quot\\)\\quot\\//crlf////crlf////tab////tab////abort if the file does not exist//crlf////tab////tab//if(not(fileExists(sFilename))) //crlf////tab////tab////tab//s=\\quot\\status=0{{pipe{{Driver={{pipe{{DataAvailable=\\quot\\\\plus\\sDataAvailableExpression\\plus\\\\quot\\{{pipe{{DataState=\\quot\\\\plus\\sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\openDriver returns \\quot\\\\plus\\s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////just return the DataAvailable and DataState expressions if OpenDriver is false//crlf////tab////tab//if(not(bOpenDriver))//crlf////tab////tab////tab//s=\\quot\\status=1{{pipe{{Driver={{pipe{{DataAvailable=\\quot\\\\plus\\sDataAvailableExpression\\plus\\\\quot\\{{pipe{{DataState=\\quot\\\\plus\\sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\openDriver returns \\quot\\\\plus\\s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////copy the pos file to a temp filename and open the driver//crlf////tab////tab//sTempFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/__StoreID___\\quot\\\\plus\\if(startsWith(\\quot\\__datatype__\\quot\\\\comma\\\\quot\\ID\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\__date__\\quot\\) \\plus\\ fileName(sFilename)\\plus\\\\quot\\_\\quot\\\\plus\\replaceSubstring(fileExt(sFilename)\\comma\\\\quot\\.\\quot\\\\comma\\\\quot\\\\quot\\)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//if(fileCompare(sFilename\\comma\\sTempFilename)<>\\quot\\ok\\quot\\)//crlf////tab////tab////tab//fileCopy(sFilename\\comma\\sTempFilename)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - HSI - Opening driver __datatype__ Params: \\quot\\\\plus\\sDriverParams)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//driverOpen(sDriverID\\comma\\sDriverName\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\sTempFilename\\plus\\\\quot\\{{pipe{{\\quot\\\\plus\\sDriverParams)//crlf////tab////tab//driverSetFilter(sDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab//s=\\quot\\status=1{{pipe{{Driver=\\quot\\\\plus\\sDriverName\\plus\\\\quot\\{{pipe{{modified=\\quot\\\\plus\\formatDate(fileModified(sFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)\\plus\\\\quot\\{{pipe{{size=\\quot\\\\plus\\driverGetRecordCount(sDriverName\\comma\\true)//crlf////tab////tab//s=s\\plus\\\\quot\\{{pipe{{DataAvailable=\\quot\\\\plus\\sDataAvailableExpression\\plus\\\\quot\\{{pipe{{DataState=\\quot\\\\plus\\sDataStateExpression//crlf////tab////tab////appendToLog(\\quot\\POS Interface - HSI openDriver returns \\quot\\\\plus\\s\\plus\\\\quot\\ (\\quot\\\\plus\\driverGetRecordCount(sDriverName)\\plus\\\\quot\\ records)\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\openCheckDetails\\apos\\)\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS_Interface_HSI_openCheckDetails\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////=============================================================//crlf////tab////tab////Opens consolidated driver for check details//crlf////tab////tab////Driver params passed to the driver are available//crlf////tab////tab////=============================================================//crlf////tab////tab//sFilename=\\quot\\__Filename__\\quot\\//crlf////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab//sDate=\\quot\\__date__\\quot\\//crlf////tab////tab//appendToLog(\\quot\\openCheckDetails sTest=\\quot\\\\plus\\sTest\\plus\\\\quot\\ Filename=\\quot\\\\plus\\sFilename\\plus\\\\quot\\ Store=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\ Date=\\quot\\\\plus\\sDate)//crlf////tab////tab//tmStart=now()//crlf////crlf////tab////tab////get POS type//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab//sConsDriverName=\\quot\\drvPOSHSICheckDetails\\quot\\//crlf////crlf////tab////tab////the journal file will be merged to four separate files for 1-sales\\comma\\ 2-tax\\comma\\ 3-tenders\\comma\\ 4-change given//crlf////tab////tab////This allows for removing unnecessary records to speed things up//crlf////tab////tab////If the file being opened has already been copied to the temporary_files folder\\comma\\ use the already copied.//crlf////tab////tab////Otherwise copy it to the temporary_files folder//crlf////tab////tab//if(pos(\\quot\\temporary_files\\quot\\\\comma\\sFilename)>=0)//crlf////tab////tab////tab//s=filename(sFilename)\\plus\\fileExt(sFilename)//crlf////tab////tab//else//crlf////tab////tab////tab//s=filename(sFilename)\\plus\\replaceSubstring(fileExt(sFilename)\\comma\\\\quot\\.\\quot\\\\comma\\\\quot\\\\quot\\)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//endif//crlf////tab////tab//sTempJournalName=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\s//crlf////tab////tab//sTempSalesName=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\filename(s)\\plus\\\\quot\\_sales\\quot\\\\plus\\fileExt(s)//crlf////tab////tab//sTempTax1Name=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\filename(s)\\plus\\\\quot\\_tax1\\quot\\\\plus\\fileExt(s)//crlf////tab////tab//sTempTax2Name=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\filename(s)\\plus\\\\quot\\_tax2\\quot\\\\plus\\fileExt(s)//crlf////tab////tab//sTempTenderName=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\filename(s)\\plus\\\\quot\\_tender\\quot\\\\plus\\fileExt(s)//crlf////tab////tab//sTempChangeName=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\filename(s)\\plus\\\\quot\\_change\\quot\\\\plus\\fileExt(s)//crlf////crlf////tab////tab////copy the journal file to the temp name//crlf////tab////tab//if((not(fileExists(sTempJournalName))) or (fileModified(sFilename)>fileModified(sTempJournalName)) or (fileSize(sFilename)<>fileSize(sTempJournalName)))//crlf////tab////tab////tab//appendToLog(\\quot\\Copying \\quot\\\\plus\\sFilename\\plus\\\\quot\\ to \\quot\\\\plus\\sTempJournalName)//crlf////tab////tab////tab//fileCopy(sFilename\\comma\\sTempJournalName)//crlf////tab////tab//endif//crlf////crlf////tab////tab////fields to merge - these are all the fields in the generic check detail record//crlf////tab////tab//sKeyFields=\\quot\\SrcIndex\\quot\\//crlf////tab////tab//sToMerge=\\quot\\Amount{{pipe{{CheckNumber{{pipe{{Employee{{pipe{{Id1{{pipe{{Quantity{{pipe{{Rectype{{pipe{{SrcIndex{{pipe{{Store_ID{{pipe{{Time\\quot\\//crlf////crlf////tab////tab//appendToLog(\\quot\\Merging journal to separate files\\quot\\)//crlf////crlf////tab////tab////merge to the sales file//crlf////tab////tab//if((not(fileExists(sTempSalesName))) or (fileSize(sTempSalesName)=0) or (fileModified(sTempJournalName)>fileModified(sTempSalesName)))//crlf////tab////tab////tab//appendToLog(\\quot\\Merging \\quot\\\\plus\\sTempJournalName\\plus\\\\quot\\ to \\quot\\\\plus\\sTempSalesName)//crlf////tab////tab////tab//driverOpen(POS_HSI_Journal_Sale\\comma\\drvTemp\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sTempJournalName\\plus\\\\quot\\{{pipe{{StoreCode=\\quot\\\\plus\\sStoreCode\\plus\\\\quot\\{{pipe{{StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\{{pipe{{POS=\\quot\\\\plus\\sPosType)//crlf////tab////tab////tab//driverSetFilter(drvTemp\\comma\\\\quot\\((not(Quantity=0)) or (not(Amountx100=0))) and ((Line_Type=66) or (Line_Type=67) or (Line_Type=68) or (Line_Type=69))\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverOpen(POS_HSI_Journal_For_Check_Detail\\comma\\drvDest\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sTempSalesName)//crlf////tab////tab////tab//sAlias=\\quot\\Line=SrcIndex{{pipe{{Rectype=RecTypeSale\\quot\\//crlf////tab////tab////tab//t=now()//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvDest\\comma\\\\quot\\true\\quot\\\\comma\\drvTemp\\comma\\\\quot\\true\\quot\\\\comma\\sKeyFields\\comma\\sToMerge\\comma\\sAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\Merge sales: \\quot\\\\plus\\s\\plus\\\\quot\\ time: \\quot\\\\plus\\seconds(now()-t)\\plus\\\\quot\\ seconds\\quot\\)//crlf////tab////tab////tab//driverClose(drvDest)//crlf////tab////tab////tab//driverClose(drvTemp)//crlf////tab////tab//endif//crlf////crlf////tab////tab////merge to the tax1 file//crlf////tab////tab////an alias is required to set the record type to tax1 and to merge the tax value as the amount//crlf////tab////tab//if((not(fileExists(sTempTax1Name))) or (fileSize(sTempJournalName)=0)  or (fileModified(sTempJournalName)>fileModified(sTempTax1Name)))//crlf////tab////tab////tab//appendToLog(\\quot\\Merging \\quot\\\\plus\\sTempJournalName\\plus\\\\quot\\ to \\quot\\\\plus\\sTempTax1Name)//crlf////tab////tab////tab//driverOpen(POS_HSI_Journal_Sale\\comma\\drvTemp\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sTempJournalName\\plus\\\\quot\\{{pipe{{StoreCode=\\quot\\\\plus\\sStoreCode\\plus\\\\quot\\{{pipe{{StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\{{pipe{{POS=\\quot\\\\plus\\sPosType)//crlf////tab////tab////tab//driverSetFilter(drvTemp\\comma\\\\quot\\(not(Tax1=0)) and ((Line_Type=66) or (Line_Type=67) or (Line_Type=68) or (Line_Type=69))\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverOpen(POS_HSI_Journal_For_Check_Detail\\comma\\drvDest\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sTempTax1Name)//crlf////tab////tab////tab//sAlias=\\quot\\Line=SrcIndex{{pipe{{Rectype=RecTypeTax1{{pipe{{Amount=Tax1\\quot\\//crlf////tab////tab////tab//t=now()//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvDest\\comma\\\\quot\\true\\quot\\\\comma\\drvTemp\\comma\\\\quot\\true\\quot\\\\comma\\sKeyFields\\comma\\sToMerge\\comma\\sAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\Merge tax1: \\quot\\\\plus\\s\\plus\\\\quot\\ time: \\quot\\\\plus\\seconds(now()-t)\\plus\\\\quot\\ seconds\\quot\\)//crlf////tab////tab////tab//driverClose(drvDest)//crlf////tab////tab////tab//driverClose(drvTemp)//crlf////tab////tab//endif//crlf////crlf////tab////tab////merge to the tax2 file//crlf////tab////tab////an alias is required to set the record type to tax1 and to merge the tax value as the amount//crlf////tab////tab//if((not(fileExists(sTempTax2Name))) or (fileSize(sTempJournalName)=0) or (fileModified(sTempJournalName)>fileModified(sTempTax2Name)))//crlf////tab////tab////tab//appendToLog(\\quot\\Merging \\quot\\\\plus\\sTempJournalName\\plus\\\\quot\\ to \\quot\\\\plus\\sTempTax2Name)//crlf////tab////tab////tab//driverOpen(POS_HSI_Journal_Sale\\comma\\drvTemp\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sTempJournalName\\plus\\\\quot\\{{pipe{{StoreCode=\\quot\\\\plus\\sStoreCode\\plus\\\\quot\\{{pipe{{StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\{{pipe{{POS=\\quot\\\\plus\\sPosType)//crlf////tab////tab////tab//driverSetFilter(drvTemp\\comma\\\\quot\\(not(Tax2=0)) and ((Line_Type=66) or (Line_Type=67) or (Line_Type=68) or (Line_Type=69))\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverOpen(POS_HSI_Journal_For_Check_Detail\\comma\\drvDest\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sTempTax2Name)//crlf////tab////tab////tab//sAlias=\\quot\\Line=SrcIndex{{pipe{{Rectype=RecTypeTax2{{pipe{{Amount=Tax2\\quot\\//crlf////tab////tab////tab//t=now()//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvDest\\comma\\\\quot\\true\\quot\\\\comma\\drvTemp\\comma\\\\quot\\true\\quot\\\\comma\\sKeyFields\\comma\\sToMerge\\comma\\sAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\Merge tax2: \\quot\\\\plus\\s\\plus\\\\quot\\ time: \\quot\\\\plus\\seconds(now()-t)\\plus\\\\quot\\ seconds\\quot\\)//crlf////tab////tab////tab//driverClose(drvDest)//crlf////tab////tab////tab//driverClose(drvTemp)//crlf////tab////tab//endif//crlf////crlf////tab////tab//sToMerge=\\quot\\Store_ID{{pipe{{CheckNumber{{pipe{{Rectype{{pipe{{Employee{{pipe{{Quantity{{pipe{{Id1{{pipe{{Amount{{pipe{{SrcIndex\\quot\\//crlf////crlf////tab////tab////merge to the payments file//crlf////tab////tab//if((not(fileExists(sTempTenderName))) or (fileSize(sTempJournalName)=0) or (fileModified(sTempJournalName)>fileModified(sTempTenderName)))//crlf////tab////tab////tab//appendToLog(\\quot\\Merging \\quot\\\\plus\\sTempJournalName\\plus\\\\quot\\ to \\quot\\\\plus\\sTempTenderName)//crlf////tab////tab////tab//driverOpen(POS_HSI_Journal_Payment\\comma\\drvTemp\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sTempJournalName\\plus\\\\quot\\{{pipe{{StoreCode=\\quot\\\\plus\\sStoreCode\\plus\\\\quot\\{{pipe{{StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\{{pipe{{POS=\\quot\\\\plus\\sPosType)//crlf////tab////tab////tab//driverSetFilter(drvTemp\\comma\\\\quot\\(not(Amount=0)) and (Line_Type=70)\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverOpen(POS_HSI_Journal_For_Check_Detail\\comma\\drvDest\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sTempTenderName)//crlf////tab////tab////tab//sAlias=\\quot\\Line=SrcIndex{{pipe{{Rectype=RecTypeTender\\quot\\//crlf////tab////tab////tab//t=now()//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvDest\\comma\\\\quot\\true\\quot\\\\comma\\drvTemp\\comma\\\\quot\\true\\quot\\\\comma\\sKeyFields\\comma\\sToMerge\\comma\\sAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\Merge payments: \\quot\\\\plus\\s\\plus\\\\quot\\ time: \\quot\\\\plus\\seconds(now()-t)\\plus\\\\quot\\ seconds\\quot\\)//crlf////tab////tab////tab//driverClose(drvDest)//crlf////tab////tab////tab//driverClose(drvTemp)//crlf////tab////tab//endif//crlf////crlf////tab////tab////merge to the change given file//crlf////tab////tab////an alias is required to set the record type to change given and to merge the change given value as the amount//crlf////tab////tab//if((not(fileExists(sTempChangeName))) or (fileSize(sTempJournalName)=0) or (fileModified(sTempJournalName)>fileModified(sTempChangeName)))//crlf////tab////tab////tab//appendToLog(\\quot\\Merging \\quot\\\\plus\\sTempJournalName\\plus\\\\quot\\ to \\quot\\\\plus\\sTempChangeName)//crlf////tab////tab////tab//driverOpen(POS_HSI_Journal_Payment\\comma\\drvTemp\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sTempJournalName\\plus\\\\quot\\{{pipe{{StoreCode=\\quot\\\\plus\\sStoreCode\\plus\\\\quot\\{{pipe{{StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\{{pipe{{POS=\\quot\\\\plus\\sPosType)//crlf////tab////tab////tab//driverSetFilter(drvTemp\\comma\\\\quot\\(not(ChangeGivenx100=0)) and (Line_Type=70)\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverOpen(POS_HSI_Journal_For_Check_Detail\\comma\\drvDest\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sTempChangeName)//crlf////tab////tab////tab//sAlias=\\quot\\Rectype=RecTypeChangeGiven{{pipe{{Amount=Change_Given\\quot\\//crlf////tab////tab////tab//t=now()//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvDest\\comma\\\\quot\\true\\quot\\\\comma\\drvTemp\\comma\\\\quot\\true\\quot\\\\comma\\sKeyFields\\comma\\sToMerge\\comma\\sAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\Merge change given: \\quot\\\\plus\\s\\plus\\\\quot\\ time: \\quot\\\\plus\\seconds(now()-t)\\plus\\\\quot\\ seconds\\quot\\)//crlf////tab////tab////tab//driverClose(drvDest)//crlf////tab////tab////tab//driverClose(drvTemp)//crlf////tab////tab//endif//crlf////crlf////tab////tab//appendToLog(\\quot\\HSI Journal Merge complete. \\quot\\\\plus\\seconds(now()-tmStart)\\plus\\\\quot\\ seconds\\quot\\)//crlf////crlf////tab////tab////open the consolidated driver//crlf////tab////tab//driverOpen(ConsDriverVert\\comma\\sConsDriverName\\comma\\WRITE\\comma\\true\\comma\\\\quot\\{{pipe{{Description=\\quot\\\\plus\\sStoreName\\plus\\\\quot\\{{pipe{{StoreID=__StoreID__{{pipe{{POS=\\quot\\\\plus\\sPOSType)//crlf////crlf////tab////tab////fields to include in the consolidated driver//crlf////tab////tab//sFields=\\quot\\Amount{{pipe{{CheckNumber{{pipe{{Employee{{pipe{{Id1{{pipe{{Quantity{{pipe{{Rectype{{pipe{{SrcIndex{{pipe{{Store_ID{{pipe{{Time\\quot\\//crlf////tab////tab//sFields=sFields\\plus\\\\quot\\{{pipe{{Department_Name{{pipe{{Category_Name{{pipe{{MenuitemID{{pipe{{Menuitem_Name{{pipe{{Id2{{pipe{{Employee_Name{{pipe{{Net_Sales{{pipe{{Comps{{pipe{{Discounts{{pipe{{Voids{{pipe{{Tender{{pipe{{Tax{{pipe{{AutoGratuity{{pipe{{Change\\quot\\//crlf////crlf////tab////tab////add driver for sales\\comma\\ comps\\comma\\ discounts\\comma\\ voids//crlf////tab////tab//s=\\quot\\POSHSI_Sales_\\quot\\\\plus\\getSalt(7)//crlf////tab////tab//driverOpen(POS_HSI_Journal_For_Check_Detail\\comma\\s\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\sTempSalesName\\plus\\\\quot\\{{pipe{{journal=\\quot\\\\plus\\sTempJournalName\\plus\\\\quot\\{{pipe{{StoreID=__StoreID__{{pipe{{POS=\\quot\\\\plus\\sPOSType)//crlf////tab////tab//driverSetFilter(s\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//appendToLog(\\quot\\Adding POS_HSI_Journal_Sale \\quot\\\\plus\\driverGetRecordCount(s)\\plus\\\\quot\\ records\\quot\\)//crlf////tab////tab//driverConsolidate(sConsDriverName\\comma\\s\\comma\\\\quot\\\\quot\\\\comma\\sFields\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////add driver for tax1//crlf////tab////tab//s=\\quot\\POSHSI_Tax1_\\quot\\\\plus\\getSalt(7)//crlf////tab////tab//driverOpen(POS_HSI_Journal_For_Check_Detail\\comma\\s\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\sTempTax1Name\\plus\\\\quot\\{{pipe{{journal=\\quot\\\\plus\\sTempJournalName\\plus\\\\quot\\{{pipe{{StoreID=__StoreID__{{pipe{{POS=\\quot\\\\plus\\sPOSType)//crlf////tab////tab//driverSetFilter(s\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//appendToLog(\\quot\\Adding POS_HSI_Journal_Sale_Tax1 \\quot\\\\plus\\driverGetRecordCount(s)\\plus\\\\quot\\ records\\quot\\)//crlf////tab////tab//driverConsolidate(sConsDriverName\\comma\\s\\comma\\\\quot\\\\quot\\\\comma\\sFields\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////add driver for tax2//crlf////tab////tab//s=\\quot\\POSHSI_Tax2_\\quot\\\\plus\\getSalt(7)//crlf////tab////tab//driverOpen(POS_HSI_Journal_For_Check_Detail\\comma\\s\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\sTempTax2Name\\plus\\\\quot\\{{pipe{{journal=\\quot\\\\plus\\sTempJournalName\\plus\\\\quot\\{{pipe{{StoreID=__StoreID__{{pipe{{POS=\\quot\\\\plus\\sPOSType)//crlf////tab////tab//driverSetFilter(s\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//appendToLog(\\quot\\Adding POS_HSI_Journal_Sale_Tax2 \\quot\\\\plus\\driverGetRecordCount(s)\\plus\\\\quot\\ records\\quot\\)//crlf////tab////tab//driverConsolidate(sConsDriverName\\comma\\s\\comma\\\\quot\\\\quot\\\\comma\\sFields\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////add driver for tenders - payments//crlf////tab////tab//s=\\quot\\POSHSI_Payments_\\quot\\\\plus\\getSalt(7)//crlf////tab////tab//driverOpen(POS_HSI_Journal_For_Check_Detail\\comma\\s\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\sTempTenderName\\plus\\\\quot\\{{pipe{{journal=\\quot\\\\plus\\sTempJournalName\\plus\\\\quot\\{{pipe{{StoreID=__StoreID__{{pipe{{POS=\\quot\\\\plus\\sPOSType)//crlf////tab////tab//driverSetFilter(s\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//appendToLog(\\quot\\Adding POS_HSI_Journal_Payment_Tender \\quot\\\\plus\\driverGetRecordCount(s)\\plus\\\\quot\\ records\\quot\\)//crlf////tab////tab//driverConsolidate(sConsDriverName\\comma\\s\\comma\\\\quot\\\\quot\\\\comma\\sFields\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////add driver for tenders - change given//crlf////tab////tab//s=\\quot\\POSHSI_Payments_\\quot\\\\plus\\getSalt(7)//crlf////tab////tab//driverOpen(POS_HSI_Journal_For_Check_Detail\\comma\\s\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\sTempChangeName\\plus\\\\quot\\{{pipe{{journal=\\quot\\\\plus\\sTempJournalName\\plus\\\\quot\\{{pipe{{StoreID=__StoreID__{{pipe{{POS=\\quot\\\\plus\\sPOSType)//crlf////tab////tab//driverSetFilter(s\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//appendToLog(\\quot\\Adding POS_HSI_Journal_Payment_Change_Given \\quot\\\\plus\\driverGetRecordCount(s)\\plus\\\\quot\\ records\\quot\\)//crlf////tab////tab//driverConsolidate(sConsDriverName\\comma\\s\\comma\\\\quot\\\\quot\\\\comma\\sFields\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab//driverSetFilter(sConsDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//scriptSetResult(sConsDriverName)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf//^
ID=tabs_synch|X=5|Y=8|W=136|H=23|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table name=\\quot\\tabs_synch\\quot\\ class=\\apos\\tabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\open_driver\\apos\\)\\quot\\>Open Driver</a></td>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\pos_notes\\apos\\)\\quot\\>Notes</a></td>//crlf////tab//</tr>//crlf//</table>^
ID=687716|X=1057|Y=7|W=150|H=20|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table class=\\apos\\tabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\743416\\apos\\)\\quot\\>Javascript</a></td>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\AspectScript\\apos\\)\\quot\\>Aspect</a></td>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\760488\\apos\\)\\quot\\>Notes</a></td>//crlf////tab//</tr>//crlf//</table>^
ID=743416|X=1058|Y=29|W=728|H=546|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=760488|X=1059|Y=29|W=728|H=546|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=Notes^
ID=debug_console|X=1059|Y=573|W=719|H=205|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=pos_notes|X=5|Y=29|W=1035|H=774|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=AspectScript|X=1059|Y=29|W=737|H=543|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|
</widget><widget name="POS Interface - OnePos" group="POS Interface" category="Onepos" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Onepos" modified="04-13-2014 12:35:00" modifiedby="Keith-Dell2" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-02-2014 18:40:24:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=776|toolboxy=271|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=HSI Merge.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=id_job_codes|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sSrcDriverID=\\quot\\POS_OnePos_PayCategories\\quot\\//crlf////tab////tab//sDestDriverID=\\quot\\POS_Generic_JobCode_DBase\\quot\\//crlf////crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{Number{{pipe{{Name\\quot\\//crlf////tab////tab//arAlias=\\quot\\Number=ID\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\Number\\quot\\//crlf////crlf////tab////tab//driverOpen(sSrcDriverID\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__SrcFile__{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(sDestDriverID\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__DestFile__\\quot\\)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\not(len(trim(name))=0)\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//sResult=driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\synch __DataType__ complete: \\quot\\\\plus\\sResult)//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=id_employee_records|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sSrcDriverID=\\quot\\POS_OnePos_employees\\quot\\//crlf////tab////tab//sDestDriverID=\\quot\\POS_Generic_Employee_DBase\\quot\\//crlf////crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{EmpNum{{pipe{{Last_Name{{pipe{{First_Name{{pipe{{DateOfBirth{{pipe{{DateOfHire{{pipe{{DateOfTerm\\quot\\//crlf////tab////tab//arAlias=\\quot\\EmpNum=EmpID{{pipe{{First_Name=FirstName{{pipe{{Last_Name=LastName\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\EmpNum\\quot\\//crlf////crlf////tab////tab//driverOpen(sSrcDriverID\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__SrcFile__{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(sDestDriverID\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__DestFile__\\quot\\)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\not(len(trim(Last_Name\\plus\\First_Name))=0)\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//sResult=driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\synch __DataType__ complete: \\quot\\\\plus\\sResult)//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=id_discount|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sSrcDriverID=\\quot\\POS_OnePos_Discounts\\quot\\//crlf////tab////tab//sDestDriverID=\\quot\\POS_Generic_POSIDs_DBase\\quot\\//crlf////crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{Number{{pipe{{Name\\quot\\//crlf////tab////tab//arAlias=\\quot\\Number=ID\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\Number\\quot\\//crlf////crlf////tab////tab//driverOpen(sSrcDriverID\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__SrcFile__{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(sDestDriverID\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__DestFile__\\quot\\)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\not(len(trim(name))=0)\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//sResult=driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\synch __DataType__ complete: \\quot\\\\plus\\sResult)//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=id_comps|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sSrcDriverID=\\quot\\POS_OnePos_Comps\\quot\\//crlf////tab////tab//sDestDriverID=\\quot\\POS_Generic_POSIDs_DBase\\quot\\//crlf////crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{Number{{pipe{{Name\\quot\\//crlf////tab////tab//arAlias=\\quot\\Number=ID\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\Number\\quot\\//crlf////crlf////tab////tab//driverOpen(sSrcDriverID\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__SrcFile__{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(sDestDriverID\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__DestFile__\\quot\\)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\not(len(trim(name))=0)\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//sResult=driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\synch __DataType__ complete: \\quot\\\\plus\\sResult)//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=id_departments|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sSrcDriverID=\\quot\\POS_OnePos_Sales_Departments\\quot\\//crlf////tab////tab//sDestDriverID=\\quot\\POS_Generic_POSIDs_DBase\\quot\\//crlf////crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{Number{{pipe{{Name\\quot\\//crlf////tab////tab//arAlias=\\quot\\Number=ID\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\Number\\quot\\//crlf////crlf////tab////tab//driverOpen(sSrcDriverID\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__SrcFile__{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(sDestDriverID\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__DestFile__\\quot\\)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\not(len(trim(name))=0)\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//sResult=driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\synch __DataType__ complete: \\quot\\\\plus\\sResult)//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=id_gift_certificates|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=id_paid_in|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=id_paid_out|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=id_revenue_centers|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=id_tax|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sSrcDriverID=\\quot\\POS_OnePos_Taxes\\quot\\//crlf////tab////tab//sDestDriverID=\\quot\\POS_Generic_POSIDs_DBase\\quot\\//crlf////crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{Number{{pipe{{Name\\quot\\//crlf////tab////tab//arAlias=\\quot\\Number=ID\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\Number\\quot\\//crlf////crlf////tab////tab//driverOpen(sSrcDriverID\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__SrcFile__{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(sDestDriverID\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__DestFile__\\quot\\)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\not(len(trim(name))=0)\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//sResult=driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\synch __DataType__ complete: \\quot\\\\plus\\sResult)//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=id_tender|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sSrcDriverID=\\quot\\POS_OnePos_Payments\\quot\\//crlf////tab////tab//sDestDriverID=\\quot\\POS_Generic_POSIDs_DBase\\quot\\//crlf////crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{Number{{pipe{{Name\\quot\\//crlf////tab////tab//arAlias=\\quot\\Number=ID\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\Number\\quot\\//crlf////crlf////tab////tab//driverOpen(sSrcDriverID\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__SrcFile__{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(sDestDriverID\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__DestFile__\\quot\\)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\not(len(trim(name))=0)\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//sResult=driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\synch __DataType__ complete: \\quot\\\\plus\\sResult)//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=id_menu_categories|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sSrcDriverID=\\quot\\POS_OnePos_Sales_Categories\\quot\\//crlf////tab////tab//sDestDriverID=\\quot\\POS_Generic_Menu_Category_DBase\\quot\\//crlf////crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{Number{{pipe{{Name\\quot\\//crlf////tab////tab//arAlias=\\quot\\Number=ID\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\Number\\quot\\//crlf////crlf////tab////tab//driverOpen(sSrcDriverID\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__SrcFile__{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(sDestDriverID\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__DestFile__\\quot\\)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\not(len(trim(name))=0)\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//sResult=driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\synch __DataType__ complete: \\quot\\\\plus\\sResult)//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=id_menu_items|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sSrcDriverID=\\quot\\POS_OnePos_Merchandise\\quot\\//crlf////tab////tab//sDestDriverID=\\quot\\POS_Generic_Menu_Item_DBase\\quot\\//crlf////crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{MenuItemID{{pipe{{CategoryID{{pipe{{Name1{{pipe{{Name2{{pipe{{Sale_Price\\quot\\//crlf////tab////tab//arAlias=\\quot\\MenuItemID=ItemID{{pipe{{Name1=ItemName\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\MenuItemID\\quot\\//crlf////crlf////tab////tab//driverOpen(sSrcDriverID\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__SrcFile__{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(sDestDriverID\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__DestFile__\\quot\\)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\(not(len(trim(Item_Name))=0)) and (not(Category=0))\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//sResult=driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\synch __DataType__ complete: \\quot\\\\plus\\sResult)//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=timeclock|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sSrcDriverID=\\quot\\POS_OnePos_Timeclock\\quot\\//crlf////tab////tab//sDestDriverID=\\quot\\POS_Generic_Labor_Detail_DBase\\quot\\//crlf////crlf////tab////tab//arToMerge=\\quot\\Line{{pipe{{Store_Code{{pipe{{Store_ID{{pipe{{Employee\\quot\\//crlf////tab////tab//arToMerge=arToMerge\\plus\\\\quot\\{{pipe{{ActJobCode{{pipe{{ActTimeIn{{pipe{{ActTimeOut{{pipe{{ActRegRate{{pipe{{ActDeclTip\\quot\\//crlf////tab////tab//arToMerge=arToMerge\\plus\\\\quot\\{{pipe{{AppJobCode{{pipe{{AppTimeIn{{pipe{{AppTimeOut{{pipe{{AppRegRate{{pipe{{AppDeclTip\\quot\\//crlf////crlf////tab////tab//arAlias=\\quot\\ActJobCode=PayCategory{{pipe{{ActTimeIn=Time_In{{pipe{{ActTimeOut=Time_Out{{pipe{{ActRegRate=PayRate{{pipe{{ActDeclTip=Tips_Declared\\quot\\//crlf////tab////tab//arAlias=arAlias \\plus\\ \\quot\\{{pipe{{AppJobCode=PayCategory{{pipe{{AppTimeIn=Time_In{{pipe{{AppTimeOut=Time_Out{{pipe{{AppRegRate=PayRate{{pipe{{AppDeclTip=Tips_Declared\\quot\\//crlf////tab////tab//arKeyFields=\\quot\\Employee\\quot\\//crlf////crlf////tab////tab//driverOpen(sSrcDriverID\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__SrcFile__{{pipe{{storecode=__StoreCode__{{pipe{{storeId=__StoreID__\\quot\\)//crlf////tab////tab//driverOpen(sDestDriverID\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__DestFile__\\quot\\)//crlf////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\(formatDate(Time_In\\comma\\\\quot\\\\plus\\quote(\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\)=\\quot\\\\plus\\quote(\\quot\\__BusinessDate__\\quot\\)\\plus\\\\quot\\)\\quot\\\\comma\\true)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//sResult=driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab//driverClose(drvSrc)//crlf////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab//appendToLog(\\quot\\synch __DataType__ complete: \\quot\\\\plus\\sResult)//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=sales_mix|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=check_details|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=check_headers|X=9|Y=59|W=867|H=752|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=synch|X=9|Y=59|W=867|H=754|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\getPosState\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////return true if anything is modified//crlf////tab////tab//sResult=false//crlf////crlf////tab////tab//sContainerName=\\quot\\__ContainerName__\\quot\\//crlf////crlf////tab////tab//d=\\quot\\__SynchLogDriverName__\\quot\\//crlf////tab////tab//dtToday=date(now()\\comma\\true)//crlf////tab////tab//dtYesterday=incrementTime(date(now()\\comma\\true)\\comma\\-1)//crlf////crlf////tab////tab//c=driverGetRecordCount(d)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//iDiskIndex=driverGetField(d\\comma\\\\quot\\DiskIndex\\quot\\\\comma\\n)//crlf////tab////tab////tab//dtBusiness=driverGetField(d\\comma\\\\quot\\Business_Date\\quot\\\\comma\\n)//crlf////tab////tab////tab//sPosDir=addDirSlash(driverGetField(d\\comma\\\\quot\\POS_Directory\\quot\\\\comma\\n))//crlf////tab////tab////tab//sDataType=driverGetField(d\\comma\\\\quot\\Data_Type\\quot\\\\comma\\n)//crlf////tab////tab////tab//iStatus=driverGetField(d\\comma\\\\quot\\Status\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab//if((iStatus=0) and (containsElement(\\quot\\__DataType__\\quot\\\\comma\\sDataType)>=0) and (containsElement(\\quot\\__Dates__\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\))>=0))//crlf////crlf////tab////tab////tab////tab////************************************************************//crlf////tab////tab////tab////tab////set the correct collection ID here to lookup the POS filename//crlf////tab////tab////tab////tab////************************************************************//crlf////tab////tab////tab////tab//sLookup=lookup(???\\comma\\sDataType)//crlf////tab////tab////tab////tab//sFilename=sPosDir\\plus\\\\quot\\data2/\\quot\\\\plus\\sLookup//crlf////crlf////tab////tab////tab////tab//appendToLog(\\quot\\Synch \\quot\\\\plus\\sDataType\\plus\\\\quot\\ for \\quot\\\\plus\\formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\ \\quot\\ from \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab//if(fileExists(sFilename)) //crlf////tab////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\Current_POS_Timestamp\\quot\\\\comma\\n\\comma\\fileModified(sFilename))//crlf////tab////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\Current_POS_Size\\quot\\\\comma\\n\\comma\\fileSize(sFilename))//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////get additional fields required for the synch//crlf////tab////tab////tab////tab////tab//sStoreID=driverGetField(d\\comma\\\\quot\\Store_ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//sStoreCode=driverGetField(d\\comma\\\\quot\\Store_Code\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//sStoreDir=addDirSlash(driverGetField(d\\comma\\\\quot\\Store_Directory\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//sBusinessDate=formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab//sDestFilename=sStoreDir \\plus\\ replaceSubstring(lookup(Aspect_BackOffice_Data_Type_Associated_Filenames\\comma\\sDataType)\\comma\\\\quot\\$date$\\quot\\\\comma\\sBusinessDate)//crlf////crlf////tab////tab////tab////tab////tab////copy the pos file to a temp file//crlf////tab////tab////tab////tab////tab//sTempFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(12)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab////tab////tab////tab//if(sDataType<>\\quot\\id_tax\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//fileCopy(sFilename\\comma\\sTempFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////synchronize the data//crlf////tab////tab////tab////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget\\amp\\Widget=\\quot\\\\plus\\sContainerName//crlf////tab////tab////tab////tab////tab//sArgs=sArgs \\plus\\ \\quot\\\\amp\\WidgetContainerItemID=\\quot\\\\plus\\sDataType//crlf////tab////tab////tab////tab////tab//sArgs=sArgs \\plus\\ \\quot\\\\amp\\Params=Action=synch{{pipe{{DataType=\\quot\\\\plus\\sDataType\\plus\\\\quot\\{{pipe{{SrcFile=\\quot\\\\plus\\sTempFilename\\plus\\\\quot\\{{pipe{{DestFile=\\quot\\\\plus\\sDestFilename\\plus\\\\quot\\{{pipe{{StoreCode=\\quot\\\\plus\\sStoreCode\\plus\\\\quot\\{{pipe{{StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\{{pipe{{BusinessDate=\\quot\\\\plus\\sBusinessDate//crlf////tab////tab////tab////tab////tab//s=trim(scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs))//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////set the status flag//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Synch \\quot\\\\plus\\sDataType\\plus\\\\quot\\ \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\status\\quot\\\\comma\\n\\comma\\if(startsWith(s\\comma\\\\quot\\ok\\quot\\)\\comma\\1\\comma\\0))//crlf////crlf////tab////tab////tab////tab////tab////delete the temp file//crlf////tab////tab////tab////tab////tab//fileDelete(sTempFilename)//crlf////crlf////tab////tab////tab////tab////tab////driverPutField(d\\comma\\\\quot\\Status\\quot\\\\comma\\n\\comma\\2)//crlf////tab////tab////tab////tab////tab//sResult=true//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Synch \\quot\\\\plus\\sDataType\\plus\\\\quot\\ cannot find \\quot\\\\plus\\sFilename\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\Status\\quot\\\\comma\\n\\comma\\2)//crlf////tab////tab////tab////tab////tab//sResult=true//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=239009|X=12|Y=2|W=540|H=28|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=hyperlinkSelected('tabs_synch')|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<!-- This hidden select box is used to facilitate the hyperlinks below.  When a hyperlink is clicked\\comma\\ it emulates//crlf////tab//selecting a value in the list and the resulting onChange function //crlf//-->//crlf//<select ID=\\quot\\select_tabs\\quot\\ onChange=\\quot\\hideAll(this); showTab(this); initializeTabbedDialogs();\\quot\\ style=\\quot\\display:none\\quot\\>//crlf//    <option value=\\apos\\tabs_synch\\apos\\>Synch</option>//crlf//    <option value=\\apos\\tabs_payroll\\apos\\>Payroll</option>//crlf//    <option value=\\apos\\tabs_menuitems\\apos\\>Menu Items</option>//crlf//    <option value=\\apos\\tabs_identifiers\\apos\\>Identifiers</option>//crlf//    <option value=\\apos\\tabs_sales\\apos\\>Sales</option>//crlf//</select>//crlf////crlf//<form name=\\quot\\synch\\quot\\ method=\\quot\\get\\quot\\>//crlf////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td valign=\\apos\\center\\apos\\>//crlf////tab////tab////tab////tab//<a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\hyperlinkSelected(\\apos\\tabs_synch\\apos\\)\\quot\\>Synch</a>\\amp\\nbsp; {{pipe{{ \\amp\\nbsp;//crlf////tab////tab////tab////tab//<a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\hyperlinkSelected(\\apos\\tabs_payroll\\apos\\)\\quot\\>Payroll</a>\\amp\\nbsp; {{pipe{{ \\amp\\nbsp;//crlf////tab////tab////tab////tab//<a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\hyperlinkSelected(\\apos\\tabs_menuitems\\apos\\)\\quot\\>Menu Items</a>\\amp\\nbsp; {{pipe{{ \\amp\\nbsp;//crlf////tab////tab////tab////tab//<a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\hyperlinkSelected(\\apos\\tabs_identifiers\\apos\\)\\quot\\>Identifiers</a>\\amp\\nbsp; {{pipe{{ \\amp\\nbsp;//crlf////tab////tab////tab////tab//<a href=\\quot\\\\pound\\home\\quot\\ onClick=\\quot\\hyperlinkSelected(\\apos\\tabs_sales\\apos\\)\\quot\\>Sales</a>\\amp\\nbsp;\\amp\\nbsp;//crlf////tab////tab////tab//</td>//crlf////tab////tab////tab//<td valign=\\apos\\center\\apos\\>//crlf////tab////tab////tab////tab//Synch {@htmlSelect(\\quot\\Aspect_BackOffice_POS_Data_Types_With_All\\quot\\\\comma\\\\quot\\datatype\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)}\\amp\\nbsp;//crlf////tab////tab////tab////tab//Date <input type=\\quot\\text\\quot\\ name=\\quot\\date\\quot\\ value=\\quot\\{@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}\\quot\\ size=\\apos\\12\\apos\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ control=\\quot\\date\\quot\\>\\amp\\nbsp;//crlf////tab////tab////tab////tab//Store {@htmlSelect(\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\\\comma\\\\quot\\store\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)}//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Synch\\quot\\ onClick=\\quot\\synchData()\\quot\\>//crlf////tab////tab////tab//</td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf//</form>^
ID=tabs_synch|X=8|Y=38|W=56|H=23|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table name=\\quot\\tabs_synch\\quot\\ class=\\apos\\tabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\synch\\apos\\)\\quot\\>Synch</a></td>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\synch_notes\\apos\\)\\quot\\>Synch Notes</a></td>//crlf////tab//</tr>//crlf//</table>^
ID=tabs_payroll|X=8|Y=41|W=251|H=22|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table name=\\quot\\tabs_payroll\\quot\\ class=\\apos\\tabdialog\\apos\\>//crlf//  <tr>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\id_job_codes\\apos\\)\\quot\\>Job Codes</a></td>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\id_employee_records\\apos\\)\\quot\\>Employee Records</a></td>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\timeclock\\apos\\)\\quot\\>Timeclock</a></td>//crlf//  </tr>//crlf//</table>^
ID=tabs_menuitems|X=10|Y=40|W=192|H=22|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table name=\\quot\\tabs_menuitems\\quot\\ class=\\apos\\tabdialog\\apos\\>//crlf//  <tr>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\id_menu_categories\\apos\\)\\quot\\>Menu\\amp\\nbsp;Categories</a></td>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\id_menu_items\\apos\\)\\quot\\>Menu\\amp\\nbsp;Items</a></td>//crlf//  </tr>//crlf//</table>^
ID=tabs_identifiers|X=9|Y=39|W=611|H=23|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table name=\\quot\\tabs_identifiers\\quot\\ class=\\apos\\tabdialog\\apos\\>//crlf//  <tr>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\id_discount\\apos\\)\\quot\\>Discounts</a></td>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\id_comps\\apos\\)\\quot\\>Comps</a></td>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\id_departments\\apos\\)\\quot\\>Departments</a></td>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\id_gift_certificates\\apos\\)\\quot\\>Gift Certificates</a></td>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\id_paid_in\\apos\\)\\quot\\>Paid In</a></td>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\id_paid_out\\apos\\)\\quot\\>Paid Out</a></td>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\id_revenue_centers\\apos\\)\\quot\\>Revenue Centers</a></td>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\id_tax\\apos\\)\\quot\\>Tax</a></td>//crlf//    <td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\id_tender\\apos\\)\\quot\\>Tender</a></td>//crlf//  </tr>//crlf//</table>^
ID=tabs_sales|X=8|Y=40|W=253|H=22|AutoHeight=false|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table name=\\quot\\tabs_sales\\quot\\ class=\\apos\\tabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\check_headers\\apos\\)\\quot\\>Check Headers</a></td>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\check_details\\apos\\)\\quot\\>Check Details</a></td>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\sales_mix\\apos\\)\\quot\\>Sales Mix</a></td>//crlf////tab//</tr>//crlf//</table>^
ID=687716|X=884|Y=37|W=150|H=20|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table class=\\apos\\tabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\743416\\apos\\)\\quot\\>Javascript</a></td>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\AspectScript\\apos\\)\\quot\\>Aspect</a></td>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\760488\\apos\\)\\quot\\>Notes</a></td>//crlf////tab//</tr>//crlf//</table>^
ID=743416|X=885|Y=59|W=728|H=546|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<include type:script; commands:\\quot\\//crlf////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=POS Interface Include\\quot\\//crlf////tab//sArgs=sArgs \\plus\\ \\quot\\\\amp\\WidgetContainerItemID=javascript\\amp\\text=true\\quot\\//crlf////tab//scriptSetResult(scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs))//crlf//\\quot\\>^
ID=760488|X=886|Y=59|W=728|H=546|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=Notes^
ID=debug_console|X=886|Y=603|W=719|H=205|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=synch_notes|X=0|Y=0|W=0|H=0|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=AspectScript|X=885|Y=59|W=728|H=546|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sArgs=\\quot\\storeID=__store__\\amp\\date=__date__\\amp\\datatype=__datatype__\\quot\\//crlf////tab////tab//scriptExec(Aspect_BackOffice_synchPOS\\comma\\false\\comma\\sArgs)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//
</widget><widget name="POS Viewer" group="POS Interface" category="" description="A viewer used to inspect any POS file directly from the POS." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="true" PublicName="Pos Viewer" modified="03-03-2015 00:27:42" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=01-18-2015 19:25:44:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=1228|toolboxy=197|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=POS Viewer.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=c:\temp\ttt2.html|PublishIncludeAspectScript=true|PublishIncludeAspectStyleshet=true|PublishAsText=false|
^
ID=code|X=300|Y=100|W=1200|H=23|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'716318')\\quot\\>Javascript</a></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>Aspect</a></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'template_for_tables')\\quot\\>Template</a></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'get_store_select_box')\\quot\\>Store Select Box</a></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'419795')\\quot\\>CSS</a></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'225066')\\quot\\>Notes</a></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</a></td>//crlf////tab//</tr>//crlf//</table>
^
ID=716318|X=300|Y=122|W=738|H=771|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf////These are used to avoid refreshing views when not necessary//crlf//var sLastViewJournal=\\quot\\\\quot\\;//crlf//var sLastViewMenuSales=\\quot\\\\quot\\;//crlf//var sLastViewLabor=\\quot\\\\quot\\;//crlf//var sLastViewIdentifiers=\\quot\\\\quot\\;//crlf////crlf//var arJournal=new Array(\\quot\\check_headers\\quot\\\\comma\\\\quot\\check_details\\quot\\\\comma\\\\quot\\paidinout\\quot\\);//crlf//var arMenuSales=new Array(\\quot\\id_menu_categories\\quot\\\\comma\\\\quot\\id_menu_items\\quot\\\\comma\\\\quot\\sales_mix\\quot\\);//crlf//var arTimeclock=new Array(\\quot\\id_job_codes\\quot\\\\comma\\\\quot\\id_employee_records\\quot\\\\comma\\\\quot\\timeclock\\quot\\);//crlf//var arIdentifiers=new Array(\\quot\\id_departments\\quot\\\\comma\\\\quot\\id_discount\\quot\\\\comma\\\\quot\\id_comps\\quot\\\\comma\\\\quot\\id_gift_certificates\\quot\\\\comma\\\\quot\\id_paid_in\\quot\\\\comma\\\\quot\\id_paid_out\\quot\\\\comma\\\\quot\\id_revenue_centers\\quot\\\\comma\\\\quot\\id_tax\\quot\\\\comma\\\\quot\\id_tender\\quot\\\\comma\\\\quot\\id_void\\quot\\);//crlf//var arTroubleshooting=new Array(\\quot\\activity_log\\quot\\\\comma\\\\quot\\tasks\\quot\\\\comma\\\\quot\\directories\\quot\\);//crlf//var arAllDivs=arJournal.concat(arMenuSales\\comma\\arTimeclock\\comma\\arIdentifiers\\comma\\arTroubleshooting);//crlf////crlf//initializePOSViewer();//crlf////crlf//function initializePOSViewer()//crlf//{//crlf////tab//for(var i=0;i<arAllDivs.length;i++) {//crlf////tab////tab//if(!document.getElementById(arAllDivs[i])) {//crlf////tab////tab////tab//setTimeout(\\quot\\initializePOSViewer()\\quot\\\\comma\\1000);//crlf////tab////tab////tab//return;//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//setVisible(arAllDivs[i]\\comma\\false);//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//document.forms[\\quot\\options\\quot\\].view.value=\\quot\\tabs_troubleshooting\\quot\\;//crlf////crlf////tab//setVisible(\\quot\\tabs_troubleshooting\\quot\\\\comma\\true);//crlf////tab//setVisible(\\quot\\tabs_journal\\quot\\\\comma\\false);//crlf////tab//setVisible(\\quot\\tabs_menu_sales\\quot\\\\comma\\false);//crlf////tab//setVisible(\\quot\\tabs_labor\\quot\\\\comma\\false);//crlf////tab//setVisible(\\quot\\tabs_identifiers\\quot\\\\comma\\false);//crlf////tab//positionItems();//crlf//};//crlf////crlf///**************************************************************//crlf//Refreshes the content of all visible tabes.  Called when the//crlf//Refersh All button is pressed//crlf//**************************************************************///crlf//function refreshAll() //crlf//{//crlf////tab//var arTabs=null;//crlf////tab//var fOptions=document.forms[\\quot\\options\\quot\\];//crlf////crlf////tab////abort if no store selected//crlf////tab//var sStoreID=fOptions.Aspect_BackOffice_Store_Name_By_ID.value;//crlf////tab//if(sStoreID==\\quot\\0\\quot\\) {//crlf////tab////tab//showDialog(\\quot\\msg=No store selected.<br><br>//amp//fnOk=Close\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//if(fOptions.view.value.equalsIgnoreCase(\\quot\\tabs_journal\\quot\\)) {//crlf////tab////tab//arTabs=arJournal;//crlf////tab//}//crlf////tab//else if(fOptions.view.value.equalsIgnoreCase(\\quot\\tabs_menu_sales\\quot\\)) {//crlf////tab////tab//arTabs=arMenuSales;//crlf////tab//}//crlf////tab//else if(fOptions.view.value.equalsIgnoreCase(\\quot\\tabs_labor\\quot\\)) {//crlf////tab////tab//arTabs=arTimeclock;//crlf////tab//}//crlf////tab//else if(fOptions.view.value.equalsIgnoreCase(\\quot\\tabs_identifiers\\quot\\)) {//crlf////tab////tab//arTabs=arIdentifiers;//crlf////tab//}//crlf////tab//else {//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//for(var i=0;i<arTabs.length;i++) {//crlf////tab////tab//updateView(arTabs[i]);//crlf////tab//};//crlf//};//crlf////crlf///**************************************************************//crlf//Updates a single tab when the refresh icon on the tab is clicked//crlf//**************************************************************///crlf//function updateView(ADataType) //crlf//{//crlf////tab//positionItems();//crlf////crlf////tab//var fOptions=document.forms[\\quot\\options\\quot\\];//crlf////tab//var sDate=fOptions.date.value;//crlf////tab//var sStoreID=fOptions.Aspect_BackOffice_Store_Name_By_ID.value;//crlf////crlf////tab////abort if no store selected//crlf////tab//if(sStoreID==\\quot\\0\\quot\\) {//crlf////tab////tab//showDialog(\\quot\\msg=No store selected.<br><br>//amp//fnOk=Close\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//fOptions.Aspect_BackOffice_Store_Name_By_ID.disabled=true;//crlf////tab//fOptions.date.disabled=true;//crlf////tab//fOptions.view.disabled=true;//crlf////tab//fOptions.btnRefresh.disabled=true;//crlf////crlf////tab//var s=\\quot\\<div ID='Table\\quot\\+ADataType+\\quot\\' interval='-1' style='width:100\\percent\\;' \\quot\\;//crlf////tab//s +=\\quot\\url='\\quot\\+getServer()+\\quot\\/?Network=GreenLight//amp//\\quot\\;//crlf////tab//s +=\\quot\\ID=getWidget//amp//\\quot\\;//crlf////tab//s +=\\quot\\Source=__LeftBarComputer__//amp//\\quot\\;//crlf////tab//s +=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//\\quot\\;//crlf////tab//s +=\\quot\\Widget=POS Viewer//amp//\\quot\\;//crlf////tab//s +=\\quot\\ContainerItemID=template_for_tables//amp//\\quot\\;//crlf////tab//s +=\\quot\\Process=true//amp//\\quot\\;//crlf////tab//s +=\\quot\\CustomerID=__LeftBarComputer__//amp//\\quot\\;//crlf////tab//s +=\\quot\\StoreID=\\quot\\+sStoreID+\\quot\\//amp//\\quot\\;//crlf////tab//s +=\\quot\\date=\\quot\\+sDate+\\quot\\//amp//\\quot\\;//crlf////tab//s +=\\quot\\datatype=\\quot\\+ADataType+\\quot\\'></div>\\quot\\;//crlf////crlf////tab//var e=document.getElementById(ADataType);//crlf////tab//e.innerHTML=s;//crlf////crlf////tab//setInterval(\\quot\\Table\\quot\\+ADataType\\comma\\0\\comma\\true);//crlf////crlf////tab//fOptions.Aspect_BackOffice_Store_Name_By_ID.disabled=false;//crlf////tab//fOptions.date.disabled=false;//crlf////tab//fOptions.view.disabled=false;//crlf////tab//fOptions.btnRefresh.disabled=false;//crlf//};//crlf////crlf//
^
ID=AspectScript|X=300|Y=122|W=738|H=771|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=225066|X=300|Y=122|W=738|H=771|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=Notes
^
ID=debug_console|X=300|Y=122|W=738|H=771|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=610525|X=183|Y=22|W=606|H=23|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<form name=\\quot\\options\\quot\\>//crlf////tab//Store//crlf////tab//<span interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab////tab//ID=getWidget//amp////crlf////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp////crlf////tab////tab////tab//Widget=POS Viewer//amp////crlf////tab////tab////tab//ContainerItemID=get_store_select_box//amp////crlf////tab////tab////tab//Source=__LeftBarComputer__\\quot\\>//crlf////tab////tab//<img src='__ReqiestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//</span>//crlf////crlf////tab//Date <input type=\\quot\\text\\quot\\ name=\\quot\\date\\quot\\ value=\\quot\\{@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}\\quot\\ size='12' datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ control=\\quot\\date\\quot\\>//amp//nbsp;//crlf////crlf////tab//Data//crlf////tab//<select name='view' onChange=\\quot\\showTab(this);\\quot\\>//crlf////tab//    <option value='tabs_troubleshooting'>Troubleshooting</option>//crlf////tab//    <option value='tabs_journal'>Check Journal</option>//crlf////tab//    <option value='tabs_menu_sales'>Menu Sales</option>//crlf////tab//    <option value='tabs_labor'>Labor</option>//crlf////tab//    <option value='tabs_identifiers'>Identifiers</option>//crlf////tab//</select>//crlf////crlf////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\btnRefresh\\quot\\ value=\\quot\\Refresh All\\quot\\ onClick=\\quot\\refreshAll()\\quot\\>//crlf////tab//<span ID=\\quot\\selected_hashid\\quot\\></span>//crlf////tab//<span ID=\\quot\\connection_info\\quot\\></span>//crlf//</form>//crlf////crlf//
^
ID=check_details|X=183|Y=81|W=696|H=503|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=check_headers|X=183|Y=81|W=100|H=10|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=id_menu_categories|X=183|Y=81|W=25|H=24|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=id_menu_items|X=183|Y=81|W=26|H=25|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=sales_mix|X=183|Y=81|W=696|H=503|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=id_job_codes|X=183|Y=81|W=25|H=24|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=id_employee_records|X=183|Y=81|W=802|H=9289|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=timeclock|X=183|Y=81|W=1075|H=800|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=tabs_labor|X=183|Y=57|W=257|H=23|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=610525|AttachLeft=|AlignLeft=610525|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table ID=\\quot\\tabsLabor\\quot\\ class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'id_job_codes')\\quot\\>Job Codes <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('id_job_codes')\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'id_employee_records')\\quot\\>Employee Records <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('id_employee_records')\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'timeclock')\\quot\\>Timeclock <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('timeclock')\\quot\\></span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=id_discount|X=183|Y=81|W=960|H=24|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=id_comps|X=183|Y=81|W=702|H=986|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=id_departments|X=183|Y=81|W=704|H=1083|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=id_gift_certificates|X=183|Y=81|W=25|H=24|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=id_paid_in|X=183|Y=81|W=702|H=1081|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=id_tender|X=183|Y=81|W=702|H=1081|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=id_paid_out|X=183|Y=81|W=702|H=910|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=id_void|X=183|Y=81|W=702|H=910|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=id_tax|X=183|Y=81|W=702|H=910|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=id_revenue_centers|X=183|Y=81|W=702|H=967|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=tabs_identifiers|X=183|Y=57|W=617|H=23|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=610525|AttachLeft=|AlignLeft=610525|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table ID=\\quot\\tabsIdentifiers\\quot\\ class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'id_departments')\\quot\\>Departments <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('id_departments')\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'id_discount')\\quot\\>Discounts <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('id_discount')\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'id_comps')\\quot\\>Comps <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('id_comps')\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'id_gift_certificates')\\quot\\>Gift Certificates <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('id_gift_certificates')\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'id_paid_in')\\quot\\>Paid In <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('id_paid_in')\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'id_paid_out')\\quot\\>Paid Out <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('id_paid_out')\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'id_revenue_centers')\\quot\\>Revenue Centers <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('id_revenue_centers')\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'id_tax')\\quot\\>Tax <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('id_tax')\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'id_tender')\\quot\\>Tenders <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('id_tender')\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'id_void')\\quot\\>Voids <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('id_void')\\quot\\></span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=tabs_journal|X=183|Y=57|W=190|H=23|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=610525|AttachLeft=|AlignLeft=610525|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table ID=\\quot\\tabsCheckJournal\\quot\\ class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'check_headers')\\quot\\>Check Headers <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('check_headers')\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'check_details')\\quot\\>Check Details <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('check_details')\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'paidinout')\\quot\\>Paid In/Out <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('paidinout')\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'othertotals')\\quot\\>Other Totals <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('othertotals')\\quot\\></span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=tabs_menu_sales|X=183|Y=57|W=252|H=23|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=610525|AttachLeft=|AlignLeft=610525|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table ID=\\quot\\tabsMenuSales\\quot\\ class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'id_menu_categories')\\quot\\>Menu Categories <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('id_menu_categories')\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'id_menu_items')\\quot\\>Menu Items <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('id_menu_items')\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sales_mix')\\quot\\>Sales Mix <img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\ onClick=\\quot\\updateView('sales_mix')\\quot\\></span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=template_for_tables|X=300|Y=122|W=738|H=771|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=text|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!--servertimer=false-->//crlf////crlf//<!-- This template is included in each tab (discounts\\comma\\ comps\\comma\\ etc) to provide the necessary html and scripts.//crlf////tab//Every tab is handled identically.  The only thing that changes is the datatype argument passed to the item.//crlf////tab////crlf////tab//If custom filters are to be provided\\comma\\ conditional statements will need to be included in this template using//crlf////tab//the datatype in the expression.//crlf//-->//crlf////crlf//<_conditional expression:(\\quot\\__process__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<br>//crlf////tab//<div style=\\quot\\height:auto\\quot\\>//crlf////tab////tab////crlf////tab////tab//<include type:script; name:\\quot\\POSViewerTemplate\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////get the ID of the first store with POS emulation or synchronization enabled//crlf////tab////tab////tab////This is also done in the Aspect_BackOffice_openDriverForPOSViewer script\\comma\\//crlf////tab////tab////tab////but needs to be done here so the StoreID can be included in the driver params//crlf////tab////tab////tab////below.//crlf////tab////tab////tab//if(defined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//d=scriptExec(Aspect_BackOffice_openAspect7Stores\\comma\\true)//crlf////tab////tab////tab////tab//sFilter=\\quot\\(Enable_POS_Import) or (Create_Aspect6_Import_Files)\\quot\\//crlf////tab////tab////tab////tab//r=driverFindRecordAbsolute(d\\comma\\0\\comma\\sFilter)//crlf////tab////tab////tab////tab//if(r<0)//crlf////tab////tab////tab////tab////tab//s=\\quot\\Cannot locate store with pos import or emulation enabled\\quot\\//crlf////tab////tab////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//sStoreID=driverGetFieldAbsolute(d\\comma\\\\quot\\ID\\quot\\\\comma\\r)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//s=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget\\quot\\//crlf////tab////tab////tab//s=s + \\quot\\//amp//Source=__CustomerID__//amp//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//Widget=Notification Queries//amp//query=includeDriver\\quot\\//crlf////tab////tab////tab//s=s + \\quot\\//amp//TableTitle=__DataType__ __Date__\\quot\\//crlf////tab////tab////tab//s=s + \\quot\\//amp//SourceDriverID=Aspect_BackOffice_POSViewer\\quot\\//crlf////crlf////tab////tab////tab//sKeyExpression=\\quot\\\\quot\\//crlf////tab////tab////tab//if(\\quot\\__DataType__\\quot\\=\\quot\\check_detail\\quot\\)//crlf////tab////tab////tab////tab//sKeyexpression=\\quot\\SrcIndex\\quot\\//crlf////tab////tab////tab//elseif(\\quot\\__DataType__\\quot\\=\\quot\\check_header\\quot\\)//crlf////tab////tab////tab////tab//sKeyexpression=\\quot\\CheckNumber\\quot\\//crlf////tab////tab////tab//elseif(\\quot\\__DataType__\\quot\\=\\quot\\paidinout\\quot\\)//crlf////tab////tab////tab////tab//sKeyexpression=\\quot\\SrcIndex\\quot\\//crlf////tab////tab////tab//elseif(\\quot\\__DataType__\\quot\\=\\quot\\sales_mix\\quot\\)//crlf////tab////tab////tab////tab//sKeyexpression=\\quot\\MenuItemID\\quot\\//crlf////tab////tab////tab//elseif(\\quot\\__DataType__\\quot\\=\\quot\\id_menu_items\\quot\\)//crlf////tab////tab////tab////tab//sKeyexpression=\\quot\\MenuItemID\\quot\\//crlf////tab////tab////tab//elseif(\\quot\\__DataType__\\quot\\=\\quot\\timeclock\\quot\\)//crlf////tab////tab////tab////tab//sKeyexpression=\\quot\\Line\\quot\\//crlf////tab////tab////tab//elseif(\\quot\\__DataType__\\quot\\=\\quot\\id_employee_records\\quot\\)//crlf////tab////tab////tab////tab//sKeyexpression=\\quot\\ID\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sKeyexpression=\\quot\\number\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//s=s + \\quot\\//amp//DriverParams=keyexpression=\\quot\\+sKeyExpression+\\quot\\~~pipe~~StoreID=\\quot\\+sStoreID+\\quot\\~~pipe~~Date=__Date__~~pipe~~DataType=__DataType__~~pipe~~Metadata=POSViewer-__DataType__\\quot\\//crlf////tab////tab////tab//s=s + \\quot\\//amp//keyDescription=\\quot\\+sKeyExpression//crlf////tab////tab////tab//s=s + \\quot\\//amp//MaxRecords=1000\\quot\\//crlf////tab////tab////tab//s=s + \\quot\\//amp//Display=Default\\quot\\//crlf////tab////tab////tab//s=s + \\quot\\//amp//SelectDisplay=true\\quot\\//crlf////tab////tab////tab//s=s + \\quot\\//amp//EditDisplay=true\\quot\\//crlf////tab////tab////tab//s=s + \\quot\\//amp//Fields=\\quot\\//crlf////tab////tab////tab//s=s + \\quot\\//amp//sort=\\quot\\+sKeyExpression//crlf////tab////tab////tab//s=s + \\quot\\//amp//ChartType=none\\quot\\//crlf////tab////tab////tab//s=s + \\quot\\//amp//Debug=true\\quot\\//crlf////tab////tab////tab//scriptSetResult(htmlConstant(\\quot\\url\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\s))//crlf////tab////tab//\\quot\\>//crlf////crlf////tab////tab//<span Interval=0 url=\\quot\\__url__\\quot\\>//crlf////tab////tab////tab//<img src=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif\\quot\\>//crlf////tab////tab//</span>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//<div style=\\quot\\width:900px;height:800px\\quot\\></div>//crlf//__servertimerresults__
^
ID=419795|X=300|Y=122|W=738|H=771|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=css|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=paidinout|X=183|Y=81|W=141|H=14|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=othertotals|X=183|Y=81|W=934|H=590|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=align_output_divs|AttachLeft=|AlignLeft=align_output_divs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:100px;height:100px\\quot\\></div>
^
ID=left_bar|X=0|Y=22|W=161|H=403|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false-->//crlf////crlf//<state>//crlf////tab//<!--//crlf////tab////tab//1.04//crlf////tab////tab//{now()}//crlf////tab////tab//{@fileSize(getToken(\\quot\\packageurl_Aspect_BackOffice\\quot\\)+\\quot\\supporting_files/Menu_Items\\quot\\)}//crlf////tab////tab//{@fileModified(getToken(\\quot\\packageurl_Aspect_BackOffice\\quot\\)+\\quot\\supporting_files/Menu_Items\\quot\\)}//crlf////tab////tab//{@fileSize(getToken(\\quot\\homedir\\quot\\)+\\quot\\widget_library_metadata1.dta\\quot\\)}//crlf////tab////tab//{@fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\widget_library_metadata1.dta\\quot\\)}//crlf////tab////tab//Debug=true//crlf////tab//-->//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\package\\quot\\\\comma\\\\quot\\__package__\\quot\\\\comma\\if(startsWith(\\quot\\__startpackage__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\\\quot\\Aspect_BackOffice\\quot\\\\comma\\\\quot\\__startpackage__\\quot\\))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\menu\\quot\\\\comma\\\\quot\\__menu__\\quot\\\\comma\\\\quot\\home\\quot\\)>//crlf////crlf//<!-- set this to true to use the back-office menu instead of the Aspect Support menu -->//crlf//<constant name:__debug__; value:false>//crlf////crlf//<!--//crlf////tab//Package2=__Package__<br>//crlf////tab//Menu2=__Menu__<br>//crlf////tab//<br>//crlf//-->//crlf////crlf//<conditional expression:(not(__debug__)) and (isPackageLoaded(\\quot\\aspect_support\\quot\\))>//crlf////tab//<!include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\left_bar\\quot\\; params:\\quot\\startpackage=aspect_support~~pipe~~package=__package__~~pipe~~menu=__menu__\\quot\\;>//crlf//</conditional>//crlf////crlf//<conditional expression:(__debug__) or (not(isPackageLoaded(\\quot\\aspect_support\\quot\\)))>//crlf////tab//<!-- set a constant used to filter out the company widget menu option if no company widgets exist -->//crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab//driverOpen(Widget_Library_Metadata\\comma\\drvWidgetMetadata\\comma\\READ)//crlf////tab////tab//sFilter=\\quot\\(Type=\\quot\\+quote(\\quot\\container\\quot\\)+\\quot\\) and (startsWith(\\quot\\Library_ID\\quot\\\\comma\\\\quot\\cowidget\\quot\\))\\quot\\//crlf////tab////tab//driverSetFilter(drvWidgetMetadata\\comma\\sFilter\\comma\\true)//crlf////tab////tab//appendToLog(\\quot\\company widget count=\\quot\\+driverGetRecordCount(drvWidgetMetadata))//crlf////tab////tab//if(driverGetRecordCount(drvWidgetMetadata)>0)//crlf////tab////tab////tab//scriptSetResult(htmlConstant(\\quot\\HasCompanyWidgets\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\true\\quot\\))//crlf////tab////tab//else//crlf////tab////tab////tab//scriptSetResult(htmlConstant(\\quot\\HasCompanyWidgets\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\false\\quot\\))//crlf////tab////tab//endif//crlf////tab////tab//driverClose(drvWidgetMetadata)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\package\\quot\\\\comma\\\\quot\\__package__\\quot\\\\comma\\if(startsWith(\\quot\\__startpackage__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\\\quot\\Aspect_BackOffice\\quot\\\\comma\\\\quot\\__startpackage__\\quot\\))>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\menu\\quot\\\\comma\\\\quot\\__menu__\\quot\\\\comma\\\\quot\\home\\quot\\)>//crlf////crlf////tab//<div style=\\quot\\padding:0px 10px 0px 0px;width:150px\\quot\\>//crlf////tab////tab//<select ID=\\quot\\select_menu\\quot\\ onChange=\\quot\\menuSelected()\\quot\\ style=\\quot\\margin:0px 0px 10px 0px;width:100\\percent\\\\quot\\>//crlf////tab////tab////tab//<option <!!include type:expression; expression:if((\\quot\\__package__\\quot\\=\\quot\\Aspect_BackOffice\\quot\\) and (\\quot\\__menu__\\quot\\=\\quot\\home\\quot\\)\\comma\\\\quot\\selected\\quot\\\\comma\\\\quot\\\\quot\\);> value=\\quot\\Aspect_BackOffice~~pipe~~Home\\quot\\>Home</option>//crlf////tab////tab////tab//<option <!!include type:expression; expression:if((\\quot\\__package__\\quot\\=\\quot\\Aspect_BackOffice\\quot\\) and (\\quot\\__menu__\\quot\\=\\quot\\Payroll\\quot\\)\\comma\\\\quot\\selected\\quot\\\\comma\\\\quot\\\\quot\\);> value=\\quot\\Aspect_BackOffice~~pipe~~Payroll\\quot\\>Payroll</option>//crlf////tab////tab//</select>//crlf////crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\Greenlight_Access_Menu_Items\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~package=__package__\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\Name\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\Menu_Item_For_Desktop\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\Name\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\((device=1) or (device=0)) and (menu='__menu__') and ((__HasCompanyWidgets__) or (not(startsWith(Name\\comma\\'Company Tools'))))\\quot\\;//crlf////tab////tab////tab//class: \\quot\\menu_option\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\false\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\false\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\false\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//__servertimerresults__//crlf//
^
ID=top_bar|X=0|Y=0|W=901|H=14|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\height:10px;width:900px\\quot\\>//crlf////tab//<!-- img src=\\quot\\__RequestServer__/?Network=greenlight//amp//ID=getImage//amp//filename=pyramid16x16.png\\quot\\-->//crlf////tab//<div style=\\quot\\float:right\\quot\\>//crlf////tab////tab//{AspectOrganizationName} / {AspectHashID}//crlf////tab//</div>//crlf//</div>
^
ID=align_output_divs|X=183|Y=57|W=43|H=24|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=610525|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- //tab////crlf//This is a transparent element used to align the divs associated with each tab.//crlf//There is a problem aligning divs when elements are not visible.  For example\\comma\\//crlf//the discount div does not align properly when the identifier tabs are not displayed.//crlf//Because this div is always visible\\comma\\ is allows all divs to be positioned properly.//crlf//-->//crlf////tab////crlf////tab//
^
ID=tabs_troubleshooting|X=183|Y=57|W=280|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=610525|AttachLeft=|AlignLeft=610525|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table ID=\\quot\\tabsCheckJournal\\quot\\ class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'setup')\\quot\\>Setup</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'activity_log')\\quot\\>Activity Log</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'tasks')\\quot\\>Tasks</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'directories')\\quot\\>Directories</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'documentation')\\quot\\>Documentation</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=activity_log|X=183|Y=79|W=149|H=19|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_troubleshooting|AttachLeft=|AlignLeft=tabs_troubleshooting|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<!-- Activity Log - POS Synchronize -->//crlf//<h1 class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('activity_log_aspect7'\\comma\\0)\\quot\\>Activity Log - Aspect7</h1>//crlf//<div ID=\\quot\\activity_log_aspect7\\quot\\ //crlf////tab//interval=\\quot\\-1\\quot\\  //crlf////tab//style=\\quot\\display:none\\quot\\ //crlf////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab//ID=getWidget//amp////crlf////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp////crlf////tab////tab//Widget=Notification Queries//amp////crlf////tab////tab//query=includeActivityLog//amp////crlf////tab////tab//SourceDriverID=Activity_Log_By_Filename//amp////crlf////tab////tab//Display=POS Interface//amp////crlf////tab////tab//DriverParams=Date={@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}//amp////crlf////tab////tab//CacheTtl=180\\quot\\//crlf//>//crlf////tab//<img src=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif\\quot\\>//crlf//</div>//crlf////crlf//<!-- Activity Log - Aspect6 -->//crlf//<h1 class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('activity_log_aspect6'\\comma\\0)\\quot\\>Activity Log - Aspect6</h1>//crlf//<div ID=\\quot\\activity_log_aspect6\\quot\\ //crlf////tab//interval=\\quot\\-1\\quot\\  //crlf////tab//style=\\quot\\display:none\\quot\\ //crlf////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab//ID=getWidget//amp////crlf////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp////crlf////tab////tab//Widget=Notification Queries//amp////crlf////tab////tab//query=includeDriver//amp////crlf////tab////tab//DriverSource=__LeftBarComputer__//amp////crlf////tab////tab//SourceDriverID=Aspect6_Activity_Log//amp////crlf////tab////tab//DriverParams=KeyExpression=ID//amp////crlf////tab////tab//KeyDescription=Description//amp////crlf////tab////tab//Display=none//amp////crlf////tab////tab//SelectDisplay=false//amp////crlf////tab////tab//EditDisplay=false//amp////crlf////tab////tab//Fields=Line\\comma\\Time\\comma\\Message//amp////crlf////tab////tab//Sort=-Time\\comma\\-Line//amp////crlf////tab////tab//MaxRecords=512//amp////crlf////tab////tab//CanEdit=false//amp////crlf////tab////tab//CacheTtl=180\\quot\\//crlf//>//crlf////tab//<img src=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf//
^
ID=tasks|X=183|Y=79|W=149|H=19|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_troubleshooting|AttachLeft=|AlignLeft=tabs_troubleshooting|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<!-- Tasks -->//crlf//<h1 class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('tasks_table'\\comma\\0)\\quot\\>Tasks</h1>//crlf//<div ID=\\quot\\tasks_table\\quot\\ //crlf////tab//interval=\\quot\\-1\\quot\\  //crlf////tab//style=\\quot\\display:none\\quot\\ //crlf////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab//ID=getWidget//amp////crlf////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp////crlf////tab////tab//Widget=Notification Queries//amp////crlf////tab////tab//query=scheduled_tasks//amp////crlf////tab////tab//_DriverFilter=(DriverID=Widget_Library_Metadata) or (DriverID=Aspect6_Export_Task) or (DriverID=TaskScheduler) or (DriverID=Library_Documents) or (DriverID=Library_Client)//amp////crlf////tab////tab//DriverFilter=true//amp////crlf////tab////tab//KeyExpression=DriverID+TaskName//amp////crlf////tab////tab//Display=POS Interface Tasks//amp////crlf////tab////tab//CacheTtl=180\\quot\\//crlf//>//crlf////tab//<img src=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif\\quot\\>//crlf//</div>//crlf////crlf//<!-- add space so the tooltip can be displayed for the last task in the list -->//crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=directories|X=183|Y=79|W=149|H=19|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_troubleshooting|AttachLeft=|AlignLeft=tabs_troubleshooting|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=LeftBarComputer|DefaultSource=true|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<include type:script; name:\\quot\\pos_viewer_directories\\quot\\; commands:\\quot\\//crlf////crlf////tab////get the Aspect6 store directory//crlf////tab//sStoreDir=\\quot\\\\quot\\//crlf////tab//sActiveStoreCode=getToken(\\quot\\Aspect6ActiveStoreCode\\quot\\)//crlf////tab//if(len(sActiveStoreCode)>0)//crlf////tab////tab//sStoreDir=trim(lookup(Aspect6_Store_Directories_By_Code\\comma\\sActiveStoreCode))//crlf////tab//endif//tab////crlf////crlf////tab//if(len(sStoreDir)>0)//crlf////tab////tab////a valid directory was found//crlf////tab////tab//sStoreDir=addDirSlash(replaceSubstring(sStoreDir\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\))//crlf////tab////tab//sResult=htmlConstant(\\quot\\Aspect6StoreDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sStoreDir)//crlf////tab////tab//sResult=sResult+htmlConstant(\\quot\\Aspect6StoreDirDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sStoreDir)//crlf////tab//else//crlf////tab////tab////a valid directory was not found//crlf////tab////tab//sResult=htmlConstant(\\quot\\Aspect6StoreDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\c:\\\quot\\)//crlf////tab////tab//sResult=sResult+htmlConstant(\\quot\\Aspect6StoreDirDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab//endif//crlf////crlf////tab////get the Aspect7 store directory and pos directory//crlf////tab//sStoreDriver=scriptExec(Aspect_BackOffice_openAspect7Stores\\comma\\true)//crlf////tab//c=driverGetRecordCount(sStoreDriver\\comma\\true)//crlf////tab//n=0//crlf////tab//Match=0//crlf////tab//sStoreDir=\\quot\\\\quot\\//crlf////tab//sPosDir=\\quot\\\\quot\\//crlf////tab//while((n<c) and (not(Found)))//crlf////tab////tab//if((driverGetFieldAbsolute(sStoreDriver\\comma\\\\quot\\used\\quot\\\\comma\\n))) and (driverGetFieldAbsolute(sStoreDriver\\comma\\\\quot\\Enable_POS_Import\\quot\\\\comma\\n))//crlf////tab////tab////tab//sStoreDir=driverGetFieldAbsolute(sStoreDriver\\comma\\\\quot\\Store_Directory\\quot\\\\comma\\n)//crlf////tab////tab////tab//sPosDir=driverGetFieldAbsolute(sStoreDriver\\comma\\\\quot\\POS_Directory\\quot\\\\comma\\n)//crlf////tab////tab////tab//Match=Match+1//crlf////tab////tab//endif//crlf////tab////tab//n=n+1//crlf////tab//endwhile//crlf////tab////crlf////tab//if(Match=1)//crlf////tab////tab//sStoreDir=addDirSlash(replaceSubstring(sStoreDir\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\))//crlf////tab////tab//sPosDir=addDirSlash(replaceSubstring(sPosDir\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\))//crlf////tab////tab//sResult=sResult + htmlConstant(\\quot\\Aspect7StoreDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sStoreDir)//crlf////tab////tab//sResult=sResult + htmlConstant(\\quot\\Aspect7StoreDirDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sStoreDir)//crlf////tab////tab//sResult=sResult + htmlConstant(\\quot\\POSDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sPosDir)//crlf////tab////tab//sResult=sResult + htmlConstant(\\quot\\POSDirDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sPosDir)//crlf////tab//else//crlf////tab////tab//sResult=sResult + htmlConstant(\\quot\\Aspect7StoreDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\c:\\\quot\\)//crlf////tab////tab//sResult=sResult + htmlConstant(\\quot\\Aspect7StoreDirDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab////tab//sResult=sResult + htmlConstant(\\quot\\POSDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\c:\\\quot\\)//crlf////tab////tab//sResult=sResult + htmlConstant(\\quot\\POSDirDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab//endif//crlf////crlf////tab////get the directory used for pos emulation//crlf////tab//sAspect6AspectDirectory=addDirSlash(getToken(\\quot\\Aspect6AspectDirectory\\quot\\))//crlf////tab//if(len(sAspect6AspectDirectory)>0)//crlf////tab////tab//sAspect6AspectDirectory=addDirSlash(replaceSubstring(sAspect6AspectDirectory\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\))+\\quot\\posdata/\\quot\\//crlf////tab////tab//sResult=sResult + htmlConstant(\\quot\\POSEmulationDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sAspect6AspectDirectory)//crlf////tab////tab//sResult=sResult + htmlConstant(\\quot\\POSEmulationDirDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sAspect6AspectDirectory)//crlf////tab//else//crlf////tab////tab//sResult=sResult + htmlConstant(\\quot\\POSEmulationDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\c:\\\quot\\)//crlf////tab////tab//sResult=sResult + htmlConstant(\\quot\\POSEmulationDirDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab//endif//crlf////crlf////tab//scriptSetResult(sResult)//crlf//\\quot\\>//crlf////crlf//<!-- POS Directory -->//crlf//<h1 class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('pos_directory'\\comma\\0)\\quot\\>POS Directory: __POSDirDescription__</h1>//crlf//<div ID=\\quot\\pos_directory\\quot\\ //crlf////tab//interval=\\quot\\-1\\quot\\  //crlf////tab//style=\\quot\\display:none\\quot\\ //crlf////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab//ID=getWidget//amp////crlf////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp////crlf////tab////tab//Widget=Notification Queries//amp////crlf////tab////tab//query=getDirectoryListing//amp////crlf////tab////tab//menu=Get Files~~pipe~~downloadFiles//amp////crlf////tab////tab//ExternalFilter=false//amp////crlf////tab////tab//Filespec=__POSDir__//amp////crlf////tab////tab//CacheTtl=180\\quot\\//crlf//>//crlf////tab//<img src=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif\\quot\\>//crlf//</div>//crlf////crlf//<!-- POS Emulation Directory -->//crlf//<h1 class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('pos_emulation_directory'\\comma\\0)\\quot\\>POS Emulation Directory: __POSEmulationDirDescription__</h1>//crlf//<div ID=\\quot\\pos_emulation_directory\\quot\\ //crlf////tab//interval=\\quot\\-1\\quot\\  //crlf////tab//style=\\quot\\display:none\\quot\\ //crlf////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab//ID=getWidget//amp////crlf////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp////crlf////tab////tab//Widget=Notification Queries//amp////crlf////tab////tab//query=getDirectoryListing//amp////crlf////tab////tab//menu=Get Files~~pipe~~downloadFiles//amp////crlf////tab////tab//ExternalFilter=false//amp////crlf////tab////tab//Filespec=__POSEmulationDir__//amp////crlf////tab////tab//CacheTtl=180\\quot\\//crlf//>//crlf////tab//<img src=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif\\quot\\>//crlf//</div>//crlf////crlf//<!-- Aspect7 Store Directory -->//crlf//<h1 class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('aspect7_store_directory'\\comma\\0)\\quot\\>Aspect7 Store Directory: __Aspect7StoreDirDescription__</h1>//crlf//<div ID=\\quot\\aspect7_store_directory\\quot\\ //crlf////tab//interval=\\quot\\-1\\quot\\  //crlf////tab//style=\\quot\\display:none\\quot\\ //crlf////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab//ID=getWidget//amp////crlf////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp////crlf////tab////tab//Widget=Notification Queries//amp////crlf////tab////tab//query=getDirectoryListing//amp////crlf////tab////tab//menu=Get Files~~pipe~~downloadFiles//amp////crlf////tab////tab//ExternalFilter=false//amp////crlf////tab////tab//Filespec=__Aspect7StoreDir__//amp////crlf////tab////tab//CacheTtl=180\\quot\\//crlf//>//crlf////tab//<img src=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif\\quot\\>//crlf//</div>//crlf////crlf//<!-- Aspect6 Store Directory -->//crlf//<h1 class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('aspect6_store_directory'\\comma\\0)\\quot\\>Aspect6 Store Directory: __Aspect6StoreDirDescription__</h1>//crlf//<div ID=\\quot\\aspect6_store_directory\\quot\\ //crlf////tab//interval=\\quot\\-1\\quot\\  //crlf////tab//style=\\quot\\display:none\\quot\\ //crlf////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab//ID=getWidget//amp////crlf////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp////crlf////tab////tab//Widget=Notification Queries//amp////crlf////tab////tab//query=getDirectoryListing//amp////crlf////tab////tab//menu=Get Files~~pipe~~downloadFiles//amp////crlf////tab////tab//ExternalFilter=false//amp////crlf////tab////tab//Filespec=__Aspect6StoreDir__//amp////crlf////tab////tab//CacheTtl=180\\quot\\//crlf//>//crlf////tab//<img src=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf//
^
ID=setup|X=183|Y=79|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_troubleshooting|AttachLeft=|AlignLeft=tabs_troubleshooting|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<h1 class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('diagnostics_content'\\comma\\0)\\quot\\>Diagnostics</h1>//crlf//<div ID=\\quot\\diagnostics_content\\quot\\ //crlf////tab//interval=\\quot\\-1\\quot\\  //crlf////tab//style=\\quot\\display:none\\quot\\ //crlf////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab//ID=getWidget//amp////crlf////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp////crlf////tab////tab//Widget=POS Interface//amp////crlf////tab////tab//ContainerItemID=diagnostics\\quot\\//crlf//>//crlf////tab//<img src=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif\\quot\\>//crlf//</div>//crlf////crlf//<!-- Aspect7 Stores -->//crlf//<h1 class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('aspect7_stores'\\comma\\0)\\quot\\>Aspect7 Stores</h1>//crlf//<div ID=\\quot\\aspect7_stores\\quot\\ //crlf////tab//interval=\\quot\\-1\\quot\\  //crlf////tab//style=\\quot\\display:none\\quot\\ //crlf////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab//ID=getWidget//amp////crlf////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp////crlf////tab////tab//Widget=Notification Queries//amp////crlf////tab////tab//query=includeDriver//amp////crlf////tab////tab//SourceDriverID=Aspect_BackOffice_Store//amp////crlf////tab////tab//Display=Stores By Name//amp////crlf////tab////tab//DriverParams=KeyExpression=ID~~pipe~~Metadata=Aspect_BackOffice_Store//amp////crlf////tab////tab//EditDialogID=h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Driver Dialogs~~pipe~~Aspect_BackOffice_Store~~pipe~~Aspect7Store~~pipe~~__salt__//amp////crlf////tab////tab//DialogHeader=false//amp////crlf////tab////tab//canEdit=true//amp////crlf////tab////tab//canAdd=true//amp////crlf////tab////tab//canDelete=true//amp////crlf////tab////tab//canSelect=true//amp////crlf////tab////tab//CacheTtl=180\\quot\\//crlf//>//crlf////tab//<img src=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif\\quot\\>//crlf//</div>//crlf////crlf//<!-- Aspect6 Stores -->//crlf//<h1 class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('aspect6_stores'\\comma\\0)\\quot\\>Aspect6 Stores</h1>//crlf//<div ID=\\quot\\aspect6_stores\\quot\\ //crlf////tab//interval=\\quot\\-1\\quot\\  //crlf////tab//style=\\quot\\display:none\\quot\\ //crlf////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab//ID=getWidget//amp////crlf////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp////crlf////tab////tab//Widget=Notification Queries//amp////crlf////tab////tab//query=includeDriver//amp////crlf////tab////tab//SourceDriverID=Aspect6_Driver_Store_Settings//amp////crlf////tab////tab//DriverParams=KeyExpression=DiskIndex~~pipe~~KeyDescription=DiskIndex//amp////crlf////tab////tab//Display=Stores By Name//amp////crlf////tab////tab//_Fields=ID_TSTOREREC_NAME\\comma\\ID_TSTOREREC_CODE\\comma\\ID_TSTOREREC_ASPECT_DIR\\comma\\ID_TSTOREREC_REGISTER_TYPE\\comma\\ID_TSTOREREC_POLL_METHOD\\comma\\ID_TSTOREREC_MICROS_DIRECTORY//amp////crlf////tab////tab//_Sort=ID_TSTOREREC_NAME//amp////crlf////tab////tab//canEdit=true//amp////crlf////tab////tab//canAdd=false//amp////crlf////tab////tab//canSelect=false//amp////crlf////tab////tab//canDelete=false//amp////crlf////tab////tab//CacheTtl=180\\quot\\//crlf//>//crlf////tab//<img src=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf////crlf//
^
ID=documentation|X=183|Y=79|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_troubleshooting|AttachLeft=|AlignLeft=tabs_troubleshooting|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<h1 class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('documentation_content'\\comma\\0)\\quot\\>Documentation</h1>//crlf//<div ID=\\quot\\documentation_content\\quot\\ //crlf////tab//interval=\\quot\\-1\\quot\\  //crlf////tab//style=\\quot\\display:none\\quot\\ //crlf////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab//ID=getWidget//amp////crlf////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp////crlf////tab////tab//Widget=POS Interface//amp////crlf////tab////tab//ContainerItemID=documentation\\quot\\//crlf//>//crlf////tab//<img src=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf//
^
ID=get_store_select_box|X=300|Y=122|W=738|H=771|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//====================================================================//crlf//This item is used to retrieve a list of stores from a remote computer//crlf//====================================================================//crlf//</conditional>//crlf////crlf//<state>//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice/store_list.dta\\quot\\)}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlSelect(Aspect_BackOffice_Store_Name_By_ID\\comma\\\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\\\comma\\0\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\\\quot\\);>
</widget><widget name="POS Interface" group="POS Interface" category="" description="Scripts used to create a pos interface and to synch the pos files with Aspect7 data.  Also contains sensors used to get the active store, pos directory, etc." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface" modified="05-08-2024 16:39:14" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=09-03-2015 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=1 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(not(isServer())) and (fileSize(getToken(\\quote\\homedir\\quote\\)+\\quote\\\Aspect_BackOffice\store_list.dta\\quote\\)\\gt\\0) and (not(boolean(getSystemValue(\\quote\\DevelopmentMode\\quote\\))))" TaskConditional_Expression_Description="" TaskState_Function="if(len(getToken(\\quote\\POSInterface_Result\\quote\\))*len(getToken(\\quote\\POSInterface_Aspect7Filespecs\\quote\\))=0,now(),gfs(getToken(\\quote\\homedir\\quote\\)+\\quote\\\Aspect_BackOffice\store_list.dta\\quote\\)+formatDate(now(),\\quote\\MMddyyyy\\quote\\))" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=65|toolboxy=44|aspectfuncx=180|aspectfuncy=100|aspectfuncw=837|aspectfunch=656|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=HSI Merge.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=1025|H=34|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\top_bar\\quot\\; params:\\quot\\\\quot\\;>^
ID=left_bar|X=0|Y=15|W=121|H=49|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\left_bar\\quot\\; params:\\quot\\startpackage=__startpackage__~~pipe~~package={@\\quot\\__package__\\quot\\}~~pipe~~menu=__menu__\\quot\\;>//crlf//^
ID=synch|X=300|Y=126|W=829|H=599|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Synchronizes all or selected records in the synch driver.  //crlf////crlf//Params://crlf//StoreID - The ID of the store to be synchronized//crlf//DataType - A comma-delimited array of datatypes to be synchronized (see below)//crlf//Dates - A comma-delimited array of dates (MM-dd-yyyy) to be synchronized (see below)//crlf////crlf//The DataType and Dates arrays are used to allow synchronizing of a particular date/data type when called from a task.//crlf//The status of the record in the synch log is used to determine if a particular date/data type should be synchronized //crlf////crlf//This script calls synch - general for each date/ data type pair that needs synchronizing.  The synch - general//crlf//script calls the pos interface to open the pos driver and executes a merge to merge the data to the generic//crlf//format.//crlf////crlf//The result is returned in the form//crlf//Store=xxx~~pipe~~DataType=xxx~~pipe~~Date=MM-dd-yyyy~~pipe~~Result=n~~pipe~~Message=xxx//power////crlf//Store=xxx~~pipe~~DataType=xxx~~pipe~~Date=MM-dd-yyyy~~pipe~~Result=n~~pipe~~Message=xxx//power////crlf//Store=xxx~~pipe~~DataType=xxx~~pipe~~Date=MM-dd-yyyy~~pipe~~Result=n~~pipe~~Message=xxx//power////crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:\\quot\\('__action__'='synchronize')\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\pos_interface_synchronize\\quot\\; commands:\\quot\\//crlf////tab////tab//bDebug=true//crlf////tab////tab////crlf////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface synchronize started Store=\\quot\\+lookup(Aspect_BackOffice_Store_Name_By_ID\\comma\\\\quot\\__StoreID__\\quot\\)+ \\quot\\[\\quot\\+__StoreID__+\\quot\\] DataType=__DataType__ Dates=__Dates__\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////return false if nothing is modified//crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////crlf////tab////tab//dtToday=date(now()\\comma\\true)//crlf////tab////tab//dtYesterday=incrementTime(date(now()\\comma\\true)\\comma\\-1)//crlf////crlf////tab////tab//driverOpen(\\quot\\Aspect_Back_Office_Pos_Synch\\quot\\\\comma\\drvPOSSynchLog\\comma\\WRITE)//crlf////tab////tab//c=driverGetRecordCount(drvPOSSynchLog\\comma\\true)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//if(driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\used\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//sTaskName=driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\TaskName\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////sStatus=driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Status\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab//bDoSynch=driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Do_Synch\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////debugging//crlf////tab////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab////tab//if(\\quot\\__DataType__\\quot\\=driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Data_Type\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\DataType=__DataType__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\dtBusiness=\\quot\\+driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Business_Date\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\PosType=\\quot\\+driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\POS_Type\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\PosDir=\\quot\\+addDirSlash(driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\POS_Directory\\quot\\\\comma\\n)))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\calcTestForPOSData=\\quot\\+driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\calcTest_For_POS_Data\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\InSynchPeriod=\\quot\\+driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\In_Synch_Period\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Status=\\quot\\+driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Status\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\AspectFileExists=\\quot\\+driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Aspect_File_Exists\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\NeedToSynch=\\quot\\+driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Need_To_Synch\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\CanSynch=\\quot\\+driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Can_Synch\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\DoSynch=\\quot\\+driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Do_Synch\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////added this section to include synch of datatype starting with ID.  For some reason\\comma\\ //crlf////tab////tab////tab////tab////the Need_To_Synch value was returning false during testing even after modifying the //crlf////tab////tab////tab////tab////formula to include the startsWith() function. //tab////tab////tab////tab////crlf////crlf////tab////tab////tab////tab////Previously\\comma\\ the Need_To_Synch field only checked for id_menuitem which meant that//crlf////tab////tab////tab////tab////comps\\comma\\ discounts\\comma\\ departments\\comma\\ employees\\comma\\ etc. were not updated when a synch task was //crlf////tab////tab////tab////tab////run manually.  It might also mean that the files were not being updated even when the //crlf////tab////tab////tab////tab////task ran because new data was available from the POS.//crlf////crlf////tab////tab////tab////tab//if(not(bDoSynch))//crlf////tab////tab////tab////tab////tab//bCanSynch=driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Can_Synch\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//sDataType=driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Data_Type\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\sDataType=[\\quot\\+sDataType+\\quot\\] startsWith=\\quot\\+startsWith(sDataType\\comma\\\\quot\\ID\\quot\\))//crlf////tab////tab////tab////tab////tab//if((bCanSynch) and (startsWith(sDataType\\comma\\\\quot\\ID\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Overriding bDoSynch\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//bDoSynch=true//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Task: \\quot\\+sTaskName+\\quot\\ Execute: \\quot\\+bDoSynch)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//if(bDoSynch)//crlf////tab////tab////tab////tab////tab//iDiskIndex=driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\DiskIndex\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//sStoreID=driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Store_ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//dtBusiness=driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Business_Date\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//sPosType=driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\POS_Type\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//sPosDir=addDirSlash(driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\POS_Directory\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//sDataType=driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Data_Type\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////tab////If specific stores\\comma\\ dates or datatypes are passed\\comma\\ only synchronize those records//crlf////tab////tab////tab////tab////tab//bInclude=(\\quot\\__StoreID__\\quot\\=\\quot\\all\\quot\\) or (containsElement(\\quot\\__StoreID__\\quot\\\\comma\\sStoreID)>=0)//crlf////tab////tab////tab////tab////tab//bInclude=(bInclude) and ((\\quot\\__DataType__\\quot\\=\\quot\\All\\quot\\) or (containsElement(\\quot\\__DataType__\\quot\\\\comma\\sDataType)>=0))//crlf////tab////tab////tab////tab////tab//bInclude=(bInclude) and ((\\quot\\__Dates__\\quot\\=\\quot\\All\\quot\\) or (containsElement(\\quot\\__Dates__\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\))>=0))//crlf////tab////tab////tab////tab////tab//if(bInclude)//crlf////tab////tab////tab////tab////tab////tab//sPosContainerName=lookup(Aspect_BackOffice_POS_Synch_Container_Name\\comma\\sPOSType)//crlf////crlf////tab////tab////tab////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Synch \\quot\\+sDataType+\\quot\\ for \\quot\\+formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\ Store=\\quot\\+lookup(Aspect_BackOffice_Store_Name_By_ID\\comma\\sStoreID))\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab////open the pos driver//crlf////tab////tab////tab////tab////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=\\quot\\+sPosContainerName//crlf////tab////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//WidgetContainerItemID=open_driver\\quot\\//crlf////tab////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Params=Action=openDriver~~pipe~~DataType=\\quot\\+sDataType+\\quot\\~~pipe~~StoreID=\\quot\\+sStoreID+\\quot\\~~pipe~~Date=\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\~~pipe~~OpenDriver=true\\quot\\//crlf////tab////tab////tab////tab////tab////tab//s=trim(scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs))//crlf////tab////tab////tab////tab////tab////tab//iPosDriverStatus=getElementValue(s\\comma\\\\quot\\status\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sDebug=if(bDebug\\comma\\appendTolog(\\quot\\POS Interface returns: \\quot\\+s)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab////record the expression that can be used to test for POS data if it's not currently available//crlf////tab////tab////tab////tab////tab////tab//sTestForDataExpression=getElementValue(s\\comma\\\\quot\\TestForData\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Test_For_POS_Data\\quot\\\\comma\\n\\comma\\sTestForDataExpression)//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//sTaskResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if(iPosDriverStatus=1)//crlf////tab////tab////tab////tab////tab////tab////tab////Data is available from the POS//crlf////tab////tab////tab////tab////tab////tab////tab//sDriverName=getElementValue(s\\comma\\Driver\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//dtModified=parseTime(getElementValue(s\\comma\\\\quot\\modified\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//iSize=value(getElementValue(s\\comma\\\\quot\\size\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Current_POS_Timestamp\\quot\\\\comma\\n\\comma\\dtModified)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Current_POS_Size\\quot\\\\comma\\n\\comma\\iSize)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////get store directory\\comma\\ business date and destination filename//crlf////tab////tab////tab////tab////tab////tab////tab//sStoreDir=addDirSlash(driverGetFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Store_Directory\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab////tab//sBusinessDate=formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sDestFilename=sStoreDir + replaceSubstring(lookup(Aspect_BackOffice_Data_Type_Associated_Filenames\\comma\\sDataType)\\comma\\\\quot\\$date$\\quot\\\\comma\\sBusinessDate)//crlf//appendToLog(\\quot\\sDestFilename=\\quot\\+sDestFilename)//crlf//appendToLog(\\quot\\sDataType=\\quot\\+sDataType)//crlf////tab////tab////tab////tab////tab////tab////tab////synchronize the data//crlf////tab////tab////tab////tab////tab////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=pos interface\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//WidgetContainerItemID=General\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Params=Action=synch~~pipe~~DataType=\\quot\\+sDataType+\\quot\\~~pipe~~PosDriver=\\quot\\+sDriverName+\\quot\\~~pipe~~DestFile=\\quot\\+sDestFilename+\\quot\\~~pipe~~StoreID=\\quot\\+sStoreID+\\quot\\~~pipe~~BusinessDate=\\quot\\+sBusinessDate//crlf////tab////tab////tab////tab////tab////tab////tab//sMergeResult=trim(scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs))//crlf////tab////tab////tab////tab////tab////tab////tab//sMergeResult=replaceSubstring(replaceSubstring(sMergeResult\\comma\\\\quot\\ records.\\quot\\\\comma\\\\quot\\\\quot\\)\\comma\\\\quot\\: \\quot\\\\comma\\\\quot\\:\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Synch \\quot\\+sDataType+\\quot\\ \\quot\\+sMergeResult)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////set the status flag\\comma\\ message and other fields//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\status\\quot\\\\comma\\n\\comma\\if(startsWith(s\\comma\\\\quot\\ok\\quot\\)\\comma\\1\\comma\\0))//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Message\\quot\\\\comma\\n\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)+\\quot\\ \\quot\\+replaceSubstring(s\\comma\\\\quot\\Merged\\quot\\\\comma\\\\quot\\Updated\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Synch_POS_Timestamp\\quot\\\\comma\\n\\comma\\dtModified)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Synch_POS_Size\\quot\\\\comma\\n\\comma\\iSize)//crlf////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////create Aspect6 import file//crlf////tab////tab////tab////tab////tab////tab////tab////this was left over when the emulation was written - it should be deleted//crlf////tab////tab////tab////tab////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//bCreateAspect6ImportFile=boolean(lookup(Aspect_BackOffice_Create_Aspect6_Import_Files_By_Store_ID\\comma\\sStoreID))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(bCreateAspect6ImportFile)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=pos interface\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//WidgetContainerItemID=General\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Params=Action=createAspect6Files~~pipe~~DataType=\\quot\\+sDataType+\\quot\\~~pipe~~PosDriver=\\quot\\+sDriverName+\\quot\\~~pipe~~DestFile=\\quot\\+sDestFilename+\\quot\\~~pipe~~StoreID=\\quot\\+sStoreID+\\quot\\~~pipe~~BusinessDate=\\quot\\+sBusinessDate//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//s=trim(scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Create Aspect6 Import Files \\quot\\+sDataType+\\quot\\ \\quot\\+s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////close the pos driver//crlf////tab////tab////tab////tab////tab////tab////tab//driverClose(sDriverName)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Status\\quot\\\\comma\\n\\comma\\2)//crlf////tab////tab////tab////tab////tab////tab////tab//sTaskResult=\\quot\\Result=1~~pipe~~Message=\\quot\\+sMergeResult//crlf////tab////tab////tab////tab////tab////tab//elseif (iPosDriverStatus=0)//crlf////tab////tab////tab////tab////tab////tab////tab////datatype is supported but data is not available//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\status\\quot\\\\comma\\n\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Message\\quot\\\\comma\\n\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)+\\quot\\ Data is not available from the POS\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Current_POS_Timestamp\\quot\\\\comma\\n\\comma\\date(0))//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Current_POS_Size\\quot\\\\comma\\n\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\getPOSDriver returns status=\\quot\\+iPosDriverStatus+\\quot\\ for datatype=\\quot\\+sDataType)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sTaskResult=\\quot\\Result=0~~pipe~~Message=Data is not available\\quot\\//crlf////tab////tab////tab////tab////tab////tab//elseif (iPosDriverStatus=-1)//crlf////tab////tab////tab////tab////tab////tab////tab////datatype is not supported by the pos//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\status\\quot\\\\comma\\n\\comma\\-1)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Message\\quot\\\\comma\\n\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)+\\quot\\ Data is not supported for this POS\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Current_POS_Timestamp\\quot\\\\comma\\n\\comma\\date(0))//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Current_POS_Size\\quot\\\\comma\\n\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab//sTaskResult=\\quot\\Result=0~~pipe~~Message=Data is not supported\\quot\\//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPOSSynchLog\\comma\\\\quot\\Synch_Time\\quot\\\\comma\\n\\comma\\now())//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\get file info for: \\quot\\+iDiskIndex+\\quot\\ \\quot\\+dtBusiness+\\quot\\ \\quot\\+sPosDir+\\quot\\ \\quot\\+sDataType+\\quot\\ \\quot\\+sFilename)//crlf////crlf////tab////tab////tab////tab////tab////tab////Set a token used in the state definition for the synch log tab.  The filesize/modified do not necessarily//crlf////tab////tab////tab////tab////tab////tab////change when a file is synchronized since the file remains open.//crlf////tab////tab////tab////tab////tab////tab//setToken(\\quot\\Aspect_BackOffice_LastSynchLogUpdate\\quot\\\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////add to the result//crlf////tab////tab////tab////tab////tab////tab//s=\\quot\\Store=\\quot\\+sStoreID+\\quot\\~~pipe~~DataType=\\quot\\+sDataType+\\quot\\~~pipe~~Date=\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//s=s + \\quot\\~~pipe~~\\quot\\+sTaskResult//crlf////tab////tab////tab////tab////tab////tab//sResult=addElement(sResult\\comma\\s\\comma\\\\quot\\//power//\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//driverClose(drvPOSSynchLog)//crlf////crlf////tab////tab//if(len(sResult)=0)//crlf////tab////tab////tab//sResult=\\quot\\result=0~~pipe~~message=Nothing to do\\quot\\//crlf////tab////tab//endif//crlf////crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=code|X=300|Y=100|W=829|H=599|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'743416')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>Aspect</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'synch')\\quot\\>Synch</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'general')\\quot\\>Synch General</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'pos_emulation')\\quot\\>POS Emulation</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'pos_interface_setup')\\quot\\>Setup</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'861987')\\quot\\>Widgets</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'846879')\\quot\\>CSS</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'760488')\\quot\\>Notes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=743416|X=300|Y=126|W=1050|H=620|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=760488|X=300|Y=126|W=829|H=599|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h1>Setting up a new POS Interface</h1>//crlf////crlf//<h2>Aspect Back-Office Package</h2>//crlf////crlf//<ul>//crlf////tab//<li>Add Pos interface package ID to collection - Aspect_BackOffice_POS_Package_By_POS_ID</li>//crlf////tab//<li>Add Pos interface widget container name to collection - Aspect_BackOffice_POS_Synch_Container_Name</li>//crlf//</ul>//crlf////crlf//<h2>POS Package</h2>//crlf////crlf//<ul>//crlf////tab//<li>Create collection of driver ID's for each datatype - POS_[packageID]_Associated_Driver_By_Data_Type</li>//crlf////tab//<li>Create collection of filenames for each datatype - POS_[packageID]_Associated_Filenames_By_Data_Type</li>//crlf////tab//<li>Add a script to open drivers - POS_[packageID]_openDriver</li>//crlf//</ul>^
ID=debug_console|X=300|Y=126|W=829|H=599|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=829|H=599|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=general|X=300|Y=126|W=829|H=599|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\synch\\apos\\)\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\posSynchGeneral-__datatype__\\quot\\; commands:\\quot\\//crlf////tab////tab//bDebug=true//crlf////crlf////tab////tab//if(bDebug) //crlf////tab////tab////tab//appendToLog(\\quot\\synch general datatype=__datatype__ DestFile=__DestFile__\\quot\\)//crlf////tab////tab////tab//sDriverInfo=getDriverInfo(\\quot\\__POSDriver__\\quot\\)//crlf////tab////tab////tab//sDriverName=getElement(sDriverInfo\\comma\\0\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//sDriverID=getElement(sDriverInfo\\comma\\2\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//sDriverFilename=getElement(sDriverInfo\\comma\\4\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//dtDriverModified=parseTime(getElement(sDriverInfo\\comma\\6\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)//crlf////tab////tab////tab//iDriverRecordCount=value(getElement(sDriverInfo\\comma\\6\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\Driver: \\quot\\\\plus\\sDriverName\\plus\\\\quot\\ File: \\quot\\\\plus\\sDriverFilename)//crlf////tab////tab////tab//appendToLog(\\quot\\Size: \\quot\\\\plus\\fileSize(sDriverFilename)\\plus\\\\quot\\ Records: \\quot\\\\plus\\iDriverRecordCount\\plus\\\\quot\\ Modified: \\quot\\\\plus\\formatDate(dtDriverModified\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////crlf////tab////tab////tab////abort if importing a sales mix and the driver is invalid.  This can happen if data is not //crlf////tab////tab////tab////available from the POS//crlf////tab////tab////tab//if((\\quot\\__datatype__\\quot\\=\\quot\\sales_mix\\quot\\) and (len(trim(sDriverName))=0))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Aborted because POSDriver is not valid\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////record the last time a pos synch was done.  This is used to avoid caching views in the //crlf////tab////tab////Cache Views agent while data is being updated//crlf////tab////tab//setToken(\\quot\\LastPOSSynch\\quot\\\\comma\\dateNumber(now()))//crlf////crlf////tab////tab//if((\\quot\\__datatype__\\quot\\=\\quot\\timeclock\\quot\\) or (\\quot\\__datatype__\\quot\\=\\quot\\check_details\\quot\\) or (\\quot\\__datatype__\\quot\\=\\quot\\check_headers\\quot\\) or (\\quot\\__datatype__\\quot\\=\\quot\\sales_mix\\quot\\))//crlf////tab////tab////tab////delete the destination file//crlf////tab////tab////tab//if(fileExists(\\quot\\__DestFile__\\quot\\))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Deleting __DestFile__\\quot\\)//crlf////tab////tab////tab////tab//fileDelete(\\quot\\__DestFile__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab//arToMerge=replaceSubstring(lookup(Aspect_BackOffice_POS_Fields_To_Merge_By_DataType\\comma\\\\quot\\__DataType__\\quot\\)\\comma\\\\quot\\//power//\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//arKeyFields=replaceSubstring(lookup(Aspect_BackOffice_POS_Fields_KeyField_By_DataType\\comma\\\\quot\\__DataType__\\quot\\)\\comma\\\\quot\\//power//\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////crlf////tab////tab////if importing a timeclock file\\comma\\ filter the source to include only records for the given date//crlf////tab////tab////Also\\comma\\ don\\apos\\t merge the charge tips field if it is not defined.  Charge tips will be //crlf////tab////tab////calculated from the check details by the \\quot\\Update Daily Labor Sales and Tips\\quot\\ agent if//crlf////tab////tab////the field is not defined//crlf////tab////tab////Also\\comma\\ don\\apos\\t import tips_paid\\comma\\ tips_received and cc_fee fields if they don\\apos\\t exist.//crlf////tab////tab//sSourceFilter=\\quot\\true\\quot\\//crlf////tab////tab//if(\\quot\\__datatype__\\quot\\=\\quot\\timeclock\\quot\\) //crlf////tab////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_by_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Synch General sPOSType=\\quot\\\\plus\\sPOSType)//crlf////tab////tab////tab//if(sPOSType=\\quot\\Toast\\quot\\)//crlf////tab////tab////tab////tab//sSourceFilter=\\quot\\(true)\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sSourceFilter=\\quot\\(formatDate(ActTimeIn\\comma\\\\quot\\\\plus\\quote(\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\)=\\quot\\\\plus\\quote(\\quot\\__BusinessDate__\\quot\\)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//s=driverGetFieldIDs(\\quot\\__PosDriver__\\quot\\\\comma\\0)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x2c)\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\posSynchGeneral arToMerge1=\\quot\\\\plus\\arToMerge)//crlf////tab////tab////tab//arToMerge=subset(arToMerge\\comma\\s\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\posSynchGeneral arToMerge2=\\quot\\\\plus\\arToMerge)//crlf////tab////tab//endif//crlf////crlf////tab////tab////if merging tender definitions\\comma\\ don\\apos\\t merge Is_Cash_Tender if it doesn\\apos\\t exist in the//crlf////tab////tab////pos file.  This allows the field to be imported when it is defined on the pos and to//crlf////tab////tab////be edited manually when it is not.//crlf////tab////tab//if(\\quot\\__datatype__\\quot\\=\\quot\\id_tender\\quot\\)//crlf////tab////tab////tab//s=driverGetFieldIDs(\\quot\\__PosDriver__\\quot\\\\comma\\0)//crlf////tab////tab////tab//if(containsElement(s\\comma\\\\quot\\Is_Cash_Tender\\quot\\)<0)//crlf////tab////tab////tab////tab//arToMerge=removeElement(arToMerge\\comma\\\\quot\\Is_Cash_Tender\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////if merging employee definitions://crlf////tab////tab////1. Don\\apos\\t merge Social_Security_Number if it doesn\\apos\\t exist in the pos driver//crlf////tab////tab////2. Don\\apos\\t merge the employee payroll number unless Payroll_Import_Payroll_Number is enabled for the store//crlf////tab////tab//if(\\quot\\__datatype__\\quot\\=\\quot\\id_employee_records\\quot\\)//crlf////tab////tab////tab//s=driverGetFieldIDs(\\quot\\__PosDriver__\\quot\\\\comma\\0)//crlf////tab////tab////tab//if(containsElement(s\\comma\\\\quot\\Social_Security_Number\\quot\\)<0)//crlf////tab////tab////tab////tab//arToMerge=removeElement(arToMerge\\comma\\\\quot\\Social_Security_Number\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////only import the employee payroll number if the PayNumber field is defined in the pos driver //crlf////tab////tab////tab////and the Payroll_Import_Payroll_Number is true in the store record//crlf////tab////tab////tab//if(containsElement(s\\comma\\\\quot\\PayNumber\\quot\\)>=0)//crlf////tab////tab////tab////tab//bImportPayrollNumber=boolean(lookup(Aspect_BackOffice_Payroll_Import_Payroll_Number_by_ID\\comma\\\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//if(not(bImportPayrollNumber))//crlf////tab////tab////tab////tab////tab//arToMerge=removeElement(arToMerge\\comma\\\\quot\\PayNumber\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//arToMerge=removeElement(arToMerge\\comma\\\\quot\\PayNumber\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab//if(bDebug)//crlf////tab////tab////tab//appendTolog(\\quot\\arToMerge=\\quot\\\\plus\\arToMerge)//crlf////tab////tab////tab//appendToLog(\\quot\\arKeyFields=\\quot\\\\plus\\arKeyFields)//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the output driver//crlf////tab////tab//driverOpen(lookup(Aspect_BackOffice_Data_Type_Associated_DriverID\\comma\\\\quot\\__datatype__\\quot\\)\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\nodepend~~pipe~~filename=__DestFile__\\quot\\)//crlf////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////if it\\apos\\s a sales mix\\comma\\ consolidate the individual records in the source to record only totals for each menu item in the output//crlf////tab////tab////The sales mix only contains totals for each item and the source may contain records for each individual sale//crlf////tab////tab//if(\\quot\\__datatype__\\quot\\=\\quot\\sales_mix\\quot\\)//crlf////tab////tab////tab//arMenuItemID=\\quot\\\\quot\\//crlf////tab////tab////tab//arIndex=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab//c=driverGetRecordCount(__POSDriver__\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\SynchGeneral-SalesMix c=\\quot\\\\plus\\c)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sMenuItemID=driverGetFieldAbsolute(__POSDriver__\\comma\\\\quot\\MenuItemID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//iSold=driverGetFieldAbsolute(__POSDriver__\\comma\\\\quot\\Sold\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dNetSales=driverGetFieldAbsolute(__POSDriver__\\comma\\\\quot\\Net_Sales\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dComps=driverGetFieldAbsolute(__POSDriver__\\comma\\\\quot\\Comps\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab//e=containsElement(arMenuItemID\\comma\\sMenuItemID)//crlf////tab////tab////tab////tab//if(e>=0)//crlf////tab////tab////tab////tab////tab//r=getElement(arIndex\\comma\\e)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvDbf\\comma\\\\quot\\Sold\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvDbf\\comma\\\\quot\\Sold\\quot\\\\comma\\r)\\plus\\iSold)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvDbf\\comma\\\\quot\\Net_Sales\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvDbf\\comma\\\\quot\\Net_Sales\\quot\\\\comma\\r)\\plus\\dNetSales)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvDbf\\comma\\\\quot\\Comps\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvDbf\\comma\\\\quot\\Comps\\quot\\\\comma\\r)\\plus\\dComps)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(drvDbf)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvDbf\\comma\\\\quot\\MenuItemID\\quot\\\\comma\\r\\comma\\sMenuItemID)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvDbf\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(__POSDriver__\\comma\\\\quot\\Store_ID\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvDbf\\comma\\\\quot\\Sold\\quot\\\\comma\\r\\comma\\iSold)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvDbf\\comma\\\\quot\\Net_Sales\\quot\\\\comma\\r\\comma\\dNetSales)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvDbf\\comma\\\\quot\\Comps\\quot\\\\comma\\r\\comma\\dComps)//crlf////tab////tab////tab////tab////tab//arMenuItemID=addElement(arMenuItemID\\comma\\sMenuItemID)//crlf////tab////tab////tab////tab////tab//arIndex=addElement(arIndex\\comma\\r)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//sResult=\\quot\\Added \\quot\\\\plus\\driverGetRecordCount(drvDbf\\comma\\true)//crlf////tab////tab////tab//driverClose(drvDbf)//crlf////tab////tab////tab//appendToLog(\\quot\\Size of __DestFile__=\\quot\\\\plus\\fileSize(\\quot\\__DestFile__\\quot\\))//crlf////tab////tab//else//crlf////tab////tab////tab////Use alias fields to address case-sensitivity.  Fields in the dbf structures of Micros 3700 //crlf////tab////tab////tab////systems need to be lowercase for the merge to work when creating the dbf\\apos\\s from the micros //crlf////tab////tab////tab////database.  The same Fields need to have a different case when merging the files here//crlf////tab////tab////tab////This might be better handled by setting an alias for ALL fields being merged.  This would //crlf////tab////tab////tab////require getting a field list from the source driver.  On the other hand\\comma\\ there may not be //crlf////tab////tab////tab////that many exceptions.//crlf////tab////tab////tab//arAliasFields=\\quot\\Name=name~~pipe~~Last_Name=last_name~~pipe~~First_Name=first_name\\quot\\//crlf////crlf////tab////tab////tab//sResult=driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\__PosDriver__\\quot\\\\comma\\sSourceFilter\\comma\\arKeyFields\\comma\\arToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverClose(drvDbf)//crlf////tab////tab//endif//crlf////crlf////tab////tab//if(bDebug)//crlf////tab////tab////tab//appendToLog(\\quot\\synch __DataType__ complete: \\quot\\\\plus\\sResult)//crlf////tab////tab//endif//crlf////crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//^
ID=pos_emulation|X=300|Y=126|W=829|H=599|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:\\quot\\('__action__'='createPOSEmulationFiles')\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - createPOSEmulationFiles\\quot\\; commands:\\quot\\//crlf////tab////tab//bDebug=true//crlf////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab//dtBusiness=parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//dtBusiness=setTime(dtBusiness\\comma\\year(dtBusiness)\\comma\\month(dtBusiness)\\comma\\day(dtBusiness)\\comma\\22\\comma\\0\\comma\\0)//crlf////crlf////tab////tab////get the directory in which exports will be created.  This is a dated directory under the posdata directory under the Aspect program directory//crlf////tab////tab//sAspect6AspectDirectory=addDirSlash(getToken(\\quot\\Aspect6AspectDirectory\\quot\\))//crlf////tab////tab//if(len(sAspect6AspectDirectory)=0)//crlf////tab////tab////tab//s=\\quot\\Aborting create POS emulation files because the Aspect6 program directory is not defined\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab////tab//sPOSDataDir=sAspect6AspectDirectory+\\quot\\posdata/\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\MMddyyyy\\quot\\)+\\quot\\/\\quot\\//crlf////crlf////tab////tab//appendToLog(\\quot\\Create POS Emulation Files.  StoreID=\\quot\\+sStoreID+\\quot\\ Date=\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab//tmStart=now()//crlf////crlf////tab////tab////get the pos type for the Aspect7 store//crlf////tab////tab//sPosType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\sStoreID)//crlf////crlf////tab////tab////get the container used for the pos interface//crlf////tab////tab//sPosContainerName=lookup(Aspect_BackOffice_POS_Synch_Container_Name\\comma\\sPosType)//crlf////tab////tab////crlf////tab////tab////abort if container is not found//crlf////tab////tab//if(len(sPosContainerName)=0)//crlf////tab////tab////tab//s=\\quot\\Aborting create POS emulation files because the POS container for \\quot\\+sPosType+\\quot\\ cannot be found\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////initialize the arguments used to open the pos driver.  The only additional thing required is the datatype at the end of the command//crlf////tab////tab//sOpenDriverArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=\\quot\\+sPosContainerName+\\quot\\//amp//WidgetContainerItemID=open_driver\\quot\\//crlf////tab////tab//sOpenDriverArgs=sOpenDriverArgs + \\quot\\//amp//Params=Action=openDriver~~pipe~~StoreID=\\quot\\+sStoreID+\\quot\\~~pipe~~Date=\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\~~pipe~~OpenDriver=true\\quot\\//crlf////crlf////tab////tab////=================================================================================//crlf////tab////tab////Export definition files - job codes\\comma\\ employee records\\comma\\ comps\\comma\\ discounts\\comma\\ tax and tenders//crlf////tab////tab////Comps are not supported by Softtouch\\comma\\ but a comp driver has been added to the package so comps can be//crlf////tab////tab////included from other pos systems//crlf////tab////tab////=================================================================================//crlf////tab////tab//arDescription=\\quot\\Job Codes~~pipe~~Employee Records~~pipe~~Comp Names~~pipe~~Discount Names~~pipe~~Tax Names~~pipe~~Tender Names\\quot\\//crlf////tab////tab//arDataType=\\quot\\id_job_codes~~pipe~~id_employee_records~~pipe~~id_comps~~pipe~~id_discount~~pipe~~id_tax~~pipe~~id_tender\\quot\\//crlf////tab////tab//arFilename=\\quot\\jobcode.dbf~~pipe~~employee.dbf~~pipe~~comps.dbf~~pipe~~adjust.dbf~~pipe~~taxdef.dbf~~pipe~~account.dbf\\quot\\//crlf////tab////tab//arDriverID=\\quot\\POS_SoftTouch_DBF_JobDescription~~pipe~~POS_SoftTouch_DBF_Employee_Emulation~~pipe~~POS_SoftTouch_DBF_Comps~~pipe~~POS_SoftTouch_DBF_Adjustment~~pipe~~POS_SoftTouch_DBF_TaxDefinition~~pipe~~POS_SoftTouch_DBF_Account\\quot\\//crlf////tab////tab////crlf////tab////tab//cElement=getElementCount(arDescription\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//nElement=0//crlf////tab////tab//while (nElement<cElement)//crlf////tab////tab////tab//sDescription=getElement(arDescription\\comma\\nElement\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//sDataType=getElement(arDataType\\comma\\nElement\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab////open the pos file//crlf////tab////tab////tab//sArgs=sOpenDriverArgs + \\quot\\~~pipe~~DataType=\\quot\\+sDataType//crlf////tab////tab////tab////appendToLog(\\quot\\POS Interface opening driver: \\quot\\+sArgs)//crlf////tab////tab////tab//sOpenDriver=trim(scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs))//crlf////tab////tab////tab//sPosDriver=getElementValue(sOpenDriver\\comma\\\\quot\\Driver\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//iStatus=getElementValue(sOpenDriver\\comma\\status\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab//if(iStatus=0)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\POS data for \\quot\\+quote(sDescription)+\\quot\\ is not currently available\\quot\\)//crlf////tab////tab////tab//elseif(iStatus=1)//crlf////tab////tab////tab////tab////open the output file.  Delete it first if it exists//crlf////tab////tab////tab////tab//sFilename=sPOSDataDir+getElement(arFilename\\comma\\nElement\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sDriverID=getElement(arDriverID\\comma\\nElement\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//s=if(fileExists(sFilename)\\comma\\fileDelete(sFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//driverOpen(sDriverID\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sFilename)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////set the merge fields//crlf////tab////tab////tab////tab//arFieldsToMerge=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//arKeyFields=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//arAliasFields=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////tab//if(sDataType=\\quot\\id_job_codes\\quot\\) //crlf////tab////tab////tab////tab////tab//arFieldsToMerge=\\quot\\JOBNUMBER~~pipe~~DESCRIPTIO\\quot\\//crlf////tab////tab////tab////tab////tab//arKeyFields=\\quot\\JOBNUMBER\\quot\\//crlf////tab////tab////tab////tab////tab//arAliasFields=\\quot\\JOBNUMBER=Number~~pipe~~DESCRIPTIO=Name\\quot\\//crlf////tab////tab////tab////tab//elseif(sDataType=\\quot\\id_employee_records\\quot\\)//crlf////tab////tab////tab////tab////tab//arFieldsToMerge=\\quot\\EMPLOYEENU~~pipe~~FIRSTNAME~~pipe~~LASTNAME~~pipe~~BIRTHDAY~~pipe~~EMPLOYMENT~~pipe~~PAYNUMBER\\quot\\//crlf////tab////tab////tab////tab////tab//arKeyFields=\\quot\\EMPLOYEENU\\quot\\//crlf////tab////tab////tab////tab////tab//arAliasFields=\\quot\\EMPLOYEENU=POS_Number~~pipe~~FIRSTNAME=First_Name~~pipe~~LASTNAME=Last_Name~~pipe~~BIRTHDAY=DateOfBirth~~pipe~~EMPLOYMENT=DateOfHire~~pipe~~PAYNUMBER=PayNumber\\quot\\//crlf////tab////tab////tab////tab//elseif(sDataType=\\quot\\id_comps\\quot\\)//crlf////tab////tab////tab////tab////tab//arFieldsToMerge=\\quot\\Number~~pipe~~Name\\quot\\//crlf////tab////tab////tab////tab////tab//arKeyFields=\\quot\\Number\\quot\\//crlf////tab////tab////tab////tab////tab//arAliasFields=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//elseif(sDataType=\\quot\\id_discount\\quot\\)//crlf////tab////tab////tab////tab////tab//arFieldsToMerge=\\quot\\ADJUSTMENT~~pipe~~NAME\\quot\\//crlf////tab////tab////tab////tab////tab//arKeyFields=\\quot\\ADJUSTMENT\\quot\\//crlf////tab////tab////tab////tab////tab//arAliasFields=\\quot\\ADJUSTMENT=Number~~pipe~~NAME=Name\\quot\\//crlf////tab////tab////tab////tab//elseif(sDataType=\\quot\\id_tax\\quot\\)//crlf////tab////tab////tab////tab////tab//arFieldsToMerge=\\quot\\TAXDEFINIT~~pipe~~DESCRIPTIO\\quot\\//crlf////tab////tab////tab////tab////tab//arKeyFields=\\quot\\TAXDEFINIT\\quot\\//crlf////tab////tab////tab////tab////tab//arAliasFields=\\quot\\TAXDEFINIT=Number~~pipe~~DESCRIPTIO=Name\\quot\\//crlf////tab////tab////tab////tab//elseif(sDataType=\\quot\\id_tender\\quot\\)//crlf////tab////tab////tab////tab////tab//arFieldsToMerge=\\quot\\ACCOUNTNUM~~pipe~~ACCOUNTNAM\\quot\\//crlf////tab////tab////tab////tab////tab//arKeyFields=\\quot\\ACCOUNTNUM\\quot\\//crlf////tab////tab////tab////tab////tab//arAliasFields=\\quot\\ACCOUNTNUM=Number~~pipe~~ACCOUNTNAM=Name\\quot\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////merge the data//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Merging \\quot\\+quote(sDescription)+\\quot\\ to \\quot\\+sFilename)//crlf////tab////tab////tab////tab//s=driverMerge(true\\comma\\d\\comma\\\\quot\\true\\quot\\\\comma\\sPosDriver\\comma\\\\quot\\true\\quot\\\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Merge \\quot\\+quote(sDescription)+\\quot\\ to \\quot\\+sFilename+\\quot\\.  \\quot\\+s)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////close the drivers//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//driverClose(sPosDriver)//crlf////tab////crlf////tab////tab////tab////tab////set the timestamp of the file//crlf////tab////tab////tab////tab//fileSetModified(sFilename\\comma\\dtBusiness)//crlf////crlf////tab////tab////tab//elseif(iStatus=-1)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\POS system does not support this data type: \\quot\\+sDescription)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//nElement=nElement+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab////=================================================================================//crlf////tab////tab////Export Other Totals - These contain miscellaneous values like deposits.  It is the responsibility of the POS Interface//crlf////tab////tab////to make sure there are a consistent number of records and that they are defined in the same order each time so//crlf////tab////tab////they can be added to the Aspect6 sales record//crlf////tab////tab////=================================================================================//crlf////tab////tab////open the output file.  Delete it first if it exists//crlf////tab////tab//sFilename=sPOSDataDir+\\quot\\otherttl.dbf\\quot\\//crlf////tab////tab//s=if(fileExists(sFilename)\\comma\\fileDelete(sFilename)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////open the output driver//crlf////tab////tab//driverOpen(POS_SoftTouch_DBF_OtherTotals\\comma\\drvOtherTotals\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sFilename)//crlf////crlf////tab////tab////open the pos driver//crlf////tab////tab//sArgs=sOpenDriverArgs + \\quot\\~~pipe~~DataType=othertotals\\quot\\//crlf//appendToLog(\\quot\\POS Emulation opening other totals driver.  Args=\\quot\\+sArgs)//crlf////tab////tab//sOpenDriver=trim(scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs))//crlf////tab////tab//sPosDriver=getElementValue(sOpenDriver\\comma\\\\quot\\Driver\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//iStatus=getElementValue(sOpenDriver\\comma\\status\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab//if(iStatus=0)//crlf////tab////tab////tab//appendToLog(\\quot\\POS data for Other Totals is not currently available\\quot\\)//crlf////tab////tab//elseif(iStatus=1)//crlf////tab////tab////tab//c=driverGetRecordCount(sPosDriver)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(drvOtherTotals)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(drvOtherTotals\\comma\\\\quot\\Name\\quot\\\\comma\\r\\comma\\driverGetField(sPosDriver\\comma\\\\quot\\Name\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(drvOtherTotals\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\driverGetField(sPosDriver\\comma\\\\quot\\Amount\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////close the pos driver//crlf////tab////tab////tab//driverClose(sPosDriver)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Exported \\quot\\+c+\\quot\\ records for Other Totals\\quot\\)//crlf////tab////tab//elseif(iStatus=-1)//crlf////tab////tab////tab//appendToLog(\\quot\\POS system does not support this data type: Other Totals\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab//driverClose(drvOtherTotals)//crlf////crlf////tab////tab////=================================================================================//crlf////tab////tab////Export Paid-Outs//crlf////tab////tab//////crlf////tab////tab////This is done in three steps://crlf////tab////tab//////tab//1.  Paid-out names are exported to paidout.dbf//crlf////tab////tab//////tab//2.  Paid-in names are exported to the same paidout.dbf file//crlf////tab////tab//////tab//3.  Amounts are accumulated in the appropriate record in paidout.dbf//crlf////tab////tab//////crlf////tab////tab////The final paidout.dbf contains every paid out and paid in description only once.  If a paid-in and paid-out//crlf////tab////tab////have the same name\\comma\\ only one record will exist.  The final file contains a final daily total for each paid in/out//crlf////tab////tab////which is the sum of all occurrences of the paid in/out.//crlf////tab////tab////=================================================================================//crlf////crlf////tab////tab////create a hashtable of record numbers for each paid-out/in number.  //crlf////tab////tab//hashCreate(hPaidOutIndex)//crlf////crlf////tab////tab////open the output file.  Delete it first if it exists//crlf////tab////tab//sFilename=sPOSDataDir+\\quot\\paidout.dbf\\quot\\//crlf////tab////tab//s=if(fileExists(sFilename)\\comma\\fileDelete(sFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//driverOpen(POS_SoftTouch_DBF_PaidInOut\\comma\\dPaidOut\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sFilename)//crlf////crlf////tab////tab////=================================================================================//crlf////tab////tab////Export Paid-Out Names//crlf////tab////tab////=================================================================================//crlf////tab////tab//sArgs=sOpenDriverArgs + \\quot\\~~pipe~~DataType=id_paid_out\\quot\\//crlf////tab////tab//sOpenDriver=trim(scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs))//crlf////tab////tab//sPosDriver=getElementValue(sOpenDriver\\comma\\\\quot\\Driver\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//iStatus=getElementValue(sOpenDriver\\comma\\status\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab//if(iStatus=0)//crlf////tab////tab////tab//appendToLog(\\quot\\POS data for Paid Out Names is not currently available\\quot\\)//crlf////tab////tab//elseif(iStatus=1)//crlf////tab////tab////tab//c=driverGetRecordCount(sPosDriver)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//iNumber=driverGetField(sPosDriver\\comma\\\\quot\\Number\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sName=driverGetField(sPosDriver\\comma\\\\quot\\Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(not(hashContainsKey(hPaidOutIndex\\comma\\iNumber)))//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(dPaidOut)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dPaidOut\\comma\\\\quot\\PAIDINOUTN\\quot\\\\comma\\r\\comma\\iNumber)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dPaidOut\\comma\\\\quot\\REASON\\quot\\\\comma\\r\\comma\\sName)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dPaidOut\\comma\\\\quot\\DATETIMEEN\\quot\\\\comma\\r\\comma\\dtBusiness)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dPaidOut\\comma\\\\quot\\OPERATIOND\\quot\\\\comma\\r\\comma\\dtBusiness)//crlf////tab////tab////tab////tab////tab//hashPut(hPaidOutIndex\\comma\\iNumber\\comma\\r)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////close the pos driver//crlf////tab////tab////tab//driverClose(sPosDriver)//crlf////tab////tab//elseif(iStatus=-1)//crlf////tab////tab////tab//appendToLog(\\quot\\POS system does not support this data type: Paid Out\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////=================================================================================//crlf////tab////tab////Export Paid-In Names//crlf////tab////tab////=================================================================================//crlf////tab////tab//sArgs=sOpenDriverArgs + \\quot\\~~pipe~~DataType=id_paid_in\\quot\\//crlf////tab////tab//sOpenDriver=trim(scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs))//crlf////tab////tab//sPosDriver=getElementValue(sOpenDriver\\comma\\\\quot\\Driver\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//iStatus=getElementValue(sOpenDriver\\comma\\status\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab//if(iStatus=0)//crlf////tab////tab////tab//appendToLog(\\quot\\POS data for Paid In Names is not currently available\\quot\\)//crlf////tab////tab//elseif(iStatus=1)//crlf////tab////tab////tab//c=driverGetRecordCount(sPosDriver)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//iNumber=driverGetField(sPosDriver\\comma\\\\quot\\Number\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sName=driverGetField(sPosDriver\\comma\\\\quot\\Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(not(hashContainsKey(hPaidOutIndex\\comma\\iNumber)))//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(dPaidOut)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dPaidOut\\comma\\\\quot\\PAIDINOUTN\\quot\\\\comma\\r\\comma\\iNumber)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dPaidOut\\comma\\\\quot\\REASON\\quot\\\\comma\\r\\comma\\sName)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dPaidOut\\comma\\\\quot\\DATETIMEEN\\quot\\\\comma\\r\\comma\\dtBusiness)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dPaidOut\\comma\\\\quot\\OPERATIOND\\quot\\\\comma\\r\\comma\\dtBusiness)//crlf////tab////tab////tab////tab////tab//hashPut(hPaidOutIndex\\comma\\iNumber\\comma\\r)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////close the pos driver//crlf////tab////tab////tab//driverClose(sPosDriver)//crlf////tab////tab//elseif(iStatus=-1)//crlf////tab////tab////tab//appendToLog(\\quot\\POS system does not support this data type: Paid In\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////=================================================================================//crlf////tab////tab////Export Paid-In/Out Totals//crlf////tab////tab////=================================================================================//crlf////tab////tab//sArgs=sOpenDriverArgs + \\quot\\~~pipe~~DataType=paidinout\\quot\\//crlf////tab////tab//sOpenDriver=trim(scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs))//crlf////tab////tab//sPosDriver=getElementValue(sOpenDriver\\comma\\\\quot\\Driver\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//iStatus=getElementValue(sOpenDriver\\comma\\status\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//if(iStatus=0)//crlf////tab////tab////tab//appendToLog(\\quot\\POS data for Paid In/Out Totals is not currently available\\quot\\)//crlf////tab////tab//elseif(iStatus=1)//crlf////tab////tab////tab//c=driverGetRecordCount(sPosDriver)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//iNumber=driverGetField(sPosDriver\\comma\\\\quot\\PaymentID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dAmount=driverGetField(sPosDriver\\comma\\\\quot\\Amount\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(hashContainsKey(hPaidOutIndex\\comma\\iNumber))//crlf////tab////tab////tab////tab////tab//r=hashGet(hPaidOutIndex\\comma\\iNumber)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////if a matching number was not found\\comma\\ create a new entry named \\quot\\Undefined\\quot\\//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(dPaidOut)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dPaidOut\\comma\\\\quot\\PAIDINOUTN\\quot\\\\comma\\r\\comma\\0)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dPaidOut\\comma\\\\quot\\REASON\\quot\\\\comma\\r\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dPaidOut\\comma\\\\quot\\DATETIMEEN\\quot\\\\comma\\r\\comma\\dtBusiness)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dPaidOut\\comma\\\\quot\\OPERATIOND\\quot\\\\comma\\r\\comma\\dtBusiness)//crlf////tab////tab////tab////tab////tab//hashPut(hPaidOutIndex\\comma\\iNumber\\comma\\r)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dPrevTotal=driverGetFieldAbsolute(dPaidOut\\comma\\\\quot\\AMOUNT\\quot\\\\comma\\r)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dPaidOut\\comma\\\\quot\\AMOUNT\\quot\\\\comma\\r\\comma\\dPrevTotal+dAmount)//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////close the pos driver//crlf////tab////tab////tab//driverClose(sPosDriver)//crlf////tab////tab//elseif(iStatus=-1)//crlf////tab////tab////tab//appendToLog(\\quot\\POS system does not support this data type: Paid In/Out Amount\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////close the export file and set the timestamp//crlf////tab////tab//driverClose(dPaidOut)//crlf////tab////tab//fileSetModified(sFilename\\comma\\dtBusiness)//crlf////crlf////tab////tab////=================================================================================//crlf////tab////tab////Export timeclock//crlf////tab////tab////=================================================================================//crlf////crlf////tab////tab////open the pos file//crlf////tab////tab//sArgs=sOpenDriverArgs + \\quot\\~~pipe~~DataType=timeclock\\quot\\//crlf////tab////tab//sOpenDriver=trim(scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs))//crlf////tab////tab//sPosDriver=getElementValue(sOpenDriver\\comma\\\\quot\\Driver\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//iStatus=getElementValue(sOpenDriver\\comma\\status\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab//if(iStatus=0)//crlf////tab////tab////tab//appendToLog(\\quot\\POS data for \\quot\\+quote(\\quot\\Timeclock\\quot\\)+\\quot\\ is not currently available\\quot\\)//crlf////tab////tab//elseif(iStatus=1)//crlf////tab////tab////tab////open the output file.  Delete it first if it exists//crlf////tab////tab////tab//sFilename=sPOSDataDir+\\quot\\timeclk.dbf\\quot\\//crlf////tab////tab////tab//s=if(fileExists(sFilename)\\comma\\fileDelete(sFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_SoftTouch_DBF_Timeclock_Emulation\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sFilename)//crlf////crlf////tab////tab////tab////open job.dbf to record employee number\\comma\\ job code and rate//crlf////tab////tab////tab//sJobFilename=sPOSDataDir+\\quot\\job.dbf\\quot\\//crlf////tab////tab////tab//s=if(fileExists(sJobFilename)\\comma\\fileDelete(sJobFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_SoftTouch_DBF_Job\\comma\\drvJob\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sJobFilename)//crlf////crlf////tab////tab////tab//cAdded=0//crlf////tab////tab////tab//c=driverGetRecordCount(sPosDriver\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////get timeclock information from pos//crlf////tab////tab////tab////tab//dtClockIn=driverGetFieldAbsolute(sPosDriver \\comma\\\\quot\\ActTimeIn\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////Timeclock files may contain records for multiple dates.  Only include records for the date being processed//crlf////tab////tab////tab////tab//if(date(dtClockIn\\comma\\true)=date(dtBusiness\\comma\\true))//crlf////tab////tab////tab////tab////tab//iEmpNum=driverGetFieldAbsolute(sPosDriver \\comma\\\\quot\\Employee\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//iJobCode=driverGetFieldAbsolute(sPosDriver \\comma\\\\quot\\ActJobCode\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//dtClockOut=driverGetFieldAbsolute(sPosDriver \\comma\\\\quot\\ActTimeOut\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//dRate=driverGetFieldAbsolute(sPosDriver \\comma\\\\quot\\ActRegRate\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//dDeclTip=driverGetFieldAbsolute(sPosDriver \\comma\\\\quot\\ActDeclTip\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//dtBreakIn=driverGetFieldAbsolute(sPosDriver \\comma\\\\quot\\ActBreakIn\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//dtBreakOut=driverGetFieldAbsolute(sPosDriver \\comma\\\\quot\\ActBreakOut\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////tab////clock-in //crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\CLOCKTYPE\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\EMPLOYEENU\\quot\\\\comma\\r\\comma\\iEmpNum)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\JOBNUMBER\\quot\\\\comma\\r\\comma\\iJobCode)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\DATETIMECL\\quot\\\\comma\\r\\comma\\dtClockIn)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\DATETIMEC1\\quot\\\\comma\\r\\comma\\formatDate(dtClockIn\\comma\\\\quot\\HH:mm:ss aa\\quot\\))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\OPERATIOND\\quot\\\\comma\\r\\comma\\dtClockIn)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\WAGEAMOUNT\\quot\\\\comma\\r\\comma\\dRate)//crlf////tab////tab////tab////tab////tab//cAdded=cAdded+1//crlf////crlf////tab////tab////tab////tab////tab////break start//crlf////tab////tab////tab////tab////tab//if(dateNumber(dtBreakIn)<>0)//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\CLOCKTYPE\\quot\\\\comma\\r\\comma\\2)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\EMPLOYEENU\\quot\\\\comma\\r\\comma\\iEmpNum)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\JOBNUMBER\\quot\\\\comma\\r\\comma\\iJobCode)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\DATETIMECL\\quot\\\\comma\\r\\comma\\dtBreakIn)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\DATETIMEC1\\quot\\\\comma\\r\\comma\\formatDate(dtBreakIn\\comma\\\\quot\\HH:mm:ss aa\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\OPERATIOND\\quot\\\\comma\\r\\comma\\dtClockIn)//crlf////tab////tab////tab////tab////tab////tab//cAdded=cAdded+1//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////break end//crlf////tab////tab////tab////tab////tab//if(dateNumber(dtBreakOut)<>0)//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\CLOCKTYPE\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\EMPLOYEENU\\quot\\\\comma\\r\\comma\\iEmpNum)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\JOBNUMBER\\quot\\\\comma\\r\\comma\\iJobCode)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\DATETIMECL\\quot\\\\comma\\r\\comma\\dtBreakOut)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\DATETIMEC1\\quot\\\\comma\\r\\comma\\formatDate(dtBreakOut\\comma\\\\quot\\HH:mm:ss aa\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\OPERATIOND\\quot\\\\comma\\r\\comma\\dtClockIn)//crlf////tab////tab////tab////tab////tab////tab//cAdded=cAdded+1//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////clock-out.  The time-in is also recorded in Time1 for use recording charge tips below//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\CLOCKTYPE\\quot\\\\comma\\r\\comma\\0)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\EMPLOYEENU\\quot\\\\comma\\r\\comma\\iEmpNum)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\JOBNUMBER\\quot\\\\comma\\r\\comma\\iJobCode)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\DATETIMECL\\quot\\\\comma\\r\\comma\\dtClockOut)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\DATETIMEC1\\quot\\\\comma\\r\\comma\\formatDate(dtClockOut\\comma\\\\quot\\HH:mm:ss aa\\quot\\))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\OPERATIOND\\quot\\\\comma\\r\\comma\\dtClockIn)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\DeclTips\\quot\\\\comma\\r\\comma\\dDeclTip)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Time1\\quot\\\\comma\\r\\comma\\dtClockIn)//crlf////crlf////tab////tab////tab////tab////tab////this is a quick fix to export charge and cash tips when they're available even though //tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////they aren't included as a required field in the generic structure//crlf////tab////tab////tab////tab////tab//if(driverContainsField(sPosDriver\\comma\\\\quot\\ChgTip\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\ChgTip\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(sPosDriver \\comma\\\\quot\\ChgTip\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//if(driverContainsField(sPosDriver\\comma\\\\quot\\CashTip\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\CashTip\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(sPosDriver \\comma\\\\quot\\CashTip\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////add to job file//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(drvJob)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvJob\\comma\\\\quot\\EMPLOYEENU\\quot\\\\comma\\r\\comma\\iEmpNum)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvJob\\comma\\\\quot\\JOBNUMBER\\quot\\\\comma\\r\\comma\\iJobCode)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvJob\\comma\\\\quot\\WAGEAMOUNT\\quot\\\\comma\\r\\comma\\dRate)//crlf////crlf////tab////tab////tab////tab////tab//cAdded=cAdded+1//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//tab////tab////crlf////tab////tab////tab////crlf////tab////tab////tab//appendToLog(\\quot\\Merge \\quot\\+quote(\\quot\\Timeclock\\quot\\)+\\quot\\ to \\quot\\+sFilename+\\quot\\.  Added \\quot\\+cAdded+\\quot\\ records\\quot\\)//crlf////crlf////tab////tab////tab////close the drivers//crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//driverClose(sPosDriver)//crlf////tab////tab////tab//driverClose(drvJob)//crlf////crlf////tab////tab////tab////set the timestamp of the file//crlf////tab////tab////tab//fileSetModified(sFilename\\comma\\dtBusiness)//crlf////tab////tab//elseif(iStatus=-1)//crlf////tab////tab////tab//appendToLog(\\quot\\POS system does not support this data type - Timeclock\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////=================================================================================//crlf////tab////tab////Export itemfamilyview//crlf////tab////tab////=================================================================================//crlf////crlf////tab////tab////create a collection of menu item department ID/Name so the name can be recorded in the output file//crlf////tab////tab//hashCreate(hMenuDepartment)//crlf////tab////tab//sArgs=sOpenDriverArgs + \\quot\\~~pipe~~DataType=id_departments\\quot\\//crlf////tab////tab//sOpenDriver=trim(scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs))//crlf////tab////tab//sPosDriver=getElementValue(sOpenDriver\\comma\\\\quot\\Driver\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//iStatus=getElementValue(sOpenDriver\\comma\\status\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//if(iStatus=0)//crlf////tab////tab////tab//appendToLog(\\quot\\Problem exporting Menu Items - Menu departments are not currently available\\quot\\)//crlf////tab////tab//elseif(iStatus=1)//crlf////tab////tab////tab//arAlreadyAdded=\\quot\\\\quot\\//crlf////tab////tab////tab//c=driverGetRecordCount(sPosDriver\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//iNumber=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Number\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(not(hashContainsKey(hMenuDepartment\\comma\\iNumber)))//crlf////tab////tab////tab////tab////tab//sName=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//hashPut(hMenuDepartment\\comma\\iNumber\\comma\\sName)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(sPosDriver)//crlf////tab////tab//elseif(iStatus=-1)//crlf////tab////tab////tab//appendToLog(\\quot\\Problem exporting Menu Items - Menu departments are not supported by this POS\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////create a hashtable of menu item category ID's and Names so the name can be recorded in  //crlf////tab////tab////the output file.  Also create a collection of department ID's by category ID.  This is //crlf////tab////tab////used to get the department name for a category.//crlf////tab////tab//hashCreate(hMenuCategory)//crlf////tab////tab//hashCreate(hDeptByCat)//crlf////tab////tab//sArgs=sOpenDriverArgs + \\quot\\~~pipe~~DataType=id_menu_categories\\quot\\//crlf////tab////tab//sOpenDriver=trim(scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs))//crlf////tab////tab//sPosDriver=getElementValue(sOpenDriver\\comma\\\\quot\\Driver\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//iStatus=getElementValue(sOpenDriver\\comma\\status\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//if(iStatus=0)//crlf////tab////tab////tab//appendToLog(\\quot\\Problem exporting Menu Items - Menu categories are not currently available\\quot\\)//crlf////tab////tab//elseif(iStatus=1)//crlf////tab////tab////tab//arAlreadyAdded=\\quot\\\\quot\\//crlf////tab////tab////tab//c=driverGetRecordCount(sPosDriver\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//iNumber=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Number\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(not(hashContainsKey(hMenuCategory\\comma\\iNumber)))//crlf////tab////tab////tab////tab////tab//sName=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//iDepartment=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Department\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//hashPut(hMenuCategory\\comma\\iNumber\\comma\\sName)//crlf////tab////tab////tab////tab////tab//hashPut(hDeptByCat\\comma\\iNumber\\comma\\iDepartment)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(sPosDriver)//crlf////tab////tab//elseif(iStatus=-1)//crlf////tab////tab////tab//appendToLog(\\quot\\Problem exporting Menu Items - Menu categories are not supported by this POS\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the pos file//crlf////tab////tab//sArgs=sOpenDriverArgs + \\quot\\~~pipe~~DataType=id_menu_items\\quot\\//crlf////tab////tab//sOpenDriver=trim(scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs))//crlf////tab////tab//sPosDriver=getElementValue(sOpenDriver\\comma\\\\quot\\Driver\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//iStatus=getElementValue(sOpenDriver\\comma\\status\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab//if(iStatus=0)//crlf////tab////tab////tab//appendToLog(\\quot\\POS data for \\quot\\+quote(\\quot\\Menu Items\\quot\\)+\\quot\\ is not currently available\\quot\\)//crlf////tab////tab//elseif(iStatus=1)//crlf////tab////tab////tab////open the output file.  Delete it first if it exists//crlf////tab////tab////tab//sFilename=sPOSDataDir+\\quot\\menuitem.dbf\\quot\\//crlf////tab////tab////tab//s=if(fileExists(sFilename)\\comma\\fileDelete(sFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_SoftTouch_DBF_ItemFamilyView\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sFilename)//crlf////tab////tab////tab////crlf////tab////tab////tab////initialize hashtable to avoid exporting the same menu number more than once//crlf////tab////tab////tab//hashCreate(hMenuItem)//crlf////crlf////tab////tab////tab//cAdded=0//crlf////tab////tab////tab//c=driverGetRecordCount(sPosDriver\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//iItemNum=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\MenuItemID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(not(hashContainsKey(hMenuItem\\comma\\iItemNum)))//crlf////tab////tab////tab////tab////tab//iCategory=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\CategoryID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//sItemName=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Name1\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//sCategoryName=hashGet(hMenuCategory\\comma\\iCategory)//crlf////tab////tab////tab////tab////tab//iDepartment=hashGet(hDeptByCat\\comma\\iCategory)//crlf////tab////tab////tab////tab////tab//sDepartmentName=hashGet(hMenuDepartment\\comma\\iDepartment)//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\ITEMNUMBER\\quot\\\\comma\\r\\comma\\iItemNum)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\FAMILYNUMB\\quot\\\\comma\\r\\comma\\iCategory)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\INAME\\quot\\\\comma\\r\\comma\\sItemName)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\FNAME\\quot\\\\comma\\r\\comma\\sCategoryName)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Department\\quot\\\\comma\\r\\comma\\iDepartment)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\DNAME\\quot\\\\comma\\r\\comma\\sDepartmentName)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//hashPut(hMenuItem\\comma\\iItemNum\\comma\\iItemNum)//crlf////tab////tab////tab////tab////tab//cAdded=cAdded + 1//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//tab////tab////crlf////tab////tab////tab////crlf////tab////tab////tab//appendToLog(\\quot\\Merge \\quot\\+quote(\\quot\\Menu Items\\quot\\)+\\quot\\ to \\quot\\+sFilename+\\quot\\.  Added \\quot\\+cAdded+\\quot\\ records\\quot\\)//crlf////crlf////tab////tab////tab////close the drivers//crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//driverClose(sPosDriver)//crlf////crlf////tab////tab////tab////set the timestamp of the file//crlf////tab////tab////tab//fileSetModified(sFilename\\comma\\dtBusiness)//crlf////crlf////tab////tab//elseif(iStatus=-1)//crlf////tab////tab////tab//appendToLog(\\quot\\POS system does not support this data type - Menu Items\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////=================================================================================//crlf////tab////tab////Export check headers//crlf////tab////tab////=================================================================================//crlf////crlf////tab////tab////open the pos file//crlf////tab////tab//sArgs=sOpenDriverArgs + \\quot\\~~pipe~~DataType=check_headers\\quot\\//crlf//appendToLog(\\quot\\POS Emulation opening driver: \\quot\\+sArgs)//crlf////tab////tab//sOpenDriver=trim(scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs))//crlf////tab////tab//sPosDriver=getElementValue(sOpenDriver\\comma\\\\quot\\Driver\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//iStatus=getElementValue(sOpenDriver\\comma\\status\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab//if(iStatus=0)//crlf////tab////tab////tab//appendToLog(\\quot\\POS data for \\quot\\+quote(\\quot\\Check Headers\\quot\\)+\\quot\\ is not currently available\\quot\\)//crlf////tab////tab//elseif(iStatus=1)//crlf////tab////tab////tab////open the output file.  Delete it first if it exists//crlf////tab////tab////tab//sFilename=sPOSDataDir+\\quot\\checks.dbf\\quot\\//crlf////tab////tab////tab//s=if(fileExists(sFilename)\\comma\\fileDelete(sFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_SoftTouch_Dbf_Checks\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sFilename)//crlf////crlf////tab////tab////tab//cAdded=0//crlf////tab////tab////tab//c=driverGetRecordCount(sPosDriver\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//iCheckNum=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dtCheckOpen=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Time_Open\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dtCheckClose=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Time_Close\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//iEmpOpen=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Emp_Open\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//iEmpClose=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Emp_Close\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\CHECKNUMBE\\quot\\\\comma\\r\\comma\\iCheckNum)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\CHECKDATET\\quot\\\\comma\\r\\comma\\formatDate(dtCheckOpen\\comma\\\\quot\\MM/dd/yyyy HH:mm:ss a\\quot\\))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\CLOSEDATET\\quot\\\\comma\\r\\comma\\formatDate(dtCheckClose\\comma\\\\quot\\MM/dd/yyyy HH:mm:ss a\\quot\\))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\CASHOUTNUM\\quot\\\\comma\\r\\comma\\iEmpOpen)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\CREATEDNUM\\quot\\\\comma\\r\\comma\\iEmpClose)//crlf////tab////tab////tab////tab//cAdded=cAdded + 1//crlf////crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//tab////tab////crlf////tab////tab////tab////crlf////tab////tab////tab//appendToLog(\\quot\\Merge \\quot\\+quote(\\quot\\Check Headers\\quot\\)+\\quot\\ to \\quot\\+sFilename+\\quot\\.  Added \\quot\\+cAdded+\\quot\\ records\\quot\\)//crlf////crlf////tab////tab////tab////close the drivers//crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//driverClose(sPosDriver)//crlf////crlf////tab////tab////tab////set the timestamp of the file//crlf////tab////tab////tab//fileSetModified(sFilename\\comma\\dtBusiness)//crlf////crlf////tab////tab//elseif(iStatus=-1)//crlf////tab////tab////tab//appendToLog(\\quot\\POS system does not support this data type - Check Headers\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////=================================================================================//crlf////tab////tab////Export check details//crlf////tab////tab////=================================================================================//crlf////tab////tab////open the pos file//crlf////tab////tab//sArgs=sOpenDriverArgs + \\quot\\~~pipe~~DataType=check_details\\quot\\//crlf////tab////tab//sOpenDriver=trim(scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs))//crlf////tab////tab//sPosDriver=getElementValue(sOpenDriver\\comma\\\\quot\\Driver\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//iStatus=getElementValue(sOpenDriver\\comma\\status\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab//if(iStatus=0)//crlf////tab////tab////tab//appendToLog(\\quot\\POS data for \\quot\\+quote(\\quot\\Check Details\\quot\\)+\\quot\\ is not currently available\\quot\\)//crlf////tab////tab//elseif(iStatus=1)//crlf////tab////tab////tab////open the output files.  Delete them first if they exist//crlf////tab////tab////tab//sFilenameCheckItem=sPOSDataDir+\\quot\\ckitem.dbf\\quot\\//crlf////tab////tab////tab//sFilenameCheckPayments=sPOSDataDir+\\quot\\ckpymnt.dbf\\quot\\//crlf////tab////tab////tab//sFilenameCheckTax=sPOSDataDir+\\quot\\cktax.dbf\\quot\\//crlf////tab////tab////tab//sFilenameCheckAdjustment=sPOSDataDir+\\quot\\ckadjust.dbf\\quot\\//crlf////tab////tab////tab//sFilenameCheckComp=sPOSDataDir+\\quot\\ckComp.dbf\\quot\\//crlf////tab////tab////crlf////tab////tab////tab//s=if(fileExists(sFilenameCheckItem)\\comma\\fileDelete(sFilenameCheckItem)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=if(fileExists(sFilenameCheckPayments)\\comma\\fileDelete(sFilenameCheckPayments)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=if(fileExists(sFilenameCheckTax)\\comma\\fileDelete(sFilenameCheckTax)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=if(fileExists(sFilenameCheckAdjustment)\\comma\\fileDelete(sFilenameCheckAdjustment)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=if(fileExists(sFilenameCheckComp)\\comma\\fileDelete(sFilenameCheckComp)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab//driverOpen(POS_SoftTouch_Dbf_CheckItems\\comma\\dCheckItem\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sFilenameCheckItem)//crlf////tab////tab////tab//driverOpen(POS_SoftTouch_Dbf_CheckPayment\\comma\\dCheckPayment\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sFilenameCheckPayments)//crlf////tab////tab////tab//driverOpen(POS_SoftTouch_Dbf_CheckTax\\comma\\dCheckTax\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sFilenameCheckTax)//crlf////tab////tab////tab//driverOpen(POS_SoftTouch_Dbf_CheckAdjustment\\comma\\dCheckAdjustment\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sFilenameCheckAdjustment)//crlf////tab////tab////tab//driverOpen(POS_SoftTouch_Dbf_CheckComp\\comma\\dCheckComp\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sFilenameCheckComp)//crlf////crlf////tab////tab////tab////open the timeclock file to record calculated charge tips//crlf////tab////tab////tab//driverOpen(POS_SoftTouch_DBF_Timeclock_Emulation\\comma\\drvTimeclock\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sPOSDataDir+\\quot\\timeclk.dbf\\quot\\)//crlf////tab////crlf////tab////tab////tab//cAddedCheckItem=0//crlf////tab////tab////tab//cAddedCheckPayment=0//crlf////tab////tab////tab//cAddedCheckTax=0//crlf////tab////tab////tab//cAddedCheckAdjustment=0//crlf////tab////tab////tab//cAddedCheckComp=0//crlf////crlf////tab////tab////tab////initialize a hashtable to keep track of the tips that have been recorded.  This is necessary in case//crlf////tab////tab////tab////a check is tendered to more than one type.  The tip associated with a check number will be added//crlf////tab////tab////tab////to the timclock once for each tender type (duplicated) unless a flag is used to indicate it's already //crlf////tab////tab////tab////been added//crlf////tab////tab////tab//hashCreate(hRecordedTipRecordNumber)//crlf////crlf////tab////tab////tab//c=driverGetRecordCount(sPosDriver\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//iCheckNum=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//iRectype=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Rectype\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sID1=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\ID1\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//iEmployee=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Employee\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//iQuantity=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Quantity\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dAmount=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Amount\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dt=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Time\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab//if(iRectype=0)//crlf////tab////tab////tab////tab////tab////menu item sale //crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(dCheckItem)//crlf////tab////tab////tab////tab////tab//iMenuitem=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Menuitem\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckItem\\comma\\\\quot\\CHECKNUMBE\\quot\\\\comma\\r\\comma\\iCheckNum)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckItem\\comma\\\\quot\\ITEMNUMBER\\quot\\\\comma\\r\\comma\\iMenuItem)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckItem\\comma\\\\quot\\QUANTITY\\quot\\\\comma\\r\\comma\\iQuantity)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckItem\\comma\\\\quot\\TOTAL\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckItem\\comma\\\\quot\\DATETIMESE\\quot\\\\comma\\r\\comma\\dt)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckItem\\comma\\\\quot\\OPERATIOND\\quot\\\\comma\\r\\comma\\dt)//crlf////tab////tab////tab////tab////tab//cAddedCheckItem=cAddedCheckItem + 1//crlf////tab////tab////tab////tab//elseif(iRectype=9)//crlf////tab////tab////tab////tab////tab////gift cert sale.  This uses a workaround by recording -999 as the //crlf////tab////tab////tab////tab////tab////menu item number.  The import routine looks for this number when//crlf////tab////tab////tab////tab////tab////importing the checkitems file and handles it accordingly//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(dCheckItem)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckItem\\comma\\\\quot\\CHECKNUMBE\\quot\\\\comma\\r\\comma\\iCheckNum)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckItem\\comma\\\\quot\\ITEMNUMBER\\quot\\\\comma\\r\\comma\\-999)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckItem\\comma\\\\quot\\QUANTITY\\quot\\\\comma\\r\\comma\\iQuantity)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckItem\\comma\\\\quot\\TOTAL\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckItem\\comma\\\\quot\\DATETIMESE\\quot\\\\comma\\r\\comma\\dt)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckItem\\comma\\\\quot\\OPERATIOND\\quot\\\\comma\\r\\comma\\dt)//crlf////tab////tab////tab////tab////tab//cAddedCheckItem=cAddedCheckItem + 1//crlf////tab////tab////tab////tab//elseif(iRectype=8)//crlf////tab////tab////tab////tab////tab////payment//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(dCheckPayment)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckPayment\\comma\\\\quot\\CHECKNUMBE\\quot\\\\comma\\r\\comma\\iCheckNum)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckPayment\\comma\\\\quot\\ACCOUNTNUM\\quot\\\\comma\\r\\comma\\sID1)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckPayment\\comma\\\\quot\\AMOUNT\\quot\\\\comma\\r\\comma\\dAmount)//crlf////crlf////tab////tab////tab////tab////tab////Get the tip.  It's in a separate detail record.  Loop through all check details in case there's//crlf////tab////tab////tab////tab////tab////more than one tip.//crlf////tab////tab////tab////tab////tab////sFilter=\\quot\\(RecType=10) and (CheckNumber=\\quot\\+iCheckNum+\\quot\\)\\quot\\//crlf////crlf////tab////tab////tab////tab////tab////11-24-2015: Modified the filter to check the ID.  There was a problem when a //crlf////tab////tab////tab////tab////tab////tip was recorded under two different tender types for the same check number.//crlf////tab////tab////tab////tab////tab////The total amount of all tips was being recorded in one record instead of being//crlf////tab////tab////tab////tab////tab////split between the two records.//crlf////tab////tab////tab////tab////tab//sFilter=\\quot\\(RecType=10) and (ID1=\\quot\\+sID1+\\quot\\) and (CheckNumber=\\quot\\+iCheckNum+\\quot\\)\\quot\\//crlf////tab////tab////tab////tab////tab//rTip=-1//crlf////tab////tab////tab////tab////tab//dTipTtl=0//crlf////tab////tab////tab////tab////tab//do //crlf////tab////tab////tab////tab////tab////tab//rTip=driverFindRecordAbsolute(sPosDriver\\comma\\rTip+1\\comma\\sFilter)//crlf////tab////tab////tab////tab////tab////tab////06-28-2015: Modified this to not include tips that have already been//crlf////tab////tab////tab////tab////tab////tab////added\\comma\\  Previously\\comma\\ tips were always added to the check payments and//crlf////tab////tab////tab////tab////tab////tab////the hashtable was only checked for timeclock tips//crlf////tab////tab////tab////tab////tab////tab//if((rTip>=0) and (not(hashContainsKey(hRecordedTipRecordNumber\\comma\\rTip))))//crlf////tab////tab////tab////tab////tab////tab////tab//dTip=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Amount\\quot\\\\comma\\rTip)//crlf////tab////tab////tab////tab////tab////tab////tab//dTipTtl=dTipTtl+dTip//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckPayment\\comma\\\\quot\\TIP\\quot\\\\comma\\r\\comma\\dTipTtl)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////write the amount again\\comma\\ using the total including the tip//crlf////tab////tab////tab////tab////tab////tab////tab////Aspect6 expects the total amount including tips in the Amount field//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckPayment\\comma\\\\quot\\AMOUNT\\quot\\\\comma\\r\\comma\\dAmount+dTipTtl)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////add charge tips to timclock//crlf////tab////tab////tab////tab////tab////tab////tab//sFilter2=\\quot\\(EMPLOYEENU=\\quot\\+iEmployee+\\quot\\) and (CLOCKTYPE=0)\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//sFilter2=sFilter2 + \\quot\\ and (dateNumber(Time1)\\quot\\+char(0x3c)+\\quot\\=\\quot\\+dateNumber(dt)+\\quot\\)\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//sFilter2=sFilter2 + \\quot\\ and (dateNumber(time)\\quot\\+char(0x3e)+\\quot\\=\\quot\\+dateNumber(dt)+\\quot\\)\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//rTimeclock=driverFindRecordAbsolute(drvTimeclock\\comma\\0\\comma\\sFilter2)//crlf////tab////tab////tab////tab////tab////tab////tab//if(rTimeclock<0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Could not find shift to record charge tip for employee: \\quot\\+iEmployee+\\quot\\ on __Date__ Check:\\quot\\+iCheckNum+\\quot\\ Amount:\\quot\\+dTip)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Time on check: \\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Filter-1=\\quot\\+sFilter2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sFilter2=\\quot\\(EMPLOYEENU=\\quot\\+iEmployee+\\quot\\) and (CLOCKTYPE=0)\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//rTimeclock=driverFindRecordAbsolute(drvTimeclock\\comma\\0\\comma\\sFilter2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(rTimeclock<0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Could not find employe \\quot\\+iEmployee+\\quot\\ in timeclock to record charge tip on __Date__ Check:\\quot\\+iCheckNum+\\quot\\ Amount:\\quot\\+dTip)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Filter-2=\\quot\\+sFilter2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//if(rTimeclock>=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//d1=driverGetFieldAbsolute(drvTimeclock\\comma\\\\quot\\CalcChgTip\\quot\\\\comma\\rTimeclock)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvTimeclock\\comma\\\\quot\\CalcChgTip\\quot\\\\comma\\rTimeclock\\comma\\d1+dTip)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////record that the tip has already been added to the timeclock totals//crlf////tab////tab////tab////tab////tab////tab////tab////and check payments//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(hRecordedTipRecordNumber\\comma\\rTip\\comma\\rTip)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//loop(rTip>=0)//crlf////crlf////tab////tab////tab////tab////tab//cAddedCheckPayment=cAddedCheckPayment + 1//crlf////tab////tab////tab////tab//elseif(iRectype=4)//crlf////tab////tab////tab////tab////tab////tax//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(dCheckTax)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckTax\\comma\\\\quot\\TAXDEFINIT\\quot\\\\comma\\r\\comma\\sID1)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckTax\\comma\\\\quot\\AMOUNT\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab//cAddedCheckTax=cAddedCheckTax + 1//crlf////tab////tab////tab////tab//elseif(iRectype=2)//crlf////tab////tab////tab////tab////tab////comp//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(dCheckComp)//crlf////tab////tab////tab////tab////tab//iMenuitem=driverGetFieldAbsolute(sPosDriver\\comma\\\\quot\\Menuitem\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckComp\\comma\\\\quot\\ADJUSTMENT\\quot\\\\comma\\r\\comma\\sID1)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckComp\\comma\\\\quot\\ADJUSTMEN1\\quot\\\\comma\\r\\comma\\abs(dAmount))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckComp\\comma\\\\quot\\ADJUSTMEN2\\quot\\\\comma\\r\\comma\\iMenuitem)//crlf////tab////tab////tab////tab////tab//cAddedCheckComp=cAddedCheckComp+ 1//crlf////tab////tab////tab////tab//elseif(iRectype=3)//crlf////tab////tab////tab////tab////tab////discount//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(dCheckAdjustment)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckAdjustment\\comma\\\\quot\\ADJUSTMENT\\quot\\\\comma\\r\\comma\\sID1)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCheckAdjustment\\comma\\\\quot\\ADJUSTMEN1\\quot\\\\comma\\r\\comma\\abs(dAmount))//crlf////tab////tab////tab////tab////tab//cAddedCheckAdjustment=cAddedCheckAdjustment + 1//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//tab////tab////crlf////tab////tab////tab////crlf////tab////tab////tab//appendToLog(\\quot\\Merge \\quot\\+quote(\\quot\\Check Items\\quot\\)+\\quot\\ to \\quot\\+sFilename+\\quot\\.  Added \\quot\\+cAddedCheckItem +\\quot\\ records\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Merge \\quot\\+quote(\\quot\\Check Payment\\quot\\)+\\quot\\ to \\quot\\+sFilename+\\quot\\.  Added \\quot\\+cAddedCheckPayment +\\quot\\ records\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Merge \\quot\\+quote(\\quot\\Check Tax\\quot\\)+\\quot\\ to \\quot\\+sFilename+\\quot\\.  Added \\quot\\+cAddedCheckTax +\\quot\\ records\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Merge \\quot\\+quote(\\quot\\Check Adjustment\\quot\\)+\\quot\\ to \\quot\\+sFilename+\\quot\\.  Added \\quot\\+cAddedCheckAdjustment +\\quot\\ records\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Merge \\quot\\+quote(\\quot\\Check Comp\\quot\\)+\\quot\\ to \\quot\\+sFilename+\\quot\\.  Added \\quot\\+cAddedCheckComp+\\quot\\ records\\quot\\)//crlf////crlf////tab////tab////tab////close the drivers//crlf////tab////tab////tab//driverClose(dCheckItem)//crlf////tab////tab////tab//driverClose(dCheckPayment)//crlf////tab////tab////tab//driverClose(dCheckTax)//crlf////tab////tab////tab//driverClose(dCheckAdjustment)//crlf////tab////tab////tab//driverClose(dCheckComp)//crlf////tab////tab////tab//driverClose(sPosDriver)//crlf////tab////tab////tab//driverClose(drvTimeclock)//crlf////crlf////tab////tab////tab////set the timestamp of the file//crlf////tab////tab////tab//fileSetModified(sFilenameCheckItem\\comma\\dtBusiness)//crlf////tab////tab////tab//fileSetModified(sFilenameCheckPayments\\comma\\dtBusiness)//crlf////tab////tab////tab//fileSetModified(sFilenameCheckTax\\comma\\dtBusiness)//crlf////tab////tab////tab//fileSetModified(sFilenameCheckAdjustment\\comma\\dtBusiness)//crlf////tab////tab////tab//fileSetModified(sPOSDataDir+\\quot\\timeclk.dbf\\quot\\\\comma\\dtBusiness)//crlf////tab////tab//elseif(iStatus=-1)//crlf////tab////tab////tab//appendToLog(\\quot\\POS system does not support this data type - Check Details\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab//iElapsedTime=(now()-tmStart)/1000//crlf////tab////tab//scriptSetResult(appendToLog(\\quot\\Create POS Emulation Files complete.  [\\quot\\+iElapsedTime+\\quot\\ seconds]\\quot\\))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf//^
ID=pos_interface_setup|X=300|Y=126|W=159|H=30|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\POSID\\quot\\\\comma\\\\quot\\__POSID__\\quot\\\\comma\\getToken(\\quot\\POSInterface_PosType\\quot\\))>//crlf////crlf//<conditional expression:not(\\quot\\__action__\\quot\\=\\quot\\getContent\\quot\\)>//crlf////tab//<script ID=\\quot\\JSPOSSetupChecklist\\quot\\>//crlf////tab////tab//function refreshPOSSetupChecklist(salt) {//crlf////tab////tab////tab//var sPOSID=document.getElementById(salt+\\quot\\SelectPOS\\quot\\).value;//crlf////tab////tab////tab//var e=document.getElementById(\\quot\\ChecklistContainr\\quot\\+salt);//crlf////tab////tab////tab//var sUrl=e.getAttribute(\\quot\\_url\\quot\\) + \\quot\\//amp//POSID=\\quot\\+sPOSID;//crlf////tab////tab////tab//e.setAttribute(\\quot\\URL\\quot\\\\comma\\sUrl);//crlf////tab////tab////tab//setInterval(e\\comma\\0\\comma\\true);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//s=\\quot\\ID='__salt__SelectPOS' onChange=\\quot\\+quote(\\quot\\refreshPOSSetupChecklist('__salt__')\\quot\\)//crlf////tab////tab//scriptSetResult(htmlSelect(Aspect_BackOffice_POS_Names\\comma\\\\quot\\SelectPOS\\quot\\\\comma\\\\quot\\__POSID__\\quot\\\\comma\\s\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\))//crlf////tab//\\quot\\>//crlf////crlf////tab//<span class=\\quot\\refresh\\quot\\ onclick=\\quot\\refreshPOSSetupChecklist('__salt__')\\quot\\></span>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//he URL inthis dv is used to refresh the content when the POS selection changs//crlf////tab//and when the refresh icon is clicked//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div //crlf////tab////tab//ID=\\quot\\ChecklistContainr__salt__\\quot\\//crlf////tab////tab//interval='-1' //crlf////tab////tab//style='width:100\\percent\\;' //crlf////tab////tab//_url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab////tab//ID=getWidget//amp////crlf////tab////tab////tab//source=//amp////crlf////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp////crlf////tab////tab////tab//Widget=POS Interface//amp////crlf////tab////tab////tab//ContainerItemID=pos_interface_setup//amp////crlf////tab////tab////tab//Action=getContent\\quot\\//crlf////tab////tab//>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This include tag is used to load the content.  An interval could be used in//crlf////tab////tab//the URL above but there would be a delay//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include //crlf////tab////tab////tab//type:widget; //crlf////tab////tab////tab//server:{AspectHashID}; //crlf////tab////tab////tab//secure:true; //crlf////tab////tab////tab//documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; //crlf////tab////tab////tab//widget:\\quot\\POS Interface\\quot\\; //crlf////tab////tab////tab//containerItemID:\\quot\\pos_interface_setup\\quot\\; //crlf////tab////tab////tab//params:\\quot\\Action=getContent~~pipe~~POSID=__POSID__\\quot\\;>//tab////tab////crlf////tab//</div> //crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//This widget requires values for StoreID and DataType.  If DataType is 0 or undefined\\comma\\ all structures //crlf//will be included in the table//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\getContent\\quot\\)>//crlf////tab//<conditional expression:\\quot\\(startsWith('__POSID__'\\comma\\'__')) or ('__POSID__'='0')\\quot\\>//crlf////tab////tab//<p>No POS selected</p>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:\\quot\\(not(startsWith('__POSID__'\\comma\\'__'))) and (not('__POSID__'='0'))\\quot\\>//crlf////crlf////tab////tab//<include type:expression; expression:\\quot\\htmlConstant('DriverName'\\comma\\'__'\\comma\\uppercase(getSalt(8)))\\quot\\>//crlf////crlf////tab////tab//<!include type:script; name:\\quot\\InitializeDriverForPOSInterfaceSetup\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\POS Interface - POS Inteface Setup - Preparing driver with name=__DriverName__\\quot\\)//crlf////crlf////tab////tab////tab////prepare the system driver //crlf////tab////tab////tab//driverOpen(Aspect_Back-Office_POS_Interface_Field_Check\\comma\\__DriverName__\\comma\\WRITE\\comma\\true\\comma\\\\quot\\KeyExpression=FieldID\\quot\\)//crlf////crlf////tab////tab////tab////pos type//crlf////tab////tab////tab//sPOSType=\\quot\\__POSID__\\quot\\//crlf////tab////tab////tab//sPOSPackage=lookup(Aspect_BackOffice_POS_Package_By_POS_ID\\comma\\sPOSType)//crlf////tab////tab////tab//appendToLog(\\quot\\POSType=\\quot\\+sPOSType+\\quot\\ POSPackage=\\quot\\+sPOSPackage)//crlf////crlf////tab////tab////tab////load the package if necessary//crlf////tab////tab////tab//if(not(isPackageLoaded(sPOSPackage)))//crlf////tab////tab////tab////tab//driverOpen(Packages_View\\comma\\drvPackage\\comma\\WRITE)//crlf////tab////tab////tab////tab//r=driverFindRecordAbsolute(drvPackage\\comma\\0\\comma\\\\quot\\PackageID=\\quot\\+quote(sPOSPackage))//crlf////tab////tab////tab////tab//if(r>=0)//crlf////tab////tab////tab////tab////tab//sDir=addDirSlash(parseTokens(driverGetFieldAbsolute(drvPackage\\comma\\\\quot\\location\\quot\\\\comma\\r)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Loading package from \\quot\\+sDir)//crlf////tab////tab////tab////tab////tab//reloadResource(0\\comma\\sDir+\\quot\\main.asp\\quot\\)//crlf////tab////tab////tab////tab////tab//reloadResource(1\\comma\\sDir+\\quot\\actions.asp\\quot\\)//crlf////tab////tab////tab////tab////tab//reloadResource(2\\comma\\sDir+\\quot\\menu.asp\\quot\\)//crlf////tab////tab////tab////tab////tab//reloadResource(3\\comma\\sDir+\\quot\\tokens.asp\\quot\\)//crlf////tab////tab////tab////tab////tab//reloadResource(4\\comma\\sDir+\\quot\\struct.asp\\quot\\)//crlf////tab////tab////tab////tab////tab//reloadResource(5\\comma\\sDir+\\quot\\drivers.asp\\quot\\)//crlf////tab////tab////tab////tab////tab//reloadResource(6\\comma\\sDir+\\quot\\collctn.asp\\quot\\)//crlf////tab////tab////tab////tab////tab//reloadResource(7\\comma\\sDir+\\quot\\displays.asp\\quot\\)//crlf////tab////tab////tab////tab////tab//reloadResource(8\\comma\\sDir+\\quot\\filters.asp\\quot\\)//crlf////tab////tab////tab////tab////tab//reloadResource(9\\comma\\sDir+\\quot\\dialogs.asp\\quot\\)//crlf////tab////tab////tab////tab////tab//reloadResource(10\\comma\\sDir+\\quot\\scripts.asp\\quot\\)//crlf////tab////tab////tab////tab////tab//reloadResource(11\\comma\\sDir+\\quot\\toolbar.asp\\quot\\)//crlf////tab////tab////tab////tab////tab//reloadResource(12\\comma\\sDir+\\quot\\function.asp\\quot\\)//crlf////tab////tab////tab////tab////tab//reloadResource(13\\comma\\sDir+\\quot\\tables.asp\\quot\\)//crlf////tab////tab////tab////tab////tab//reloadResource(14\\comma\\sDir+\\quot\\drivercmd.asp\\quot\\)//crlf////tab////tab////tab////tab////tab//reloadResource(15\\comma\\sDir+\\quot\\reports.asp\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//driverClose(drvPackage)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get collection of datatypes and names//crlf////tab////tab////tab//arDataTypes=getCollection(Aspect_BackOffice_POS_Data_Types)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////get collection of fields to be merged for each data type//crlf////tab////tab////tab//arFieldsByDataType=getCollection(Aspect_BackOffice_POS_Fields_To_Merge_By_DataType)//crlf////crlf////tab////tab////tab////add a record for each datatype / field combination//crlf////tab////tab////tab//c=getElementCount(arDataTypes\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sDataType=getElement(getElement(arDataTypes\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\0\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab////tab//if((sDataType=\\quot\\__DataType__\\quot\\) or (\\quot\\__DataType__\\quot\\=\\quot\\0\\quot\\) or (startsWith(\\quot\\__DataType__\\quot\\\\comma\\\\quot\\__\\quot\\)))//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\adding datatype: \\quot\\+sDataType)//crlf////tab////crlf////tab////tab////tab////tab////tab////4-2017 - Added check for alternate collection name that makes more sense.//crlf////tab////tab////tab////tab////tab////The [packageid]_Processed_Driver_By_Data_Type collection was added in Restaurant Manager//crlf////tab////tab////tab////tab////tab//sPOSDriver=lookup(sPOSPackage+\\quot\\_Associated_Driver_By_Data_Type\\quot\\\\comma\\sDataType)//crlf////tab////tab////tab////tab////tab//if(len(sPOSDriver)=0)//crlf////tab////tab////tab////tab////tab////tab//sPOSDriver=lookup(sPOSPackage+\\quot\\_Processed_Driver_By_Data_Type\\quot\\\\comma\\sDataType)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Lookup \\quot\\+sDataType+\\quot\\ driver in \\quot\\+sPOSPackage+\\quot\\_Associated_Driver_By_Data_Type=\\quot\\+sPOSDriver)//crlf////crlf////tab////tab////tab////tab////tab//sStructure=lookup(ResourceDriversLookupStructure\\comma\\sPOSDriver)//crlf////tab////tab////tab////tab////tab//sFieldsInStructure=if(len(sStructure)>0\\comma\\\\quot\\~~pipe~~\\quot\\+getCollection(\\quot\\StructureFields\\quot\\\\comma\\sStructure)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//arFields=getElementValue(arFieldsByDataType\\comma\\sDataType\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab//if(sDataType=\\quot\\timeclock\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Datatype: \\quot\\+sDataType+\\quot\\ Fields: \\quot\\+arFields)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//cField=getElementCount(arFields\\comma\\\\quot\\//power//\\quot\\)//crlf////tab////tab////tab////tab////tab//nField=0//crlf////tab////tab////tab////tab////tab//while(nField<cField)//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(__DriverName__)//crlf////tab////tab////tab////tab////tab////tab//sFieldID=getElement(arFields\\comma\\nField\\comma\\\\quot\\//power//\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\StoreID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Data_Type\\quot\\\\comma\\r\\comma\\sDataType)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Field_ID\\quot\\\\comma\\r\\comma\\sFieldID)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\POS_Type\\quot\\\\comma\\r\\comma\\sPOSType)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\POS_Package_ID\\quot\\\\comma\\r\\comma\\sPOSPackage)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\POS_Driver\\quot\\\\comma\\r\\comma\\sPOSDriver)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Structure\\quot\\\\comma\\r\\comma\\sStructure)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Field_Defined\\quot\\\\comma\\r\\comma\\(pos(\\quot\\~~pipe~~\\quot\\+sFieldID+\\quot\\=\\quot\\\\comma\\sFieldsInStructure)>=0))//crlf////tab////tab////tab////tab////tab////tab//nField=nField+1//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//appendToLog(\\quot\\POS Interface - POS Inteface Setup - Preparing driver complete\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab////tab////crlf////tab////tab//<br>//crlf////tab////tab//<table class='basic1'>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>POS ID</td>//crlf////tab////tab////tab////tab//<td>__POSID__</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Package</td>//crlf////tab////tab////tab////tab//<td>{@lookup(Aspect_BackOffice_POS_Package_By_POS_ID\\comma\\\\quot\\__POSID__\\quot\\)}</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Widget</td>//crlf////tab////tab////tab////tab//<td>{@lookup(Aspect_BackOffice_POS_Synch_Container_Name\\comma\\\\quot\\__POSID__\\quot\\)}</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\true\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\Field_ID\\comma\\Field_Defined\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\Section_Header_For_Data_Type1\\comma\\Section_Header_For_Data_Type2\\comma\\Field_ID\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\Dialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\false\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\flse\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=sensor_list|X=300|Y=126|W=768|H=571|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__sensor__//crlf////tab//__sensor_list__//crlf////tab//__SensorDescription__//crlf////tab//__SensorParams__//crlf////tab//__SensorReturns__//crlf////tab//__SensorExec__//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface.html\\quot\\)}//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)+\\quot\\Aspect_BackOffice/store_list.dta\\quot\\)}//crlf////tab//2.0//crlf//</state>//crlf////crlf//<conditional expression:false>//crlf////tab//This is a list of sensors formatted as://crlf////crlf////tab//Group\\comma\\Name\\comma\\Container Item ID\\comma\\Params//crlf////crlf////tab//Multiple container items can be used to group code for sensors//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//Sensor List//crlf//===============================================================================//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Back-Office\\comma\\Get POS Directory\\comma\\sensor_list\\comma\\sensor=getPOSDir\\comma\\shared//crlf////tab//Back-Office\\comma\\Get Store Directory\\comma\\sensor_list\\comma\\sensor=getStoreDir\\comma\\shared//crlf////tab//Back-Office\\comma\\Get Active Store ID\\comma\\sensor_list\\comma\\sensor=getActiveStoreID\\comma\\shared//crlf////tab//Back-Office\\comma\\Get POS Type\\comma\\sensor_list\\comma\\sensor=getPOSType\\comma\\shared//crlf////tab//Back-Office\\comma\\Get Synch Days\\comma\\sensor_list\\comma\\sensor=getSynchDays\\comma\\shared//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//getActiveStoreID//crlf//===============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getActiveStoreID\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Get the ID of the active store.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//POSType - Optional.  If specified\\comma\\ the result will be a store with the given //crlf////tab////tab////tab//pos type and Import From POS enabled.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//The ID of the active store or an error string starting with \\quot\\Error: \\quot\\ if an error occurs.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//dStores=scriptExec(Aspect_BackOffice_openAspect7Stores\\comma\\true)//crlf////tab////tab////tab//sFilter=\\quot\\(Used) and (Enable_POS_Import)\\quot\\//crlf////tab////tab////tab//if(not(startsWith(\\quot\\__POSType__\\quot\\\\comma\\\\quot\\__\\quot\\)))//crlf////tab////tab////tab////tab//sFilter=sFilter + \\quot\\ and (POS_Type=\\quot\\+quote(\\quot\\__POSType__\\quot\\)+\\quot\\)\\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//driverSetFilter(dStores\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(dStores\\comma\\false)//crlf////tab////tab////tab//if(c=0)//crlf////tab////tab////tab////tab//sResult=\\quot\\Error: There are no stores with pos import enabled and a valid pos type\\quot\\//crlf////tab////tab////tab//elseif(c>1)//crlf////tab////tab////tab////tab//sResult=\\quot\\Error: There is more than one store with pos import enabled and a valid pos type\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=driverGetField(dStores\\comma\\\\quot\\ID\\quot\\\\comma\\0)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//scriptSetResult(sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//getPOSDir//crlf//===============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getPOSDir\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Get the POS directory for the active store.  There must be only one store with Import from POS enabled.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//The POS directory of the active store or an error string starting with \\quot\\Error: \\quot\\ if an error occurs.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getPOSDir\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////03-21-2018: Modified this to open the store driver here because it looks like a timing//crlf////tab////tab////tab////issue occurs in which more than one sensor is calling the script and attempting to use //crlf////tab////tab////tab////the same driver at the same time//crlf////tab////tab////tab////dStores=scriptExec(Aspect_BackOffice_openAspect7Stores\\comma\\true)//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Store\\comma\\dStores\\comma\\WRITE\\comma\\true)//crlf////crlf////tab////tab////tab//sFilter=\\quot\\(Used) and (Enable_POS_Import) and (not(POS_Type=\\quot\\+quote(\\quot\\0\\quot\\)+\\quot\\))\\quot\\//crlf////tab////tab////tab//driverSetFilter(dStores\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(dStores\\comma\\false)//crlf////tab////tab////tab//if(c=0)//crlf////tab////tab////tab////tab//sResult=\\quot\\Error: There are no stores with pos import enabled and a valid pos type\\quot\\//crlf////tab////tab////tab//elseif(c>1)//crlf////tab////tab////tab////tab//sResult=\\quot\\Error: There is more than one store with pos import enabled and a valid pos type\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=replaceSubstring(addDirSlash(driverGetField(dStores\\comma\\\\quot\\POS_Directory\\quot\\\\comma\\0))\\comma\\\\quot\\\\\quot\\\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverClose(dStores)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\getPOSDir returns: \\quot\\+sResult)//crlf////tab////tab////tab//return(sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//getStoreDir//crlf//===============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getStoreDir\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Get the store directory for the active store.  There must be only one store with Import from POS enabled.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//The POS directory of the active store or an error string starting with \\quot\\Error: \\quot\\ if an error occurs.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//dStores=scriptExec(Aspect_BackOffice_openAspect7Stores\\comma\\true)//crlf////tab////tab////tab//sFilter=\\quot\\(Used) and (Enable_POS_Import) and (not(POS_Type=\\quot\\+quote(\\quot\\0\\quot\\)+\\quot\\))\\quot\\//crlf////tab////tab////tab//driverSetFilter(dStores\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(dStores\\comma\\false)//crlf////tab////tab////tab//if(c=0)//crlf////tab////tab////tab////tab//sResult=\\quot\\Error: There are no stores with pos import enabled and a valid pos type\\quot\\//crlf////tab////tab////tab//elseif(c>1)//crlf////tab////tab////tab////tab//sResult=\\quot\\Error: There is more than one store with pos import enabled and a valid pos type\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=driverGetField(dStores\\comma\\\\quot\\Store_Directory\\quot\\\\comma\\0)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//scriptSetResult(sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//getPOSType//crlf//===============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getPOSType\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Get the POS type for the active store.  There must be only one store with //crlf////tab////tab//Import from POS enabled and a POS type must be selected for the store.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//The ID of the POS type selected for the active store or an error string starting with \\quot\\Error: \\quot\\ if an error occurs.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//dStores=scriptExec(Aspect_BackOffice_openAspect7Stores\\comma\\true)//crlf////tab////tab////tab//sFilter=\\quot\\(Used) and (Enable_POS_Import) and (not(POS_Type=\\quot\\+quote(\\quot\\0\\quot\\)+\\quot\\))\\quot\\//crlf////tab////tab////tab//driverSetFilter(dStores\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(dStores\\comma\\false)//crlf////tab////tab////tab//if(c=0)//crlf////tab////tab////tab////tab//sResult=\\quot\\Error: There are no stores with pos import enabled and a valid pos type\\quot\\//crlf////tab////tab////tab//elseif(c>1)//crlf////tab////tab////tab////tab//sResult=\\quot\\Error: There is more than one store with pos import enabled and a valid pos type\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=driverGetField(dStores\\comma\\\\quot\\POS_Type\\quot\\\\comma\\0)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//scriptSetResult(sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//Get Synch Days//crlf//===============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getSynchDays\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Get the number of days to synch with the POS.  This is the number of days going//crlf////tab////tab//back from the last completed business date.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//The number of days to synch or an error if an error occurs//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//dStores=scriptExec(Aspect_BackOffice_openAspect7Stores\\comma\\true)//crlf////tab////tab////tab//sFilter=\\quot\\(Used) and (Enable_POS_Import) and (not(POS_Type=\\quot\\+quote(\\quot\\0\\quot\\)+\\quot\\))\\quot\\//crlf////tab////tab////tab//driverSetFilter(dStores\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(dStores\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\getSynchDays: Number of store records=\\quot\\+c)//crlf////tab////tab////tab//if(c=0)//crlf////tab////tab////tab////tab//sResult=\\quot\\Error: There are no stores with pos import enabled and a valid pos type\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\getSynchDays: \\quot\\+sResult)//crlf////tab////tab////tab//elseif(c>1)//crlf////tab////tab////tab////tab//sResult=\\quot\\Error: There is more than one store with pos import enabled and a valid pos type\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\getSynchDays: \\quot\\+sResult)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=driverGetField(dStores\\comma\\\\quot\\Synch_Data_Days\\quot\\\\comma\\0)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\getSynchDays: Synch_Data_Days=\\quot\\+sResult)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//scriptSetResult(sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=625216|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=onchange|^
ID=865472|X=183|Y=744|W=119|H=83|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=0|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_POS Interface\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 12-10-2017 17:55:54//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface\\comma\\AgentAction\\comma\\625216\\comma\\0\\comma\\Delete old tasks//crlf////crlf////tab////tab////Delete old tasks//crlf////tab////tab//Result=execAgentAction(\\quot\\disableOldPOSSetupTasks\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\disableOldPOSSetupTasks ()=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface\\comma\\AgentAction\\comma\\510889\\comma\\0\\comma\\Set tokens for active store//crlf////crlf////tab////tab////Set tokens for active store//crlf////tab////tab//Result=execAgentAction(\\quot\\setTokensForActiveStore\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\setTokensForActiveStore ()=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface\\comma\\AgentAction\\comma\\450593\\comma\\0\\comma\\Enable POS Packages//crlf////crlf////tab////tab////Enable POS Packages//crlf////tab////tab//Result=execAgentAction(\\quot\\enablePOSPackages\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\enablePOSPackages ()=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface\\comma\\AgentAction\\comma\\325442\\comma\\0\\comma\\Execute POS Setup script//crlf////crlf////tab////tab////Execute POS Setup script//crlf////tab////tab//Result=execAgentAction(\\quot\\executePOSSetupScripts\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\executePOSSetupScripts ()=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface\\comma\\AgentTerminate\\comma\\865472\\comma\\0\\comma\\Ok//crlf////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface\\quot\\\\comma\\\\quot\\865472\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\\\quot\\Ok\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart))//crlf////tab////tab//scriptSetResult(\\quot\\Ok\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;12102017//amp//nbsp;175554//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_POS//amp//nbsp;Interface\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;12-10-2017//amp//nbsp;17:55:54</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Delete//amp//nbsp;old//amp//nbsp;tasks</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\disableOldPOSSetupTasks\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\disableOldPOSSetupTasks//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Set//amp//nbsp;tokens//amp//nbsp;for//amp//nbsp;active//amp//nbsp;store</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\setTokensForActiveStore\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\setTokensForActiveStore//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Enable//amp//nbsp;POS//amp//nbsp;Packages</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\enablePOSPackages\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\enablePOSPackages//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Execute//amp//nbsp;POS//amp//nbsp;Setup//amp//nbsp;script</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\executePOSSetupScripts\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\executePOSSetupScripts//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS//amp//nbsp;Interface\\quot\\\\comma\\\\quot\\865472\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\\\quot\\Ok\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<p>This agent sets values for these tokens:</p>//crlf////crlf//<table class=\\quot\\bordered\\quot\\>//crlf////tab//<tr><th align='left'>Token</th><th align='left'>Value</th><th align='left' style='min-width:150px'>Description</th></tr>//crlf////tab//<tr><td>POSInterface_Result</td><td>{POSInterface_Result}</td><td>Ok or Error if there is not exactly one store with POS import enabled</td></tr>//crlf////tab//<tr><td>POSInterface_StoreID</td><td>{POSInterface_StoreID}</td><td>ID of the store with POS synch enabled<td></td></tr>//crlf////tab//<tr><td>POSInterface_StoreName</td><td>{POSInterface_StoreName}</td><td>Name of the store with POS synch enabled</td></tr>//crlf////tab//<tr><td>POSInterface_StoreDir</td><td>{POSInterface_StoreDir}</td><td>Directory of the store with POS synch enabled</td></tr>//crlf////tab//<tr><td>POSInterface_PosType</td><td>{POSInterface_PosType}</td><td>A string indicating the POS type</td></tr>//crlf////tab//<tr><td>POSInterface_PosDir</td><td>{POSInterface_PosDir}</td><td>The POS directory for the store with POS synch enabled</td></tr>//crlf////tab//<tr><td>POSInterface_EnableSynch</td><td>{POSInterface_EnableSynch}</td><td>True if there is one store with POS synch enabled</td></tr>//crlf////tab//<tr><td>POSInterface_EnableEmulation</td><td>{POSInterface_EnableEmulation}</td><td>True if Aspect6 emulation is enabled</td></tr>//crlf////tab//<tr><td>POSInterface_SynchDays</td><td>{POSInterface_SynchDays}</td><td>Number of days to synch data from the POS</td></tr>//crlf////tab//<tr><td>POSInterface_TimeclockAdjustDays</td><td>{POSInterface_TimeclockAdjustDays}</td><td>Number of days for which timeclock adjustments will be imported</td></tr>//crlf////tab//<tr><td>POSInterface_Aspect7Filespecs</td><td>{@more(replaceSubstring(getToken(\\quot\\POSInterface_Aspect7Filespecs\\quot\\)\\comma\\char(0x3B)\\comma\\getToken(\\quot\\br\\quot\\))\\comma\\128)}</td><td>Aspect7 data files.  These are the files used by the Validate POS Import agent to confirm the import.</td></tr>//crlf////tab//<tr><td>POSInterface_ImportEDIInvoices</td><td>{POSInterface_ImportEDIInvoices}</td><td>Indicates whether invoices will be imported automatically.</td></tr>//crlf////tab//<tr><td>POSInterface_ImportToastModifiers</td><td>{POSInterface_ImportToastModifiers}</td><td>Indicates whether modifiers will be imported from Toast.</td></tr>//crlf////tab//<tr><td>Aspect_BackOffice_Pref_Polling_Location</td><td>{Aspect_BackOffice_Pref_Polling_Location}</td><td>//amp//nbsp;</td></tr>//crlf////tab//<tr><td>Aspect6StartInDirectory</td><td>{Aspect6StartInDirectory}</td><td>//amp//nbsp;</td></tr>//crlf//</table>//crlf//^
ID=AgentChart|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>12102017 175554</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart625216\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\111\\quot\\ style=\\quot\\width: 120px; height: 111px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>POS Interface</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: onchange<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart865472\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 699px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart325442\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart865472\\quot\\ style=\\quot\\position: absolute; top: 565px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Execute POS Setup script<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>executePOSSetupScripts<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart450593\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart325442\\quot\\ style=\\quot\\position: absolute; top: 431px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Enable POS Packages<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>enablePOSPackages<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart510889\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart450593\\quot\\ style=\\quot\\position: absolute; top: 297px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Set tokens for active store<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>setTokensForActiveStore<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart625216\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart510889\\quot\\ style=\\quot\\position: absolute; top: 163px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\82\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Delete old tasks<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>disableOldPOSSetupTasks<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div>^
ID=action_list|X=300|Y=126|W=829|H=599|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__Action__//crlf////tab//__Action_list__//crlf////tab//__ActionDescription__//crlf////tab//__ActionParams__//crlf////tab//__ActionReturns__//crlf////tab//__ActionExec__//crlf////tab//1.1//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//POS Interface\\comma\\getInstalledPOSType\\comma\\action_list\\comma\\Action=getInstalledPOSType\\comma\\private//crlf////tab//POS Interface\\comma\\deleteDailyLaborFiles\\comma\\action_list\\comma\\Action=deleteDailyLaborFiles\\comma\\private//crlf////tab//POS Interface\\comma\\deleteCheckHeadersAndDetails\\comma\\action_list\\comma\\Action=deleteCheckHeadersAndDetails\\comma\\private//crlf////tab//POS Interface\\comma\\disableOldPOSSetupTasks\\comma\\action_list\\comma\\Action=disableOldPOSSetupTasks\\comma\\private//crlf////tab//POS Interface\\comma\\setTokensForActiveStore\\comma\\action_list\\comma\\Action=setTokensForActiveStore\\comma\\private//crlf////tab//POS Interface\\comma\\enablePOSPackages\\comma\\action_list\\comma\\Action=enablePOSPackages\\comma\\private//crlf////tab//POS Interface\\comma\\executePOSSetupScripts\\comma\\action_list\\comma\\Action=executePOSSetupScripts\\comma\\private//crlf////tab//POS Interface\\comma\\synchPOSData\\comma\\action_list\\comma\\Action=synchPOSData\\comma\\private//crlf////tab//POS Interface\\comma\\synchPastPOSData\\comma\\action_list\\comma\\Action=synchPastPOSData\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//getInstalledPOSType//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\getInstalledPOSType\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Searches for installed programs and directories to determine the POS type.//crlf////tab////tab//Returns an error or one of the following POS names://crlf////tab////tab//SoftTouch\\comma\\Restaurant_Manager\\comma\\Aloha\\comma\\HSI\\comma\\Onepos\\comma\\Focus\\comma\\Micros3700\\comma\\Toast\\comma\\Positouch//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Pipe delimited string containing the POS type and directory or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getInstalledPOSType\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////check for Micros 3700//crlf////tab////tab////tab//if(fileExists(\\quot\\D:\Micros\Database\Data\MICROS.DB\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Micros3700~~pipe~~\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////check for Aloha//crlf////tab////tab////tab//if(fileExists(\\quot\\c:\pos\aloha\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\aloha~~pipe~~c:\pos\aloha\\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(fileExists(\\quot\\d:\pos\aloha\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\aloha~~pipe~~d:\pos\aloha\\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(fileExists(\\quot\\d:\Bootdrv\Aloha\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\aloha~~pipe~~d:\Bootdrv\Aloha\\\quot\\)//crlf////tab////tab////tab//endif//crlf// //crlf////tab////tab////tab//if(fileExists(\\quot\\c:\Bootdrv\Aloha\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\aloha~~pipe~~c:\Bootdrv\Aloha\\\quot\\)//crlf////tab////tab////tab//endif//crlf// //crlf////tab////tab////tab////check for restaurant manager//crlf////tab////tab////tab//if(fileExists(\\quot\\c:\rmwin\\quot\\)) //crlf////tab////tab////tab////tab//return(\\quot\\Restaurant_Manager~~pipe~~c:\rmwin\\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(fileExists(\\quot\\d:\rmwin\\quot\\)) //crlf////tab////tab////tab////tab//return(\\quot\\Restaurant_Manager~~pipe~~d:\rmwin\\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////check for softtouch//crlf////tab////tab////tab//if(fileExists(\\quot\\c:\softtouch\\quot\\)) //crlf////tab////tab////tab////tab//return(\\quot\\softtouch~~pipe~~c:\softtouch\\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(fileExists(\\quot\\d:\softtouch\\quot\\)) //crlf////tab////tab////tab////tab//return(\\quot\\softtouch~~pipe~~d:\softtouch\\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Error: Unknown POS system\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//deleteDailyLaborFiles//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\deleteDailyLaborFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Deletes daily labor files from the store directory so they can be imported again.//crlf////tab////tab//This can be used to import adjustments from the POS.  Select files are also //crlf////tab////tab//deleted from the posdata directory so they will be created again with data from //crlf////tab////tab//the pos system.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Starting date (MM-dd-yyyy)//crlf////tab////tab//DateTo - Ending Date (MM-dd-yyyy)//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\deleteDailyLaborFiles\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateFrom//crlf////tab////tab////tab//if(undefined(\\quot\\__DateFrom__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateFrom\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateTo//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if StoreDir is invalid//crlf////tab////tab////tab//sStoreDir=getStoreDir(\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//if(len(sStoreDir)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot get store directory for store with ID=__StoreID__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if POS type is invalid//crlf////tab////tab////tab//sPosType=lookup(Aspect_BackOffice_POS_Type_by_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//if((len(sPosType)=0) or (sPosType=\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid pos type for store with ID=__StoreID__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the pos directory.  This is used to copy files from the POS to the posdata directory//crlf////tab////tab////tab//sPOSDir=lookup(Aspect_BackOffice_Store_POS_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab//sResult=sResult+\\quot\\Store: \\quot\\+getStoreName(\\quot\\__StoreID__\\quot\\)+\\quot\\ POSType: \\quot\\+sPosType+\\quot\\ PosDir:\\quot\\+sPosDir+getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab//cDeleted=0//crlf////tab////tab////tab//dtFrom=parseTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dtTo=parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt=dtFrom//crlf////tab////tab////tab//while(dt<=dtTo)//crlf////tab////tab////tab////tab//sDate=formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////crlf////tab////tab////tab////tab////delete daily labor file//crlf////tab////tab////tab////tab//sFilename=sStoreDir+\\quot\\lbr.\\quot\\+sDate+\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//sFileTo=replaceSubstring(sFilename\\comma\\\\quot\\.bin\\quot\\\\comma\\\\quot\\.\\quot\\+formatDate(now()\\comma\\\\quot\\MMddyyyy_HHmmss\\quot\\))//crlf////tab////tab////tab////tab////tab//sFileTo=replaceSubstring(sFileTo\\comma\\\\quot\\lbr\\quot\\\\comma\\\\quot\\_lbr\\quot\\)//crlf////tab////tab////tab////tab////tab//fileCopy(sFilename\\comma\\sFileTo)//crlf////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab////tab//sResult=sResult+\\quot\\Delete: \\quot\\+sFilename+\\quot\\: \\quot\\+if(fileExists(sFilename)\\comma\\\\quot\\Error\\quot\\\\comma\\\\quot\\Ok\\quot\\)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab//cDeleted++//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////array of processed files to be deleted from posdata directory//crlf////tab////tab////tab////tab//arToDelete=\\quot\\Processed_Timeclock.csv~~pipe~~ID_Employee.csv\\quot\\//crlf////crlf////tab////tab////tab////tab////delete any processed files in the posdata directory//crlf////tab////tab////tab////tab//if(sPosType=\\quot\\SoftTouch\\quot\\)//crlf////tab////tab////tab////tab////tab//sPosdataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\softtouch\\\quot\\+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab//elseif(sPosType=\\quot\\Aloha\\quot\\)//crlf////tab////tab////tab////tab////tab//sPosdataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\aloha\\\quot\\+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab//elseif(sPosType=\\quot\\Micros3700\\quot\\)//crlf////tab////tab////tab////tab////tab//sPosdataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\mic3700\\\quot\\+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab//elseif(sPosType=\\quot\\Restaurant_Manager\\quot\\)//crlf////tab////tab////tab////tab////tab//sPosdataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\restaurant_manager\\\quot\\+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sPosDataDir=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//if(len(sPosdataDir)>0)//crlf////tab////tab////tab////tab////tab//arFiles=getMatchingFiles(sPosdataDir\\comma\\false\\comma\\false)//crlf////tab////tab////tab////tab////tab//cFiles=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//nFiles=0//crlf////tab////tab////tab////tab////tab//while(nFiles<cFiles)//crlf////tab////tab////tab////tab////tab////tab//sFilename=getElement(arFiles\\comma\\nFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//n=containsElement(fileName(sFilename)+fileExt(sFilename)\\comma\\arToDelete\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\File: \\quot\\+fileName(sFilename)+fileExt(sFilename)+\\quot\\ n=\\quot\\+n)//crlf////tab////tab////tab////tab////tab////tab//if(n>=0)//crlf////tab////tab////tab////tab////tab////tab////tab//sFileTo=replaceSubstring(sFilename\\comma\\fileExt(sFilename)\\comma\\\\quot\\.\\quot\\+formatDate(now()\\comma\\\\quot\\MMddyyyy_HHmmss\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//fileCopy(sFilename\\comma\\sFileTo)//crlf////tab////tab////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//sResult=sResult+\\quot\\Delete: \\quot\\+sFilename+\\quot\\: \\quot\\+if(fileExists(sFilename)\\comma\\\\quot\\Error\\quot\\\\comma\\\\quot\\Ok\\quot\\)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//cDeleted++//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////copy files from pos system.  This could be left up to the agent that is responsible//crlf////tab////tab////tab////tab////tab////tab////for getting files from the pos\\comma\\ but it can be done here quickly.  This will also handle //crlf////tab////tab////tab////tab////tab////tab////situations in which the agent may not look back far enough to restore the files from //crlf////tab////tab////tab////tab////tab////tab////the pos//crlf////tab////tab////tab////tab////tab////tab//if(sPosType=\\quot\\Aloha\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////copy Aloha timeclock files//crlf////tab////tab////tab////tab////tab////tab////tab//if((pos(\\quot\\gndbreak.dbf\\quot\\\\comma\\sFilename)>=0) or (pos(\\quot\\adjtime.dbf\\quot\\\\comma\\sFilename)>=0))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(len(sPOSDir)>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sFileFrom=addDirSlash(sPosDir)+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\\\\quot\\+fileName(sFilename)+fileExt(sFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(fileExists(sFileFrom))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(gfs(sFileFrom)<>gfs(sFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//s=fileCopy(sFileFrom\\comma\\sFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//sResult=sResult+\\quot\\Copy: \\quot\\+sFileFrom+\\quot\\ to \\quot\\+sFilename+\\quot\\: \\quot\\+s+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//sResult=sResult+\\quot\\Copy: \\quot\\+sFileFrom+\\quot\\ to \\quot\\+sFilename+\\quot\\: Files are identical\\quot\\+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//sResult=sResult+\\quot\\Copy: \\quot\\+sFileFrom+\\quot\\ to \\quot\\+sFilename+\\quot\\: File not found\\quot\\+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab//nFiles++//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sResult=sResult+\\quot\\Error: Cannot get PosData directory for pos type: \\quot\\+sPosType+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab////crlf////tab////tab////tab//if(cDeleted=0)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: No files deleted\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab//return(\\quot\\Ok\\quot\\+getToken(\\quot\\br\\quot\\)+sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//deleteCheckHeadersAndDetails//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\deleteCheckHeadersAndDetails\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Deletes ckd.* and ckh.* files for a given store and range of dates.  Also deletes any //crlf////tab////tab//processed files in the posdata directory during the date range.  This action is used to //crlf////tab////tab//cause sales to be processed and imported again.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Starting date (MM-dd-yyyy)//crlf////tab////tab//DateTo - Ending Date (MM-dd-yyyy)//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\deleteCheckHeadersAndDetails\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateFrom//crlf////tab////tab////tab//if(undefined(\\quot\\__DateFrom__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateFrom\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateTo//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if StoreDir is invalid//crlf////tab////tab////tab//sStoreDir=getStoreDir(\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//if(len(sStoreDir)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot get store directory for store with ID=__StoreID__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if POS type is invalid//crlf////tab////tab////tab//sPosType=lookup(Aspect_BackOffice_POS_Type_by_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//if((len(sPosType)=0) or (sPosType=\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid pos type for store with ID=__StoreID__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//cDeleted=0//crlf////tab////tab////tab//dtFrom=parseTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dtTo=parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt=dtFrom//crlf////tab////tab////tab//while(dt<=dtTo)//crlf////tab////tab////tab////tab//sDate=formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////crlf////tab////tab////tab////tab////delete check header file//crlf////tab////tab////tab////tab//sFilename=sStoreDir+\\quot\\ckh.\\quot\\+sDate+\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//sFileTo=replaceSubstring(sFilename\\comma\\\\quot\\.bin\\quot\\\\comma\\\\quot\\.\\quot\\+formatDate(now()\\comma\\\\quot\\MMddyyyy_HHmmss\\quot\\))//crlf////tab////tab////tab////tab////tab//sFileTo=replaceSubstring(sFileTo\\comma\\\\quot\\ckh\\quot\\\\comma\\\\quot\\_ckh\\quot\\)//crlf////tab////tab////tab////tab////tab//fileCopy(sFilename\\comma\\sFileTo)//crlf////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab////tab//sResult=sResult+\\quot\\Delete: \\quot\\+sFilename+\\quot\\: \\quot\\+if(fileExists(sFilename)\\comma\\\\quot\\Error\\quot\\\\comma\\\\quot\\Ok\\quot\\)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab//cDeleted++//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////delete check detail file//crlf////tab////tab////tab////tab//sFilename=sStoreDir+\\quot\\ckd.\\quot\\+sDate+\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//sFileTo=replaceSubstring(sFilename\\comma\\\\quot\\.bin\\quot\\\\comma\\\\quot\\.\\quot\\+formatDate(now()\\comma\\\\quot\\MMddyyyy_HHmmss\\quot\\))//crlf////tab////tab////tab////tab////tab//sFileTo=replaceSubstring(sFileTo\\comma\\\\quot\\ckd\\quot\\\\comma\\\\quot\\_ckd\\quot\\)//crlf////tab////tab////tab////tab////tab//fileCopy(sFilename\\comma\\sFileTo)//crlf////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab////tab//sResult=sResult+\\quot\\Delete: \\quot\\+sFilename+\\quot\\: \\quot\\+if(fileExists(sFilename)\\comma\\\\quot\\Error\\quot\\\\comma\\\\quot\\Ok\\quot\\)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab//cDeleted++//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////tab////delete any processed files in the posdata directory//crlf//appendToLog(\\quot\\sPosType=\\quot\\+sPosType)//crlf////tab////tab////tab////tab//if(sPosType=\\quot\\SoftTouch\\quot\\)//crlf////tab////tab////tab////tab////tab//sPosdataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\softtouch\\\quot\\+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab//elseif(sPosType=\\quot\\Aloha\\quot\\)//crlf////tab////tab////tab////tab////tab//sPosdataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\aloha\\\quot\\+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab//elseif(sPosType=\\quot\\Micros3700\\quot\\)//crlf////tab////tab////tab////tab////tab//sPosdataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\mic3700\\\quot\\+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab//elseif(sPosType=\\quot\\Restaurant_Manager\\quot\\)//crlf////tab////tab////tab////tab////tab//sPosdataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\restaurant_manager\\\quot\\+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab//elseif(sPosType=\\quot\\Toast\\quot\\)//crlf////tab////tab////tab////tab////tab//sPosdataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\toast\\\quot\\+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sPosDataDir=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//if(len(sPosdataDir)>0)//crlf////tab////tab////tab////tab////tab//arFiles=getMatchingFiles(sPosdataDir\\comma\\false\\comma\\false)//crlf////tab////tab////tab////tab////tab//cFiles=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//nFiles=0//crlf////tab////tab////tab////tab////tab//while(nFiles<cFiles)//crlf////tab////tab////tab////tab////tab////tab//sFilename=getElement(arFiles\\comma\\nFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//if((pos(\\quot\\.$$$\\quot\\\\comma\\sFilename)>0) or (startsWith(fileName(sFilename)\\comma\\\\quot\\ID_\\quot\\)) or (startsWith(fileName(sFilename)\\comma\\\\quot\\Processed_\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab//sFileTo=replaceSubstring(sFilename\\comma\\fileExt(sFilename)\\comma\\\\quot\\.\\quot\\+formatDate(now()\\comma\\\\quot\\MMddyyyy_HHmmss\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//fileCopy(sFilename\\comma\\sFileTo)//crlf////tab////tab////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//sResult=sResult+\\quot\\Delete: \\quot\\+sFilename+\\quot\\: \\quot\\+if(fileExists(sFilename)\\comma\\\\quot\\Error\\quot\\\\comma\\\\quot\\Ok\\quot\\)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//cDeleted++//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//nFiles++//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sResult=sResult+\\quot\\Error: Cannot get PosData directory for pos type: \\quot\\+sPosType+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab////crlf////tab////tab////tab//if(cDeleted=0)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: No files deleted\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab//return(\\quot\\Ok\\quot\\+getToken(\\quot\\br\\quot\\)+sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//disableOldPOSSetupTasks//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\disableOldPOSSetupTasks\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Removes old scheduled tasks that have been converted to actions in the//crlf////tab////tab//POS Interface container//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\disableOldPOSSetupTasks\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////see if the tasks are enabled//crlf////tab////tab////tab//b1=isTaskDefined(\\quot\\TaskScheduler\\quot\\\\comma\\\\quot\\Enable POS Packages\\quot\\)//crlf////tab////tab////tab//b2=isTaskDefined(\\quot\\TaskScheduler\\quot\\\\comma\\\\quot\\POS Setup\\quot\\)//crlf////crlf////tab////tab////tab////if tasks don't exist\\comma\\ exit//tab////tab////tab////tab////tab////crlf////tab////tab////tab//if((not(b1)) and (not(b2)))//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Old tasks already deleted\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////delete the tasks//crlf////tab////tab////tab//driverOpen(TaskScheduler\\comma\\drvTasks\\comma\\WRITE)//crlf////crlf////tab////tab////tab//r=driverFindRecordAbsolute(drvTasks\\comma\\0\\comma\\\\quot\\TaskName=\\quot\\+quote(\\quot\\Enable POS Packages\\quot\\))//crlf////tab////tab////tab//if(r>=0)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(drvTasks\\comma\\\\quot\\Used\\quot\\\\comma\\r\\comma\\false)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//r=driverFindRecordAbsolute(drvTasks\\comma\\0\\comma\\\\quot\\TaskName=\\quot\\+quote(\\quot\\POS Setup\\quot\\))//crlf////tab////tab////tab//if(r>=0)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(drvTasks\\comma\\\\quot\\Used\\quot\\\\comma\\r\\comma\\false)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverClose(drvTasks)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Removed old tasks\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//setTokensForActiveStore//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\setTokensForActiveStore\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Sets tokens for the active store.  Values are set to Undefined//crlf////tab////tab//if there is not exactly one store importing from the pos or if //crlf////tab////tab//the polling location is not set to Store.//crlf////tab////tab//------------------------------------------------------------------------------------//crlf////tab////tab//POSInterface_Result//crlf////tab////tab//POSInterface_StoreID//crlf////tab////tab//POSInterface_StoreName//crlf////tab////tab//POSInterface_StoreDir//crlf////tab////tab//POSInterface_PosType//crlf////tab////tab//POSInterface_PosDir//crlf////tab////tab//POSInterface_EnableSynch//crlf////tab////tab//POSInterface_EnableEmulation//crlf////tab////tab//POSInterface_SynchDays//crlf////tab////tab//POSInterface_TimeclockAdjustDays//crlf////tab////tab//POSInterface_Aspect7Filespecs//crlf////tab////tab//POSInterface_ImportEDIInvoices//crlf////tab////tab//POSInterface_ImportToastModifiers//crlf////tab////tab//------------------------------------------------------------------------------------//crlf////crlf////tab////tab//Additional tokens are defined by the agents for each POS package including://crlf////crlf////tab////tab//------------------------------------------------------------------------------------//crlf////tab////tab//POSExportDirs - A list of directories containing pos export files to all days in //crlf////tab////tab////tab//the synch period. (e.g. [dir]\*.*;[dir]\*.*...//crlf////tab////tab//RequiredPOSExportFiles - A list of all pos export files required in the synch period//crlf////tab////tab//POSDataDirs - List of directories under [homedir]\posdata//crlf////tab////tab//RequiredPOSDataFiles - List of all files under [homedir]\posdata for the synch period//crlf////tab////tab//------------------------------------------------------------------------------------//crlf////crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\setTokensForActiveStore\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Store\\comma\\drvStore\\comma\\WRITE)//crlf////tab////tab////tab//sFilter=\\quot\\(Used) and (Enable_POS_Import) and (not(POS_Type=0)) and (not(len(trim(Store_Directory))=0))\\quot\\//crlf////tab////tab////tab//driverSetFilter(drvStore\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvStore\\comma\\false)//crlf////tab////tab////tab//if(c=1)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_Result\\quot\\\\comma\\\\quot\\Ok: POS setup is valid\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_StoreID\\quot\\\\comma\\driverGetField(drvStore\\comma\\\\quot\\ID\\quot\\\\comma\\0))//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_StoreName\\quot\\\\comma\\driverGetField(drvStore\\comma\\\\quot\\Store_Name\\quot\\\\comma\\0))//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_StoreDir\\quot\\\\comma\\addDirSlash(driverGetField(drvStore\\comma\\\\quot\\Store_Directory\\quot\\\\comma\\0)))//crlf////crlf////tab////tab////tab////tab//sPOSType=driverGetField(drvStore\\comma\\\\quot\\POS_Type\\quot\\\\comma\\0)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_PosType\\quot\\\\comma\\sPOSType)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_PosDir\\quot\\\\comma\\addDirSlash(driverGetField(drvStore\\comma\\\\quot\\POS_Directory\\quot\\\\comma\\0)))//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_EnableSynch\\quot\\\\comma\\driverGetField(drvStore\\comma\\\\quot\\Enable_POS_Import\\quot\\\\comma\\0))//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_EnableEmulation\\quot\\\\comma\\driverGetField(drvStore\\comma\\\\quot\\Create_Aspect6_Import_Files\\quot\\\\comma\\0))//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_SynchDays\\quot\\\\comma\\driverGetField(drvStore\\comma\\\\quot\\Synch_Data_Days\\quot\\\\comma\\0))//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_TimeclockAdjustDays\\quot\\\\comma\\driverGetField(drvStore\\comma\\\\quot\\Synch_Timeclock_Days\\quot\\\\comma\\0))//crlf////crlf////tab////tab////tab////tab////determine if EDI invoices should be imported automatically//crlf////tab////tab////tab////tab//bImportEDIInvoiecs=boolean(driverGetField(drvStore\\comma\\\\quot\\Auto_Import_EDI_Invoices\\quot\\\\comma\\0))//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_ImportEDIInvoices\\quot\\\\comma\\bImportEDIInvoiecs)//crlf////crlf////tab////tab////tab////tab////determine if modifiers will be imported from toast//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_ImportToastModifiers\\quot\\\\comma\\boolean(driverGetField(drvStore\\comma\\\\quot\\Import_Toast_Modifiers\\quot\\\\comma\\0)))//crlf////crlf////tab////tab////tab////tab////get a list of all directories in the [homedir]posdata directory included in the//crlf////tab////tab////tab////tab////synch period.  Note: Pos synch tasks are created through the current day (i.e. 1-7). so//crlf////tab////tab////tab////tab////this token needs to include files for one day less than synchdays (i.e. 1-6). //crlf////tab////tab////tab////tab////This task would not want to check 0-6 because files on day 0 would not exist if it's //crlf////tab////tab////tab////tab////a new install//crlf////tab////tab////tab////tab//dt2=LastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab////tab//dt1=incrementTime(dt2\\comma\\-(value(getToken(\\quot\\POSInterface_SynchDays\\quot\\))-2))//crlf////tab////tab////tab////tab//arDate=getSetTime(dt1\\comma\\dt2\\comma\\1440*60\\comma\\\\quot\\yyyyMMdd\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\$e$\*.*\\quot\\\\comma\\char(0x2C))//crlf////crlf////tab////tab////tab////tab////get a list of all Aspect7 data files that should exist after the import//crlf////tab////tab////tab////tab////Note: may want to add salesadd.$e$.bin to the filespec//crlf////tab////tab////tab////tab//arFilespec=\\quot\\ckd.$e$.bin\\comma\\ckdadd.$e$.bin\\comma\\ckh.$e$.bin\\comma\\lbr.$e$.bin\\comma\\mix.$e$.bin\\comma\\sales.$e$.bin\\quot\\//crlf////tab////tab////tab////tab//ar=getSetFor(getToken(\\quot\\POSInterface_StoreDir\\quot\\)\\comma\\arFilespec)//crlf////tab////tab////tab////tab//ar=getSetTime(dt1\\comma\\dt2\\comma\\1440*60\\comma\\\\quot\\MM-dd-yyyy\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\ar\\comma\\char(0x3B))//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_Aspect7Filespecs\\quot\\\\comma\\replaceSubstring(ar\\comma\\char(0x2C)\\comma\\char(0x3B)))//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//if(c=0)//crlf////tab////tab////tab////tab////tab//setToken(\\quot\\POSInterface_Result\\quot\\\\comma\\\\quot\\Error: No stores with pos import enabled and a valid pos type\\quot\\)//crlf////tab////tab////tab////tab//elseif(c>1)//crlf////tab////tab////tab////tab////tab//setToken(\\quot\\POSInterface_Result\\quot\\\\comma\\\\quot\\Error: There is more than one store with pos import enabled and a valid pos type\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_StoreID\\quot\\\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_StoreName\\quot\\\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_StoreDir\\quot\\\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_PosType\\quot\\\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_PosDir\\quot\\\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_EnableSynch\\quot\\\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_EnableEmulation\\quot\\\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_SynchDays\\quot\\\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_TimeclockAdjustDays\\quot\\\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_Aspect7Filespecs\\quot\\\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_ImportEDIInvoices\\quot\\\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_ImportToastModifiers\\quot\\\\comma\\\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//driverClose(drvStore)//crlf////tab////tab////tab//return(getToken(\\quot\\POSInterface_Result\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//enablePOSPackages//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\enablePOSPackages\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Enable or disable POS packages depending on stores in the store list//crlf////tab////tab//Called by scheduled task when filespecstate of store list changes//crlf////tab////tab//Make sure that packages are enabled for all pos systems in the store list//crlf////tab////tab//Note: The package ID must use the same ID as those defined in the collection of pos names//crlf////tab////tab//and must be preceeded by POS_.  E.g. POS_Softtouch//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\enablePOSPackages\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//if (scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Aborted because an instance is already running\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////make an array of all POS systems defined in the store list//crlf////tab////tab////tab//arActivePosID=\\quot\\\\quot\\//crlf////tab////tab////tab//cMicrosE7=0//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Store\\comma\\drvStore\\comma\\WRITE)//crlf////tab////tab////tab//driverSetFilter(drvStore\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//cRecords=driverGetRecordCount(drvStore)//crlf////tab////tab////tab////appendToLog(\\quot\\enablePOSPackages: Checking POS packages for \\quot\\+cRecords+\\quot\\ stores\\quot\\)//crlf////tab////tab////tab//Cntr=0//crlf////tab////tab////tab//while (Cntr<cRecords)//crlf////tab////tab////tab////tab//strPos=driverGetField(drvStore\\comma\\\\quot\\POS_Type\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab//bEnable=driverGetField(drvStore\\comma\\\\quot\\Enable_POS_Import\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\enablePOSPackages: Cntr=\\quot\\+Cntr+\\quot\\ strPos=\\quot\\+strPos+\\quot\\ bEnable=\\quot\\+bEnable)//crlf////crlf////tab////tab////tab////tab////if it's a micros3700 system\\comma\\ enable the package even if the import is not //crlf////tab////tab////tab////tab////enabled.  This is done for systems that create the export files on one computer//crlf////tab////tab////tab////tab////but import them on another//crlf////tab////tab////tab////tab//if(strPos=\\quot\\Micros3700\\quot\\)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\enablePOSPackages: Enabling Micros3700 package\\quot\\)//crlf////tab////tab////tab////tab////tab//bEnable=true//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//if ((bEnable) and (containsElement(arActivePosID\\comma\\strPos)<0))//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\enablePOSPackages: arActivePosID1=\\quot\\+arActivePosID)//crlf////tab////tab////tab////tab////tab//arActivePosID=addElement(arActivePosID\\comma\\strPos)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\enablePOSPackages: arActivePosID2=\\quot\\+arActivePosID)//crlf////tab////tab////tab////tab////tab////if it's a softtouch pos\\comma\\ enable both pos_softtouch and pos_softtouch_dbf//crlf////tab////tab////tab////tab////tab//if(pos(\\quot\\softtouch\\quot\\\\comma\\strPos)>=0)//crlf////tab////tab////tab////tab////tab////tab//arActivePosID=addElement(arActivePosID\\comma\\\\quot\\Softtouch_Dbf\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////if it's a microsale pos\\comma\\ enable pos_soffttouch_dbf to create emulation files for Aspect6//crlf////tab////tab////tab////tab////tab//if(pos(\\quot\\microsale\\quot\\\\comma\\strPos)>=0)//crlf////tab////tab////tab////tab////tab////tab//arActivePosID=addElement(arActivePosID\\comma\\\\quot\\Softtouch_Dbf\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////if it's a micros E7 pos\\comma\\ enable pos_soffttouch_dbf to create emulation files for Aspect6//crlf////tab////tab////tab////tab////tab////also converted to softtouch dbf format for import into Aspect6//crlf////tab////tab////tab////tab////tab//if(pos(\\quot\\micros_e7\\quot\\\\comma\\strPos)>=0)//crlf////tab////tab////tab////tab////tab////tab//arActivePosID=addElement(arActivePosID\\comma\\\\quot\\Softtouch_Dbf\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//cMicrosE7=cMicrosE7 + 1//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////appendToLog(\\quot\\enablePOSPackages: arActivePosID3=\\quot\\+arActivePosID)//crlf////tab////tab////tab////tab//Cntr=Cntr + 1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(drvStore)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\enablePOSPackages: arActivePosID4=\\quot\\+arActivePosID)//crlf////crlf////tab////tab////tab////enable / disable packages//crlf////tab////tab////tab//boolRefreshPackages=false//crlf////tab////tab////tab//cEnable=0//crlf////tab////tab////tab//cDisable=0//crlf////tab////tab////tab//driverOpen(Packages_View\\comma\\drvPackage\\comma\\WRITE)//crlf////tab////tab////tab//cRecords=driverGetRecordCount(drvPackage\\comma\\true)//crlf////tab////tab////tab//Cntr=0//crlf////tab////tab////tab//while (Cntr<cRecords)//crlf////tab////tab////tab////tab//strID=driverGetFieldAbsolute(drvPackage\\comma\\\\quot\\PackageID\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\packageID=\\quot\\+strID)//crlf////tab////tab////tab////tab//if ((startsWith(strID\\comma\\\\quot\\POS_\\quot\\)) and (strID<>\\quot\\pos_generic\\quot\\))//crlf////tab////tab////tab////tab////tab//str=substring(strID\\comma\\4)//crlf////tab////tab////tab////tab////tab//boolSelected=driverGetFieldAbsolute(drvPackage\\comma\\\\quot\\Selected\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\boolSelected=\\quot\\+boolSelected)//crlf////tab////tab////tab////tab////tab//if (containsElement(arActivePosID\\comma\\str)<0)//crlf////tab////tab////tab////tab////tab////tab////disable the package//crlf////tab////tab////tab////tab////tab////tab//if (boolSelected)//crlf////tab////tab////tab////tab////tab////tab////tab//if(getToken(\\quot\\execmode\\quot\\)=\\quot\\development\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//bPlaceholder=false//crlf////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Not disabling \\quot\\+strID+\\quot\\ because in development mode\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\disabling package: \\quot\\+strID)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPackage\\comma\\\\quot\\Selected\\quot\\\\comma\\Cntr\\comma\\false)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//cDisable=cDisable + 1//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////enable the package if it's not already enabled//crlf////tab////tab////tab////tab////tab////tab//if (not(boolSelected))//crlf////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Enabling package: \\quot\\+strID)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvPackage\\comma\\\\quot\\Selected\\quot\\\\comma\\Cntr\\comma\\true)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//strDir=addDirSlash(parseTokens(driverGetFieldAbsolute(drvPackage\\comma\\\\quot\\location\\quot\\\\comma\\Cntr)))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Loading package from \\quot\\+strDir)//crlf////tab////tab////tab////tab////tab////tab////tab//reloadResource(0\\comma\\strDir+\\quot\\main.asp\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//reloadResource(1\\comma\\strDir+\\quot\\actions.asp\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//reloadResource(2\\comma\\strDir+\\quot\\menu.asp\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//reloadResource(3\\comma\\strDir+\\quot\\tokens.asp\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//reloadResource(4\\comma\\strDir+\\quot\\struct.asp\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//reloadResource(5\\comma\\strDir+\\quot\\drivers.asp\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//reloadResource(6\\comma\\strDir+\\quot\\collctn.asp\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//reloadResource(7\\comma\\strDir+\\quot\\displays.asp\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//reloadResource(8\\comma\\strDir+\\quot\\filters.asp\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//reloadResource(9\\comma\\strDir+\\quot\\dialogs.asp\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//reloadResource(10\\comma\\strDir+\\quot\\scripts.asp\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//reloadResource(11\\comma\\strDir+\\quot\\toolbar.asp\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//reloadResource(12\\comma\\strDir+\\quot\\function.asp\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//reloadResource(13\\comma\\strDir+\\quot\\tables.asp\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//reloadResource(14\\comma\\strDir+\\quot\\drivercmd.asp\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//reloadResource(15\\comma\\strDir+\\quot\\reports.asp\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//addToLoadedPackages(strID)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//cEnable=cEnable + 1//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//Cntr=Cntr + 1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(drvPackage)//crlf////crlf////tab////tab////tab//if (boolRefreshPackages)//crlf////tab////tab////tab////tab//refreshPackages()//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////if a Micros E7 system was found\\comma\\ create tasks to archive data each day//crlf////tab////tab////tab//if(cMicrosE7>0)//crlf////tab////tab////tab////tab//getWidget(\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Interface - Micros E7//amp//ContainerItemID=AspectScript//amp//query=createMicrosE7POSArchiveTask\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Enabled: \\quot\\+cEnable+\\quot\\ Disabled: \\quot\\+cDisable)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//executePOSSetupScripts//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\executePOSSetupScripts\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Calls setupPOS in each POS package to perform any setup required by the POS interface//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\executePOSSetupScripts\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab//driverOpen(Packages_View\\comma\\drvPackage\\comma\\WRITE)//crlf////tab////tab////tab//sFilter=\\quot\\pos(\\quot\\+quote(\\quot\\POS_\\quot\\)+char(0x2C)+\\quot\\PackageID\\quot\\+\\quot\\)\\quot\\+char(0x3E)+\\quot\\=0\\quot\\//crlf////tab////tab////tab//driverSetFilter(drvPackage\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//cUpdated=0//crlf////tab////tab////tab//c=driverGetRecordCount(drvPackage)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sPackageID=driverGetField(drvPackage\\comma\\\\quot\\PackageID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if((startsWith(sPackageID\\comma\\\\quot\\POS\\quot\\)) and (isPackageLoaded(sPackageID)))//crlf////tab////tab////tab////tab////tab//sScriptID=sPackageID+\\quot\\_setupPOS\\quot\\//crlf////tab////tab////tab////tab////tab//if(isScriptDefined(sScriptID))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Aspect_BackOffice_setupPOS: Executing: \\quot\\+sScriptID)//crlf////tab////tab////tab////tab////tab////tab//sResult=scriptExec(sScriptID\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//cUpdated=cUpdated + 1//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(drvPackage)//crlf////crlf////tab////tab////tab//if(cUpdated=0)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\No POS packages found to update\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//synchPOSData//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\synchPOSData\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Synchronizes data for a specific datatype and date//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of store//crlf////tab////tab//Date - Date to be synchronized (MM-dd-yyyy)//crlf////tab////tab//Datatype - Datatype from the Aspect_BackOffice_POS_Data_Types collection//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\synchPOSData\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////abort if missing store ID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Store ID\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////abort if missing date//crlf////tab////tab////tab//if(undefined(\\quot\\__Date__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing datatype//crlf////tab////tab////tab//if(undefined(\\quot\\__DataType__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing datatype\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab////tab//sDate=\\quot\\__Date__\\quot\\//crlf////tab////tab////tab//sDataType=\\quot\\__DataType__\\quot\\//crlf////crlf////tab////tab////tab////get the pos type and widget used to open the pos driver//crlf////tab////tab////tab//sPosType=lookup(Aspect_BackOffice_POS_Type_by_Store_ID\\comma\\sStoreID)//crlf////tab////tab////tab//sPosContainerName=lookup(Aspect_BackOffice_POS_Synch_Container_Name\\comma\\sPOSType)//crlf////tab////tab////tab//appendToLog(\\quot\\synchPOSData: POSType=\\quot\\+sPosType)//crlf////crlf////tab////tab////tab////delete any processed files.  This is done in particular to pick up timeclock adjustments //crlf////tab////tab////tab////for Aloha//crlf////tab////tab////tab//if(sPosType=\\quot\\aloha\\quot\\)//crlf////tab////tab////tab////tab//syyyyMMdd=formatDate(\\quot\\__Date__\\quot\\\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab//if(sDataType=\\quot\\timeclock\\quot\\)//crlf////tab////tab////tab////tab////tab//fileDelete(gettoken(\\quot\\homedir\\quot\\)+\\quot\\posdata\aloha\\\quot\\+syyyyMMdd+\\quot\\\Processed_Timeclock.csv\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//if(sDataType=\\quot\\check_details\\quot\\)//crlf////tab////tab////tab////tab////tab//fileDelete(gettoken(\\quot\\homedir\\quot\\)+\\quot\\posdata\aloha\\\quot\\+syyyyMMdd+\\quot\\\Processed_CheckDetails.csv\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//if(sDataType=\\quot\\check_headers\\quot\\)//crlf////tab////tab////tab////tab////tab//fileDelete(gettoken(\\quot\\homedir\\quot\\)+\\quot\\posdata\aloha\\\quot\\+syyyyMMdd+\\quot\\\Processed_CheckHeaders.csv\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//if(sDataType=\\quot\\sales_mix\\quot\\)//crlf////tab////tab////tab////tab////tab//fileDelete(gettoken(\\quot\\homedir\\quot\\)+\\quot\\posdata\aloha\\\quot\\+syyyyMMdd+\\quot\\\Processed_SalesMix.csv\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the pos driver//crlf////tab////tab////tab//sParams=\\quot\\Action=openDriver//amp//DataType=\\quot\\+sDataType+\\quot\\//amp//StoreID=\\quot\\+sStoreID+\\quot\\//amp//Date=\\quot\\+sDate+\\quot\\//amp//OpenDriver=true\\quot\\//crlf////tab////tab////tab//s=trim(gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\sPosContainerName\\comma\\\\quot\\open_driver\\quot\\\\comma\\sParams))//crlf////tab////tab////tab//iPosDriverStatus=getElementValue(s\\comma\\\\quot\\status\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//if(iPosDriverStatus=1)//crlf////tab////tab////tab////tab////Data is available from the POS//crlf////tab////tab////tab////tab//sDriverName=getElementValue(s\\comma\\Driver\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab////tab////get store directory\\comma\\ business date and destination filename//crlf////tab////tab////tab////tab//sStoreDir=getStoreDir(sStoreID)//crlf////tab////tab////tab////tab//sDestFilename=sStoreDir + replaceSubstring(lookup(Aspect_BackOffice_Data_Type_Associated_Filenames\\comma\\sDataType)\\comma\\\\quot\\$date$\\quot\\\\comma\\sDate)//crlf////crlf////tab////tab////tab////tab////synchronize the data//crlf////tab////tab////tab////tab//sParams=\\quot\\Action=synch//amp//DataType=\\quot\\+sDataType+\\quot\\//amp//PosDriver=\\quot\\+sDriverName+\\quot\\//amp//DestFile=\\quot\\+sDestFilename+\\quot\\//amp//StoreID=\\quot\\+sStoreID+\\quot\\//amp//BusinessDate=\\quot\\+sDate//crlf////tab////tab////tab////tab//sResult=gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\pos interface\\quot\\\\comma\\\\quot\\General\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////close the pos driver//crlf////tab////tab////tab////tab//driverClose(sDriverName)//crlf////tab////tab////tab//elseif (iPosDriverStatus=0)//crlf////tab////tab////tab////tab////datatype is supported but data is not available//crlf////tab////tab////tab////tab//sResult=\\quot\\Error: Data is not available from the POS system\\quot\\//crlf////tab////tab////tab//elseif (iPosDriverStatus=-1)//crlf////tab////tab////tab////tab////datatype is not supported by the pos//crlf////tab////tab////tab////tab//sResult=\\quot\\Error: Data is not supported for the POS system\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//synchPastPOSData//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\synchPastPOSData\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Synchronizes POS data for a range of dates and datatypes//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - ID of store//crlf////tab////tab//From - Starting date (MM-dd-yyyy)//crlf////tab////tab//To - Ending date (MM-dd-yyyy)//crlf////tab////tab//DataType - Comma-delimited list of datatypes to be synched.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\synchPastPOSData\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\synchPastPOSData From: __From__ To: __To__ StoreID: __StoreID__ DataType: __DataType__\\quot\\)//crlf////crlf////tab////tab////tab////abort if another instance is already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Aborted because another instance is running\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing From//crlf////tab////tab////tab//if(undefined(\\quot\\__From__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing From\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing To//crlf////tab////tab////tab//if(undefined(\\quot\\__To__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing To\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DataType//crlf////tab////tab////tab//if(undefined(\\quot\\__DataType__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DataType\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//dtFrom=parseTime(\\quot\\__From__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dtTo=parseTime(\\quot\\__To__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////crlf////tab////tab////tab////abort if dtTo is less than dtfrom//crlf////tab////tab////tab//if(dtTo<dtFrom)//crlf////tab////tab////tab////tab//return(\\quot\\Invalid date range: From: __From__ To: __To__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////import the data//crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//dt=dtFrom//crlf////tab////tab////tab//while(dt<=dtTo)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\dt=\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//cDataType=getElementCount(\\quot\\__DataType__\\quot\\)//crlf////tab////tab////tab////tab//nDataType=0//crlf////tab////tab////tab////tab//while(nDataType<cDataType)//crlf////tab////tab////tab////tab////tab//sDataType=getElement(\\quot\\__DataType__\\quot\\\\comma\\nDataType)//crlf////tab////tab////tab////tab////tab//sParams=\\quot\\StoreID=__StoreID__//amp//Date=\\quot\\+formatDate(Dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\//amp//DataType=\\quot\\+sDataType//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Calling synchPOSData Params: \\quot\\+sParams)//crlf////tab////tab////tab////tab////tab//s=execAgentAction(\\quot\\synchPOSData\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////tab////tab//sResult=sResult+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\: \\quot\\+sDataType+\\quot\\: \\quot\\+s+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab//nDataType++//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(pos(\\quot\\Error\\quot\\\\comma\\sResult)<0)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: \\quot\\+sResult)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//return(\\quot\\Error: \\quot\\+sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=325442|X=183|Y=610|W=149|H=83|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=865472|AgentChildNoNode=|AgentSensor=0|AgentAction=executePOSSetupScripts|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Execute POS Setup script|AgentNodeTermType=0|^
ID=450593|X=183|Y=476|W=149|H=83|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=325442|AgentChildNoNode=|AgentSensor=0|AgentAction=enablePOSPackages|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Enable POS Packages|AgentNodeTermType=0|^
ID=510889|X=183|Y=342|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=450593|AgentChildNoNode=|AgentSensor=0|AgentAction=setTokensForActiveStore|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Set tokens for active store|AgentNodeTermType=0|^
ID=861987|X=300|Y=126|W=900|H=592|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false -->//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\POSID\\quot\\\\comma\\\\quot\\__POSID__\\quot\\\\comma\\getToken(\\quot\\POSInterface_PosType\\quot\\))>//crlf////crlf//<conditional expression:(false) and (undefined(\\quot\\__action__\\quot\\))>//crlf////tab//<div style=\\quot\\width:100px;height:100px\\quot\\></div>//crlf//</conditional>//crlf////crlf//<conditional expression:(undefined(\\quot\\__action__\\quot\\)) or (\\quot\\__action__\\quot\\=\\quot\\getPOSInterfaceInfo\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf////tab//<div style=\\quot\\width:100\\percent\\;max-width:800px\\quot\\>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//General//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=General\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\POS Interface\\quot\\; containerItemID:\\quot\\861987\\quot\\; params:\\quot\\action=General\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab//<conditional expression:false>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//POS Interface Tasks//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__chapter//amp//Section=POS Interface Tasks\\quot\\;>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\POS Interface\\quot\\; containerItemID:\\quot\\861987\\quot\\; params:\\quot\\action=POSInterfaceTasks\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//POS Synchronization Tasks//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__chapter//amp//Section=POS Synchronization Tasks\\quot\\;>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\POS Interface\\quot\\; containerItemID:\\quot\\861987\\quot\\; params:\\quot\\action=POSSynchronizationTasks\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//POS Emulation Tasks//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__chapter//amp//Section=POS Emulation Tasks\\quot\\;>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\POS Interface\\quot\\; containerItemID:\\quot\\861987\\quot\\; params:\\quot\\action=POSEmulationTasks\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab//</conditional>//crlf////tab////tab////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Required POS Export Files//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__chapter//amp//Section=Required POS Files\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\POS Interface\\quot\\; containerItemID:\\quot\\861987\\quot\\; params:\\quot\\action=getRequiredPOSFiles\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filespecs//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__chapter//amp//Section=Filespecs\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\POS Interface\\quot\\; containerItemID:\\quot\\861987\\quot\\; params:\\quot\\action=Filespecs\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Collections//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__chapter//amp//Section=Collections\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\POS Interface\\quot\\; containerItemID:\\quot\\861987\\quot\\; params:\\quot\\action=Collections\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Drivers//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__chapter//amp//Section=Drivers\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\POS Interface\\quot\\; containerItemID:\\quot\\861987\\quot\\; params:\\quot\\action=drivers\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Include: General//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\general\\quot\\)>//crlf////tab//<table>//crlf////tab////tab//<tr><td>Result</td><td>{POSInterface_Result}</td></tr>//crlf////tab////tab//<tr><td>Store ID</td><td>{POSInterface_StoreID}</td></tr>//crlf////tab////tab//<tr><td>Store Name</td><td>{POSInterface_StoreName}</td></tr>//crlf////tab////tab//<tr><td>Store Directory</td><td>{POSInterface_StoreDir}</td></tr>//crlf////tab////tab//<tr><td>POS Type</td><td>{POSInterface_PosType}</td></tr>//crlf////tab////tab//<tr><td>POS Directory</td><td>{POSInterface_PosDir}</td></tr>//crlf////tab////tab//<tr><td>Enable Synch</td><td>{POSInterface_EnableSynch}</td></tr>//crlf////tab////tab//<tr><td>Enable Emulation</td><td>{POSInterface_EnableEmulation}</td></tr>//crlf////tab////tab//<tr><td>Synch Days</td><td>{POSInterface_SynchDays}</td></tr>//crlf////tab//</table>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Include: POSInterfaceTasks//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\POSInterfaceTasks\\quot\\)>//crlf////tab//<div style=\\quot\\width:100\\percent\\;background-color:white;border:none\\quot\\>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\__salt__posinterface\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\TASKSCHEDULER_STATUS\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\KeyExpression=DriverID+TaskName~~pipe~~CacheTtl=0~~pipe~~Metadata=TASKSCHEDULER_STATUS\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//_fields: \\quot\\TaskName\\comma\\Last_Run\\comma\\Duration\\comma\\Last_Action\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\TaskName\\comma\\Run_Task\\comma\\Last_Run\\comma\\Duration\\comma\\Last_Action\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\TaskName\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\((DriverID='Widget_Library_Metadata') or (DriverID='TaskScheduler')) and ((pos('POS'\\comma\\Category1)>=0) or (pos('POS'\\comma\\Category2)>=0) or ('Task Name'='Aspect6 Check For POS Import'))\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\float:left;width:100\\percent\\;padding:0px 0px 10px 0px\\quot\\;//crlf////tab////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Include: POSSynchronizationTasks//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\POSSynchronizationTasks\\quot\\)>//crlf////tab//<div style=\\quot\\width:100\\percent\\\\quot\\>//crlf////tab////tab//<!-- This was for debugging.  If gets info from the makeScrollingTable() function.//crlf////tab////tab////tab//<div ID=\\quot\\__salt__synchtasksinfo\\quot\\>Info: </div>//crlf////tab////tab//-->//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\__salt__synchtasks\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\TASKSCHEDULER_STATUS\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\KeyExpression=DriverID+TaskName~~pipe~~CacheTtl=0~~pipe~~Metadata=TASKSCHEDULER_STATUS\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//_fields: \\quot\\TaskName\\comma\\Last_Run\\comma\\Duration\\comma\\Last_Action\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\TaskName\\comma\\Last_Run\\comma\\Duration\\comma\\Last_Action\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\TaskName\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\(DriverID=Aspect_Back_Office_Pos_Synch)\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\100px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Include: POSEmulationTasks//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\POSEmulationTasks\\quot\\)>//crlf////tab//<div style=\\quot\\height:auto;max-height:200px;overflow:auto\\quot\\>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\TASKSCHEDULER_STATUS\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\KeyExpression=DriverID+TaskName~~pipe~~CacheTtl=0~~pipe~~Metadata=TASKSCHEDULER_STATUS\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\TaskName\\comma\\Last_Run\\comma\\Duration\\comma\\ Last_Action\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\TaskName\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\DriverID=Aspect_Back_Office_POS_Emulation_Tasks\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Include: getRequiredPOSFiles//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\getRequiredPOSFiles\\quot\\)>//crlf////tab//<!include //crlf////tab////tab//type:widget; //crlf////tab////tab//server:{AspectHashID}; //crlf////tab////tab//secure:true; //crlf////tab////tab//documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; //crlf////tab////tab//widget:\\quot\\Notification Container\\quot\\; //crlf////tab////tab//containerItemID:\\quot\\208861\\quot\\; //crlf////tab////tab//params:\\quot\\query=getDirectoryListing//amp//Filespec={RequiredPOSExportFiles}//amp//Display=Files by Directory / Name\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\_getRequiredPOSFiles\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//arFiles=replaceSubstring(getToken(\\quot\\RequiredPOSExportFiles\\quot\\)\\comma\\char(0x3B)\\comma\\char(0x2C))//crlf////tab////tab//d=\\quot\\__salt__POSExportDirs\\quot\\//crlf////tab////tab//sDriverParams=\\quot\\keyexpression=Filename~~pipe~~CacheTtl=0~~pipe~~Metadata=GREENLIGHT_GENERIC_FILE_LIST\\quot\\//crlf////tab////tab//driverOpen(GreenLight_Generic_File_List\\comma\\d\\comma\\WRITE\\comma\\true\\comma\\sDriverParams)//crlf////tab////tab//c=getElementCount(arFiles)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab//s=getElement(arFiles\\comma\\n)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Filename\\quot\\\\comma\\r\\comma\\s)//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////tab//\\quot\\>//crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\__salt__POSExportDirs\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab//dispose: \\quot\\true\\quot\\;//crlf////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\Filename\\comma\\Size\\comma\\Modified\\quot\\;//crlf////tab////tab//sort: \\quot\\Section_Header_By_Directory_Collapsed\\comma\\Filename\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\GREENLIGHT_GENERIC_FILE_LISTDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\false\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Include: Filespecs//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\Filespecs\\quot\\)>//crlf////tab//<div class=\\quot\\filespec\\quot\\>//crlf////tab////tab//<h1>POS Export Directories [POSExportDirs]</h1>//crlf////tab////tab//<div class=\\quot\\filespec_contents\\quot\\>//crlf////tab////tab////tab//<!include type:expression;expression:replaceSubstring(getToken(\\quot\\POSExportDirs\\quot\\)\\comma\\char(0x3B)\\comma\\getToken(\\quot\\br\\quot\\))>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////tab//<div class=\\quot\\filespec\\quot\\>//tab////crlf////tab////tab//<h1>Required POS Export Files [RequiredPOSExportFiles]</h1>//crlf////tab////tab//<div class=\\quot\\filespec_contents\\quot\\>//crlf////tab////tab////tab//<!include type:expression;expression:replaceSubstring(getToken(\\quot\\RequiredPOSExportFiles\\quot\\)\\comma\\char(0x3B)\\comma\\getToken(\\quot\\br\\quot\\))>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////tab//<div class=\\quot\\filespec\\quot\\>//crlf////tab////tab//<h1>POS Data Directories [POSDataDirs]</h1>//crlf////tab////tab//<div class=\\quot\\filespec_contents\\quot\\>//crlf////tab////tab////tab//<!include type:expression;expression:replaceSubstring(getToken(\\quot\\POSDataDirs\\quot\\)\\comma\\char(0x3B)\\comma\\getToken(\\quot\\br\\quot\\))>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////tab//<div class=\\quot\\filespec\\quot\\>//tab////crlf////tab////tab//<h1>Required POS Data Files [RequiredPOSDataFiles]</h1>//crlf////tab////tab//<div class=\\quot\\filespec_contents\\quot\\>//crlf////tab////tab////tab//<!include type:expression;expression:replaceSubstring(getToken(\\quot\\RequiredPOSDataFiles\\quot\\)\\comma\\char(0x3B)\\comma\\getToken(\\quot\\br\\quot\\))>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////tab//<div class=\\quot\\filespec\\quot\\>//tab////crlf////tab////tab//<h1>Files in POSData direcories</h1>//crlf////tab////tab//<div class=\\quot\\filespec_contents\\quot\\>//crlf////tab////tab////tab//<!include type:expression;expression:replaceSubstring(getMatchingFiles(getToken(\\quot\\POSDataDirs\\quot\\)\\comma\\false\\comma\\false\\comma\\0\\comma\\\\quot\\\\quot\\)\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\getToken(\\quot\\br\\quot\\))>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Resource - Collections//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\collections\\quot\\)>//crlf////tab//<script ID=\\quot\\JSPOSCollections\\quot\\>//crlf////tab////tab//function refreshPOSInterfaceCollections(salt) {//crlf////tab////tab////tab//var sPOSID=document.getElementById(salt+\\quot\\SelectPOS\\quot\\).value;//crlf////tab////tab////tab//var e=document.getElementById(\\quot\\CollectionsContainr\\quot\\+salt);//crlf////tab////tab////tab//var sUrl=e.getAttribute(\\quot\\_url\\quot\\) + \\quot\\//amp//PackageID=POS_\\quot\\+sPOSID;//crlf////tab////tab////tab//e.setAttribute(\\quot\\URL\\quot\\\\comma\\sUrl);//crlf////tab////tab////tab//setInterval(e\\comma\\0\\comma\\true);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\POSID\\quot\\\\comma\\\\quot\\__POSID__\\quot\\\\comma\\getToken(\\quot\\POSInterface_PosType\\quot\\))>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//s=\\quot\\ID='__salt__SelectPOS' onChange=\\quot\\+quote(\\quot\\refreshPOSInterfaceCollections('__salt__')\\quot\\)//crlf////tab////tab//scriptSetResult(htmlSelect(Aspect_BackOffice_POS_Names\\comma\\\\quot\\SelectPOS\\quot\\\\comma\\\\quot\\__POSID__\\quot\\\\comma\\s\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\))//crlf////tab//\\quot\\>//crlf////crlf////tab//<span class=\\quot\\refresh\\quot\\ onclick=\\quot\\refreshPOSInterfaceCollections('__salt__')\\quot\\></span>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//he URL inthis dv is used to refresh the content when the POS selection changs//crlf////tab//and when the refresh icon is clicked//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div //crlf////tab////tab//ID=\\quot\\CollectionsContainr__salt__\\quot\\//crlf////tab////tab//interval='-1' //crlf////tab////tab//style='width:100\\percent\\;' //crlf////tab////tab//_url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab////tab//ID=getWidget//amp////crlf////tab////tab////tab//source=//amp////crlf////tab////tab////tab//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp////crlf////tab////tab////tab//Widget=Resources//amp////crlf////tab////tab////tab//ContainerItemID=257628//amp////crlf////tab////tab////tab//BaseFilter=startsWith(Aspect_Collections_Category\\comma\\'POS Interface')\\quot\\//crlf////tab////tab//>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This include tag is used to load the content.  An interval could be used in//crlf////tab////tab//the URL above but there would be a delay//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include //crlf////tab////tab////tab//type:widget; //crlf////tab////tab////tab//server:{AspectHashID}; //crlf////tab////tab////tab//secure:true; //crlf////tab////tab////tab//documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; //crlf////tab////tab////tab//widget:\\quot\\Resources\\quot\\; //crlf////tab////tab////tab//containerItemID:\\quot\\257628\\quot\\; //crlf////tab////tab////tab//params:\\quot\\Action=getContent~~pipe~~PackageID=POS___POSID__~~pipe~~BaseFilter=startsWith(Aspect_Collections_Category\\comma\\'POS Interface')\\quot\\;>//tab////tab////crlf////tab//</div> //crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Resource - Drivers//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\drivers\\quot\\)>//crlf////tab//<script ID=\\quot\\JSPOSDrivers\\quot\\>//crlf////tab////tab//function refreshPOSInterfaceDrivers(salt) {//crlf////tab////tab////tab//var sPOSID=document.getElementById(salt+\\quot\\SelectPOS\\quot\\).value;//crlf////tab////tab////tab//var s=document.getElementById(salt+\\quot\\SelectDriverDate\\quot\\).value;//crlf////tab////tab////tab//var sDate=s.substring(5)+\\quot\\-\\quot\\+s.substring(0\\comma\\4);//crlf////tab////tab////tab//var sPOSDataDir=sPOSID;//crlf////crlf////tab////tab////tab//if(sPOSID.equalsIgnoreCase(\\quot\\SoftTouch\\quot\\)) sPOSID=\\quot\\SoftTouch_DBF\\quot\\;//crlf////tab////tab////tab//if(sPOSID.equalsIgnoreCase(\\quot\\Micros3700\\quot\\)) sPOSDataDir=\\quot\\mic3700\\quot\\;//crlf////crlf////tab////tab////tab//var sDir=\\quot\\{homedir}posdata\\\\quot\\+sPOSDataDir+\\quot\\\\\\quot\\+sDate.substring(6).trim()+sDate.substring(0\\comma\\2)+sDate.substring(3\\comma\\5)+\\quot\\\\\\quot\\;//crlf////tab////tab////tab//var e=document.getElementById(\\quot\\DriversContainer\\quot\\+salt);//crlf////tab////tab////tab//var sUrl=e.getAttribute(\\quot\\_url\\quot\\) + \\quot\\//amp//PackageID=POS_\\quot\\+sPOSID+\\quot\\//amp//Date=\\quot\\+sDate+\\quot\\//amp//Dir=\\quot\\+sDir;//crlf////tab////tab////tab//e.setAttribute(\\quot\\URL\\quot\\\\comma\\sUrl);//crlf////tab////tab////tab//setInterval(e\\comma\\0\\comma\\true);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Set default POS selection and date//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\POSID\\quot\\\\comma\\\\quot\\__POSID__\\quot\\\\comma\\getToken(\\quot\\POSInterface_PosType\\quot\\))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Date\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\formatDate(LastBusinessDay()\\comma\\\\quot\\MM-dd-yyyy\\quot\\))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Dir\\quot\\\\comma\\\\quot\\__Dir__\\quot\\\\comma\\getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\\\quot\\+getToken(\\quot\\POSInterface_PosType\\quot\\)+\\quot\\\\\quot\\+formatDate(LastBusinessDay()\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\\\\quot\\)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Select box for POS selection//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////s=\\quot\\ID='__salt__SelectPOS' onChange=\\quot\\+quote(\\quot\\refreshPOSInterfaceDrivers('__salt__')\\quot\\)//crlf////tab////tab//s=\\quot\\ID='__salt__SelectPOS'\\quot\\//crlf////tab////tab//scriptSetResult(htmlSelect(Aspect_BackOffice_POS_Names\\comma\\\\quot\\SelectPOS\\quot\\\\comma\\\\quot\\__POSID__\\quot\\\\comma\\s\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\))//crlf////tab//\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Date input//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<input type=\\quot\\date\\quot\\ Name=\\quot\\__salt__SelectDriverDate\\quot\\ ID=\\quot\\__salt__SelectDriverDate\\quot\\ value=\\quot\\{@formatDate(\\quot\\__Date__\\quot\\\\comma\\\\quot\\yyyy-MM-dd\\quot\\)}\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Refresh button//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<span class=\\quot\\refresh\\quot\\ onclick=\\quot\\refreshPOSInterfaceDrivers('__salt__')\\quot\\></span>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//the URL in this div is used to refresh the content when the POS selection changes//crlf////tab//and when the refresh icon is clicked//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div //crlf////tab////tab//ID=\\quot\\DriversContainer__salt__\\quot\\//crlf////tab////tab//style='width:100\\percent\\;' //crlf////tab////tab//_url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab////tab//ID=getWidget//amp////crlf////tab////tab////tab//source={AspectHashID}//amp////crlf////tab////tab////tab//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp////crlf////tab////tab////tab//Widget=Resources//amp////crlf////tab////tab////tab//ContainerItemID=79710//amp////crlf////tab////tab////tab//BaseFilter=gt(value(left(Aspect_Driver_Category\\comma\\1))\\comma\\0\\comma\\'N')//amp////crlf////tab////tab////tab//Display=Notes by Category / Name\\quot\\//crlf////tab////tab//>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This include tag is used to load the content.  An interval could be used in//crlf////tab////tab//the URL above but there would be a delay//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This include tag has been disabled since the pos type may not be initialized.//crlf////tab////tab//The content will be displayed when the refresh icon is clicked.//crlf////tab////tab//< !include //crlf////tab////tab////tab//type:widget; //crlf////tab////tab////tab//server:{AspectHashID}; //crlf////tab////tab////tab//secure:true; //crlf////tab////tab////tab//documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; //crlf////tab////tab////tab//widget:\\quot\\Resources\\quot\\; //crlf////tab////tab////tab//containerItemID:\\quot\\79710\\quot\\; //crlf////tab////tab////tab//params:\\quot\\PackageID=POS___POSID__~~pipe~~Display=Notes by Category / Name~~pipe~~BaseFilter=gt(value(left(Aspect_Driver_Category\\comma\\1))\\comma\\0\\comma\\'N')~~pipe~~Date=__Date__~~pipe~~Dir=__Dir__\\quot\\;>//tab////tab////crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab//</div> //crlf//</conditional>//crlf////crlf//__servertimerresults__^
ID=625216|X=183|Y=208|W=149|H=81|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=510889|AgentChildNoNode=|AgentSensor=0|AgentAction=disableOldPOSSetupTasks|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Delete old tasks|AgentNodeTermType=0|^
ID=846879|X=300|Y=126|W=965|H=626|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=css|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=div.filespec {width:300px;float:left;border;margin-right:10px}//crlf//div.filespec_contents {white-space:nowrap;height:150px;overflow:auto;border:1px solid black}//crlf////tab////crlf//
</widget><widget name="POS Interface - SoftTouch DBF" group="POS Interface" category="Softtouch" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Softtouch Dbf" modified="11-04-2024 19:04:07" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=06-08-2024 20:25:53:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=185|toolboxy=385|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=HSI Merge.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=open_driver|X=300|Y=126|W=1039|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\openDriver\\apos\\)\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - SoftTouch openDriver __datatype__\\quot\\; commands:\\quot\\//crlf////tab////tab//////crlf////tab////tab////SoftTouch POS DBF Interface//crlf////tab////tab//////crlf////tab////tab////This script opens a driver to read pos data for the given StoreID\\comma\\ DataType and Date.  //crlf////tab////tab////The return value is a pipe-delimited string in the form Status=n~~pipe~~Driver=DriverName~~pipe~~Modified=MM-dd-yyyy HH:mm:ss~~pipe~~Size=nnn//crlf////tab////tab////Status is -1=not valid\\comma\\ 0=valid but not available\\comma\\ 1=valid and available//crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//DataType - The ID of one of the datatypes defined in the Aspect_BackOffice_POS_Data_Types collection//crlf////tab////tab//////tab//Date//tab// - A single date in the form MM-dd-yyyy//crlf////tab////tab//////tab//OpenDriver - If false\\comma\\ the driver will not be opened but the expression used to test for data will be returned.//crlf////tab////tab//////tab////tab////tab////tab//  This is used when adding tasks to the pos synch driver.//crlf////tab////tab//////tab//Debug - If true\\comma\\ outputs debugging information to the log//crlf////tab////tab//////crlf////tab////tab////Returns a string in the form://crlf////tab////tab//////tab//status=n~~pipe~~Driver=drivername~~pipe~~modified=mm-dd-yyyy HH:mm:ss~~pipe~~size=nnn~~pipe~~DataAvailable=Expression~~pipe~~DataState=expression//crlf////tab////tab//////crlf////tab////tab////Status is 1 on success or 0 if the data is not available.  Status is -1 if the datatype is not supported for the POS.//crlf////tab////tab////Modified is the date/time the data was last modified//crlf////tab////tab////Size is the number of records available (NOT the file size)//crlf////tab////tab//////crlf////tab////tab////DataAvailable is an expression returned to test whether pos data is available or not.  It is used when//crlf////tab////tab////processing the synch tasks to avoid making calls to synchronize data when the pos data is not available.//crlf////tab////tab//////crlf////tab////tab////DataState is an expression used to create a state value for the pos data.  It is generally a getFileSpecState//crlf////tab////tab////function.  This is used to determine when a synch task needs to be run because the pos data has been//crlf////tab////tab////modified//crlf////crlf////tab////tab//bDebug=(true) or (\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab////crlf////tab////tab//bOpenDriver=if(startsWith(\\quot\\__OpenDriver__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\false\\comma\\boolean(\\quot\\__OpenDriver__\\quot\\))//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - SoftTouch DBF - OpenDriver __datatype__ __date__ __StoreID__ OpenDriver=\\quot\\\\plus\\bOpenDriver)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////get driver ID//crlf////tab////tab//sDriverID=lookup(POS_SoftTouch_DBF_Associated_Driver_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\POS Interface - SoftTouch DBF - OpenDriver sDriverID=\\quot\\\\plus\\sDriverID)//crlf////tab////tab//if(sDriverID=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\POS Interface - Softtouch DBF returns \\quot\\\\plus\\s\\plus\\\\quot\\ because driver for datatype (__datatype__) is not defined\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get business date//crlf////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////crlf////tab////tab////get the POSData directory//crlf////tab////tab//sPOSDataDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata/SoftTouch/\\quot\\\\plus\\formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\/\\quot\\//crlf////crlf////tab////tab////get a name for the system driver that will be returned and set the params that will be passed to the driver//crlf////tab////tab//sDriverName=\\quot\\__datatype___\\quot\\\\plus\\getSalt(8)//crlf////tab////tab//sDriverParams=\\quot\\DataType=__DataType__~~pipe~~StoreID=__StoreID__~~pipe~~date=__date__\\quot\\//crlf////tab////tab//appendToLog(\\quot\\sDriverName=\\quot\\\\plus\\sDriverName\\plus\\\\quot\\ sDriverParams=\\quot\\\\plus\\sDriverParams)//crlf////tab////tab////crlf////tab////tab////Revenue centers are hardwired in Softtouch.  Prepare and return a binary buffer.//crlf////tab////tab//if(\\quot\\__datatype__\\quot\\=\\quot\\id_revenue_centers\\quot\\)//crlf////crlf////tab////tab////tab////just return the DataAvailable and DataState expressions if OpenDriver is false//crlf////tab////tab////tab//if(not(bOpenDriver))//crlf////tab////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~modified=~~pipe~~size=6~~pipe~~DataAvailable=true~~pipe~~DataState=__Date__\\quot\\//crlf////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////pass the filename argument even though it\\apos\\s a binary buffer so the driver will open without//crlf////tab////tab////tab////using the scriptDriver argument in the driver\\apos\\s source//crlf////tab////tab////tab//driverOpen(sDriverID\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\sDriverParams\\plus\\\\quot\\~~pipe~~Filename=\\quot\\)//crlf////tab////tab////tab//arName=\\quot\\Counter\\comma\\Takeout\\comma\\Dining\\comma\\Bar\\comma\\Delivery\\comma\\Drivethru\\quot\\//crlf////tab////tab////tab//c=getElementCount(arName)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(sDriverName)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(sDriverName\\comma\\\\quot\\Number\\quot\\\\comma\\r\\comma\\n)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(sDriverName\\comma\\\\quot\\Name\\quot\\\\comma\\r\\comma\\getElement(arName\\comma\\n))//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverSetFilter(sDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=\\quot\\\\plus\\sDriverName\\plus\\\\quot\\~~pipe~~modified=\\quot\\\\plus\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)\\plus\\\\quot\\~~pipe~~size=10~~pipe~~DataAvailable=true~~pipe~~DataState=true\\quot\\//crlf////tab////tab////tab////appendToLog(\\quot\\POS Interface - Softtouch openDriver returns \\quot\\\\plus\\s\\plus\\\\quot\\ (\\quot\\\\plus\\driverGetRecordCount(sDriverName)\\plus\\\\quot\\ records)\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get the name of the POS export file used to determine if data is available.  This will also be the filename//crlf////tab////tab////passed to the driver unless the file will be processed to create a new file//crlf////tab////tab//sPOSExportFilename=sPOSDataDir\\plus\\lookup(POS_SoftTouch_DBF_Associated_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - SoftTouch DBF - sPOSExportFilename=\\quot\\\\plus\\sPOSExportFilename)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////abort if the POS export file is undefined//crlf////tab////tab//if((len(sPOSExportFilename)=0) or (pos(\\quot\\undefined\\quot\\\\comma\\sPOSExportFilename)>=0))//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Error: POS Interface - Softtouch returns \\quot\\\\plus\\s\\plus\\\\quot\\ because pos export file not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////Get the data available and state expressions//crlf////tab////tab//sDataAvailableExpression=\\quot\\fileExists(\\quot\\\\plus\\quote(sPOSExportFilename)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab//sDataStateExpression=\\quot\\gfs(\\quot\\\\plus\\quote(sPOSExportFilename)\\plus\\\\quot\\)\\quot\\//crlf////crlf////tab////tab////just return the DataAvailable and DataState expressions if OpenDriver is false//crlf////tab////tab//if(not(bOpenDriver))//crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\\\plus\\sDataAvailableExpression\\plus\\\\quot\\~~pipe~~DataState=\\quot\\\\plus\\sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\openDriver returns[1] \\quot\\\\plus\\s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get the filename that will be passed to the driver.  This will change if the file is processed below//crlf////tab////tab//sFilename=sPOSExportFilename//crlf////crlf////tab////tab////process check headers\\comma\\ check details\\comma\\ salesmix and timeclock if necessary//crlf////tab////tab//if(\\quot\\__DataType__\\quot\\=\\quot\\check_headers\\quot\\)//crlf////tab////tab////tab//sFilename=sPOSDataDir\\plus\\\\quot\\check_header.$$$\\quot\\//crlf////tab////tab////tab//if((not(fileExists(sFilename))) or (fileSize(sFilename)=0) or (fileModified(sPOSDataDir\\plus\\sPOSExportFilename)>fileModified(sFilename)))//crlf////tab////tab////tab////tab//s=execAgentAction(\\quot\\processSofttouchJournal\\quot\\\\comma\\\\quot\\Date=__Date__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//elseif(\\quot\\__DataType__\\quot\\=\\quot\\check_details\\quot\\)//crlf////tab////tab////tab//sFilename=sPOSDataDir\\plus\\\\quot\\check_detail.$$$\\quot\\//crlf////tab////tab////tab//if((not(fileExists(sFilename))) or (fileSize(sFilename)=0) or (fileModified(sPOSDataDir\\plus\\sPOSExportFilename)>fileModified(sFilename)))//crlf////tab////tab////tab////tab//s=execAgentAction(\\quot\\processSofttouchJournal\\quot\\\\comma\\\\quot\\Date=__Date__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//elseif(\\quot\\__DataType__\\quot\\=\\quot\\sales_mix\\quot\\)//crlf////tab////tab////tab//sFilename=sPOSDataDir\\plus\\\\quot\\salexmix.$$$\\quot\\//crlf////tab////tab////tab//if((not(fileExists(sFilename))) or (fileSize(sFilename)=0) or (fileModified(sPOSDataDir\\plus\\sPOSExportFilename)>fileModified(sFilename)))//crlf////tab////tab////tab////tab//s=execAgentAction(\\quot\\processSofttouchJournal\\quot\\\\comma\\\\quot\\Date=__Date__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//elseif(\\quot\\__DataType__\\quot\\=\\quot\\timeclock\\quot\\)//crlf////tab////tab////tab//sFilename=sPOSDataDir\\plus\\\\quot\\timeclock.$$$\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\sFilename=\\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//if((not(fileExists(sFilename))) or (fileSize(sFilename)=0) or (fileModified(sPOSDataDir\\plus\\sPOSExportFilename)>fileModified(sFilename)))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\calling execAgentAction: processSofttouchTimeclock Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab//s=execAgentAction(\\quot\\processSofttouchTimeclock\\quot\\\\comma\\\\quot\\Date=__Date__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////abort if the file does not exist//crlf////tab////tab//if(not(fileExists(sFilename))) //crlf////tab////tab////tab//s=\\quot\\status=0~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\\\plus\\sDataAvailableExpression\\plus\\\\quot\\~~pipe~~DataState=\\quot\\\\plus\\sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\File does not exist: \\quot\\\\plus\\sFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\OpenDriver returns[2] \\quot\\\\plus\\s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - SoftTouch DBF - Opening driver __datatype__ Params: \\quot\\\\plus\\sDriverParams)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//driverOpen(sDriverID\\comma\\sDriverName\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\sFilename\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\sDriverParams)//crlf////tab////tab//driverSetFilter(sDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab//s=\\quot\\status=1~~pipe~~Driver=\\quot\\\\plus\\sDriverName\\plus\\\\quot\\~~pipe~~modified=\\quot\\\\plus\\formatDate(fileModified(sFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)\\plus\\\\quot\\~~pipe~~size=\\quot\\\\plus\\driverGetRecordCount(sDriverName\\comma\\true)//crlf////tab////tab//s=s\\plus\\\\quot\\~~pipe~~DataAvailable=\\quot\\\\plus\\sDataAvailableExpression\\plus\\\\quot\\~~pipe~~DataState=\\quot\\\\plus\\sDataStateExpression//crlf////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - SoftTouch openDriver returns \\quot\\\\plus\\s\\plus\\\\quot\\ (\\quot\\\\plus\\driverGetRecordCount(sDriverName)\\plus\\\\quot\\ records)\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\convertExportFiles\\apos\\)\\quot\\>//crlf////tab//<conditional expression:false>//crlf////tab////tab//01-21-2013 - Changes were made to this routine to accommodate a new version of Softtouch at//crlf////tab////tab//Seward Country Club - vy5y5h632.  New structures have been defined for check.csv\\comma\\ //crlf////tab////tab//adjustment.csv and cashtips.csv.  A check is done below to determine which csv driver should//crlf////tab////tab//be used when converting to dbf.//crlf////tab//</conditional>//crlf////crlf////tab//<!include type:script; name:\\quot\\convertExportFiles\\quot\\; commands:\\quot\\//crlf////tab////tab////Converts softtouch csv exports to dbf.  The csv exports are used because the dbf exports//crlf////tab////tab////do not include the time a check is open/closed.  The files are converted to dbf\\apos\\s to maintain//crlf////tab////tab////compatibility with Aspect6 which required the dbf\\apos\\s.//crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab////PosDir - The pos directory (not including the export subfolder).  E.g. c:~~backslash~~softtouch//crlf////tab////tab//////crlf////tab////tab////To run this item manually\\comma\\ use://crlf////tab////tab////http://127.0.0.1:4446/?Network=GreenLight\\amp\\ID=getWidget\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=POS Interface - SoftTouch DBF\\amp\\ContainerItemID=open_driver\\amp\\Action=convertExportFiles\\amp\\posdir=[dir]\\amp\\immediate=true//crlf////tab////tab////where [dir] is the directory name.  The directory must contain an export //crlf////tab////tab////directory with the softtouch csv files//crlf////tab////tab////tab////crlf////tab////tab//appendToLog(\\quot\\convertExportFiles: POS Interface - Softtouch DB - convertExportFiles started\\quot\\)//crlf////tab////tab//bDebug=true//crlf////crlf////tab////tab//sPosDir=addDirSlash(\\quot\\__PosDir__\\quot\\)//crlf////crlf////tab////tab////abort if no pos directory specified//crlf////tab////tab//if(len(sPosDir)<=1)//crlf////tab////tab////tab//s=\\quot\\Missing pos directory.\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\convertExportFiles: \\quot\\\\plus\\s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if pos directory is not valid//crlf////tab////tab//if((not(fileExists(sPosDir))) or (not(fileIsDirectory(sPosDir))))//crlf////tab////tab////tab//s=\\quot\\Invalid pos directory - \\quot\\\\plus\\sPosDir//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\convertExportFiles: \\quot\\\\plus\\s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get list of csv files in directory//crlf////tab////tab//arCsvFiles=getMatchingFiles(sPosDir\\plus\\\\quot\\export/*.csv\\quot\\\\comma\\false\\comma\\false\\comma\\0.\\quot\\\\quot\\)//crlf////tab////tab//cCsvFiles=getElementCount(arCsvFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////abort if no files found//crlf////tab////tab//if((not(fileExists(sPosDir))) or (not(fileIsDirectory(sPosDir))))//crlf////tab////tab////tab//s=\\quot\\No files found in \\quot\\\\plus\\sPosDir//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\convertExportFiles: \\quot\\\\plus\\s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////Wait until timestamp of latest file is at least 15 minutes old.  This is to avoid trying to read the files while//crlf////tab////tab////they\\apos\\re still being created by softtouch.  It can take 20 minutes for Softtouch to produce the export.//crlf////tab////tab//if(\\quot\\__immediate__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Executing conversion without checking timestamps\\quot\\)//crlf////tab////tab//else//crlf////tab////tab////tab//bWait=true//crlf////tab////tab////tab//do//crlf////tab////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Verifying that all softouch files have been exported\\quot\\)//crlf////tab////tab////tab////tab//bWait=false//crlf////tab////tab////tab////tab//dtNow=now()//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while((n<cCsvFiles) and (not(bWait)))//crlf////tab////tab////tab////tab////tab//sFilename=getElement(arCsvFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: File: \\quot\\\\plus\\sFilename\\plus\\\\quot\\ Modified: \\quot\\\\plus\\formatDate(fileModified(sFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab////tab////tab////tab//if(seconds(now()-fileModified(sFilename))<900)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: POS export file was modified within last 15 minutes: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab////tab//bWait=true//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////crlf////tab////tab////tab////tab//if(bWait)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Waiting for Softtouch export to complete\\quot\\)//crlf////tab////tab////tab////tab////tab//scriptSleep(60000)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//loop (bWait)//crlf////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: All Softouch exports are up to date.  Beginning csv conversion.\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the check file to get the operation date.  Abort if it doesn\\apos\\t exist//crlf////tab////tab//sChecksFilename=sPosDir\\plus\\\\quot\\export/checks.csv\\quot\\//crlf////crlf////tab////tab//appendToLog(\\quot\\convertExportFiles: Getting business date from \\quot\\\\plus\\sChecksFilename)//crlf////tab////tab//if(not(fileExists(sChecksFilename)))//crlf////tab////tab////tab//s=\\quot\\Cannot locate \\quot\\\\plus\\sChecksFilename\\plus\\\\quot\\ to get operation date\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\convertExportFiles: \\quot\\\\plus\\s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////determine the number of fields in the checks file to determine the correct driver//crlf////tab////tab//s=fileGetContent(sChecksFilename)//crlf////tab////tab//s=getElement(s\\comma\\0\\comma\\char(10))//crlf////tab////tab//cCheckFields=getElementCount(s)//crlf////tab////tab//appendToLog(\\quot\\convertExportFiles: Number of fields in checks.csv=\\quot\\\\plus\\cCheckFields)//crlf////crlf////tab////tab//if(cCheckFields>=66)//crlf////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Opening \\quot\\\\plus\\sChecksFilename\\plus\\\\quot\\ using POS_Softtouch_Checks66\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_Softtouch_Checks66\\comma\\drvChecks\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sChecksFilename)//crlf////tab////tab//else//crlf////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Opening \\quot\\\\plus\\sChecksFilename\\plus\\\\quot\\ using POS_Softtouch_Checks\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_Softtouch_Checks\\comma\\drvChecks\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sChecksFilename)//crlf////tab////tab//endif//crlf////crlf////tab////tab//if(driverGetRecordCount(drvChecks\\comma\\true)=0)//crlf////tab////tab////tab//driverClose(drvChecks)//crlf////tab////tab////tab//s=\\quot\\Cannot determine operation date because checks file contains no records: \\quot\\\\plus\\sChecksFilename//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\convertExportFiles: \\quot\\\\plus\\s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//dtBusiness=driverGetFieldAbsolute(drvChecks\\comma\\\\quot\\OPERATIOND\\quot\\\\comma\\0)//crlf////tab////tab//appendToLog(\\quot\\convertExportFiles: Original OPERATIOND=\\quot\\\\plus\\dtBusiness)//crlf////tab////tab//dtBusiness=parseTime(formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ 22:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)//crlf////tab////tab//driverClose(drvChecks)//crlf////tab////tab//appendToLog(\\quot\\convertExportFiles: Operation date=\\quot\\\\plus\\formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////crlf////tab////tab////get the name of the dated subfolder//crlf////tab////tab//sDatedFolder=addDirSlash(sPosDir\\plus\\\\quot\\export/\\quot\\\\plus\\formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\))//crlf////crlf////tab////tab////11-29-2016: Get the name of the dated folder in the Aspect7/POSData directory.   As of 11/29/16\\comma\\ files are copied to the //crlf////tab////tab////posdata directory.  This does not affect the prior routine which copies the files to a dated subfolder under the softtouch/export directory//crlf////tab////tab//sPOSDataFolder=addDirSlash(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata/SoftTouch/\\quot\\\\plus\\formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\))//crlf////tab////tab////crlf////tab////tab////make a note if the timeclock file is converted.  This is used to determine if tips need to be updated//crlf////tab////tab////in the timeclock file below//crlf////tab////tab//bConvertedTimeclock=false//crlf////crlf////tab////tab////this is used to record the driver used to open the itemfamilyview csv file.  One of two//crlf////tab////tab////drivers is used depending on the number of fields in the file.  This driver name is//crlf////tab////tab////passed when processing checkitems so a lookup can be done to get the altername menu//crlf////tab////tab////number.//crlf////tab////tab//sItemFamilyViewDriver=\\quot\\\\quot\\//crlf////crlf////tab////tab////convert the files//crlf////tab////tab//cConvert=0//crlf////tab////tab//n=0//crlf////tab////tab//while(n<cCsvFiles)//crlf////tab////tab////tab//sCsvFilename=getElement(arCsvFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//sDbfFilename=fileDrive(sCsvFilename)\\plus\\fileDir(sCsvFilename)\\plus\\fileName(sCsvFilename)\\plus\\\\quot\\.dbf\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab//bConvert=false//crlf////tab////tab////tab//if(not(fileExists(sDbfFilename)))//crlf////tab////tab////tab////tab//bConvert=true//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//bConvert=(fileModified(sCsvFilename)<>fileModified(sDbfFilename))//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////DEBUGGING//crlf////tab////tab////tab////bConvert=(pos(\\quot\\itemfamilyview.dbf\\quot\\\\comma\\sDbfFilename)>=0) //crlf////tab////tab////tab////crlf////tab////tab////tab//if(bConvert)//crlf////tab////tab////tab////tab////lookup the necessary drivers //crlf////tab////tab////tab////tab//sCsvDriver=lookup(POS_Softtouch_DBF_Lookup_CSV_Driver_By_Filename\\comma\\fileName(sCsvFilename)\\plus\\fileExt(sCsvFilename))//crlf////tab////tab////tab////tab//sDbfDriver=lookup(POS_Softtouch_DBF_Lookup_DBF_Driver_By_Filename\\comma\\fileName(sDbfFilename)\\plus\\fileExt(sDbfFilename))//crlf////crlf////tab////tab////tab////tab////check the number of fields in the checks.csv file//crlf////tab////tab////tab////tab//if(fileName(sCsvFilename)=\\quot\\checks\\quot\\) //crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Number of fields in checks.csv=\\quot\\\\plus\\cCheckFields)//crlf////tab////tab////tab////tab////tab//if(cCheckFields>=66)//crlf////tab////tab////tab////tab////tab////tab//sCsvDriver=POS_Softtouch_Checks66//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////check the number of fields in the itemfamilyview file//crlf////tab////tab////tab////tab////note that the number of fields may appear different in Excel if fields at the end are empty//crlf////tab////tab////tab////tab//if(fileName(sCsvFilename)=\\quot\\itemfamilyview\\quot\\) //crlf////tab////tab////tab////tab////tab//s=fileGetContent(sCsvFilename)//crlf////tab////tab////tab////tab////tab//s=getElement(s\\comma\\0\\comma\\char(10))//crlf////tab////tab////tab////tab////tab//nField=getElementCount(s)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Number of fields in Itemfamilyview.csv=\\quot\\\\plus\\nField)//crlf////tab////tab////tab////tab////tab//if(nField=53)//crlf////tab////tab////tab////tab////tab////tab//sCsvDriver=POS_Softtouch_Itemfamilyview53//crlf////tab////tab////tab////tab////tab//elseif(nField=54)//crlf////tab////tab////tab////tab////tab////tab////12-05-2016: Added this line to address changes in itemfamilyview at St Germain and Hob Nob//crlf////tab////tab////tab////tab////tab////tab//sCsvDriver=POS_Softtouch_Itemfamilyview53//crlf////tab////tab////tab////tab////tab//elseif(nField=55)//crlf////tab////tab////tab////tab////tab////tab////12-27-2019: Added this line to address changes in itemfamilyview at Senor Shots//crlf////tab////tab////tab////tab////tab////tab//sCsvDriver=POS_Softtouch_Itemfamilyview53//crlf////tab////tab////tab////tab////tab//elseif(nField=57)//crlf////tab////tab////tab////tab////tab////tab////06-30-2020: Added this line to address changes in itemfamilyview at Tennesee Jacks//crlf////tab////tab////tab////tab////tab////tab//sCsvDriver=POS_Softtouch_Itemfamilyview53//crlf////tab////tab////tab////tab////tab//elseif(nField=58)//crlf////tab////tab////tab////tab////tab////tab////07-06-2021: Added this line to address changes in itemfamilyview at JC Cowboys//crlf////tab////tab////tab////tab////tab////tab//sCsvDriver=POS_Softtouch_Itemfamilyview53//crlf////tab////tab////tab////tab////tab//elseif(nField>58)//crlf////tab////tab////tab////tab////tab////tab////01-26-2023: Added this line to address changes in itemfamilyview at nELLYS//crlf////tab////tab////tab////tab////tab////tab//sCsvDriver=POS_Softtouch_Itemfamilyview53//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//sItemFamilyViewDriver=sCsvDriver//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\sItemFamilyViewDriver=\\quot\\\\plus\\sItemFamilyViewDriver)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////check the position of the date in the cashtips file//crlf////tab////tab////tab////tab//if(fileName(sCsvFilename)=\\quot\\cashtips\\quot\\) //crlf////tab////tab////tab////tab////tab//s=fileGetContent(sCsvFilename)//crlf////tab////tab////tab////tab////tab//s=getElement(s\\comma\\0\\comma\\char(10))//crlf////tab////tab////tab////tab////tab//s=getElement(s\\comma\\4)//crlf////tab////tab////tab////tab////tab//if(pos(\\quot\\/\\quot\\\\comma\\s)>0)//crlf////tab////tab////tab////tab////tab////tab//sCsvDriver=POS_Softtouch_Cashtips-7B//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////skip if the csv driver is invalid//crlf////tab////tab////tab////tab//if(len(sCsvDriver)=0)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Cannot locate driver for \\quot\\\\plus\\sCsvFilename)//crlf////tab////tab////tab////tab//elseif(len(sDbfDriver)=0)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Cannot locate driver for \\quot\\\\plus\\sDbfFilename)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////delete the dbf file if it exists//crlf////tab////tab////tab////tab////tab//if(fileExists(sDbfFilename))//crlf////tab////tab////tab////tab////tab////tab//fileDelete(sDbfFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////open the drivers//crlf////tab////tab////tab////tab////tab//driverOpen(sCsvDriver\\comma\\drvCsv\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sCsvFilename\\plus\\\\quot\\~~pipe~~ItemFamilyViewDriver=\\quot\\\\plus\\sItemFamilyViewDriver)//crlf////tab////tab////tab////tab////tab//driverOpen(sDbfDriver\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sDbfFilename))//crlf////tab////tab////tab////tab////tab//driverSetFilter(drvCsv\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////if converting the timeclock\\comma\\ sort by time in to avoid problems when clock-out record//crlf////tab////tab////tab////tab////tab////is recorded before the clock-in record//crlf////tab////tab////tab////tab////tab//if(sCsvDriver=POS_Softtouch_Timeclock)//crlf////tab////tab////tab////tab////tab////tab//driverSetSort(drvCsv\\comma\\\\quot\\Time\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//arKeyFields=\\quot\\Line\\quot\\//crlf////tab////tab////tab////tab////tab//arCsvFields=driverGetFieldIDs(drvCsv\\comma\\-2\\comma\\false\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//arDbfFields=removeElement(driverGetFieldIDs(drvDbf\\comma\\-2\\comma\\false\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\deleted\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//arFieldsToMerge=subset(arCsvFields\\comma\\arDbfFields\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////if converting itemfamilyview or checkitems\\comma\\ add the AltMenuNum field.  This //crlf////tab////tab////tab////tab////tab////is necessary because it is a calculated field in the csv file and it is not //crlf////tab////tab////tab////tab////tab////returned by driverGetFieldIDs()above//crlf////tab////tab////tab////tab////tab//if((fileName(sCsvFilename)=\\quot\\itemfamilyview\\quot\\) or (fileName(sCsvFilename)=\\quot\\checkitems\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//arFieldsToMerge=addElement(arFieldsToMerge\\comma\\\\quot\\AltMenuNum\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//s=driverMerge(true\\comma\\drvDbf\\comma\\drvCsv\\comma\\arKeyFields\\comma\\arFieldsToMerge\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Convert \\quot\\\\plus\\sCsvFilename\\plus\\\\quot\\ \\quot\\\\plus\\s)//crlf////crlf////tab////tab////tab////tab////tab//driverClose(drvCsv)//crlf////tab////tab////tab////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab////tab////tab////tab////copy dbf and original csv file to the dated subfolder//crlf////tab////tab////tab////tab////tab//fileCopy(sDbfFilename\\comma\\sDatedFolder\\plus\\filename(sDbfFilename)\\plus\\fileExt(sDbfFilename)\\comma\\true\\comma\\false)//crlf////tab////tab////tab////tab////tab//fileCopy(sCsvFilename\\comma\\sDatedFolder\\plus\\filename(sCsvFilename)\\plus\\fileExt(sCsvFilename)\\comma\\true\\comma\\false)//crlf////crlf////tab////tab////tab////tab////tab////copy the dbf to the dated subfolder under homedir/posdata//crlf////tab////tab////tab////tab////tab//fileCopy(sDbfFilename\\comma\\sPOSDataFolder\\plus\\filename(sDbfFilename)\\plus\\fileExt(sDbfFilename)\\comma\\true\\comma\\false)//crlf////tab////tab////tab////tab////tab////fileCopy(sCsvFilename\\comma\\sPOSDataFolder\\plus\\filename(sCsvFilename)\\plus\\fileExt(sCsvFilename)\\comma\\true\\comma\\false)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////set the modified timestamp of the converted files to the business date//crlf////tab////tab////tab////tab////tab//fileSetModified(sDbfFilename\\comma\\dtBusiness)//crlf////tab////tab////tab////tab////tab//fileSetModified(sDatedFolder\\plus\\filename(sDbfFilename)\\plus\\fileExt(sDbfFilename)\\comma\\dtBusiness)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////Preserve the timestamp of the archived csv file for troubleshooting//crlf////tab////tab////tab////tab////tab//fileSetModified(sDatedFolder\\plus\\filename(sCsvFilename)\\plus\\fileExt(sCsvFilename)\\comma\\fileModified(sCsvFilename))//crlf////crlf////tab////tab////tab////tab////tab//cConvert=cConvert \\plus\\ 1//crlf////crlf////tab////tab////tab////tab////tab////if it\\apos\\s the timeclock file\\comma\\ indicate that tips should be updated//crlf////tab////tab////tab////tab////tab//bConvertedTimeclock=(bConvertedTimeclock) or (filename(sDbfFilename)=\\quot\\timeclock\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab//endwhile//crlf////tab////tab////crlf////tab////tab//if(bConvertedTimeclock)//crlf////tab////tab////tab////add tips from payments file to clock-out records in timeclock file//crlf////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Adding sales and tips to timeclock\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_SoftTouch_Dbf_Checks\\comma\\drvChecks\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sPosDir\\plus\\\\quot\\export/checks.dbf\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_SoftTouch_DBF_Timeclock_Dbf\\comma\\drvTimeclock\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sPosDir\\plus\\\\quot\\export/timeclock.dbf\\quot\\)//crlf////tab////tab////tab//c=driverGetRecordCount(drvChecks\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Records in drvChecks: \\quot\\\\plus\\c)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////get the check number\\comma\\ sales and tip amount //crlf////tab////tab////tab////tab//iCheckNumber=driverGetFieldAbsolute(drvChecks\\comma\\\\quot\\CHECKNUMBE\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dTip=driverGetFieldAbsolute(drvChecks\\comma\\\\quot\\TIP\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dNetSales=driverGetFieldAbsolute(drvChecks\\comma\\\\quot\\ITEMTOTAL\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////iEmployee=driverGetFieldAbsolute(drvChecks\\comma\\\\quot\\CASHOUTNUM\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//iEmployee=driverGetFieldAbsolute(drvChecks\\comma\\\\quot\\OWNERNUMBE\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dTimeClose=driverGetFieldAbsolute(drvChecks\\comma\\\\quot\\Time_Close\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////locate the employee in the timeclock file and record the tip.  Look for a clock-out record later than//crlf////tab////tab////tab////tab////the time the check was closed//crlf////tab////tab////tab////tab//sFilter1=\\quot\\(EMPLOYEENU=\\quot\\\\plus\\iEmployee\\plus\\\\quot\\) and (CLOCKTYPE=0)\\quot\\//crlf////tab////tab////tab////tab//sFilter2=\\quot\\(dateNumber(Time)\\quot\\\\plus\\char(0x3E)\\plus\\dateNumber(dTimeClose)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//rTimeclock=driverFindRecordAbsolute(drvTimeclock\\comma\\0\\comma\\sFilter1\\plus\\\\quot\\ and \\quot\\\\plus\\sFilter2)//crlf////tab////tab////crlf////tab////tab////tab////tab////if no record was found\\comma\\ search again\\comma\\ ignoring the clock out time and check closed time//crlf////tab////tab////tab////tab//if(rTimeclock<0)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Cannot find shift1: \\quot\\\\plus\\sFilter1\\plus\\\\quot\\ and \\quot\\\\plus\\sFilter2)//crlf////tab////tab////tab////tab////tab//rTimeclock=driverFindRecordAbsolute(drvTimeclock\\comma\\0\\comma\\sFilter1)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//if(rTimeclock>=0)//crlf////tab////tab////tab////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\convertExportFiles: Recording tip rTimeclock=\\quot\\\\plus\\rTimeclock)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvTimeclock\\comma\\\\quot\\CHGTIP\\quot\\\\comma\\rTimeclock\\comma\\driverGetFieldAbsolute(drvTimeclock\\comma\\\\quot\\CHGTIP\\quot\\\\comma\\rTimeclock)\\plus\\dTip)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvTimeclock\\comma\\\\quot\\NETSALES\\quot\\\\comma\\rTimeclock\\comma\\driverGetFieldAbsolute(drvTimeclock\\comma\\\\quot\\NETSALES\\quot\\\\comma\\rTimeclock)\\plus\\dNetSales)//crlf////tab////tab////tab////tab////tab//driverClearCache(drvTimeclock)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Cannot locate shift to record tip for employee \\quot\\\\plus\\iEmployee\\plus\\\\quot\\ on check number \\quot\\\\plus\\iCheckNumber)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(drvChecks)//crlf////crlf////tab////tab////tab////add cash tips from the Softtouch cash tip file//crlf////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Adding sales and tips to timeclock\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_SoftTouch_DBF_CashTips\\comma\\drvCashTips\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sPosDir\\plus\\\\quot\\export/cashtips.dbf\\quot\\)//crlf////tab////tab////tab//c=driverGetRecordCount(drvCashTips\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Records in drvCashTips: \\quot\\\\plus\\c)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//iEmployee=driverGetFieldAbsolute(drvCashTips\\comma\\\\quot\\EMPLOYEENU\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//iJobNumber=driverGetFieldAbsolute(drvCashTips\\comma\\\\quot\\JOBNUMBER\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dTip=driverGetFieldAbsolute(drvCashTips\\comma\\\\quot\\AMOUNT\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////locate the employee in the timeclock//crlf////tab////tab////tab////tab//sFilter=\\quot\\(EMPLOYEENU=\\quot\\\\plus\\iEmployee\\plus\\\\quot\\) and (JOBNUMBER=\\quot\\\\plus\\iJobNumber\\plus\\\\quot\\) and (CLOCKTYPE=0)\\quot\\//crlf////tab////tab////tab////tab//rTimeclock=driverFindRecordAbsolute(drvTimeclock\\comma\\0\\comma\\sFilter)//crlf////tab////tab////crlf////tab////tab////tab////tab////if no record was found\\comma\\ search again\\comma\\ ignoring the clock out time and check closed time//crlf////tab////tab////tab////tab//if(rTimeclock<0)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Cannot find shift: \\quot\\\\plus\\sFilter\\plus\\\\quot\\ to record cash tip\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\convertExportFiles: Recording cash tip of \\quot\\\\plus\\dTip\\plus\\\\quot\\ for employee \\quot\\\\plus\\iEmployee\\plus\\\\quot\\ in record \\quot\\\\plus\\rTimeclock)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvTimeclock\\comma\\\\quot\\CashTip\\quot\\\\comma\\rTimeclock\\comma\\driverGetFieldAbsolute(drvTimeclock\\comma\\\\quot\\CashTip\\quot\\\\comma\\rTimeclock)\\plus\\dTip)//crlf////tab////tab////tab////tab////tab//driverClearCache(drvTimeclock)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////tab////crlf////tab////tab////tab//driverClose(drvCashTips)//crlf////tab////tab////tab//driverClose(drvTimeclock)//crlf////crlf////tab////tab////tab////copy the modified dbf to the dated subfolder//crlf////tab////tab////tab//fileCopy(sPosDir\\plus\\\\quot\\export/timeclock.dbf\\quot\\\\comma\\sDatedFolder\\plus\\\\quot\\timeclock.dbf\\quot\\\\comma\\true\\comma\\false)//crlf////crlf////tab////tab////tab////copy the dbf to the dated subfolder under homedir/posdata//crlf////tab////tab////tab//fileCopy(sPosDir\\plus\\\\quot\\export/timeclock.dbf\\quot\\\\comma\\sPOSDataFolder\\plus\\\\quot\\timeclock.dbf\\quot\\\\comma\\true\\comma\\false)//crlf////crlf////tab////tab////tab////set the time of the timclock.dbf files//crlf////tab////tab////tab//fileSetModified(sPosDir\\plus\\\\quot\\export/timeclock.dbf\\quot\\\\comma\\dtBusiness)//crlf////tab////tab////tab//fileSetModified(sDatedFolder\\plus\\\\quot\\timeclock.dbf\\quot\\\\comma\\dtBusiness)//crlf////tab////tab////tab//fileSetModified(sPOSDataFolder\\plus\\\\quot\\timeclock.dbf\\quot\\\\comma\\dtBusiness)//crlf////tab////tab//endif//crlf////crlf////tab////tab////04-13-2024 - rename the refunds.csv and refunds.dbf files.  A new refunds.csv file is not //crlf////tab////tab////exported if there are no refunds and the same refunds file is imported repeatedly on following //crlf////tab////tab////days.  This was discovered at hob nob.//crlf////tab////tab//sFilename=sPosDir\\plus\\\\quot\\export~~backslash~~refunds.csv\\quot\\//crlf////tab////tab//sNewName=sPosDir\\plus\\\\quot\\export~~backslash~~refunds_csv.\\quot\\\\plus\\formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab//fileCopy(sFilename\\comma\\sNewName)//crlf////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab//fileDelete(sFilename)//crlf////crlf////tab////tab//sFilename=sPosDir\\plus\\\\quot\\export~~backslash~~refunds.dbf\\quot\\//crlf////tab////tab//sNewName=sPosDir\\plus\\\\quot\\export~~backslash~~refunds_dbf.\\quot\\\\plus\\formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab//fileCopy(sFilename\\comma\\sNewName)//crlf////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab//fileDelete(sFilename)//crlf////crlf////tab////tab////11-01-2024 - rename the checkadjustment.csv and checkadjustment.dbf files.  A new checkadjustment.csv file is not //crlf////tab////tab////exported if there are no refunds and the same refunds file is imported repeatedly on following //crlf////tab////tab////days.  This was discovered at hob nob.//crlf////tab////tab//sFilename=sPosDir\\plus\\\\quot\\export~~backslash~~checkadjustment.csv\\quot\\//crlf////tab////tab//sNewName=sPosDir\\plus\\\\quot\\export~~backslash~~checkadjustment_csv.\\quot\\\\plus\\formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab//fileCopy(sFilename\\comma\\sNewName)//crlf////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab//fileDelete(sFilename)//crlf////crlf////tab////tab//sFilename=sPosDir\\plus\\\\quot\\export~~backslash~~checkadjustment.dbf\\quot\\//crlf////tab////tab//sNewName=sPosDir\\plus\\\\quot\\export~~backslash~~checkadjustment_dbf.\\quot\\\\plus\\formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab//fileCopy(sFilename\\comma\\sNewName)//crlf////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab//fileDelete(sFilename)//crlf////crlf////tab////tab//s=\\quot\\Converted \\quot\\\\plus\\cConvert\\plus\\\\quot\\ files\\quot\\//crlf////tab////tab//scriptSetResult(appendToLog(\\quot\\convertExportFiles: \\quot\\\\plus\\s))//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=code|X=300|Y=100|W=235|H=22|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'743416')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>Aspect</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'open_driver')\\quot\\>Open Driver</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'760488')\\quot\\>Notes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=743416|X=300|Y=126|W=737|H=746|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=760488|X=300|Y=126|W=737|H=746|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h2>Files</h2>//crlf//<p>SoftTouch files are located in \softtouch\export</p>//crlf//<p>A single set of files exists at any one time and the files are overwritten when softtouch is closed out.</p>//crlf//<p>It is possible to manually export the files from the Softtouch software\\comma\\ but the timestamps will reflect the current day.</p>//crlf////crlf////crlf//<h2>Alternate Menu Number</h2>//crlf////crlf//<p>On 10/31/2013\\comma\\ the ability to use an alternate menu number was added.</p>//crlf////crlf//<p>Use the following values in the pos definitions for the menu number:</p>//crlf//<ul>//crlf////tab//<li>Menu Item Definitions - 58 (notmally 1)</li>//crlf////tab//<li>Menu Item Sales - 7 (This is the field number in the processed file) (notmally 1)</li>//crlf//</ul>//crlf//^
ID=debug_console|X=300|Y=126|W=737|H=746|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=126|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Aloha.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf//^
ID=action_list|X=300|Y=126|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Aloha.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//POS Interface - SoftTouch DBF\\comma\\copySofttouchToPosData\\comma\\action_list\\comma\\Action=copySofttouchToPosData\\comma\\private//crlf////tab//POS Interface - SoftTouch DBF\\comma\\processSofttouchJournal\\comma\\action_list\\comma\\Action=processSofttouchJournal\\comma\\private//crlf////tab//POS Interface - SoftTouch DBF\\comma\\processSofttouchTimeclock\\comma\\action_list\\comma\\Action=processSofttouchTimeclock\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//copySofttouchToPosData//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\copySofttouchToPosData\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Copies files from the softtouch\export\yyyyMMdd directories to the posdata directory//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Days - Number of days to copy.  Default is 30.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\copySofttouchToPosData\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////get the StoreID//crlf////tab////tab////tab////sStoreID=//crlf////crlf////tab////tab////tab//lookup(Aspect_BackOffice_POS_Directory_By_Store_ID\\comma\\sStoreID)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//processSofttouchJournal//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\processSofttouchJournal\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Processes the softtouch check header\\comma\\ check detail and sales mix drivers.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - Date of data to be processed (MM-dd-yyyy)//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\processSofttouchJournal\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab////tab//sDate=\\quot\\__date__\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\POS Interface - SoftTouch DBF - openJournal  Store=\\quot\\+sStoreID+\\quot\\ Date=\\quot\\+sDate)//crlf////crlf////tab////tab////tab//bDebug=true//crlf////crlf////tab////tab////tab////get business date//crlf////tab////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////tab////get the POSData directory//crlf////tab////tab////tab//sPOSDataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/SoftTouch/\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/\\quot\\//crlf////crlf////tab////tab////tab////set the driver params passed to the output drivers//crlf////tab////tab////tab//sDriverParams=\\quot\\DataType=__DataType__~~pipe~~StoreID=__StoreID__~~pipe~~date=__date__\\quot\\//crlf////crlf////tab////tab////tab////set the names for the output drivers//crlf////tab////tab////tab//sDrvCkHeader=\\quot\\drvCkheader\\quot\\+getSalt(4)//crlf////tab////tab////tab//sDrvCkDetail=\\quot\\drvCkdetail\\quot\\+getSalt(4)//crlf////tab////tab////tab//sDrvSalesMix=\\quot\\drvSalesmix\\quot\\+getSalt(4)//crlf////crlf////tab////tab////tab////set the filenames for the output drivers//crlf////tab////tab////tab//sCheckHeaderFilename=sPOSDataDir+\\quot\\check_header.$$$\\quot\\//crlf////tab////tab////tab//sCheckDetailFilename=sPOSDataDir+\\quot\\check_detail.$$$\\quot\\//crlf////tab////tab////tab//sSalesMixFilename=sPOSDataDir+\\quot\\salexmix.$$$\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////get the names of the pos files//tab////tab////crlf////tab////tab////tab//sChecksFilename=sPOSDataDir+\\quot\\checks.dbf\\quot\\//crlf////tab////tab////tab//sCheckAdjustmentFilename=sPOSDataDir+\\quot\\checkadjustment.dbf\\quot\\//crlf////tab////tab////tab//sCheckItemsFilename=sPOSDataDir+\\quot\\checkitems.dbf\\quot\\//crlf////tab////tab////tab//sCheckPaymentFilename=sPOSDataDir+\\quot\\checkpayment.dbf\\quot\\//crlf////tab////tab////tab//sCheckRefundsFilename=sPOSDataDir+\\quot\\refunds.dbf\\quot\\//crlf////tab////tab////tab//sCheckTaxFilename=sPOSDataDir+\\quot\\checktax.dbf\\quot\\//crlf////tab////tab////tab//sPaidInOutFilename=sPOSDataDir+\\quot\\paidinout.dbf\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab//bProcess=true//crlf////tab////tab////tab////crlf////tab////tab////tab////don't process if checks.dbf doesn't exist//crlf////tab////tab////tab//bProcess=if(not(fileExists(sChecksFilename))\\comma\\false\\comma\\bProcess)//crlf////crlf////tab////tab////tab////don't process if all three files exist and have a later date/time stamp//crlf////tab////tab////tab//if(bProcess)//crlf////tab////tab////tab////tab//dtChecks=fileModified(sChecksFilename)//crlf////tab////tab////tab////tab//bProcess1=if((not(fileExists(sCheckHeaderFilename))) or (fileModified(sCheckHeaderFilename)<dtChecks)\\comma\\true\\comma\\false)//crlf////tab////tab////tab////tab//bProcess2=if((not(fileExists(sCheckDetailFilename))) or (fileModified(sCheckDetailFilename)<dtChecks)\\comma\\true\\comma\\false)//crlf////tab////tab////tab////tab//bProcess3=if((not(fileExists(sSalesMixFilename))) or (fileModified(sSalesMixFilename)<dtChecks)\\comma\\true\\comma\\false)//crlf////tab////tab////tab////tab//bProcess=if((not(bProcess1)) and (not(bProcess2)) and (not(bProcess3))\\comma\\false\\comma\\true)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////for debugging//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//bProcess=true//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Forcing bProcess=true in softtouch openJournal\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if (bProcess)//crlf////tab////tab////tab////tab////Delete the destination files if they exist.  //crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//fileDelete(sCheckHeaderFilename)//crlf////tab////tab////tab////tab//if(fileExists(sCheckHeaderFilename))//crlf////tab////tab////tab////tab////tab//fileSetSize(sCheckHeaderFilename\\comma\\0)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//fileDelete(sCheckDetailFilename)//crlf////tab////tab////tab////tab//if(fileExists(sCheckDetailFilename))//crlf////tab////tab////tab////tab////tab//fileSetSize(sCheckDetailFilename\\comma\\0)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//fileDelete(sSalesMixFilename)//crlf////tab////tab////tab////tab//if(fileExists(sSalesMixFilename))//crlf////tab////tab////tab////tab////tab//fileSetSize(sSalesMixFilename\\comma\\0)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////open the output drivers//crlf////tab////tab////tab////tab//driverOpen(\\quot\\POS_SoftTouch_DBF_Check_Header_Processed\\quot\\\\comma\\sDrvCkHeader\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\+sCheckHeaderFilename)//crlf////tab////tab////tab////tab//driverOpen(\\quot\\POS_SoftTouch_DBF_Check_Detail_Processed\\quot\\\\comma\\sDrvCkDetail\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\+sCheckDetailFilename)//crlf////tab////tab////tab////tab//driverOpen(\\quot\\POS_SoftTouch_DBF_SalesMix_Processed\\quot\\\\comma\\sDrvSalesMix\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\+sSalesMixFilename)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab/////========================================================================================================================//crlf////tab////tab////tab////tab////Check Headers and//crlf////tab////tab////tab////tab////Check Details - Auto Gratuity//crlf////tab////tab////tab////tab/////========================================================================================================================//crlf////tab////tab////tab////tab//appendToLog(\\quot\\POS Interface - Softtouch DBF - Reading Check Headers\\quot\\)//crlf////crlf////tab////tab////tab////tab////open the source driver//crlf////tab////tab////tab////tab//driverOpen(POS_SoftTouch_Dbf_Checks\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sChecksFilename+\\quot\\~~pipe~~storeId=\\quot\\+sStoreId)//crlf////crlf////tab////tab////tab////tab////Add check headers//crlf////tab////tab////tab////tab//cRecords=driverGetRecordCount(drvSrc\\comma\\true)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cRecords)//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkHeader)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\CHECKNUMBE\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab//t1=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\Time_Open\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Time_Open\\quot\\\\comma\\r\\comma\\t1)//crlf////tab////tab////tab////tab////tab//t2=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\Time_Close\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Time_Close\\quot\\\\comma\\r\\comma\\t2)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Tax_Exempt\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\TAXEXEMPT\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Emp_Open\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\OWNERNUMBE\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Emp_Close\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\OWNERNUMBE\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab////driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Emp_Close\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\CASHOUTNUM\\quot\\\\comma\\Cntr))//crlf////crlf////tab////tab////tab////tab////tab//dAutoGratuity=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\GRATUITY\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\AutoGrat\\quot\\\\comma\\r\\comma\\dAutoGratuity)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////revenue centers are hardwired in SoftTouch as:   0=counter\\comma\\ 1=takeout\\comma\\ 2=dining\\comma\\ 3=bar\\comma\\ 4=delivery\\comma\\ 5=drivethru//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Rev_Ctr\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\CHECKTYPE\\quot\\\\comma\\Cntr))//crlf////crlf////tab////tab////tab////tab////tab////add autogratuity to check detail//crlf////tab////tab////tab////tab////tab//if(dAutoGratuity<>0)//crlf//appendToLog(\\quot\\Added autogratuity: \\quot\\+dAutoGratuity)//crlf////tab////tab////tab////tab////tab////tab////add to check details//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\CHECKNUMBE\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\t1)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\11)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Quantity\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAutoGratuity)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//Cntr=Cntr + 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//driverSetFilter(sDrvCkHeader\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverClose(drvSrc)//crlf////crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab////Check Details - Sales//crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab//appendToLog(\\quot\\POS Interface - Softtouch DBF - Reading Check Details - Sales\\quot\\)//crlf////crlf////tab////tab////tab////tab////open the source driver//crlf////tab////tab////tab////tab//driverOpen(POS_SoftTouch_Dbf_CheckItems\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sCheckItemsFilename+\\quot\\~~pipe~~storeId=\\quot\\+sStoreId)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////Add the records to the check details//crlf////tab////tab////tab////tab//cRecords=driverGetRecordCount(drvSrc\\comma\\true)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cRecords)//crlf////tab////tab////tab////tab////tab//sItemID=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\ITEMNUMBER\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//if ((sItemID<>\\quot\\0\\quot\\) and (driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\VOIDTYPE\\quot\\\\comma\\Cntr)=0))//crlf////tab////tab////tab////tab////tab////tab//sCheckNumber=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\CHECKNUMBE\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab////tab//intQuantity=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\QUANTITY\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab////tab//dblAmount=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\TOTAL\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab////tab//dt=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\Time\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab////tab//iCategory=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\Category_ID\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab////tab//iDepartment=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\Department_ID\\quot\\\\comma\\Cntr)//crlf////crlf////tab////tab////tab////tab////tab////tab////accumulate totals in check header//crlf////tab////tab////tab////tab////tab////tab//intCheckHeaderRecord=lookup(POS_SoftTouch_DBF_Lookup_Check_DiskIndex_By_CheckNumber\\comma\\sCheckNumber\\comma\\0\\comma\\\\quot\\\\quot\\\\comma\\sDrvCkHeader)//crlf////tab////tab////tab////tab////tab////tab//if (intCheckHeaderRecord>=0)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Net_Sales\\quot\\\\comma\\intCheckHeaderRecord\\comma\\driverGetFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Net_Sales\\quot\\\\comma\\intCheckHeaderRecord)+dblAmount)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\POS Interface - SoftTouch DBF - Cannot locate check number \\quot\\+sCheckNumber+\\quot\\ while recording sales\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////add to check details//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\dt)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\sItemID)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Menuitem\\quot\\\\comma\\r\\comma\\sItemID)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Category\\quot\\\\comma\\r\\comma\\iCategory)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Department\\quot\\\\comma\\r\\comma\\iDepartment)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Quantity\\quot\\\\comma\\r\\comma\\intQuantity)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dblAmount)//crlf////crlf////tab////tab////tab////tab////tab////tab////add to sales mix//crlf////tab////tab////tab////tab////tab////tab//r=driverFindRecordAbsolute(sDrvSalesMix\\comma\\0\\comma\\\\quot\\ItemID=\\quot\\+quote(sItemID))//crlf////tab////tab////tab////tab////tab////tab//if (r<0)//crlf////tab////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvSalesMix)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//intSold=driverGetFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Sold\\quot\\\\comma\\r)+intQuantity//crlf////tab////tab////tab////tab////tab////tab//dblNetSales=driverGetFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Net_Sales\\quot\\\\comma\\r)+dblAmount//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\MenuItemID\\quot\\\\comma\\r\\comma\\sItemID)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Sold\\quot\\\\comma\\r\\comma\\intSold)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Net_Sales\\quot\\\\comma\\r\\comma\\dblNetSales)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\date(dateNumber(dt)\\comma\\true))//crlf////tab////tab////tab////tab////tab////tab////driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Discounts\\quot\\\\comma\\r\\comma\\0)//crlf////crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//Cntr=Cntr + 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//driverClose(drvSrc)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab////Check Details - Tenders//crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab//appendToLog(\\quot\\POS Interface - Softtouch DBF - Reading Check Details - Tenders\\quot\\)//crlf////crlf////tab////tab////tab////tab////open the source driver//crlf////tab////tab////tab////tab//driverOpen(POS_SoftTouch_Dbf_CheckPayment\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sCheckPaymentFilename+\\quot\\~~pipe~~storeId=\\quot\\+sStoreId)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////The Autogratuity comes from the check headers.    //crlf////tab////tab////tab////tab////This array is used to avoid recording the autogratuity from a check header twice if there is more than one tender record for the check//crlf////tab////tab////tab////tab//arRecordedAutoGrat=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////Add the records to the check details and update the check header totals//crlf////tab////tab////tab////tab//cRecords=driverGetRecordCount(drvSrc\\comma\\true)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cRecords)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//sCheckNumber=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\CHECKNUMBE\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//dblAmount=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\AMOUNT\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//dblTip=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\TIP\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//intAccount=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\ACCOUNTNUM\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////accumulate in check header and get any auto-gratuity from the check header//crlf////tab////tab////tab////tab////tab////This is probably not a good idea.  Check totals should be calculated in a separate routine.//crlf////tab////tab////tab////tab////tab////Also\\comma\\ refunds (negative tenders) are not accumulated (below)//crlf////tab////tab////tab////tab////tab//intCheckHeaderRecord=lookup(POS_SoftTouch_DBF_Lookup_Check_DiskIndex_By_CheckNumber\\comma\\sCheckNumber\\comma\\0\\comma\\\\quot\\\\quot\\\\comma\\sDrvCkHeader)//crlf////tab////tab////tab////tab////tab//dblAutoGratuity=0//crlf////tab////tab////tab////tab////tab//if (intCheckHeaderRecord>=0)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Tendered\\quot\\\\comma\\intCheckHeaderRecord\\comma\\driverGetFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Tendered\\quot\\\\comma\\intCheckHeaderRecord)+dblAmount)//crlf////tab////tab////tab////tab////tab////tab//if (containsElement(arRecordedAutoGrat\\comma\\intCheckHeaderRecord)<0)//crlf////tab////tab////tab////tab////tab////tab////tab//dblAutoGratuity=driverGetFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\AutoGrat\\quot\\\\comma\\intCheckHeaderRecord)//crlf////tab////tab////tab////tab////tab////tab////tab//arRecordedAutoGrat=addElement(arRecordedAutoGrat\\comma\\intCheckHeaderRecord)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\POS Interface - SoftTouch DBF - Cannot locate check number \\quot\\+sCheckNumber+\\quot\\ while recording tenders\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\8)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\OPERATIOND\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\intAccount)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dblAmount)//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//if(dblTip<>0) //crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\10)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\OPERATIOND\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\intAccount)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dblTip)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//Cntr=Cntr + 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//driverClose(drvSrc)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab////Check Details - Refunds  (These are treated as tenders)//crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab//appendToLog(\\quot\\POS Interface - Softtouch DBF - Reading Check Details - Refunds\\quot\\)//crlf////crlf////tab////tab////tab////tab////open the source driver//crlf////tab////tab////tab////tab//driverOpen(POS_SoftTouch_DBF_Refunds\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sCheckRefundsFilename+\\quot\\~~pipe~~storeId=\\quot\\+sStoreId)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////Add the records to the check details//crlf////tab////tab////tab////tab//cRecords=driverGetRecordCount(drvSrc\\comma\\true)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cRecords)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////note: the check number is not available in the file//crlf////tab////tab////tab////tab////tab//sCheckNumber=1//crlf////tab////tab////tab////tab////tab//dblAmount=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\AMOUNT\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//intAccount=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\ACCOUNTNUM\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\8)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\OPERATIOND\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\intAccount)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dblAmount)//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//Cntr=Cntr + 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//driverClose(drvSrc)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab////Check Details - Tax//crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab//appendToLog(\\quot\\POS Interface - Softtouch DBF - Reading Check Details - Tax\\quot\\)//crlf////crlf////tab////tab////tab////tab////open the source driver//crlf////tab////tab////tab////tab//driverOpen(POS_SoftTouch_Dbf_CheckTax\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sCheckTaxFilename+\\quot\\~~pipe~~storeId=\\quot\\+sStoreId)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////Add the records to the check details and update the check header totals//crlf////tab////tab////tab////tab//cRecords=driverGetRecordCount(drvSrc\\comma\\true)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cRecords)//crlf////crlf////tab////tab////tab////tab////tab//sCheckNumber=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\CHECKNUMBE\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//dblAmount=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\AMOUNT\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//iExempt=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\EXEMPT\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//if(iExempt=0)//crlf////tab////tab////tab////tab////tab////tab////add to check header//crlf////tab////tab////tab////tab////tab////tab//r=lookup(POS_SoftTouch_DBF_Lookup_Check_DiskIndex_By_CheckNumber\\comma\\sCheckNumber\\comma\\0\\comma\\\\quot\\\\quot\\\\comma\\sDrvCkHeader)//crlf////tab////tab////tab////tab////tab////tab//if (r>=0)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Tax1\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Tax1\\quot\\\\comma\\r)+dblAmount)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\POS Interface - SoftTouch DBF - Cannot locate check number \\quot\\+sCheckNumber+\\quot\\ while recording tax\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_Code\\quot\\\\comma\\r\\comma\\\\quot\\__StoreCode__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\4)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\OPERATIOND\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\TAXDEFINIT\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dblAmount)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//Cntr=Cntr + 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//driverClose(drvSrc)//crlf////crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab////Check Details - Discounts//crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab//appendToLog(\\quot\\POS Interface - Softtouch DBF - Reading Check Details - Discounts\\quot\\)//crlf////crlf////tab////tab////tab////tab////open the source driver//crlf////tab////tab////tab////tab//driverOpen(POS_SoftTouch_Dbf_CheckAdjustment\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sCheckAdjustmentFilename+\\quot\\~~pipe~~storeId=\\quot\\+sStoreId)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////Add the records to the check details and update the check header totals//crlf////tab////tab////tab////tab//cRecords=driverGetRecordCount(drvSrc\\comma\\true)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cRecords)//crlf////crlf////tab////tab////tab////tab////tab//sCheckNumber=driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\CHECKNUMBE\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//dblAmount=abs(driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\ADJUSTMEN1\\quot\\\\comma\\Cntr))//crlf////crlf////tab////tab////tab////tab////tab////add to check header//crlf////tab////tab////tab////tab////tab//r=lookup(POS_SoftTouch_DBF_Lookup_Check_DiskIndex_By_CheckNumber\\comma\\sCheckNumber\\comma\\0\\comma\\\\quot\\\\quot\\\\comma\\sDrvCkHeader)//crlf////tab////tab////tab////tab////tab//if (r>=0)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Discounts\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Discounts\\quot\\\\comma\\r)+dblAmount)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\POS Interface - SoftTouch DBF - Cannot locate check number \\quot\\+sCheckNumber+\\quot\\ while recording discounts\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_Code\\quot\\\\comma\\r\\comma\\\\quot\\__StoreCode__\\quot\\)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\3)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\OPERATIOND\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvSrc\\comma\\\\quot\\ADJUSTMENT\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dblAmount)//crlf////tab////tab////tab////tab////tab//Cntr=Cntr + 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//driverClose(drvSrc)//crlf////crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab////Gift Card Sales from PaidInOut//crlf////tab////tab////tab////tab////Gift cards have a PAIDTYPE=0 and ACCOUNTNUM indicates the tender type//crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab//appendToLog(\\quot\\POS Interface - Softtouch DBF - Reading PaidInOut - Gift Cards\\quot\\)//crlf////crlf////tab////tab////tab////tab////open the source driver//crlf////tab////tab////tab////tab//driverOpen(POS_SoftTouch_DBF_PaidInOut\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sPaidInOutFilename+\\quot\\~~pipe~~storeId=\\quot\\+sStoreId)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////filter to gift card sales.  There has been a case (Hob Nob iibe 4/21/17) where tips paid were//crlf////tab////tab////tab////tab////recorded under a paidtype of 0 even though the reason said Tips Paid.  This caused the tips paid value //crlf////tab////tab////tab////tab////to show as a gift cert sale.  The filter was changed to address this//crlf////tab////tab////tab////tab////driverSetFilter(drvSrc\\comma\\\\quot\\PAIDTYPE=0\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////tab//sFilter=\\quot\\(PAIDTYPE=0) and (not(REASON=\\quot\\+quote(\\quot\\Tips Paid\\quot\\)+\\quot\\))\\quot\\//crlf////crlf////tab////tab////tab////tab////added this for Rusty's Estero//crlf////tab////tab////tab////tab//sFilter=sFilter+\\quot\\ and (not(REASON=\\quot\\+quote(\\quot\\Over/Under Adjustment\\quot\\)+\\quot\\))\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Gif Card sFilter=\\quot\\+sFilter)//crlf////tab////tab////tab////tab//driverSetFilter(drvSrc\\comma\\sFilter\\comma\\true)//crlf////crlf////tab////tab////tab////tab////Add the records to the check details //crlf////tab////tab////tab////tab//c=driverGetRecordCount(drvSrc)//crlf////tab////tab////tab////tab//if(c>0)//crlf////tab////tab////tab////tab////tab////add a check header that will be used to record the details//crlf////tab////tab////tab////tab////tab//rCheckHeader=driverAddNewRecord(sDrvCkHeader)//crlf////tab////tab////tab////tab////tab//iCheckNumber=1//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Store_ID\\quot\\\\comma\\rCheckHeader\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Line\\quot\\\\comma\\rCheckHeader\\comma\\rCheckHeader)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\rCheckHeader\\comma\\iCheckNumber)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Added check header for gift card at r=\\quot\\+rCheckHeader)//crlf////crlf////tab////tab////tab////tab////tab////create check details for each gift card sold//crlf////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab//dAmount=driverGetField(drvSrc\\comma\\\\quot\\Amount\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//iAccountNum=driverGetField(drvSrc\\comma\\\\quot\\AccountNum\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Tendered\\quot\\\\comma\\rCheckHeader\\comma\\driverGetFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Tendered\\quot\\\\comma\\rCheckHeader)+dAmount)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////add gift cert sale to check details//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\9)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\iCheckNumber)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Added check detail for gift card sale at r=\\quot\\+r)//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////add tender to check details//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\8)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\iCheckNumber)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\iAccountNum)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Added check detail for gift card tender at r=\\quot\\+r)//crlf////crlf////tab////tab////tab////tab////tab////tab//n++//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//driverClose(drvSrc)//crlf////crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab////Add tips paid from PaidInOut//crlf////tab////tab////tab////tab////Gift cards have a PAIDTYPE=1 //crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab//appendToLog(\\quot\\POS Interface - Softtouch DBF - Reading PaidInOut - Tips Paid\\quot\\)//crlf////crlf////tab////tab////tab////tab////open the source driver//crlf////tab////tab////tab////tab//driverOpen(POS_SoftTouch_DBF_PaidInOut\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sPaidInOutFilename+\\quot\\~~pipe~~storeId=\\quot\\+sStoreId)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////filter to tips paid.  There has been a case (Hob Nob iibe 4/21/17) where tips paid were//crlf////tab////tab////tab////tab////recorded under a paidtype of 0 even though the reason said Tips Paid.  This caused the tips paid value //crlf////tab////tab////tab////tab////to show as a gift cert sale.  The filter was changed to address this//crlf////tab////tab////tab////tab////driverSetFilter(drvSrc\\comma\\\\quot\\PAIDTYPE=1\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\(PAIDTYPE=1) or (REASON=\\quot\\+quote(\\quot\\Tips Paid\\quot\\)+\\quot\\)\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////tab////Add the records to the check details //crlf////tab////tab////tab////tab//c=driverGetRecordCount(drvSrc)//crlf////tab////tab////tab////tab//if(c>0)//crlf////tab////tab////tab////tab////tab////add a check header that will be used to record the details//crlf////tab////tab////tab////tab////tab//rCheckHeader=driverAddNewRecord(sDrvCkHeader)//crlf////tab////tab////tab////tab////tab//iCheckNumber=2//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Store_ID\\quot\\\\comma\\rCheckHeader\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Line\\quot\\\\comma\\rCheckHeader\\comma\\rCheckHeader)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\rCheckHeader\\comma\\iCheckNumber)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Added check header for tips pad at r=\\quot\\+rCheckHeader)//crlf////crlf////tab////tab////tab////tab////tab////create check details for each tip paid transaction//crlf////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab////4/24/2017 This was modified to address a problem at hob nob iibe for 4/21/2017.  A paid out type of 0 //crlf////tab////tab////tab////tab////tab////tab////which is read as a gift cert sale had a reson of \\quot\\tips paid\\quot\\.  The amount of the gift cert sale was //crlf////tab////tab////tab////tab////tab////tab////positive while the tips paid amounts were negative.  The sign had to be considered when summing the //crlf////tab////tab////tab////tab////tab////tab////numbers to match the softtouch report.  The tips paid values are converted to positive numbers like normal and the //crlf////tab////tab////tab////tab////tab////tab////errant gift cert sale is converted to a negative number.  This looks like a problem with the POS system.//crlf////tab////tab////tab////tab////tab////tab////dAmount=abs(driverGetField(drvSrc\\comma\\\\quot\\Amount\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//dAmount=driverGetField(drvSrc\\comma\\\\quot\\Amount\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//dAmount=dAmount*(-1)//crlf////tab////tab////tab////tab////tab////tab//iAccountNum=driverGetField(drvSrc\\comma\\\\quot\\AccountNum\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Tendered\\quot\\\\comma\\rCheckHeader\\comma\\driverGetFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Tendered\\quot\\\\comma\\rCheckHeader)+dAmount)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////add tip paid check details//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\33)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\iCheckNumber)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Added tip paid at r=\\quot\\+r)//crlf////crlf////tab////tab////tab////tab////tab////tab//n++//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//driverClose(drvSrc)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//driverClose(sDrvCkHeader)//crlf////tab////tab////tab////tab//driverClose(sDrvCkDetail)//crlf////tab////tab////tab////tab//driverClose(sDrvSalesMix)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Inteface - Softtouch DBF - result=\\quot\\+sResult)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//processSofttouchTimeclock//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\processSofttouchTimeclock\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Processes the original timeclock in which clock in/out and breaks are recorded in separate //crlf////tab////tab//records.  The resulting file contains one record for each shift.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - Date of data to be processed (MM-dd-yyyy)//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\processSofttouchTimeclock\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab////tab//sDate=\\quot\\__date__\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\POS Interface - SoftTouch DBF - openTimeclock Store=\\quot\\+sStoreID+\\quot\\ Date=\\quot\\+sDate)//crlf////crlf////tab////tab////tab////get business date//crlf////tab////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////tab////get the POSData directory//crlf////tab////tab////tab//sPOSDataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/SoftTouch/\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/\\quot\\//crlf////crlf////tab////tab////tab////open the original timeclock file//crlf////tab////tab////tab//driverOpen(POS_SoftTouch_DBF_Timeclock_Dbf\\comma\\drvTimeclock\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+sPOSDataDir+\\quot\\timeclock.dbf\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvTimeclock\\comma\\\\quot\\true\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverSetSort(drvTimeclock\\comma\\\\quot\\time\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////open the driver that will contain the processed data.  Delete it if it already exists//crlf////tab////tab////tab//sProcessedFilename=sPOSDataDir+\\quot\\timeclock.$$$\\quot\\//crlf////tab////tab////tab//fileDelete(sProcessedFilename)//crlf////tab////tab////tab//if(fileExists(sProcessedFilename))//crlf////tab////tab////tab////tab//fileSetLength(sProcessedFilename\\comma\\0)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//driverOpen(POS_SoftTouch_DBF_Timeclock_Processed\\comma\\dProcessed\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+sProcessedFilename)//crlf////crlf////tab////tab////tab//cRecords=driverGetRecordCount(drvTimeclock\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\Records in timeclock=\\quot\\+cRecords+\\quot\\ Filename=\\quot\\+sProcessedFilename)//crlf////tab////tab////tab//Cntr=0//crlf////tab////tab////tab//while (Cntr<cRecords)//crlf////tab////tab////tab////tab//intEmployee=driverGetField(drvTimeclock\\comma\\\\quot\\EMPLOYEENU\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab//intJob=driverGetField(drvTimeclock\\comma\\\\quot\\JOBNUMBER\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab//intClockType=driverGetField(drvTimeclock\\comma\\\\quot\\CLOCKTYPE\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab//dtClockTime=driverGetField(drvTimeclock\\comma\\\\quot\\Time\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab//dblRate=driverGetField(drvTimeclock\\comma\\\\quot\\WAGEAMOUNT\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Employee=\\quot\\+intEmployee+\\quot\\ Type=\\quot\\+intClockType)//tab////tab////tab////crlf////tab////tab////tab////tab//if (intClockType=0)//crlf////tab////tab////tab////tab////tab////clock-out//crlf////tab////tab////tab////tab////tab////Look for a clock-in record//crlf////tab////tab////tab////tab////tab//strFilter=\\quot\\(Employee=\\quot\\+intEmployee+\\quot\\) and (ActJobCode=\\quot\\+intJob+\\quot\\) and (dateNumber(ActTimeOut)=0)\\quot\\//crlf////tab////tab////tab////tab////tab//intRecord=driverFindRecordAbsolute(dProcessed\\comma\\0\\comma\\strFilter)//crlf////tab////tab////tab////tab////tab//if (intRecord>=0)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\ActTimeOut\\quot\\\\comma\\intRecord\\comma\\dtClockTime)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\AppTimeOut\\quot\\\\comma\\intRecord\\comma\\dtClockTime)//crlf////tab////tab////tab////tab////tab////tab//dCashTip=driverGetField(drvTimeclock\\comma\\\\quot\\CashTip\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab////tab//dChgTip=driverGetField(drvTimeclock\\comma\\\\quot\\CHGTIP\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\ActDeclTip\\quot\\\\comma\\intRecord\\comma\\dCashTip)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\ActChgTip\\quot\\\\comma\\intRecord\\comma\\dChgTip)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\AppDeclTip\\quot\\\\comma\\intRecord\\comma\\dCashTip)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\AppChgTip\\quot\\\\comma\\intRecord\\comma\\dChgTip)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Cannot locate clock-in record for Employee=\\quot\\+intEmployee+\\quot\\ Job=\\quot\\+intJob+\\quot\\ Clock-out=\\quot\\+formatDate(dtClockTime\\comma\\\\quot\\HH:mm:ss\\quot\\))//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//elseif (intClockType=1)//crlf////tab////tab////tab////tab////tab////clock in or return from break//crlf////tab////tab////tab////tab////tab////Look for a record with a break start//crlf////tab////tab////tab////tab////tab//strFilter=\\quot\\(Employee=\\quot\\+intEmployee+\\quot\\) and (ActJobCode=\\quot\\+intJob+\\quot\\) and (dateNumber(ActBreakIn)\\quot\\+char(0x3e)+\\quot\\0) and (dateNumber(ActBreakOut)=0)\\quot\\//crlf////tab////tab////tab////tab////tab//intRecord=driverFindRecordAbsolute(dProcessed\\comma\\0\\comma\\strFilter)//crlf////tab////tab////tab////tab////tab//if (intRecord>=0)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\ActBreakOut\\quot\\\\comma\\intRecord\\comma\\dtClockTime)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\AppBreakOut\\quot\\\\comma\\intRecord\\comma\\dtClockTime)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////If no break was found\\comma\\ it must be a clock-in record//crlf////tab////tab////tab////tab////tab////tab//intRecord=driverAddNewRecord(dProcessed)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\Store_ID\\quot\\\\comma\\intRecord\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\Employee\\quot\\\\comma\\intRecord\\comma\\intEmployee)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\ActJobCode\\quot\\\\comma\\intRecord\\comma\\intJob)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\ActTimeIn\\quot\\\\comma\\intRecord\\comma\\dtClockTime)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\ActRegRate\\quot\\\\comma\\intRecord\\comma\\dblRate)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\AppJobCode\\quot\\\\comma\\intRecord\\comma\\intJob)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\AppTimeIn\\quot\\\\comma\\intRecord\\comma\\dtClockTime)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\AppRegRate\\quot\\\\comma\\intRecord\\comma\\dblRate)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//elseif (intClockType=2)//crlf////tab////tab////tab////tab////tab////break start//crlf////tab////tab////tab////tab////tab////Look for a record with a clock-in time but no clock-out time//crlf////tab////tab////tab////tab////tab//strFilter=\\quot\\(Employee=\\quot\\+intEmployee+\\quot\\) and (ActJobCode=\\quot\\+intJob+\\quot\\) and (dateNumber(ActTimeOut)\\quot\\+char(0x3D)+\\quot\\0)\\quot\\//crlf////tab////tab////tab////tab////tab//intRecord=driverFindRecordAbsolute(dProcessed\\comma\\0\\comma\\strFilter)//crlf////tab////tab////tab////tab////tab//if (intRecord>=0)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\ActBreakIn\\quot\\\\comma\\intRecord\\comma\\dtClockTime)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dProcessed\\comma\\\\quot\\AppBreakIn\\quot\\\\comma\\intRecord\\comma\\dtClockTime)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Cannot locate clock-in record to record break start for Employee=\\quot\\+intEmployee+\\quot\\ Job=\\quot\\+intJob+\\quot\\ Break-Start=\\quot\\+formatDate(dtClockTime\\comma\\\\quot\\HH:mm:ss\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Filter=\\quot\\+strFilter)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//Cntr=Cntr + 1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(dProcessed)//crlf////tab////tab////tab//driverClose(drvTimeclock)//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>^
ID=AgentStart|X=151|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=78891|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=78891|X=183|Y=219|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentTabs|X=151|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_POS Interface - SoftTouch DBF\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - SoftTouch DBF\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 03-15-2017 20:16:51//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - SoftTouch DBF\\comma\\AgentTerminate\\comma\\78891\\comma\\2\\comma\\//crlf////tab////tab//scriptSetResult(2)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;03152017//amp//nbsp;201651//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;SoftTouch//amp//nbsp;DBF\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;03-15-2017//amp//nbsp;20:16:51</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(2)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__salt__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Directory listing of softtouch\export//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(getToken(\\quot\\POSInterface_PosDir\\quot\\)=\\quot\\undefined\\quot\\) or (len(getToken(\\quot\\POSInterface_PosDir\\quot\\))=0)>//crlf////tab//<p>Cannot get directory listing because POSInterface_PosDir token is undefined: [{POSInterface_PosDir}].</p?//crlf//</conditional>//crlf//<conditional expression:(not(getToken(\\quot\\POSInterface_PosDir\\quot\\)=\\quot\\undefined\\quot\\)) and (not(len(getToken(\\quot\\POSInterface_PosDir\\quot\\))=0))>//crlf////tab//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__POSInterface_PosDir'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of {POSInterface_PosDir}*.*</span></h2>//crlf////tab//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__POSInterface_PosDir\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec={POSInterface_PosDir}//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf//</conditional>//crlf//^
ID=AgentChart|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>03152017 201651</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart78891\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\124\\quot\\ style=\\quot\\width: 120px; height: 124px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>POS Interface - SoftTouch DBF</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart78891\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 157px; left: 33px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\46\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div>^
ID=747980|X=492|Y=170|W=859|H=175|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<br>//crlf//<include type:script; commands:\\quot\\//crlf////tab//sFilename=\\quot\\C:\temp\2024-04\hobnob\20240411\checkpayment.dbf\\quot\\//crlf////tab//driverOpen(POS_SoftTouch_Dbf_CheckPayment\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+sFilename)//crlf////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab//n=0//crlf////tab//while(n<c)//crlf////tab////tab//dAccountNum=driverGetFieldAbsolute(d\\comma\\\\quot\\Amount\\quot\\\\comma\\n)//crlf////tab////tab//dAmount=driverGetFieldAbsolute(d\\comma\\\\quot\\Amount\\quot\\\\comma\\n)//crlf////tab////tab//appendToLog(\\quot\\n: \\quot\\+n+\\quot\\ Amount: \\quot\\+dAmount)//crlf////tab////tab//n++//crlf////tab//endwhile//crlf////tab//return(\\quot\\ok\\quot\\)//crlf//\\quot\\>//crlf////crlf//
</widget><widget name="POS Interface - Microsale" group="POS Interface" category="Microsale" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Microsale" modified="04-13-2014 12:30:29" modifiedby="Keith-Dell2" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-02-2014 18:40:24:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=976|toolboxy=307|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=HSI Merge.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=open_driver|X=178|Y=44|W=1041|H=718|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|Content=<conditional expression:\\quot\\('__action__'='openDriver')\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Microsale openDriver __datatype__\\quot\\; commands:\\quot\\//crlf////tab////tab//////crlf////tab////tab////Microsale Interface//crlf////tab////tab//////crlf////tab////tab////This script opens a driver to read pos data for the given StoreID\\comma\\ DataType and Date.  //crlf////tab////tab////The return value is a pipe-delimited string in the form Status=n~~pipe~~Driver=DriverName~~pipe~~Modified=MM-dd-yyyy HH:mm:ss~~pipe~~Size=nnn//crlf////tab////tab////Status is -1=not valid\\comma\\ 0=valid but not available\\comma\\ 1=valid and available//crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//DataType - The ID of one of the datatypes defined in the Aspect_BackOffice_POS_Data_Types collection//crlf////tab////tab//////tab//Date//tab// - A single date in the form MM-dd-yyyy//crlf////tab////tab//////tab//OpenDriver - If false\\comma\\ the driver will not be opened but the expression used to test for data will be returned.//crlf////tab////tab//////tab////tab////tab////tab//  This is used when adding tasks to the pos synch driver.//crlf////tab////tab//////tab//Debug - If true\\comma\\ outputs debugging information to the log//crlf////tab////tab//////crlf////tab////tab////Returns a string in the form://crlf////tab////tab//////tab//status=n~~pipe~~Driver=drivername~~pipe~~modified=mm-dd-yyyy HH:mm:ss~~pipe~~size=nnn~~pipe~~DataAvailable=Expression~~pipe~~DataState=expression//crlf////tab////tab//////crlf////tab////tab////Status is 1 on success or 0 if the data is not available.  Status is -1 if the datatype is not supported for the POS.//crlf////tab////tab////Modified is the date/time the data was last modified//crlf////tab////tab////Size is the number of records available (NOT the file size)//crlf////tab////tab//////crlf////tab////tab////DataAvailable is an expression returned to test whether pos data is available or not.  It is used when//crlf////tab////tab////processing the synch tasks to avoid making calls to synchronize data when the pos data is not available.//crlf////tab////tab//////crlf////tab////tab////DataState is an expression used to create a state value for the pos data.  It is generally a getFileSpecState//crlf////tab////tab////function.  This is used to determine when a synch task needs to be run because the pos data has been//crlf////tab////tab////modified//crlf////crlf////tab////tab//bDebug=(\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////crlf////tab////tab//bOpenDriver=if(startsWith(\\quot\\__OpenDriver__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\false\\comma\\boolean(\\quot\\__OpenDriver__\\quot\\))//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Microsale - OpenDriver __datatype__ __date__ __StoreID__ OpenDriver=\\quot\\+bOpenDriver)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////get driver ID//crlf////tab////tab//sDriverID=lookup(POS_Microsale_Associated_Driver_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//if(sDriverID=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Microsale returns \\quot\\+s+\\quot\\ because driver for datatype (__datatype__) is not defined\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get POS type//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////get business date//crlf////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab//sPOSDir=addDirSlash(lookup(Aspect_BackOffice_POS_Directory_By_Store_ID\\comma\\\\quot\\__storeID__\\quot\\))//crlf////crlf////tab////tab//sDriverName=\\quot\\__datatype___\\quot\\+getSalt(8)//crlf////tab////tab//sDriverParams=\\quot\\DataType=__DataType__~~pipe~~StoreID=__StoreID__~~pipe~~date=__date__~~pipe~~POS=\\quot\\+sPOSType//crlf////crlf////tab////tab//sDataFilename=lookup(POS_Microsale_Associated_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Microsale - Database=\\quot\\+sDataFilename)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab//sDataAvailableExpression=\\quot\\databaseExists(\\quot\\+quote(sDataFilename)+\\quot\\)\\quot\\//crlf////tab////tab//sDataStateExpression=\\quot\\getFilespecState(lookup(Aspect_BackOffice_POS_Directory_By_Store_ID\\comma\\\\quot\\+quote(\\quot\\__StoreID__\\quot\\)+\\quot\\)+\\quot\\+quote(sDataFilename)+\\quot\\)\\quot\\//crlf////crlf////tab////tab////abort if the database does not exist//crlf////tab////tab//if(not(databaseExists(sDataFilename))) //crlf////tab////tab////tab//s=\\quot\\status=0~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Database does not exist.  OpenDriver returns \\quot\\+s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////just return the DataAvailable and DataState expressions if OpenDriver is false//crlf////tab////tab//if(not(bOpenDriver))//crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\openDriver returns \\quot\\+s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Microsale - Opening driver __datatype__ Params: \\quot\\+sDriverParams)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//driverOpen(sDriverID\\comma\\sDriverName\\comma\\READ\\comma\\true\\comma\\sDriverParams)//crlf////tab////tab//driverSetFilter(sDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab//s=\\quot\\status=1~~pipe~~Driver=\\quot\\+sDriverName+\\quot\\~~pipe~~modified=\\quot\\+formatDate(fileModified(sFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)+\\quot\\~~pipe~~size=\\quot\\+driverGetRecordCount(sDriverName\\comma\\true)//crlf////tab////tab//s=s+\\quot\\~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////appendToLog(\\quot\\POS Interface - Microsale openDriver returns \\quot\\+s+\\quot\\ (\\quot\\+driverGetRecordCount(sDriverName)+\\quot\\ records)\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:\\quot\\('__action__'='openJournal')\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS_Interface_Microsale_openJournal\\quot\\; commands:\\quot\\//crlf////tab////crlf////tab////tab// //=============================================================//crlf////tab////tab////Opens the check header\\comma\\ check detail and sales mix drivers.  Reads the necessary tables//crlf////tab////tab////from Microsale and processes them to create three output files - headers\\comma\\ details and//crlf////tab////tab////sales mix.  The appropriate file is returned based on the datatype.//crlf////tab////tab////Driver params passed to the driver are available//crlf////tab////tab////=============================================================//crlf////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab//sDate=\\quot\\__date__\\quot\\//crlf////tab////tab//sDataType=\\quot\\__datatype__\\quot\\//crlf////tab////tab//appendToLog(\\quot\\POS Interface - Microsale - open Journal: Store=\\quot\\+sStoreID+\\quot\\ Date=\\quot\\+sDate+\\quot\\ DataType=\\quot\\+sDataType)//crlf////tab////tab//tmStart=now()//crlf////crlf////tab////tab//bDebug=true//crlf////crlf////tab////tab////get POS type and POS directory//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab//sPOSDir=addDirSlash(lookup(Aspect_BackOffice_POS_Directory_By_Store_ID\\comma\\\\quot\\__storeID__\\quot\\))//crlf////tab////tab////crlf////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////set the driver params passed to the output drivers//crlf////tab////tab//sDriverParams=\\quot\\DataType=__DataType__~~pipe~~StoreID=__StoreID__~~pipe~~date=__date__~~pipe~~POS=\\quot\\+sPOSType//crlf////crlf////tab////tab////set the names for the output drivers//crlf////tab////tab//sDrvCkHeader=\\quot\\drvCkheader\\quot\\+getSalt(4)//crlf////tab////tab//sDrvCkDetail=\\quot\\drvCkdetail\\quot\\+getSalt(4)//crlf////tab////tab//sDrvSalesMix=\\quot\\drvSalesmix\\quot\\+getSalt(4)//crlf////crlf////tab////tab////set the filenames for the output drivers//crlf////tab////tab////The processed files will be created in the temporay files directory as \\quot\\[storeid]_MM-dd-yyyy_[ckh\\comma\\ckd\\comma\\mix]\\quot\\//crlf////tab////tab//sCheckHeaderFilename=getToken(\\quot\\temporary_files\\quot\\)+sStoreID+\\quot\\_\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\_ckh.$$$\\quot\\//crlf////tab////tab//sCheckDetailFilename=getToken(\\quot\\temporary_files\\quot\\)+sStoreID+\\quot\\_\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\_ckd.$$$\\quot\\//crlf////tab////tab//sSalesMixFilename=getToken(\\quot\\temporary_files\\quot\\)+sStoreID+\\quot\\_\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\_mix.$$$\\quot\\//crlf////tab////tab////crlf////tab////tab//bProcess=false//crlf////tab////tab////crlf////tab////tab////don't process if all three files already exist //crlf////tab////tab////Need to modify this to process files on the current day when the database is updated//crlf////tab////tab//bProcess=(bProcess) or (not(fileExists(sCheckHeaderFilename))) or (fileSize(sCheckHeaderFilename)=0)//crlf////tab////tab//bProcess=(bProcess) or (not(fileExists(sCheckDetailFilename))) or (fileSize(sCheckDetailFilename)=0)//crlf////tab////tab//bProcess=(bProcess) or (not(fileExists(sSalesMixFilename))) or (fileSize(sSalesMixFilename)=0)//crlf////crlf////tab////tab////don't process if the chk stat database doesn't exist//crlf////tab////tab//if(not(databaseExists(\\quot\\Microsale - Chk Stat\\quot\\)))//crlf////tab////tab////tab//appendToLog(\\quot\\Error: Database named 'Microsale - Chk Stat' does not exist\\quot\\)//crlf////tab////tab////tab//bProcess=false//crlf////tab////tab//endif//crlf////crlf////tab////tab////for debugging//crlf////tab////tab//if(false)//crlf////tab////tab////tab//bProcess=true//crlf////tab////tab////tab//appendToLog(\\quot\\Forcing bProcess=true in Microsale openJournal\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab//if (bProcess)//crlf////tab////tab////tab////Delete the destination files if they exist.  //crlf////tab////tab////tab//fileDelete(sCheckHeaderFilename)//crlf////tab////tab////tab//fileDelete(sCheckDetailFilename)//crlf////tab////tab////tab//fileDelete(sSalesMixFilename)//crlf////tab////tab////tab////crlf////tab////tab////tab////Give an error if any file could not be deleted//crlf////tab////tab////tab////Note: might be better to deleteActiveRecords to the process can work even if the files cannot be deleted//crlf////tab////tab////tab//s=if(fileExists(sCheckHeaderFilename)\\comma\\appendToLog(\\quot\\POS Interface - Microsale - Error - Could not delete \\quot\\+sCheckHeaderFilename+\\quot\\.dbf\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=if(fileExists(sCheckDetailFilename)\\comma\\appendToLog(\\quot\\POS Interface - Microsale - Error - Could not delete \\quot\\+sCheckDetailFilename+\\quot\\.dbf\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=if(fileExists(sSalesMixFilename)\\comma\\appendToLog(\\quot\\POS Interface - Microsale - Error - Could not delete \\quot\\+sSalesMixFilename+\\quot\\.dbf\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////crlf////tab////tab////tab////open the output drivers//crlf////tab////tab////tab//driverOpen(\\quot\\POS_Microsale_Check_Header\\quot\\\\comma\\sDrvCkHeader\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\+sCheckHeaderFilename+\\quot\\~~pipe~~\\quot\\+sDriverParams)//crlf////tab////tab////tab//driverOpen(\\quot\\POS_Microsale_Check_Detail\\quot\\\\comma\\sDrvCkDetail\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\+sCheckDetailFilename+\\quot\\~~pipe~~\\quot\\+sDriverParams)//crlf////tab////tab////tab//driverOpen(\\quot\\POS_Microsale_SalesMix\\quot\\\\comma\\sDrvSalesMix\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\+sSalesMixFilename+\\quot\\~~pipe~~\\quot\\+sDriverParams)//crlf////tab////tab////tab////crlf////tab////tab////tab////open the closed checks driver and look for the first check opened on the date being imported between 6am and 11pm.  //crlf////tab////tab////tab////This is used to get the Microsale Close Out Day//crlf////tab////tab////tab//driverOpen(POS_Microsale_Chk_Stat_mdb_Closed_Checks\\comma\\drvClosedChecks\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\+sStoreID+\\quot\\~~pipe~~Date=\\quot\\+sDate)//crlf////tab////tab////tab////crlf////tab////tab////tab//sFilter=\\quot\\(dateNumber(Business_Date)=\\quot\\+dateNumber(dtBusiness)+\\quot\\)\\quot\\//crlf////tab////tab////tab//sFilter=sFilter + \\quot\\ and (hour(Time_Open)\\quot\\+char(0x3e)+\\quot\\=6) and (hour(Time_Open)\\quot\\+char(0x3c)+\\quot\\=23)\\quot\\//crlf////tab////tab////tab//r=driverFindRecordAbsolute(drvClosedChecks\\comma\\0\\comma\\sFilter)//crlf////tab////tab////tab//if(r>=0)//crlf////tab////tab////tab////tab////initialize hashtable of employee ID's by check number.  This is populated while reading the check //crlf////tab////tab////tab////tab////headers and used to look up employee numbers when recording tenders//crlf////tab////tab////tab////tab//hashCreate(hEmployeIDByCheckNumber)//crlf////crlf////tab////tab////tab////tab//iCloseOutDay=driverGetFieldAbsolute(drvClosedChecks\\comma\\\\quot\\Close Out Day\\quot\\\\comma\\r)//crlf////crlf////tab////tab////tab////tab////filter the driver to the closeout day//crlf////tab////tab////tab////tab//driverSetFilter(drvClosedChecks\\comma\\\\quot\\(\\quot\\+quote(\\quot\\Close Out Day\\quot\\)+\\quot\\=\\quot\\+iCloseOutDay+\\quot\\)\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////tab/////========================================================================================================================//crlf////tab////tab////tab////tab////Check Headers//crlf////tab////tab////tab////tab/////========================================================================================================================//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//cRecords=driverGetRecordCount(drvClosedChecks)//crlf////tab////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Microsale - Reading Closed Checks Records=\\quot\\+cRecords)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cRecords)//crlf////tab////tab////tab////tab////tab//sCheckNumber=driverGetField(drvClosedChecks\\comma\\\\quot\\Check Number\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//iEmployeeID=driverGetField(drvClosedChecks\\comma\\\\quot\\EmployeeID\\quot\\\\comma\\Cntr)//crlf////crlf////tab////tab////tab////tab////tab////Add employee ID to hash table//crlf////tab////tab////tab////tab////tab//hashPut(hEmployeIDByCheckNumber\\comma\\sCheckNumber\\comma\\iEmployeeID)//crlf////crlf////tab////tab////tab////tab////tab////add to check headers//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkHeader)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Time_Open\\quot\\\\comma\\r\\comma\\driverGetField(drvClosedChecks\\comma\\\\quot\\Time_Open\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Time_Close\\quot\\\\comma\\r\\comma\\driverGetField(drvClosedChecks\\comma\\\\quot\\Time_Close\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Guests\\quot\\\\comma\\r\\comma\\driverGetField(drvClosedChecks\\comma\\\\quot\\Number In Party\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\TableNumber\\quot\\\\comma\\r\\comma\\driverGetField(drvClosedChecks\\comma\\\\quot\\Table Number\\quot\\\\comma\\Cntr))//crlf////crlf////tab////tab////tab////tab////tab////add sales tax to check details//crlf////tab////tab////tab////tab////tab//dGrossSalesTax=driverGetField(drvClosedChecks\\comma\\\\quot\\Gross Sales Tax\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//dVoidedSalesTax=driverGetField(drvClosedChecks\\comma\\\\quot\\Voided Sales Tax\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//dInclusiveTax=driverGetField(drvClosedChecks\\comma\\\\quot\\Inclusive Total\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//dSalesTax=dGrossSalesTax - dVoidedSalesTax - dInclusiveTax//crlf////crlf////tab////tab////tab////tab////tab////sales tax//crlf////tab////tab////tab////tab////tab//if(dSalesTax<>0)//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\r\\comma\\iEmployeeID)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\driverGetField(drvClosedChecks\\comma\\\\quot\\Time_Close\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\4)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dSalesTax)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////inclusive sales tax//crlf////tab////tab////tab////tab////tab//if(dInclusiveTax<>0)//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\r\\comma\\iEmployeeID)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\driverGetField(drvClosedChecks\\comma\\\\quot\\Time_Close\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\4)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dInclusiveTax)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//Cntr=Cntr + 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//driverSetFilter(sDrvCkHeader\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab////Check Details - Sales//crlf////tab////tab////tab////tab/////============================================================//crlf////crlf////tab////tab////tab////tab////open the source driver//crlf////tab////tab////tab////tab//driverOpen(POS_Microsale_Chk_Stat_mdb_Check_Detail\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\+sStoreID+\\quot\\~~pipe~~Date=\\quot\\+sDate)//crlf////tab////tab////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\(\\quot\\+quote(\\quot\\Close Out Day\\quot\\)+\\quot\\=\\quot\\+iCloseOutDay+\\quot\\)\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////initialize a hashtable to look up menu items in the sales mix driver//crlf////tab////tab////tab////tab//hashCreate(hSalesMixItemID)//crlf////crlf////tab////tab////tab////tab////Add the records to the check details//crlf////tab////tab////tab////tab//cRecords=driverGetRecordCount(drvSrc)//crlf////tab////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Microsale - Reading Check Details - Sales Records=\\quot\\+cRecords)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cRecords)//crlf////tab////tab////tab////tab////tab//iItemID=driverGetField(drvSrc\\comma\\\\quot\\MenuItemID\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//iEmployeeID=driverGetField(drvSrc\\comma\\\\quot\\EmployeeID\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//sCheckNumber=driverGetField(drvSrc\\comma\\\\quot\\Check Number\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//iQuantity=driverGetField(drvSrc\\comma\\\\quot\\Quantity\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//dAmount=driverGetField(drvSrc\\comma\\\\quot\\Price\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//dt=driverGetField(drvSrc\\comma\\\\quot\\Time\\quot\\\\comma\\Cntr)//crlf////crlf////tab////tab////tab////tab////tab////if amount > 0 it's a sale or a void.//crlf////tab////tab////tab////tab////tab//if(dAmount>0)//crlf////tab////tab////tab////tab////tab////tab//iVoided=driverGetField(drvSrc\\comma\\\\quot\\Voided\\quot\\\\comma\\Cntr)//crlf////crlf////tab////tab////tab////tab////tab////tab//if(iVoided>0)//crlf////tab////tab////tab////tab////tab////tab////tab////add void to check details//crlf////tab////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\dt)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\driverGetField(drvSrc\\comma\\\\quot\\VoidID\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\r\\comma\\iEmployeeID)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Menuitem\\quot\\\\comma\\r\\comma\\iItemID)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Quantity\\quot\\\\comma\\r\\comma\\iQuantity)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////add sale to check details//crlf////tab////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\dt)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\iItemID)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\r\\comma\\iEmployeeID)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Menuitem\\quot\\\\comma\\r\\comma\\iItemID)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//iQuantiry=if(iQuantity=0\\comma\\1\\comma\\iQuantity)//crlf////tab////tab////tab////tab////tab////tab////tab////dAmount=dAmount/iQuantiry//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Quantity\\quot\\\\comma\\r\\comma\\iQuantity)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////add to sales mix//crlf////tab////tab////tab////tab////tab////tab////tab////look up record number in sales mix driver from hashtable//crlf////tab////tab////tab////tab////tab////tab////tab//r=if(hashContainsKey(hSalesMixItemID\\comma\\iItemID)\\comma\\hashGet(hSalesMixItemID\\comma\\iItemID)\\comma\\-1)//crlf////tab////tab////tab////tab////tab////tab////tab//if(r<0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//r=driverFindRecordAbsolute(sDrvSalesMix\\comma\\0\\comma\\\\quot\\ItemID=\\quot\\+quote(sItemID))//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////if record doesn't exist\\comma\\ add a new record//crlf////tab////tab////tab////tab////tab////tab////tab//if (r<0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvSalesMix)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//hashPut(hSalesMixItemID\\comma\\iItemID\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab//intSold=driverGetFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Sold\\quot\\\\comma\\r)+iQuantity//crlf////tab////tab////tab////tab////tab////tab////tab//dblNetSales=driverGetFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Net_Sales\\quot\\\\comma\\r)+dAmount//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\MenuItemID\\quot\\\\comma\\r\\comma\\iItemID)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Sold\\quot\\\\comma\\r\\comma\\intSold)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Net_Sales\\quot\\\\comma\\r\\comma\\dblNetSales)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\date(dateNumber(dt)\\comma\\true))//crlf////tab////tab////tab////tab////tab////tab////tab////driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Discounts\\quot\\\\comma\\r\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//elseif(dAmount<0)//crlf////tab////tab////tab////tab////tab////tab////it's a discount//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////add to check details//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\dt)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\3)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\driverGetField(drvSrc\\comma\\\\quot\\DiscountID\\quot\\\\comma\\Cntr))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\r\\comma\\iEmployeeID)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Menuitem\\quot\\\\comma\\r\\comma\\sItemID)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Quantity\\quot\\\\comma\\r\\comma\\iQuantity)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////amount is 0//crlf////tab////tab////tab////tab////tab////tab//bPlaceholder=true//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//Cntr=Cntr + 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//driverClose(drvSrc)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab////Check Details - Tenders//crlf////tab////tab////tab////tab/////============================================================//crlf////tab////tab////tab////tab////open the source driver//crlf////tab////tab////tab////tab//driverOpen(POS_Microsale_Chk_Stat_mdb_Payments\\comma\\drvSrc\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\+sStoreID+\\quot\\~~pipe~~Date=\\quot\\+sDate)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////The closeout day in the payments table does not always match the closeout day in the closed checks table//crlf////tab////tab////tab////tab//driverSetFilter(drvSrc\\comma\\\\quot\\(\\quot\\+quote(\\quot\\Close Out Day\\quot\\)+\\quot\\=\\quot\\+iCloseOutDay+\\quot\\)\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////driverSetFilter(drvSrc\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////Add the records to the check details//crlf////tab////tab////tab////tab//cRecords=driverGetRecordCount(drvSrc)//crlf////tab////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Microsale - Reading Tenders Records=\\quot\\+cRecords)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cRecords)//crlf////tab////tab////tab////tab////tab//sCheckNumber=driverGetField(drvSrc\\comma\\\\quot\\Check Number\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//iPaymentID=driverGetField(drvSrc\\comma\\\\quot\\PaymentID\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//sPaymentType=driverGetField(drvSrc\\comma\\\\quot\\Payment Type\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//dAmount=driverGetField(drvSrc\\comma\\\\quot\\Payment Amount\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//dTtlPayment=dAmount+dTip//crlf////tab////tab////tab////tab////tab//dt=driverGetField(drvSrc\\comma\\\\quot\\DateTime\\quot\\\\comma\\Cntr)//crlf////crlf////tab////tab////tab////tab////tab//dTip=0//tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//if((pos(\\quot\\cash\\quot\\\\comma\\sPaymentType)<0) and (pos(\\quot\\check\\quot\\\\comma\\sPaymentType)<0) and (pos(\\quot\\party\\quot\\\\comma\\sPaymentType)<0))//crlf////tab////tab////tab////tab////tab////tab//dTip=driverGetField(drvSrc\\comma\\\\quot\\Tip Amount\\quot\\\\comma\\Cntr)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////add tender to check details//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\dt)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\8)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\iPaymentID)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////crlf////tab////tab////tab////tab////tab//if(hashContainsKey(hEmployeIDByCheckNumber\\comma\\sCheckNumber))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\r\\comma\\hashGet(hEmployeIDByCheckNumber\\comma\\sCheckNumber))//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////add tip to check details//crlf////tab////tab////tab////tab////tab//if(dTip<>0)//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Line\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\dt)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\RecType\\quot\\\\comma\\r\\comma\\10)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\iPaymentID)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dTip)//crlf////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hEmployeIDByCheckNumber\\comma\\sCheckNumber))//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\r\\comma\\hashGet(hEmployeIDByCheckNumber\\comma\\sCheckNumber))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//Cntr=Cntr + 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//driverClose(drvSrc)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\No records for for __Date__ in closed checks table\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverClose(drvClosedChecks)//crlf////crlf////tab////tab////tab//driverClose(sDrvCkHeader)//crlf////tab////tab////tab//driverClose(sDrvCkDetail)//crlf////tab////tab////tab//driverClose(sDrvSalesMix)//crlf////tab////tab//endif//crlf////crlf////tab////tab////Open and return the appropriate driver.  Copy the processed file to a temp file because the file becomes//crlf////tab////tab////locked by windows when viewed in the pos viewer even though it appears to be closed properly.  If the//crlf////tab////tab////file is not copied to a temp file it cannot be deleted and replaced with a new processed file when necessary//crlf////tab////tab////This is a program bug or a java bug that still needs to be worked out.  The result for now is that temp files//crlf////tab////tab////created by this routine will exist in the temporary files folder until the program is restarted.//crlf////crlf////tab////tab////02-12-2012 - This problem has bee corrected.  It's no longer necessary to copy to a temp file.  See Par-Siva for an example//crlf////crlf////tab////tab//sTempFilename=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\journal\\quot\\+getSalt(8)+\\quot\\.$$$\\quot\\//crlf////tab////tab//sDriverName=getSalt(8)//crlf////tab////tab//if(sDataType=\\quot\\check_headers\\quot\\)//crlf////tab////tab////tab//fileCopy(sCheckHeaderFilename\\comma\\sTempFilename)//crlf////tab////tab////tab//driverOpen(\\quot\\POS_Microsale_Check_Header\\quot\\\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\+sTempFilename+\\quot\\~~pipe~~StoreID=\\quot\\+sStoreID+\\quot\\~~pipe~~Date=\\quot\\+sDate)//crlf////tab////tab//elseif(sDataType=\\quot\\check_details\\quot\\)//crlf////tab////tab////tab//fileCopy(sCheckDetailFilename\\comma\\sTempFilename)//crlf////tab////tab////tab//driverOpen(\\quot\\POS_Microsale_Check_Detail\\quot\\\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\+sTempFilename+\\quot\\~~pipe~~StoreID=\\quot\\+sStoreID+\\quot\\~~pipe~~Date=\\quot\\+sDate)//crlf////tab////tab//elseif(sDataType=\\quot\\sales_mix\\quot\\)//crlf////tab////tab////tab//fileCopy(sSalesMixFilename\\comma\\sTempFilename)//crlf////tab////tab////tab//driverOpen(\\quot\\POS_Microsale_SalesMix\\quot\\\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\+sTempFilename+\\quot\\~~pipe~~StoreID=\\quot\\+sStoreID+\\quot\\~~pipe~~Date=\\quot\\+sDate)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab//sResult=sDriverName//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Inteface - Microsale - result=\\quot\\+sResult)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\POS Interface - Microsale - open Journal complete.  Elapsed time: \\quot\\+((now()-tmStart)/1000));//crlf////crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:\\quot\\('__action__'='openOtherTotals')\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS_Interface_Microsale_openOtherTotals\\quot\\; commands:\\quot\\//crlf////tab////crlf////tab////tab// //=============================================================//crlf////tab////tab////Prepares and returns the \\quot\\POS Microsale - Other Totals\\quot\\ driver containing deposit information//crlf////tab////tab////=============================================================//crlf////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab//sDate=\\quot\\__date__\\quot\\//crlf////tab////tab//sDataType=\\quot\\__datatype__\\quot\\//crlf////tab////tab//appendToLog(\\quot\\POS Interface - Microsale - open Other Totals1 Store=\\quot\\+sStoreID+\\quot\\ Date=\\quot\\+sDate+\\quot\\ DataType=\\quot\\+sDataType)//crlf////crlf////tab////tab////get the drivername and filename of the file to be returned//crlf////tab////tab//sDriverName=getSalt(8)//crlf////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)+sStoreID+\\quot\\_\\quot\\+sDate+\\quot\\_other_totals.$$$\\quot\\//crlf////crlf////tab////tab////create the file if it doesn't exist//crlf////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////open the output file//crlf////tab////tab////tab//driverOpen(POS_Microsale_Other_Totals\\comma\\sDriverName\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sFilename+\\quot\\~~pipe~~Date=\\quot\\+sDate)//crlf////crlf////tab////tab////tab////open the closing history - deposits driver to get deposit information//crlf////tab////tab////tab//driverOpen(POS_Microsale_Closing_History_Deposits\\comma\\drvDeposits\\comma\\READ\\comma\\false\\comma\\\\quot\\date=__date__~~pipe~~StoreID=__storeID\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvDeposits\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvDeposits)//crlf////tab////tab////tab//appendToLog(\\quot\\Number of deposits in closing history: \\quot\\+c)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//dAmount=driverGetField(drvDeposits\\comma\\\\quot\\Amount\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(sDriverName)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(sDriverName\\comma\\\\quot\\Name\\quot\\\\comma\\r\\comma\\\\quot\\Deposit \\quot\\+(n+1))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(sDriverName\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////output zero values so there is always a consistent number of records//crlf////tab////tab////tab//while(n<10)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(sDriverName)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(sDriverName\\comma\\\\quot\\Name\\quot\\\\comma\\r\\comma\\\\quot\\Deposit \\quot\\+(n+1))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(sDriverName\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\0)//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(drvDeposits)//crlf////tab////tab////tab//driverClose(sDriverName)//crlf////tab////tab//endif//crlf////crlf////tab////tab//driverOpen(POS_Microsale_Other_Totals\\comma\\sDriverName\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\+sFilename)//crlf////tab////tab//scriptSetResult(sDriverName)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf//
^
ID=tabs_synch|X=178|Y=22|W=214|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|Content=<table name=\\quot\\tabs_synch\\quot\\ class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'open_driver')\\quot\\>Open Driver</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'setup')\\quot\\>Setup</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'pos_drivers')\\quot\\>POS Drivers</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'pos_notes')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'743416')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>Aspect</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'760488')\\quot\\>Notes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=743416|X=1500|Y=22|W=737|H=662|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|Content=/********************************************************************************//crlf//Called when a driver is selected in the Test Drivers tab to display the driver.//crlf//********************************************************************************///crlf//function sybaseDriverSelected()//crlf//{//crlf////tab////abort if no driver selected//crlf////tab//var sDriver=document.getElementById(\\quot\\SelectSybaseDriver\\quot\\).value;//crlf////tab//if(sDriver==\\quot\\0\\quot\\) return;//crlf////crlf////tab////get the selected customer//crlf////tab//var sCustomerID=document.getElementById(\\quot\\left_bar_select_computer\\quot\\).value;//crlf////crlf////tab////get the filter to apply//crlf////tab//var sFilter=document.getElementById(\\quot\\DriverFilter\\quot\\).value.trim();//crlf////tab//if(sFilter.length>0) sFilter=\\quot\\Filter=\\quot\\+sFilter;//crlf////crlf////tab////set the url for the div.  A template is stored in the _url attribute.//crlf////tab////replace the driver ID\\comma\\ customer ID and filter//crlf////tab//var div=document.getElementById(\\quot\\SybaseDriverOutput\\quot\\);//crlf////tab//var sUrl=replaceAllSubstrings(div.getAttribute(\\quot\\_url\\quot\\)\\comma\\\\quot\\$driver$\\quot\\\\comma\\sDriver);//crlf////tab//sUrl=replaceAllSubstrings(sUrl\\comma\\\\quot\\$customerid$\\quot\\\\comma\\sCustomerID);//crlf////tab//sUrl=replaceAllSubstrings(sUrl\\comma\\\\quot\\$filter$\\quot\\\\comma\\sFilter);//crlf////crlf////tab////update the div//crlf////tab//div.setAttribute(\\quot\\url\\quot\\\\comma\\sUrl);//crlf////tab//setInterval(div\\comma\\0\\comma\\true);//crlf//};//crlf//
^
ID=760488|X=1500|Y=22|W=737|H=662|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|Content=Notes
^
ID=debug_console|X=1500|Y=22|W=737|H=662|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|
^
ID=pos_notes|X=178|Y=44|W=847|H=706|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=true|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|Content=<h2>Required Databases</h2>//crlf////crlf//<p>Country Cookin is using SQL for ck-stat and account data\\comma\\ located in//crlf//<p>c:\program files\Microsoft SQL Server\MSSQL.1\MSSQL\Data</p>//crlf//<p>The backup ck-stat is converted to access and put in the Microsale directory.</p>//crlf////crlf//<table>//crlf////tab//<tr>//crlf////tab////tab//<th align='left'>Data Source Name</th>//crlf////tab////tab//<th align='left'>Database filename</th>//crlf////tab////tab//<th align='left'>Type</th>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Microsale - Account Data</td>//crlf////tab////tab//<td>Account Data.mdb</td>//crlf////tab////tab//<td>Access or SQL</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Microsale - Chk Stat</td>//crlf////tab////tab//<td>CHK STATSQL.mdf</td>//crlf////tab////tab//<td>Access or SQL</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Microsale - Crmenu</td>//crlf////tab////tab//<td>Crmenu.mdb</td>//crlf////tab////tab//<td>Access</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Microsale - Discount.mdb (May not be used)</td>//crlf////tab////tab//<td>Discount.mdb</td>//crlf////tab////tab//<td>Access</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Microsale - Employee</td>//crlf////tab////tab//<td>Employee.mdb</td>//crlf////tab////tab//<td>Access</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Microsale - System Options</td>//crlf////tab////tab//<td>System Options.Mdb</td>//crlf////tab////tab//<td>Access</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Microsale - Time Records</td>//crlf////tab////tab//<td>Time Records.mdb</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Microsale - Time History</td>//crlf////tab////tab//<td>Time History.mdb</td>//crlf////tab//</tr>//crlf//</table>//crlf////crlf//<p>Time Records.mdb gets moved to Time History.mdb at the end of each pay period.</p>//crlf////crlf//<p>Ck-Stat gets copied to \\quot\\mm-dd-yyyy Week  Sales BackUp.MDB\\quot\\ at the end of every week</p>//crlf////crlf//<p>For both of these\\comma\\ will need to set up a data source pointing to a generic database and then Aspect will need to copy the //crlf//correct file into the database before accessing it.  Will need two data sources for ck-stat since the current one is sql and the past one is converted to access.</p>//crlf////crlf//<p>Close out day is the day of their week</p>//crlf////crlf//<h2>Access vs SQL</h2>//crlf////crlf//<p>01-25-2012 - Conversation with Johnny</p>//crlf////crlf//<p>Files are usally stored in MS Access format in the \Microsale directory with an mdb extension.</p>//crlf////crlf//<p>A sql server can also be used for selected files including account data\\comma\\ financial and chk-stat.  //crlf//An MS Access file may also be available but may not be.  If sql is used\\comma\\ the files may be located anywhere //crlf//and may have different filenames with an mdf extension.</p>//crlf////crlf//Server History.mdb - 5 tables<br>//crlf////tab//server payments - date\\comma\\ name\\comma\\ payments<br>//crlf////tab//server sales - department totals<br>//crlf//<br>//crlf////crlf//<ul>//crlf////tab//<li>Tax names - System Options.Mdb</li>//crlf////tab//<li>Tender names - System Options.Mdb</li>//crlf////tab//<li>Revenue center names - System Options.Mdb</li>//crlf////tab//<li>Paid-out names - System Options.Mdb</li>//crlf////tab//<li>Paid-in names - Crmenu.mdb</li>//crlf////tab//<li>Manu items - Crmenu.mdb</li>//crlf////tab//<li>Menu categories - Crmenu.mdb</li>//crlf////tab//<li>Job codes - System Options.Mdb</li>//crlf////tab//<li>Gift cert names - Account Data.mdb (or SQL)</li>//crlf////tab//<li>Employee records - Employee.mdb</li>//crlf////tab//<li>Discount names - Discount.mdb</li>//crlf////tab//<li>Department names - Crmenu.mdb</li>//crlf////tab//<li>Comp names - Discount.mdb</li>//crlf////tab//<li>Timeclock - Time Records.mdb</li>//crlf////tab//<li>Sales mix - use check details</li>//crlf////tab//<li>Check headers - Financial.mdb (or SQL)</li>//crlf////tab//<li>Check details - Chk-Stat.mdb (or SQL)</li>//crlf//</ul>//crlf//
^
ID=AspectScript|X=1500|Y=22|W=737|H=662|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|
^
ID=setup|X=178|Y=44|W=1039|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|
^
ID=pos_drivers|X=178|Y=44|W=822|H=737|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|Content=<constant name:__width1__; value:300px;>//crlf////crlf//<p>Displays contents of a driver from the computer selected in the left bar.</p>//crlf////crlf//<table class=\\apos\\form\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td>Driver</td>//crlf////tab////tab//<td>{@htmlSelect(POS_Microsale_Microsale_Drivers\\comma\\\\quot\\Drivers\\quot\\\\comma\\\\quot\\0\\quot\\\\comma\\\\quot\\ID=\\apos\\SelectSybaseDriver\\apos\\ style=\\apos\\width:__width1__\\apos\\ onChange=\\apos\\sybaseDriverSelected()\\apos\\\\quot\\)}</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Filter</td>//crlf////tab////tab//<td>//crlf////tab////tab////tab//<input type=\\apos\\text\\apos\\ ID=\\apos\\DriverFilter\\apos\\ style=\\quot\\width:__width1__\\quot\\>//crlf////tab////tab////tab//<img class=\\apos\\hyperlink\\apos\\ onclick=\\apos\\sybaseDriverSelected()\\apos\\ src=\\quot\\__RequestServer__/?Network=greenlight\\amp\\ID=getImage\\amp\\filename=refresh12x12.png\\quot\\>//crlf////tab////tab//  (No filters have been included in Microsale drivers)//crlf////tab////tab//</td>//crlf////tab//</tr>//crlf//</table>//crlf////crlf//<div //crlf////tab//ID=\\quot\\SybaseDriverOutput\\quot\\//crlf////tab//interval=\\apos\\-1\\apos\\ //crlf////tab//_url=\\apos\\__RequestServer__/?Network=GreenLight\\amp\\//crlf////tab////tab//ID=getWidget\\amp\\//crlf////tab////tab//source=$customerid$\\amp\\//crlf////tab////tab//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em\\amp\\//crlf////tab////tab//Widget=Notification Queries\\amp\\//crlf////tab////tab//query=includeDriver\\amp\\//crlf////tab////tab//SourceDriverID=$driver$\\amp\\//crlf////tab////tab//sort=obj_num\\amp\\//crlf////tab////tab//fields=\\amp\\//crlf////tab////tab//DriverParams=keyexpression=obj_num~~pipe~~CacheTtl=0~~pipe~~$filter$\\amp\\//crlf////tab////tab//KeyDescription=obj_num\\amp\\//crlf////tab////tab//MaxRecords=100\\apos\\//crlf//>//crlf//</div> //crlf////crlf//<div style=\\quot\\height:800px\\quot\\></div>//crlf//
^
ID=top_bar|X=0|Y=0|W=1025|H=34|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\top_bar\\quot\\; params:\\quot\\\\quot\\;>
^
ID=left_bar|X=0|Y=22|W=121|H=49|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\left_bar\\quot\\; params:\\quot\\startpackage=__startpackage__~~pipe~~package={@\\quot\\__package__\\quot\\}~~pipe~~menu=__menu__\\quot\\;>//crlf//
</widget><widget name="POS Interface - Focus" group="POS Interface" category="Focus" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Focus" modified="04-13-2014 12:27:59" modifiedby="Keith-Dell2" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-02-2014 18:40:24:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=814|toolboxy=249|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=HSI Merge.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=open_driver|X=6|Y=29|W=1039|H=765|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\openDriver\\apos\\)\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - SoftTouch openDriver __datatype__\\quot\\; commands:\\quot\\//crlf////tab////tab//////crlf////tab////tab////Focus Interface//crlf////tab////tab//////crlf////tab////tab////This script opens a driver to read pos data for the given StoreID\\comma\\ DataType and Date.  //crlf////tab////tab////The return value is a pipe-delimited string in the form Status=n{{pipe{{Driver=DriverName{{pipe{{Modified=MM-dd-yyyy HH:mm:ss{{pipe{{Size=nnn//crlf////tab////tab////Status is -1=not valid\\comma\\ 0=valid but not available\\comma\\ 1=valid and available//crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//DataType - The ID of one of the datatypes defined in the Aspect_BackOffice_POS_Data_Types collection//crlf////tab////tab//////tab//Date//tab// - A single date in the form MM-dd-yyyy//crlf////tab////tab//////tab//OpenDriver - If false\\comma\\ the driver will not be opened but the expression used to test for data will be returned.//crlf////tab////tab//////tab////tab////tab////tab//  This is used when adding tasks to the pos synch driver.//crlf////tab////tab//////tab//Debug - If true\\comma\\ outputs debugging information to the log//crlf////tab////tab//////crlf////tab////tab////Returns a string in the form://crlf////tab////tab//////tab//status=n{{pipe{{Driver=drivername{{pipe{{modified=mm-dd-yyyy HH:mm:ss{{pipe{{size=nnn{{pipe{{DataAvailable=Expression{{pipe{{DataState=expression//crlf////tab////tab//////crlf////tab////tab////Status is 1 on success or 0 if the data is not available.  Status is -1 if the datatype is not supported for the POS.//crlf////tab////tab////Modified is the date/time the data was last modified//crlf////tab////tab////Size is the number of records available (NOT the file size)//crlf////tab////tab//////crlf////tab////tab////DataAvailable is an expression returned to test whether pos data is available or not.  It is used when//crlf////tab////tab////processing the synch tasks to avoid making calls to synchronize data when the pos data is not available.//crlf////tab////tab//////crlf////tab////tab////DataState is an expression used to create a state value for the pos data.  It is generally a getFileSpecState//crlf////tab////tab////function.  This is used to determine when a synch task needs to be run because the pos data has been//crlf////tab////tab////modified//crlf////crlf////tab////tab//bDebug=(\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////crlf////tab////tab//bOpenDriver=if(startsWith(\\quot\\__OpenDriver__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\false\\comma\\boolean(\\quot\\__OpenDriver__\\quot\\))//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Focus - OpenDriver __datatype__ __date__ __StoreID__ OpenDriver=\\quot\\\\plus\\bOpenDriver)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////get driver ID//crlf////tab////tab//sDriverID=lookup(POS_Focus_Associated_Driver_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//if(sDriverID=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab//s=\\quot\\status=-1{{pipe{{Driver={{pipe{{DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Focus returns \\quot\\\\plus\\s\\plus\\\\quot\\ because driver for datatype (__datatype__) is not defined\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get POS type//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////get business date//crlf////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab//sPOSDir=addDirSlash(lookup(Aspect_BackOffice_POS_Directory_By_Store_ID\\comma\\\\quot\\__storeID__\\quot\\))//crlf////crlf////tab////tab//sDriverName=\\quot\\__datatype___\\quot\\\\plus\\getSalt(8)//crlf////tab////tab//sDriverParams=\\quot\\DataType=__DataType__{{pipe{{StoreID=__StoreID__{{pipe{{date=__date__{{pipe{{POS=\\quot\\\\plus\\sPOSType//crlf////crlf////tab////tab//sDataFilename=lookup(POS_Focus_Associated_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab//sFilename=sPosDir\\plus\\sDataFilename//crlf////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Focus - Filename=\\quot\\\\plus\\sFilename)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////use a lookup for the pos directory to the test for data filename.  This allows the expression to remain//crlf////tab////tab////accurate even when the pos directory is changed in the store record\\comma\\ e.g. from one drive to another//crlf////tab////tab//sDataAvailableExpression=\\quot\\fileExists(lookup(Aspect_BackOffice_POS_Directory_By_Store_ID\\comma\\\\quot\\\\plus\\quote(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\)\\plus\\\\quot\\\\plus\\quote(sDataFilename)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab//sDataStateExpression=\\quot\\getFilespecState(lookup(Aspect_BackOffice_POS_Directory_By_Store_ID\\comma\\\\quot\\\\plus\\quote(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\)\\plus\\\\quot\\\\plus\\quote(sDataFilename)\\plus\\\\quot\\)\\quot\\//crlf////crlf////tab////tab////abort if the file does not exist//crlf////tab////tab//if(not(fileExists(sFilename))) //crlf////tab////tab////tab//s=\\quot\\status=0{{pipe{{Driver={{pipe{{DataAvailable=\\quot\\\\plus\\sDataAvailableExpression\\plus\\\\quot\\{{pipe{{DataState=\\quot\\\\plus\\sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\File does not exist.  OpenDriver returns \\quot\\\\plus\\s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////just return the DataAvailable and DataState expressions if OpenDriver is false//crlf////tab////tab//if(not(bOpenDriver))//crlf////tab////tab////tab//s=\\quot\\status=1{{pipe{{Driver={{pipe{{DataAvailable=\\quot\\\\plus\\sDataAvailableExpression\\plus\\\\quot\\{{pipe{{DataState=\\quot\\\\plus\\sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\openDriver returns \\quot\\\\plus\\s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Focus - Opening driver __datatype__ Params: \\quot\\\\plus\\sDriverParams)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//driverOpen(sDriverID\\comma\\sDriverName\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\sFilename\\plus\\\\quot\\{{pipe{{\\quot\\\\plus\\sDriverParams)//crlf////tab////tab//driverSetFilter(sDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab//s=\\quot\\status=1{{pipe{{Driver=\\quot\\\\plus\\sDriverName\\plus\\\\quot\\{{pipe{{modified=\\quot\\\\plus\\formatDate(fileModified(sFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)\\plus\\\\quot\\{{pipe{{size=\\quot\\\\plus\\driverGetRecordCount(sDriverName\\comma\\true)//crlf////tab////tab//s=s\\plus\\\\quot\\{{pipe{{DataAvailable=\\quot\\\\plus\\sDataAvailableExpression\\plus\\\\quot\\{{pipe{{DataState=\\quot\\\\plus\\sDataStateExpression//crlf////tab////tab////appendToLog(\\quot\\POS Interface - SoftTouch openDriver returns \\quot\\\\plus\\s\\plus\\\\quot\\ (\\quot\\\\plus\\driverGetRecordCount(sDriverName)\\plus\\\\quot\\ records)\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//^
ID=tabs_synch|X=5|Y=8|W=136|H=23|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table name=\\quot\\tabs_synch\\quot\\ class=\\apos\\tabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\open_driver\\apos\\)\\quot\\>Open Driver</a></td>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\setup\\apos\\)\\quot\\>Setup</a></td>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\pos_notes\\apos\\)\\quot\\>Notes</a></td>//crlf////tab//</tr>//crlf//</table>^
ID=687716|X=1057|Y=7|W=150|H=20|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table class=\\apos\\tabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\743416\\apos\\)\\quot\\>Javascript</a></td>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\AspectScript\\apos\\)\\quot\\>Aspect</a></td>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\760488\\apos\\)\\quot\\>Notes</a></td>//crlf////tab//</tr>//crlf//</table>^
ID=743416|X=1058|Y=29|W=728|H=546|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=760488|X=1059|Y=29|W=728|H=546|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=Notes^
ID=debug_console|X=1059|Y=573|W=719|H=205|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=pos_notes|X=6|Y=28|W=642|H=777|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=true|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=AspectScript|X=1059|Y=29|W=737|H=543|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=setup|X=6|Y=29|W=1039|H=765|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<h2>Focus Setup</h2>
</widget><widget name="POS Interface - Par-Siva" group="POS Interface" category="Par-Siva" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Par-Siva" modified="04-13-2014 12:16:22" modifiedby="Keith-Dell2" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-02-2014 18:40:24:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=873|toolboxy=245|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=HSI Merge.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=open_driver|X=6|Y=29|W=1039|H=765|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\openDriver\\apos\\)\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Par-Siva openDriver __datatype__\\quot\\; commands:\\quot\\//crlf////tab////tab//////crlf////tab////tab////ParSiva Interface//crlf////tab////tab//////crlf////tab////tab////This script opens a driver to read pos data for the given StoreID\\comma\\ DataType and Date.  //crlf////tab////tab////The return value is a pipe-delimited string in the form Status=n{{pipe{{Driver=DriverName{{pipe{{Modified=MM-dd-yyyy HH:mm:ss{{pipe{{Size=nnn//crlf////tab////tab////Status is -1=not valid\\comma\\ 0=valid but not available\\comma\\ 1=valid and available//crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//DataType - The ID of one of the datatypes defined in the Aspect_BackOffice_POS_Data_Types collection//crlf////tab////tab//////tab//Date//tab// - A single date in the form MM-dd-yyyy//crlf////tab////tab//////tab//OpenDriver - If false\\comma\\ the driver will not be opened but the expression used to test for data will be returned.//crlf////tab////tab//////tab////tab////tab////tab//  This is used when adding tasks to the pos synch driver.//crlf////tab////tab//////tab//Debug - If true\\comma\\ outputs debugging information to the log//crlf////tab////tab//////crlf////tab////tab////Returns a string in the form://crlf////tab////tab//////tab//status=n{{pipe{{Driver=drivername{{pipe{{modified=mm-dd-yyyy HH:mm:ss{{pipe{{size=nnn{{pipe{{DataAvailable=Expression{{pipe{{DataState=expression//crlf////tab////tab//////crlf////tab////tab////Status is 1 on success or 0 if the data is not available.  Status is -1 if the datatype is not supported for the POS.//crlf////tab////tab////Modified is the date/time the data was last modified//crlf////tab////tab////Size is the number of records available (NOT the file size)//crlf////tab////tab//////crlf////tab////tab////DataAvailable is an expression returned to test whether pos data is available or not.  It is used when//crlf////tab////tab////processing the synch tasks to avoid making calls to synchronize data when the pos data is not available.//crlf////tab////tab//////crlf////tab////tab////DataState is an expression used to create a state value for the pos data.  It is generally a getFileSpecState//crlf////tab////tab////function.  This is used to determine when a synch task needs to be run because the pos data has been//crlf////tab////tab////modified//crlf////crlf////tab////tab//bDebug=(\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab//bDebug=true//crlf////crlf////tab////tab//bOpenDriver=if(startsWith(\\quot\\__OpenDriver__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\false\\comma\\boolean(\\quot\\__OpenDriver__\\quot\\))//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Par-Siva - OpenDriver __datatype__ __date__ __StoreID__ OpenDriver=\\quot\\\\plus\\bOpenDriver)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////get driver ID//crlf////tab////tab//sDriverID=lookup(POS_Par_Siva_Associated_Driver_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//if(sDriverID=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab//s=\\quot\\status=-1{{pipe{{Driver={{pipe{{DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Par-Siva returns \\quot\\\\plus\\s\\plus\\\\quot\\ because driver for datatype (__datatype__) is not defined\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get POS type//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////get business date//crlf////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab//sPOSDir=addDirSlash(lookup(Aspect_BackOffice_POS_Directory_By_Store_ID\\comma\\\\quot\\__storeID__\\quot\\))//crlf////crlf////tab////tab//sDriverName=\\quot\\__datatype___\\quot\\\\plus\\getSalt(8)//crlf////tab////tab//sDriverParams=\\quot\\DataType=__DataType__{{pipe{{StoreID=__StoreID__{{pipe{{date=__date__{{pipe{{POS=\\quot\\\\plus\\sPOSType//crlf////crlf////tab////tab//sDataFilename=lookup(POS_Par_Siva_Associated_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Par-Siva - Database=\\quot\\\\plus\\sDataFilename)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab//sDataAvailableExpression=\\quot\\databaseExists(\\quot\\\\plus\\quote(sDataFilename)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab//sDataStateExpression=\\quot\\getFilespecState(lookup(Aspect_BackOffice_POS_Directory_By_Store_ID\\comma\\\\quot\\\\plus\\quote(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\)\\plus\\\\quot\\\\plus\\quote(sDataFilename)\\plus\\\\quot\\)\\quot\\//crlf////crlf////tab////tab////abort if the database does not exist//crlf////tab////tab//if(not(databaseExists(sDataFilename))) //crlf////tab////tab////tab//s=\\quot\\status=0{{pipe{{Driver={{pipe{{DataAvailable=\\quot\\\\plus\\sDataAvailableExpression\\plus\\\\quot\\{{pipe{{DataState=\\quot\\\\plus\\sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Database does not exist.  OpenDriver returns \\quot\\\\plus\\s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////just return the DataAvailable and DataState expressions if OpenDriver is false//crlf////tab////tab//if(not(bOpenDriver))//crlf////tab////tab////tab//s=\\quot\\status=1{{pipe{{Driver={{pipe{{DataAvailable=\\quot\\\\plus\\sDataAvailableExpression\\plus\\\\quot\\{{pipe{{DataState=\\quot\\\\plus\\sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\openDriver returns \\quot\\\\plus\\s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Par-Siva - Opening driver __datatype__ Params: \\quot\\\\plus\\sDriverParams)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//driverOpen(sDriverID\\comma\\sDriverName\\comma\\READ\\comma\\true\\comma\\sDriverParams)//crlf////tab////tab//driverSetFilter(sDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab//s=\\quot\\status=1{{pipe{{Driver=\\quot\\\\plus\\sDriverName\\plus\\\\quot\\{{pipe{{modified=\\quot\\\\plus\\formatDate(fileModified(sFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)\\plus\\\\quot\\{{pipe{{size=\\quot\\\\plus\\driverGetRecordCount(sDriverName\\comma\\true)//crlf////tab////tab//s=s\\plus\\\\quot\\{{pipe{{DataAvailable=\\quot\\\\plus\\sDataAvailableExpression\\plus\\\\quot\\{{pipe{{DataState=\\quot\\\\plus\\sDataStateExpression//crlf////tab////tab//appendToLog(\\quot\\POS Interface - Par-Siva openDriver returns \\quot\\\\plus\\s\\plus\\\\quot\\ (\\quot\\\\plus\\driverGetRecordCount(sDriverName)\\plus\\\\quot\\ records)\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\openJournal\\apos\\)\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS_Interface_Par_Siva_openJournal\\quot\\; commands:\\quot\\//crlf////tab////crlf////tab////tab// //=============================================================//crlf////tab////tab////Opens the check header\\comma\\ check detail and sales mix drivers.  Reads the necessary tables//crlf////tab////tab////and processes them to create three output files - headers\\comma\\ details and//crlf////tab////tab////sales mix.  The appropriate file is returned based on the datatype.//crlf////tab////tab////Driver params passed to the driver are available//crlf////tab////tab////=============================================================//crlf////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab//sDate=\\quot\\__date__\\quot\\//crlf////tab////tab//sDataType=\\quot\\__datatype__\\quot\\//crlf////tab////tab//appendToLog(\\quot\\POS Interface - Par_Siva - openJournal Filename=\\quot\\\\plus\\sFilename\\plus\\\\quot\\ Store=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\ Date=\\quot\\\\plus\\sDate\\plus\\\\quot\\ DataType=\\quot\\\\plus\\sDataType)//crlf////tab////tab//tmStart=now()//crlf////crlf////tab////tab//bDebug=true//crlf////crlf////tab////tab////get POS type and POS directory//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab//sPOSDir=addDirSlash(lookup(Aspect_BackOffice_POS_Directory_By_Store_ID\\comma\\\\quot\\__storeID__\\quot\\))//crlf////tab////tab////crlf////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////set the driver params passed to the output drivers//crlf////tab////tab//sDriverParams=\\quot\\DataType=__DataType__{{pipe{{StoreID=__StoreID__{{pipe{{date=__date__{{pipe{{POS=\\quot\\\\plus\\sPOSType//crlf////crlf////tab////tab////set the names for the output drivers//crlf////tab////tab//sDrvCkHeader=\\quot\\drvCkheader\\quot\\\\plus\\getSalt(4)//crlf////tab////tab//sDrvCkDetail=\\quot\\drvCkdetail\\quot\\\\plus\\getSalt(4)//crlf////tab////tab//sDrvSalesMix=\\quot\\drvSalesmix\\quot\\\\plus\\getSalt(4)//crlf////crlf////tab////tab////set the filenames for the output drivers//crlf////tab////tab////The processed files will be created in the temporay files directory as \\quot\\[storeid]_MM-dd-yyyy_[ckh\\comma\\ckd\\comma\\mix]\\quot\\//crlf////tab////tab//sCheckHeaderFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\sStoreID\\plus\\\\quot\\_\\quot\\\\plus\\formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_ckh.$$$\\quot\\//crlf////tab////tab//sCheckDetailFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\sStoreID\\plus\\\\quot\\_\\quot\\\\plus\\formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_ckd.$$$\\quot\\//crlf////tab////tab//sSalesMixFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\sStoreID\\plus\\\\quot\\_\\quot\\\\plus\\formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_mix.$$$\\quot\\//crlf////tab////tab////crlf////tab////tab//bProcess=true//crlf////tab////tab////crlf////tab////tab////don\\apos\\t process if the database doesn\\apos\\t exist//crlf////tab////tab//bProcess=if(not(databaseExists(\\quot\\Par-Siva\\quot\\))\\comma\\false\\comma\\bProcess)//crlf////crlf////tab////tab////don\\apos\\t process if all three files already exist //crlf////tab////tab////Need to modify this to process files on the current day when the database is updated//crlf////tab////tab//if(bProcess)//crlf////tab////tab////tab//bProcess1=(not(fileExists(sCheckHeaderFilename)))//crlf////tab////tab////tab//bProcess2=(not(fileExists(sCheckDetailFilename))) //crlf////tab////tab////tab//bProcess3=(not(fileExists(sSalesMixFilename))) //crlf////tab////tab////tab//bProcess=if((not(bProcess1)) and (not(bProcess2)) and (not(bProcess3))\\comma\\false\\comma\\true)//crlf////tab////tab//endif//crlf////crlf////tab////tab////for debugging//crlf////tab////tab//if(true)//crlf////tab////tab////tab//bProcess=true//crlf////tab////tab////tab//appendToLog(\\quot\\Forcing bProcess=true in Par_Siva openJournal\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab//if (bProcess)//crlf////tab////tab////tab////Delete the destination files if they exist.  //crlf////tab////tab////tab//fileDelete(sCheckHeaderFilename)//crlf////tab////tab////tab//fileDelete(sCheckDetailFilename)//crlf////tab////tab////tab//fileDelete(sSalesMixFilename)//crlf////tab////tab////tab////crlf////tab////tab////tab////Give an error if any file could not be deleted//crlf////tab////tab////tab////Note: might be better to deleteActiveRecords to the process can work even if the files cannot be deleted//crlf////tab////tab////tab//s=if(fileExists(sCheckHeaderFilename)\\comma\\appendToLog(\\quot\\POS Interface - SoftTouch DBF - Error - Could not delete \\quot\\\\plus\\sCheckHeaderFilename\\plus\\\\quot\\.dbf\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=if(fileExists(sCheckDetailFilename)\\comma\\appendToLog(\\quot\\POS Interface - SoftTouch DBF - Error - Could not delete \\quot\\\\plus\\sCheckDetailFilename\\plus\\\\quot\\.dbf\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=if(fileExists(sSalesMixFilename)\\comma\\appendToLog(\\quot\\POS Interface - SoftTouch DBF - Error - Could not delete \\quot\\\\plus\\sSalesMixFilename\\plus\\\\quot\\.dbf\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////crlf////tab////tab////tab////open the output drivers//crlf////tab////tab////tab//driverOpen(\\quot\\POS_Par_Siva_Check_Header\\quot\\\\comma\\sDrvCkHeader\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\sCheckHeaderFilename\\plus\\\\quot\\{{pipe{{\\quot\\\\plus\\sDriverParams)//crlf////tab////tab////tab//driverOpen(\\quot\\POS_Par_Siva_Check_Detail\\quot\\\\comma\\sDrvCkDetail\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\sCheckDetailFilename\\plus\\\\quot\\{{pipe{{\\quot\\\\plus\\sDriverParams)//crlf////tab////tab////tab//driverOpen(\\quot\\POS_Par_Siva_SalesMix\\quot\\\\comma\\sDrvSalesMix\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\sSalesMixFilename\\plus\\\\quot\\{{pipe{{\\quot\\\\plus\\sDriverParams)//crlf////tab////tab////tab////crlf////tab////tab////tab////crlf////tab////tab////tab/////========================================================================================================================//crlf////tab////tab////tab////Check Headers (JorCheckDetail)//crlf////tab////tab////tab/////========================================================================================================================//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Adding check headers\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////filter the driver to the closeout day.  //crlf////tab////tab////tab//driverOpen(POS_Par_Siva_jorCheckDetail\\comma\\drvCheckDetail\\comma\\READ\\comma\\false\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//sFilter=\\quot\\DateText=\\quot\\\\plus\\quote(formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//driverSetFilter(drvCheckDetail\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab////crlf////tab////tab////tab////initialize an array of all check details to be included from other jounal tables and the associated//crlf////tab////tab////tab////check numbers//crlf////tab////tab////tab//arCheckDetailID=\\quot\\\\quot\\//crlf////tab////tab////tab//arCheckNumber=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////initialize an array of check detail ID\\apos\\s.  This is used to import the check header from the//crlf////tab////tab////tab////first occurrence of a check in the check detail table//crlf////tab////tab////tab//arCheckID=\\quot\\{{pipe{{\\quot\\//crlf////crlf////tab////tab////tab//c=driverGetRecordCount(drvCheckDetail)//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Records in JorCheckDetail: \\quot\\\\plus\\c\\plus\\\\quot\\ Filter=\\quot\\\\plus\\sFilter)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////add to the array of check detail IDs and check numbers//crlf////tab////tab////tab////tab//arCheckDetailID=addElement(arCheckDetailID\\comma\\driverGetField(drvCheckDetail\\comma\\\\quot\\fldCheckDetailID\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//arCheckNumber=addElement(arCheckNumber\\comma\\driverGetField(drvCheckDetail\\comma\\\\quot\\fldCheckID\\quot\\\\comma\\n))//crlf////crlf////tab////tab////tab////tab////There are multiple records for each check in the check detail table.  Only include the//crlf////tab////tab////tab////tab////first occurrence in the check headers.  It appears that the information (time open/close\\comma\\//crlf////tab////tab////tab////tab////employee\\comma\\ etc. are duplicated in each record//crlf////tab////tab////tab////tab//sCheckID=driverGetField(drvCheckDetail\\comma\\\\quot\\fldCheckID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(pos(\\quot\\{{pipe{{\\quot\\\\plus\\sCheckID\\plus\\\\quot\\{{pipe{{\\quot\\\\comma\\arCheckID)<0)//crlf////crlf////tab////tab////tab////tab////tab////add a new check header record//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkHeader)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////get the field values//crlf////tab////tab////tab////tab////tab//iEmp_Close=driverGetField(drvCheckDetail\\comma\\\\quot\\fldOwnedByStaffID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//iEmp_Open=driverGetField(drvCheckDetail\\comma\\\\quot\\fldOwnedByStaffID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//iGuests=0//crlf////tab////tab////tab////tab////tab//iRev_Ctr=driverGetField(drvCheckDetail\\comma\\\\quot\\fldCenterID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//iTableNumber=driverGetField(drvCheckDetail\\comma\\\\quot\\fldSeatNumber\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//dtTime_Open=driverGetField(drvCheckDetail\\comma\\\\quot\\fldAddedTime\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//dtTime_Close=driverGetField(drvCheckDetail\\comma\\\\quot\\fldAddedTime\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckID)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Emp_Close\\quot\\\\comma\\r\\comma\\iEmp_Close)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Emp_Open\\quot\\\\comma\\r\\comma\\iEmp_Open)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Guests\\quot\\\\comma\\r\\comma\\iGuests)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Rev_Ctr\\quot\\\\comma\\r\\comma\\iRev_Ctr)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\TableNumber\\quot\\\\comma\\r\\comma\\iTableNumber )//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Time_Open\\quot\\\\comma\\r\\comma\\dtTime_Open)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkHeader\\comma\\\\quot\\Time_Close\\quot\\\\comma\\r\\comma\\dtTime_Close)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(drvCheckDetail)//crlf////crlf////tab////tab////tab/////============================================================//crlf////tab////tab////tab////Check Details - Sales (JorCheckMerchandise)//crlf////tab////tab////tab/////============================================================//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Adding menu item sales\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_Par_Siva_jorCheckMerchandise\\comma\\drvMerchandise\\comma\\READ)//crlf////tab////tab////tab//c=driverGetRecordCount(drvMerchandise\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sCheckDetailID=driverGetFieldAbsolute(drvMerchandise\\comma\\\\quot\\fldCheckDetailID\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////see if the detail is for the day being imported//crlf////tab////tab////tab////tab//e=containsElement(arCheckDetailID\\comma\\sCheckDetailID)//crlf////tab////tab////tab////tab//if(e>=0)//crlf////tab////tab////tab////tab////tab////get the associated check number//crlf////tab////tab////tab////tab////tab//sCheckNumber=getElement(arCheckNumber\\comma\\e)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////read the fields//crlf////tab////tab////tab////tab////tab//iRectype=0//crlf////tab////tab////tab////tab////tab//dAmount=driverGetFieldAbsolute(drvMerchandise\\comma\\\\quot\\fldPrice\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//iEmployee=0//crlf////tab////tab////tab////tab////tab//sId1=driverGetFieldAbsolute(drvMerchandise\\comma\\\\quot\\fldMerchandiseID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//iQuantity=driverGetFieldAbsolute(drvMerchandise\\comma\\\\quot\\fldCount\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//dtTime=//tab//0//tab////tab////tab////crlf////crlf////tab////tab////tab////tab////tab////add a check detail record//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Rectype\\quot\\\\comma\\r\\comma\\iRectype)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\r\\comma\\iEmployee)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Id1\\quot\\\\comma\\r\\comma\\sId1)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\MenuItem\\quot\\\\comma\\r\\comma\\sId1)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Quantity\\quot\\\\comma\\r\\comma\\iQuantity)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\dtTime)//tab////tab////tab////crlf////crlf////tab////tab////tab////tab////tab////add to sales mix//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvSalesMix)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Comps\\quot\\\\comma\\r\\comma\\0)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\MenuItemID\\quot\\\\comma\\r\\comma\\sID1)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Net_Sales\\quot\\\\comma\\r\\comma\\dAmount*iQuantity)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvSalesMix\\comma\\\\quot\\Sold\\quot\\\\comma\\r\\comma\\iQuantity)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(drvMerchandise)//crlf////crlf////tab////tab////tab/////============================================================//crlf////tab////tab////tab////Check Details - Comps \\amp\\ Discounts (JorCheckAdjustment and JorCheckDetailAdjustment)//crlf////tab////tab////tab/////============================================================//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Adding adjustments\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_Par_Siva_jorCheckAdjustment\\comma\\drvCheckAdjustment\\comma\\READ)//crlf////tab////tab////tab//driverOpen(POS_Par_Siva_jorCheckDetailAdjustment\\comma\\drvCheckDetailAdjustment\\comma\\READ)//crlf////crlf////tab////tab////tab//c=driverGetRecordCount(drvCheckAdjustment\\comma\\true)//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Adding records from JorCheckAdjustment.  Records=\\quot\\\\plus\\c)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sCheckDetailID=driverGetFieldAbsolute(drvCheckAdjustment\\comma\\\\quot\\fldCheckDetailID\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////see if the detail is for the day being imported//crlf////tab////tab////tab////tab//e=containsElement(arCheckDetailID\\comma\\sCheckDetailID)//crlf////tab////tab////tab////tab//if(e>=0)//crlf////tab////tab////tab////tab////tab////get the associated check number//crlf////tab////tab////tab////tab////tab//sCheckNumber=getElement(arCheckNumber\\comma\\e)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////read the fields//crlf////tab////tab////tab////tab////tab//iRectype=3//crlf////tab////tab////tab////tab////tab//iEmployee=0//crlf////tab////tab////tab////tab////tab//sId1=driverGetFieldAbsolute(drvCheckAdjustment\\comma\\\\quot\\fldAdjustmentID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//iQuantity=1//crlf////tab////tab////tab////tab////tab//dtTime=//tab//0//tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////calculate the amount from the CheckDetailAdjustment table//crlf////tab////tab////tab////tab////tab//sFilter=\\quot\\fldCheckAdjustmentDetailID=\\quot\\\\plus\\quote(sCheckDetailID)//crlf////tab////tab////tab////tab////tab//dAmount=driverRangeSum(drvCheckDetailAdjustment\\comma\\\\quot\\fldAmount\\quot\\\\comma\\true\\comma\\sFilter)//crlf////crlf////tab////tab////tab////tab////tab////add a check detail record//crlf////tab////tab////tab////tab////tab//if(dAmount<>0)//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Rectype\\quot\\\\comma\\r\\comma\\iRectype)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\r\\comma\\iEmployee)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Id1\\quot\\\\comma\\r\\comma\\sId1)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Quantity\\quot\\\\comma\\r\\comma\\iQuantity)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\dtTime)//tab////tab////tab////crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(drvCheckAdjustment)//crlf////tab////tab////tab//driverClose(drvCheckDetailAdjustment)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab/////============================================================//crlf////tab////tab////tab////Check Details - Tenders (JorCheckPayment)//crlf////tab////tab////tab/////============================================================//crlf////tab////tab////tab//appendToLog(\\quot\\Dump check numbers\\quot\\)//crlf////tab////tab////tab//c=getElementCount(arCheckDetailID)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\ID=\\quot\\\\plus\\getElement(arCheckDetailID\\comma\\n)\\plus\\char(9)\\plus\\\\quot\\ Ck=\\quot\\\\plus\\getElement(arCheckNumber\\comma\\n))//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Adding tenders\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_Par_Siva_jorCheckPayment\\comma\\drvCheckPayment\\comma\\READ)//crlf////tab////tab////tab//c=driverGetRecordCount(drvCheckPayment\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sCheckDetailID=driverGetFieldAbsolute(drvCheckPayment\\comma\\\\quot\\fldCheckDetailID\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab//dAmount=driverGetFieldAbsolute(drvCheckPayment\\comma\\\\quot\\fldTenderAmount\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////see if the detail is for the day being imported//crlf////tab////tab////tab////tab//e=containsElement(arCheckDetailID\\comma\\sCheckDetailID)//crlf////tab////tab////tab////tab//if(e>=0)//crlf////tab////tab////tab////tab////tab////get the associated check number//crlf////tab////tab////tab////tab////tab//sCheckNumber=getElement(arCheckNumber\\comma\\e)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////read the fields//crlf////tab////tab////tab////tab////tab//iRectype=8//crlf////tab////tab////tab////tab////tab//dAmount=driverGetFieldAbsolute(drvCheckPayment\\comma\\\\quot\\fldTenderAmount\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//iEmployee=0//crlf////tab////tab////tab////tab////tab//sId1=driverGetFieldAbsolute(drvCheckPayment\\comma\\\\quot\\fldPaymentID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//iQuantity=1//crlf////tab////tab////tab////tab////tab//dtTime=//tab//0//tab////tab////tab////crlf////crlf////tab////tab////tab////tab////tab////add a check detail record//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Rectype\\quot\\\\comma\\r\\comma\\iRectype)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\r\\comma\\iEmployee)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Id1\\quot\\\\comma\\r\\comma\\sId1)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Quantity\\quot\\\\comma\\r\\comma\\iQuantity)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\dtTime)//tab////tab////tab////crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(drvCheckPayment)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab/////============================================================//crlf////tab////tab////tab////Check Details - Tax (POS_Par_Siva_jorCheckTax and JorCheckDetailTax)//crlf////tab////tab////tab//////crlf////tab////tab////tab////Read CheckTax to get the tax type and then use CheckTaxDetailID to read all matching//crlf////tab////tab////tab////records in the CheckDetailTax table to calculate the amount.  There will be one or more//crlf////tab////tab////tab////records in CheckTaxDetail for each record in CheckTax//crlf////tab////tab////tab/////============================================================//crlf////tab////tab////tab//driverOpen(POS_Par_Siva_jorCheckTax\\comma\\drvCheckTax\\comma\\READ)//crlf////tab////tab////tab//driverOpen(POS_Par_Siva_jorCheckDetailTax\\comma\\drvCheckDetailTax\\comma\\READ)//crlf////crlf////tab////tab////tab//c=driverGetRecordCount(drvCheckTax\\comma\\true)//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Adding records from JorCheckTax.  Records=\\quot\\\\plus\\c)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sCheckDetailID=driverGetFieldAbsolute(drvCheckTax\\comma\\\\quot\\fldCheckDetailID\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////see if the detail is for the day being imported//crlf////tab////tab////tab////tab//e=containsElement(arCheckDetailID\\comma\\sCheckDetailID)//crlf////tab////tab////tab////tab//if(e>=0)//crlf////tab////tab////tab////tab////tab////get the associated check number//crlf////tab////tab////tab////tab////tab//sCheckNumber=getElement(arCheckNumber\\comma\\e)//crlf////crlf////tab////tab////tab////tab////tab////read the fields//crlf////tab////tab////tab////tab////tab//iRectype=4//crlf////tab////tab////tab////tab////tab//iEmployee=0//crlf////tab////tab////tab////tab////tab//sId1=driverGetFieldAbsolute(drvCheckTax\\comma\\\\quot\\fldTaxID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//iQuantity=1//crlf////tab////tab////tab////tab////tab//dtTime=//tab//0//tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////calculate the amount from the CheckDetailTax table//crlf////tab////tab////tab////tab////tab//sFilter=\\quot\\fldCheckTaxDetailID=\\quot\\\\plus\\quote(sCheckDetailID)//crlf////tab////tab////tab////tab////tab//dAmount=driverRangeSum(drvCheckDetailTax\\comma\\\\quot\\fldAmount\\quot\\\\comma\\true\\comma\\sFilter)//crlf////crlf////tab////tab////tab////tab////tab////add a check detail record//crlf////tab////tab////tab////tab////tab//if(dAmount<>0)//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDrvCkDetail)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\sCheckNumber)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Rectype\\quot\\\\comma\\r\\comma\\iRectype)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Employee\\quot\\\\comma\\r\\comma\\iEmployee)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Id1\\quot\\\\comma\\r\\comma\\sId1)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Quantity\\quot\\\\comma\\r\\comma\\iQuantity)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDrvCkDetail\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\dtTime)//tab////tab////tab////crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(drvCheckTax)//crlf////tab////tab////tab//driverClose(drvCheckDetailTax)//crlf////tab////tab////tab////crlf////tab////tab////tab//driverClose(sDrvCkHeader)//crlf////tab////tab////tab//driverClose(sDrvCkDetail)//crlf////tab////tab////tab//driverClose(sDrvSalesMix)//crlf////tab////tab//endif//crlf////crlf////tab////tab////Open and return the appropriate driver.  //crlf////tab////tab//sDriverName=getSalt(8)//crlf////tab////tab//if(sDataType=\\quot\\check_headers\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\POS_Par_Siva_Check_Header\\quot\\\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\sCheckHeaderFilename)//crlf////tab////tab//elseif(sDataType=\\quot\\check_details\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\POS_Par_Siva_Check_Detail\\quot\\\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\sCheckDetailFilename)//crlf////tab////tab//elseif(sDataType=\\quot\\sales_mix\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\POS_Par_Siva_SalesMix\\quot\\\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\sSalesMixFilename)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab//sResult=sDriverName//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Inteface - Par_Siva - result=\\quot\\\\plus\\sResult)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\openTimeclock\\apos\\)\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Par-Siva - openTimeclock\\quot\\; commands:\\quot\\//crlf////tab////crlf////tab////tab// //=============================================================//crlf////tab////tab////Opens timeclock file.  Reads the jorClock and jorClockBreak tables and returns a//crlf////tab////tab////single file combining the breaks with the shifts//crlf////tab////tab////=============================================================//crlf////tab////tab//sFilename=\\quot\\__Filename__\\quot\\//crlf////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab//sDate=\\quot\\__date__\\quot\\//crlf////tab////tab//appendToLog(\\quot\\POS Interface - Par-Siva - openTimeclock Store=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\ Date=\\quot\\\\plus\\sDate)//crlf////tab////tab//tmStart=now()//crlf////crlf////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////get POS type//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////crlf////tab////tab////get the name of the output file//crlf////tab////tab//sTimeclockFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\sStoreID\\plus\\\\quot\\_\\quot\\\\plus\\formatDate(dtBusiness\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_timeclock.$$$\\quot\\//crlf////tab////tab////crlf////tab////tab////get the name of the output driver//crlf////tab////tab//sProcessedDriverName=\\quot\\drvParSivaTimeclock\\quot\\\\plus\\getSalt(4)//crlf////crlf////tab////tab////don\\apos\\t process if the database doesn\\apos\\t exist//crlf////tab////tab//bProcess=if(not(databaseExists(\\quot\\Par-Siva\\quot\\))\\comma\\false\\comma\\bProcess)//crlf////crlf////tab////tab////don\\apos\\t process if the file has already been processed//crlf////tab////tab//bProcess=(bProcess) and (not(fileExists(sCheckHeaderFilename)))//crlf////crlf////tab////tab////for debugging//crlf////tab////tab//if(true)//crlf////tab////tab////tab//bProcess=true//crlf////tab////tab////tab//appendToLog(\\quot\\Forcing bProcess=true in Par_Siva openJournal\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab//if (bProcess)//crlf////tab////tab////tab////Delete the processed file if it exists//crlf////tab////tab////tab//fileDelete(sTimeclockFilename)//crlf////crlf////tab////tab////tab////Give an error if the file could not be deleted//crlf////tab////tab////tab//s=if(fileExists(sTimeclockFilename)\\comma\\appendToLog(\\quot\\POS Interface - Par-Siva - Error - Could not delete \\quot\\\\plus\\sTimeclockFilename\\plus\\\\quot\\.dbf\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the processed driver//crlf////tab////tab//driverOpen(POS_Par_Siva_Timeclock\\comma\\sProcessedDriverName\\comma\\WRITE\\comma\\true\\comma\\\\quot\\Filename=\\quot\\\\plus\\sTimeclockFilename\\plus\\\\quot\\{{pipe{{Description=\\quot\\\\plus\\sStoreName\\plus\\\\quot\\{{pipe{{StoreID=__StoreID__{{pipe{{POS=\\quot\\\\plus\\sPOSType)//crlf////crlf////tab////tab//if(bProcess)//crlf////tab////tab////tab////make sure no records exist in the processed file (in case it could not be deleted)//crlf////tab////tab////tab//driverSetFilter(sProcessedDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverDeleteActiveRecords(sProcessedDriverName)//crlf////crlf////tab////tab////tab////open the Par-Siva timeclock //crlf////tab////tab////tab//driverOpen(POS_Par_Siva_jorClock\\comma\\drvJorClock\\comma\\READ\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(drvJorClock\\comma\\\\quot\\true\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverSetSort(drvJorClock\\comma\\\\quot\\fldInTime\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////open the Par-Siva breaks//crlf////tab////tab////tab//driverOpen(POS_Par_Siva_jorClockBreak\\comma\\drvJorClockBreak\\comma\\READ\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(drvJorClockBreak\\comma\\\\quot\\true\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverSetSort(drvJorClockBreak\\comma\\\\quot\\fldStartTime\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////add each record in the timeclock for the day being processed to the processed driver//crlf////tab////tab////tab//c=driverGetRecordCount(drvJorClock\\comma\\false)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while (n<c)//crlf////tab////tab////tab////tab//dtTimeIn=driverGetField(drvJorClock\\comma\\\\quot\\fldInTime\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////include all dates for testing//crlf////tab////tab////tab////tab//if((true) or (compTime(dtTimeIn\\comma\\dtBusiness\\comma\\true)=0))//crlf////tab////tab////tab////tab////tab//iEmployee=driverGetField(drvJorClock\\comma\\\\quot\\fldStaffID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//iJob=driverGetField(drvJorClock\\comma\\\\quot\\fldJobID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//dRate=driverGetField(drvJorClock\\comma\\\\quot\\fldSalaryRate\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//dtTimeOut=driverGetField(drvJorClock\\comma\\\\quot\\fldOutTime\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//dtDeclTip=driverGetField(drvJorClock\\comma\\\\quot\\fldDeclaredTipAmount\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(sProcessedDriverName)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sProcessedDriverName\\comma\\\\quot\\Employee\\quot\\\\comma\\r\\comma\\iEmployee)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sProcessedDriverName\\comma\\\\quot\\ActJobCode\\quot\\\\comma\\r\\comma\\iJob)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sProcessedDriverName\\comma\\\\quot\\ActTimeIn\\quot\\\\comma\\r\\comma\\dtTimeIn)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sProcessedDriverName\\comma\\\\quot\\ActTimeOut\\quot\\\\comma\\r\\comma\\dtTimeOut)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sProcessedDriverName\\comma\\\\quot\\ActRegRate\\quot\\\\comma\\r\\comma\\dRate)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sProcessedDriverName\\comma\\\\quot\\ActDeclTip\\quot\\\\comma\\r\\comma\\dDeclTip)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(drvJorClock)//crlf////tab////tab////tab//driverClose(drvJorClockBreak)//crlf////tab////tab//endif//crlf////crlf////tab////tab//scriptSetResult(sProcessedDriverName)//crlf////tab////tab//appendToLog(\\quot\\POS Interface - Par-Siva - openTimeclock returns \\quot\\\\plus\\sProcessedDriverName)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//^
ID=tabs_synch|X=5|Y=8|W=136|H=23|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table name=\\quot\\tabs_synch\\quot\\ class=\\apos\\tabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\open_driver\\apos\\)\\quot\\>Open Driver</a></td>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\setup\\apos\\)\\quot\\>Setup</a></td>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\showTab(this\\comma\\\\apos\\pos_notes\\apos\\)\\quot\\>Notes</a></td>//crlf////tab//</tr>//crlf//</table>^
ID=687716|X=1057|Y=7|W=150|H=20|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table class=\\apos\\tabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\743416\\apos\\)\\quot\\>Javascript</a></td>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\AspectScript\\apos\\)\\quot\\>Aspect</a></td>//crlf////tab////tab//<td><a href=\\quot\\\\pound\\\\quot\\ onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\760488\\apos\\)\\quot\\>Notes</a></td>//crlf////tab//</tr>//crlf//</table>^
ID=743416|X=1058|Y=29|W=728|H=546|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=760488|X=1059|Y=29|W=728|H=546|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=Notes^
ID=debug_console|X=1059|Y=573|W=719|H=205|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=pos_notes|X=6|Y=28|W=642|H=777|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=true|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=AspectScript|X=1059|Y=29|W=737|H=543|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|^
ID=setup|X=6|Y=29|W=1039|H=765|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<h2>Par-Siva Setup</h2>
</widget><widget name="Report Templates - Cons Vertical" group="Reports" category="" description="" type="Container" Mobile="" Processing=0 metadata="" IncludeInViewer="false" PublicName="Report Templates - Cons Vertical" modified="09-26-2012 19:53:24" modifiedby="Keith-Dell2" TaskEnabled= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskWindowForExecution=>
Preferences|toolboxx=953|toolboxy=281|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Report Templates - Cons Vertical.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=Employee_Records|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Employee Records</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- Employee Records Report Table -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//Version 06-01-2011-02//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\employee.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult\\plus\\fileModified(strFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_Employee_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic Employee DBase\\quot\\>//crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Vertical\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Employee Records\\amp\\DisplayName=__DisplayName__\\amp\\debug=false\\quot\\;>//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Overlay used to edit a record.  It is prepped and hidden initially.  When a record is edited\\comma\\//crlf////tab////tab//the div is made visible and the fields are filled in using javascript.  -->//crlf////tab//<div ID=\\quot\\__WidgetID__EditOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\height:370px; width:400px; display:none;\\quot\\>//crlf////crlf////tab////tab//<form name=\\quot\\__WidgetID__Edit\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////crlf////tab////tab////tab//<h2>\\pound\\<span name=\\apos\\__EmpNum__\\apos\\></span> <span name=\\apos\\__Last_Name__\\apos\\></span>\\comma\\ <span name=\\apos\\__First_Name__\\apos\\></span></h2>//crlf////tab////tab////tab//<hr>//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab////crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Date Of Hire</td>//crlf////tab////tab////tab////tab////tab//<td colspan=\\apos\\2\\apos\\><input type=\\apos\\text\\apos\\ name=\\apos\\field_DateOfHire\\apos\\ value=\\apos\\__$DateOfHire$__\\apos\\ size=\\apos\\13\\apos\\ control=\\apos\\date\\apos\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Terminated</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_DateOfTerm\\apos\\ value=\\apos\\__$DateOfTerm$__\\apos\\ size=\\apos\\13\\apos\\ control=\\apos\\date\\apos\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\></td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_Terminated\\apos\\ <!include type:expression; expression:\\quot\\if(__Terminated__\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>>\\amp\\nbsp;This employee is terminated//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_Terminated\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab////crlf////tab////tab////tab//<b>Job Codes \\amp\\ Rates</b><br>//crlf////tab////tab////tab//<table class=\\quot\\basic1\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<th>Job Number</th>//crlf////tab////tab////tab////tab////tab//<th>Job Name</th>//crlf////tab////tab////tab////tab////tab//<th>Rate</th>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__JobNum1__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__Job_Name_1__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td align=\\apos\\right\\apos\\><span name=\\apos\\__RegRate1__\\apos\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__JobNum2__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__Job_Name_2__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td align=\\apos\\right\\apos\\><span name=\\apos\\__RegRate2__\\apos\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__JobNum3__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__Job_Name_3__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td align=\\apos\\right\\apos\\><span name=\\apos\\__RegRate3__\\apos\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__JobNum4__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__Job_Name_4__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td align=\\apos\\right\\apos\\><span name=\\apos\\__RegRate4__\\apos\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__JobNum5__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__Job_Name_5__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td align=\\apos\\right\\apos\\><span name=\\apos\\__RegRate5__\\apos\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__JobNum6__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__Job_Name_6__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td align=\\apos\\right\\apos\\><span name=\\apos\\__RegRate6__\\apos\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab////crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_NoImport\\apos\\ <!include type:expression; expression:\\quot\\if(__NoImport__\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>>\\amp\\nbsp;Do not import timeclock records for this employee//crlf////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_NoImport\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab//<br><br>//crlf////crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Edit\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__EditOverlay\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab////tab//<!--//tab//note: a hidden field named DriverParams is added by editRecord()  to pass the driver params (filename) when submitRecord() is called.//crlf////tab////tab////tab////tab//The driver params are defined in the call to editRecord() in the edit hyperlink in the structure -->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\putRecord\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\append\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\false\\quot\\>//crlf////crlf////tab////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////tab////tab//</form>//crlf////tab//</div>//crlf////crlf////tab//<!-- Overlay used to delete a record.  It is prepped and hidden initially.  When a record is deleted\\comma\\//crlf////tab////tab//the div is made visible and the description and expression are filled in using javascript.  -->//crlf////tab//<div ID=\\quot\\__WidgetID__DeleteOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\height:70px; width:300px; display:none;\\quot\\>//crlf////tab////tab//<form name=\\quot\\__WidgetID__Delete\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////tab////tab////tab//Delete this record?<br><br>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Delete\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__DeleteOverlay\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\deleteRecord\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\true\\quot\\>//crlf////crlf////tab////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////tab////tab//</form>//crlf////tab//</div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Custom fields go here. -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Employee Records\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverVert\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\employee.dbf\\quot\\//crlf////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_Employee_DBase\\comma\\drvDbf\\plus\\Cntr\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename)//crlf////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//driver: __driverID__;//crlf////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_params: \\quot\\filename={@addDirSlash(\\quot\\__SelectedStores__\\quot\\)}employee_def.dbf\\quot\\;//crlf////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\not(Deleted)\\quot\\;//crlf////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>^
ID=Job_Codes|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Job Codes</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- Job Codes Report Table -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//WidgetID (in report)=__WidgetID__<br>//crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//Version 06-01-2011-01//crlf////tab////tab////tab//{@now()}//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\jobdef.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Modified=\\quot\\\\plus\\strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//debug=false//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Vertical\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Job Codes\\amp\\DisplayName=__DisplayName__\\quot\\;>//crlf////crlf////tab//<h1>Job Codes</h1>//crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!--//tab//Custom fields go here. -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Job Codes\\amp\\DriverID=__DriverID__\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//driverOpen(ConsDriverVert\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//sStoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\replaceSubstring(str\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\jobdef.dbf\\quot\\//crlf////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_JobCode_DBase\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename)//crlf////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\jobdef.dta\\quot\\//crlf////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Job_Codes_By_Filename\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{StoreID=\\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\ style=\\quot\\height:auto;\\quot\\>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_params: \\quot\\filename={@addDirSlash(\\quot\\__SelectedStores__\\quot\\)}jobdef.dbf\\quot\\;//crlf////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////crlf////tab//__servertimerresults__//crlf////crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>^
ID=Timeclock|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Timeclock</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- Employee Timeclock Report Table -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//Version 06-01-2011-01//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab////add timestamp of store file in case payroll settings change//crlf////tab////tab////tab////tab//strFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\aspect_backoffice/store_list.dta\\quot\\//crlf////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab//strResult=strResult\\plus\\fileModified(strFilename)//crlf////tab////tab////tab////tab//endif//tab////tab////tab////crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab////timestamp of employee file (in case a name changes)//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\employee.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult\\plus\\fileModified(strFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////timestamp of job code file (in case a job code name changes)//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\jobdef.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult\\plus\\fileModified(strFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//dt1=if(startsWith(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\now()\\comma\\parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//dt2=if(startsWith(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\now()\\comma\\parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab////tab////tab////add timestamp of each labor file//crlf////tab////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_lbr.dbf\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//strResult=strResult\\plus\\fileModified(strFilename)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////add timestamp of check header file in case net sales changes//crlf////tab////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_ckh.dbf\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//strResult=strResult\\plus\\fileModified(strFilename)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////tab////tab////tab////crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////tab////tab////tab////crlf////tab////tab////tab//__Filter_Actual_Job_Code_Name__//crlf////tab////tab////tab//__Filter_Employee_Name__//crlf////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_Labor_Detail_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic Labor Detail DBase\\quot\\>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Vertical\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Timeclock\\amp\\DisplayName=__DisplayName__\\quot\\;>//crlf////crlf////tab//<constant name:__FilterDate1__; value:{@if(startsWith(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\formatDate(parseTime(\\quot\\06042010\\quot\\\\comma\\\\quot\\MMddyyyy\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\__FilterDate1__\\quot\\)}>//crlf////tab//<constant name:__FilterDate2__; value:{@if(startsWith(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\formatDate(parseTime(\\quot\\06042010\\quot\\\\comma\\\\quot\\MMddyyyy\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\__FilterDate2__\\quot\\)}>//crlf////tab//<constant name:__Filter_Store_Name__; value:{@initConstant(\\quot\\__Filter_Store_Name__\\quot\\\\comma\\\\quot\\~all~\\quot\\)}>//crlf////tab//<constant name:__Filter_Actual_Job_Code_Name__; value:{@initConstant(\\quot\\__Filter_Actual_Job_Code_Name__\\quot\\\\comma\\\\quot\\~all~\\quot\\)}>//crlf////tab//{@htmlConstant(\\quot\\Filter_Employee_Name\\quot\\\\comma\\\\quot\\__Filter_Employee_Name__\\quot\\\\comma\\\\quot\\~all~\\quot\\)}//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!--//tab//Custom fields go here. -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Approved Job Code</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:\\quot\\htmlSelect(\\apos\\POS_Generic_Labor_Detail_Filter_Actual_Job_Code_Name\\apos\\\\comma\\\\apos\\Filter_Actual_Job_Code_Name\\apos\\\\comma\\\\apos\\__Filter_Actual_Job_Code_Name__\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\__consDriverName__\\apos\\)\\quot\\></td>//crlf////tab////tab////tab////tab////tab//<td>Employee Name</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:\\quot\\htmlSelect(\\apos\\POS_Generic_Labor_Detail_Filter_Employee_Name\\apos\\\\comma\\\\apos\\Filter_Employee_Name\\apos\\\\comma\\\\apos\\__Filter_Employee_Name__\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\__consDriverName__\\apos\\)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Timeclock\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\FilterDate1\\quot\\ value=\\quot\\__FilterDate1__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\FilterDate2\\quot\\ value=\\quot\\__FilterDate2__\\quot\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////crlf////tab////tab////calculate net sales total for each store \\amp\\ date to pass to consolidated driver in driverparams//crlf////tab////tab//strDriverParams=\\quot\\\\quot\\//crlf////tab////tab//dblGrandTtlNetSales=0//crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//strStoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\str)//crlf////tab////tab////tab//strStoreName=lookup(Aspect_BackOffice_Store_Name_By_Directory\\comma\\str)//crlf////tab////tab////tab//dt1=parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt2=parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dblStoreSales=0//crlf////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_lbr.dbf\\quot\\//crlf////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////get net sales total for the day to pass to the daily labor file to calculate labor percentages//crlf////tab////tab////tab////tab////tab//dblNetSales=0//crlf////tab////tab////tab////tab////tab//strCkHeaderFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_ckh.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strCkHeaderFilename))//crlf////tab////tab////tab////tab////tab////tab//driverOpen(POS_Generic_Check_Header_DBase\\comma\\drvCkHeader\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strCkHeaderFilename\\plus\\\\quot\\{{pipe{{Date=\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//dblNetSales=driverRangeSum(drvCkHeader\\comma\\\\quot\\Net_Sales\\quot\\\\comma\\true\\comma\\\\quot\\true\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverClose(drvCkHeader)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//strDriverParams=addElement(strDriverParams\\comma\\\\quot\\netsales//power//\\quot\\\\plus\\strStoreName\\plus\\\\quot\\//power//\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MMddyyyy\\quot\\)\\plus\\\\quot\\=\\quot\\\\plus\\dblNetSales\\comma\\\\quot\\{{pipe{{\\quot\\)//crlf////tab////tab////tab////tab////tab//dblStoreSales=dblStoreSales \\plus\\ dblNetSales//crlf////tab////tab////tab////tab////tab//dblGrandTtlNetSales=dblGrandTtlNetSales \\plus\\ dblNetSales //crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//strDriverParams=addElement(strDriverParams\\comma\\\\quot\\netsales//power//\\quot\\\\plus\\strStoreName\\plus\\\\quot\\=\\quot\\\\plus\\dblStoreSales\\comma\\\\quot\\{{pipe{{\\quot\\)//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//strDriverParams=addElement(strDriverParams\\comma\\\\quot\\ttlnetsales=\\quot\\\\plus\\dblGrandTtlNetSales\\comma\\\\quot\\{{pipe{{\\quot\\)//crlf////crlf////tab////tab////open the consolidated driver//crlf////tab////tab////At this point\\comma\\ the consolidated driver has driver params that can be used to look up the net sales for any store or store / date//crlf////tab////tab////The structure field used for this is Total_Net_Sales and it looks like this://crlf////tab////tab////=if(len(Employee)>0\\comma\\value(\\pound\\netsales)\\comma\\if(not(StartsWith(Business_Date\\comma\\\\quot\\Bus\\quot\\))\\comma\\getElementValue(Params\\comma\\\\quot\\netsales//power//\\quot\\\\plus\\Store_Name\\plus\\\\quot\\//power//\\quot\\\\plus\\formatDate(Business_Date\\comma\\\\quot\\MMddyyyy\\quot\\)\\comma\\\\quot\\{{pipe{{\\quot\\)\\comma\\if(startsWith(Store_Name\\comma\\\\quot\\Store_Name\\quot\\)\\comma\\getElementValue(Params\\comma\\\\quot\\netsales//power//\\quot\\\\plus\\Store_Name\\comma\\\\quot\\{{pipe{{\\quot\\)\\comma\\getElementValue(Params\\comma\\\\quot\\ttlnetsales\\quot\\\\comma\\\\quot\\{{pipe{{\\quot\\))))//crlf////tab////tab////It\\apos\\s a long if statement that looks up the net sales in the driver params using getElementValue.  The conditions are based on whether certain fields are defined.   Whether a field is defined or not is used to//crlf////tab////tab////determine the type of subtotal (detail\\comma\\ store/date\\comma\\ store\\comma\\ grand total) is being calculated//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverVert\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true\\comma\\strDriverParams)//crlf////crlf////tab////tab//dblGrandTtlNetSales=0//crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=replaceSubstring(getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab////tab//strStoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\str)//crlf////tab////tab////tab//strStoreName=lookup(Aspect_BackOffice_Store_Name_By_Directory\\comma\\str)//crlf////tab////tab////tab//scriptExec(Aspect_Common_getCachedWidget\\comma\\true\\comma\\\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Calculate Overtime\\amp\\Params=StoreID=\\quot\\\\plus\\strStoreID\\plus\\\\quot\\{{pipe{{Date=__FilterDate1__\\quot\\)//crlf////crlf////tab////tab////tab//dt1=parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt2=parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_lbr.dbf\\quot\\//crlf////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////get net sales total for the day to pass to the daily labor file to calculate labor percentages//crlf////tab////tab////tab////tab////tab//dblNetSales=0//crlf////tab////tab////tab////tab////tab//strCkHeaderFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_ckh.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strCkHeaderFilename))//crlf////tab////tab////tab////tab////tab////tab//driverOpen(POS_Generic_Check_Header_DBase\\comma\\drvCkHeader\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strCkHeaderFilename\\plus\\\\quot\\{{pipe{{Date=\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//dblNetSales=driverRangeSum(drvCkHeader\\comma\\\\quot\\Net_Sales\\quot\\\\comma\\true\\comma\\\\quot\\true\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverClose(drvCkHeader)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Cannot locate file \\quot\\\\plus\\strCkHeaderFilename\\plus\\\\quot\\ to get net sales\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//driverOpen(POS_Generic_Labor_Detail_DBase\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{storename=\\quot\\\\plus\\strStoreName\\plus\\\\quot\\{{pipe{{NetSales=\\quot\\\\plus\\dblNetSales\\plus\\\\quot\\{{pipe{{Date=\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//driver: __driverID__;//crlf////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_params: \\quot\\filename={@addDirSlash(\\quot\\__SelectedStores__\\quot\\)}__FilterDate1___lbr.dbf\\quot\\;//crlf////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\((\\apos\\__Filter_Actual_Job_Code_Name__\\apos\\=\\apos\\~all~\\apos\\) or (AppJobCodeName=\\apos\\__Filter_Actual_Job_Code_Name__\\apos\\)) and//crlf////tab////tab////tab////tab////tab// ((\\apos\\__Filter_Employee_Name__\\apos\\=\\apos\\~all~\\apos\\) or (EmpName=\\apos\\__Filter_Employee_Name__\\apos\\))//crlf////tab////tab////tab////tab////tab//\\quot\\;//crlf////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Timeclock closing system driver __consDriverName__\\quot\\)//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>//crlf//^
ID=Menu_Categories|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Menu Categories</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- Menu Categories -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//Version 06-01-2011-01//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\category.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////tab////tab////tab////crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////tab////tab////tab////crlf////tab////tab////tab//__FilterDepartment__//crlf////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_Menu_Category_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic Menu Category DBase\\quot\\>//crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Vertical\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Menu Categories\\amp\\DisplayName=__DisplayName__\\quot\\;>//crlf////crlf////tab//<h1>Menu Categories</h1>//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Overlay used to edit a record.  It is prepped and hidden initially.  When a record is edited\\comma\\//crlf////tab////tab//the div is made visible and the fields are filled in using javascript.  -->//crlf////tab//<div ID=\\quot\\__WidgetID__EditOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\height:300px; display:none;\\quot\\>//crlf////crlf////tab////tab//<h2>editRecord: __ID__</h2>//crlf////tab////tab//<form name=\\quot\\__WidgetID__Edit\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab////crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Edit\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__EditOverlay\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\putRecord\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\append\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab//</form>//crlf////tab//</div>//crlf////crlf////tab//<!-- Overlay used to delete a record.  It is prepped and hidden initially.  When a record is deleted\\comma\\//crlf////tab////tab//the div is made visible and the description and expression are filled in using javascript.  -->//crlf////tab//<div ID=\\quot\\__WidgetID__DeleteOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\height:300px; display:none;\\quot\\>//crlf////tab////tab//<h2>deleteRecord <span ID=\\quot\\__WidgetID__DeleteRecordDescription\\quot\\></span></h2>//crlf////tab////tab//<form name=\\quot\\__WidgetID__Delete\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////tab////tab////tab//Delete record?//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Delete\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__DeleteOverlay\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\deleteRecord\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab//</form>//crlf////tab//</div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!--//tab//Custom fields go here. -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Menu Categories\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverVert\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\category.dbf\\quot\\//crlf////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_Menu_Category_DBase\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename)//crlf////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\ style=\\quot\\\\quot\\>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//driver: __driverID__;//crlf////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\(if(startsWith(\\apos\\__FilterDepartment__\\apos\\\\comma\\\\apos\\__\\apos\\)\\comma\\true\\comma\\pos(\\apos\\__FilterDepartment__\\apos\\\\comma\\\\apos\\Department\\apos\\)>=0))\\quot\\;//crlf////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>//crlf//^
ID=Pos_Lists|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>POS Lists</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- POS Lists Report Table -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//Version 06-01-2011-02//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\__FilterListFileName__\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////tab////tab////tab////crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////tab////tab////tab//__FilterListFileName__//crlf////tab////tab////tab////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_POSIDs_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic POS IDs DBase\\quot\\>//crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Vertical\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_POS Lists\\amp\\DisplayName=__DisplayName__\\quot\\;>//crlf////crlf////tab//<h1>Lists</h1>//crlf////crlf////tab//<constant name:__FilterListFileName__; value:{@if(startsWith(\\quot\\__FilterListFileName__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\\\quot\\category.dbf\\quot\\\\comma\\\\quot\\__FilterListFileName__\\quot\\)}>//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>List</td>//crlf////tab////tab////tab////tab////tab//<td>{@htmlSelect(\\quot\\Aspect_BackOffice_Generic_POS_Lists_by_Filename\\quot\\\\comma\\\\quot\\FilterListFileName\\quot\\\\comma\\\\quot\\__FilterListFileName__\\quot\\\\comma\\\\quot\\onChange=\\quot\\\\plus\\quote(\\quot\\refreshDisplay(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\Filter__WidgetID__\\apos\\)\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)}</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Custom fields go here -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=POS Lists\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverVert\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\__FilterListFileName__\\quot\\//crlf////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_POSIDs_DBase\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename)//crlf////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//driver: __driverID__;//crlf////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_params: \\quot\\filename={@addDirSlash(\\quot\\__SelectedStores__\\quot\\)}__FilterListFileName__\\quot\\;//crlf////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\len(trim(Name))>0\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>//crlf//^
ID=Tenders|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Tenders</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- Tenders -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//Version 06-01-2011-01//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\tender.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////tab////tab////tab////crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////tab////tab////tab////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_Tenders_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic Tenders DBase\\quot\\>//crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Vertical\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Tenders\\amp\\DisplayName=__DisplayName__\\quot\\;>//crlf////crlf////tab//<h1>Tenders</h1>//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Overlay used to edit a record.  It is prepped and hidden initially.  When a record is edited\\comma\\//crlf////tab////tab//the div is made visible and the fields are filled in using javascript.  -->//crlf////tab//<div ID=\\quot\\__WidgetID__EditOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\height:300px; display:none;\\quot\\>//crlf////crlf////tab////tab//<h2>editRecord: __ID__</h2>//crlf////tab////tab//<form name=\\quot\\__WidgetID__Edit\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Edit\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__EditOverlay\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\putRecord\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\append\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab//</form>//crlf////tab//</div>//crlf////crlf////tab//<!-- Overlay used to delete a record.  It is prepped and hidden initially.  When a record is deleted\\comma\\//crlf////tab////tab//the div is made visible and the description and expression are filled in using javascript.  -->//crlf////tab//<div ID=\\quot\\__WidgetID__DeleteOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\height:300px; display:none;\\quot\\>//crlf////tab////tab//<h2>deleteRecord <span ID=\\quot\\__WidgetID__DeleteRecordDescription\\quot\\></span></h2>//crlf////tab////tab//<form name=\\quot\\__WidgetID__Delete\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////tab////tab////tab//Delete record?//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Delete\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__DeleteOverlay\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\deleteRecord\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab//</form>//crlf////tab//</div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!--//tab//Custom fields go here. -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Tenders\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverVert\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\tender.dbf\\quot\\//crlf////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_Tenders_DBase\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename)//crlf////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\ style=\\quot\\\\quot\\>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//driver: __driverID__;//crlf////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>//crlf//^
ID=Check_Details|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Check Details</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- Check Detail Report Table -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//dt1=if(startsWith(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\now()\\comma\\parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//dt2=if(startsWith(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\now()\\comma\\parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_ckd.dbf\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileSize(strFilename)\\plus\\fileModified(strFilename)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\\\quot\\.ckd\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileSize(strFilename)\\plus\\fileModified(strFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////crlf////tab////tab////tab//__Filter_Revenue_Center__//crlf////tab////tab////tab//__Filter_EmpOpen_Name__//crlf////tab////tab////tab//__FilterRecordType__//crlf////tab////tab////tab//__Filter_EmpClose_Name__//crlf////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_Check_Detail_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic Check Detail DBase\\quot\\>//crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Vertical\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\amp\\Display=__Display__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Check Detail Report\\amp\\DisplayName=__DisplayName__\\quot\\;>//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\FilterDate1\\quot\\\\comma\\\\quot\\06-04-2010\\quot\\\\comma\\\\quot\\all\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\FilterDate2\\quot\\\\comma\\\\quot\\06-04-2010\\quot\\\\comma\\\\quot\\all\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\FilterRecordType\\quot\\\\comma\\\\quot\\__FilterRecordType__\\quot\\\\comma\\\\quot\\all\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Filter_Revenue_Center\\quot\\\\comma\\\\quot\\__Filter_Revenue_Center__\\quot\\\\comma\\\\quot\\all\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Filter_Store_Name\\quot\\\\comma\\\\quot\\__Filter_Store_Name__\\quot\\\\comma\\\\quot\\all\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Filter_EmpOpen_Name\\quot\\\\comma\\\\quot\\__Filter_EmpOpen_Name__\\quot\\\\comma\\\\quot\\all\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Filter_EmpClose_Name\\quot\\\\comma\\\\quot\\__Filter_EmpClose_Name__\\quot\\\\comma\\\\quot\\all\\quot\\)>//crlf////crlf////tab//<conditional expression:not(__NoTitle__)>//crlf////tab////tab//<h1>Check Details</h1>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Custom fields go here. -->//crlf////tab////tab//<!--//crlf////tab////tab//<td>Store</td>//crlf////tab////tab//<td><!!include type:expression; expression:\\quot\\htmlSelect(\\apos\\POS_Generic_Check_Detail_Filter_Store_Name\\apos\\\\comma\\\\apos\\Filter_Store_Name\\apos\\\\comma\\\\apos\\__Filter_Store_Name__\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\__consDriverName__\\apos\\)\\quot\\></td>//crlf////tab////tab//-->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Revenue Center</td>//crlf////tab////tab////tab////tab////tab//<td colspan=\\apos\\3\\apos\\><!!include type:expression; expression:\\quot\\htmlSelect(\\apos\\POS_Generic_Check_Detail_Filter_Revenue_Center\\apos\\\\comma\\\\apos\\Filter_Revenue_Center\\apos\\\\comma\\\\apos\\__Filter_Revenue_Center__\\apos\\\\comma\\\\apos\\save=\\apos\\\\plus\\quote(\\apos\\aspect\\apos\\)\\plus\\\\apos\\ style=\\apos\\\\plus\\quote(\\apos\\width:150px\\apos\\)\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\__consDriverName__\\apos\\)\\quot\\></td>//crlf////tab////tab////tab////tab////tab//<td>Employee Open</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:\\quot\\htmlSelect(\\apos\\POS_Generic_Check_Detail_Filter_Employee_Open_Name\\apos\\\\comma\\\\apos\\Filter_EmpOpen_Name\\apos\\\\comma\\\\apos\\__Filter_EmpOpen_Name__\\apos\\\\comma\\\\apos\\save=\\apos\\\\plus\\quote(\\apos\\aspect\\apos\\)\\plus\\\\apos\\ style=\\apos\\\\plus\\quote(\\apos\\width:150px\\apos\\)\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\__consDriverName__\\apos\\)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Transaction Type</td>//crlf////tab////tab////tab////tab////tab//<td colspan=\\apos\\3\\apos\\><!!include type:expression; expression:\\quot\\htmlSelect(\\apos\\POS_Generic_Check_Detail_Record_Types\\apos\\\\comma\\\\apos\\FilterRecordType\\apos\\\\comma\\\\apos\\__FilterRecordType__\\apos\\\\comma\\\\apos\\save=\\apos\\\\plus\\quote(\\apos\\aspect\\apos\\)\\plus\\\\apos\\ style=\\apos\\\\plus\\quote(\\apos\\width:150px\\apos\\)\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\></td>//crlf////tab////tab////tab////tab////tab//<td>Employee Close</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:\\quot\\htmlSelect(\\apos\\POS_Generic_Check_Detail_Filter_Employee_Close_Name\\apos\\\\comma\\\\apos\\Filter_EmpClose_Name\\apos\\\\comma\\\\apos\\__Filter_EmpClose_Name__\\apos\\\\comma\\\\apos\\save=\\apos\\\\plus\\quote(\\apos\\aspect\\apos\\)\\plus\\\\apos\\ style=\\apos\\\\plus\\quote(\\apos\\width:150px\\apos\\)\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\__consDriverName__\\apos\\)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Check Detail Report\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\FilterDate1\\apos\\ value=\\apos\\__FilterDate1__\\apos\\>//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\FilterDate2\\apos\\ value=\\apos\\__FilterDate2__\\apos\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverVert\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//sStoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\replaceSubstring(str\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab//dt1=parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt2=parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_ckd.dbf\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\strFilename=\\quot\\\\plus\\strFilename)//crlf////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab//driverOpen(POS_Generic_Check_Detail_DBase\\comma\\\\quot\\drvDbf\\quot\\\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename)//crlf////tab////tab////tab////tab////tab//driverSetFilter(\\quot\\drvDbf\\quot\\\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverConsolidate(\\quot\\__consDriverName__\\quot\\\\comma\\\\quot\\drvDbf\\quot\\\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\\\quot\\.ckd\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//drvDbf=\\quot\\drvDbf\\quot\\\\plus\\Cntr\\plus\\sDate//crlf////tab////tab////tab////tab////tab////tab//sParams=\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\{{pipe{{Date=\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Check_Detail_By_Filename\\comma\\\\quot\\drvDbf\\quot\\\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename)//crlf////tab////tab////tab////tab////tab////tab//driverSetFilter(\\quot\\drvDbf\\quot\\\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//driverConsolidate(\\quot\\__consDriverName__\\quot\\\\comma\\\\quot\\drvDbf\\quot\\\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\ style=\\quot\\\\quot\\>//crlf////tab////tab//<!conditional expression:\\quot\\driverGetRecordCount(__consDriverName__)>0\\quot\\>//crlf////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab//_driver: __driverID__;//crlf////tab////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\((\\apos\\__FilterRecordType__\\apos\\=\\apos\\all\\apos\\) or (RecType=\\apos\\__FilterRecordType__\\apos\\)) and//crlf////tab////tab////tab////tab////tab////tab// ((\\apos\\__Filter_EmpOpen_Name__\\apos\\=\\apos\\all\\apos\\) or (Employee_Open_Name=\\apos\\__Filter_EmpOpen_Name__\\apos\\)) and//crlf////tab////tab////tab////tab////tab////tab// ((\\apos\\__Filter_EmpClose_Name__\\apos\\=\\apos\\all\\apos\\) or (Employee_Close_Name=\\apos\\__Filter_EmpClose_Name__\\apos\\)) and//crlf////tab////tab////tab////tab////tab////tab// ((\\apos\\__Filter_Revenue_Center__\\apos\\=\\apos\\all\\apos\\) or (Revenue_Center_Name=\\apos\\__Filter_Revenue_Center__\\apos\\)) and//crlf////tab////tab////tab////tab////tab////tab// ((\\apos\\__Filter_Store_Name__\\apos\\=\\apos\\all\\apos\\) or (Store_Name=\\apos\\__Filter_Store_Name__\\apos\\))//crlf////tab////tab////tab////tab////tab////tab//\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//paging: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\1000\\quot\\;//crlf////tab////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</conditional>//crlf////tab//</div>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////crlf////tab//<div style=\\quot\\overflow:auto; height:500px; width:100\\percent\\\\quot\\>//crlf////tab//__servertimerresults__//crlf////tab//</div>//crlf////crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>//crlf//^
ID=Check_Headers|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Check Headers</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- Check Header Report Table -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//Version 06-01-2011-01//crlf////tab////tab////tab//__WidgetID__//crlf////crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////tab//if(__ClearCache__)//crlf////tab////tab////tab////tab////tab//strResult=strResult\\plus\\now()\\plus\\char(10)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//dt1=if(startsWith(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\now()\\comma\\parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//dt2=if(startsWith(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\now()\\comma\\parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_ckh.dbf\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\\\quot\\.ckh\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////tab////tab////tab////crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////tab////tab////tab////crlf////tab////tab////tab//__Filter_Revenue_Center__//crlf////tab////tab////tab//__Filter_Store_Name__//crlf////tab////tab////tab//__FilterFromTime_Open__//crlf////tab////tab////tab//__FilterToTime_Open__//crlf////tab////tab////tab//__Filter_EmpOpen_Name__//crlf////tab////tab////tab//__Filter_EmpClose_Name__//crlf////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//Debug=__debug__//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_Check_Header_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic Check Header DBase\\quot\\>//crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Vertical\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\amp\\Debug=__Debug__\\amp\\ClearCache=__ClearCache__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Check Header Report\\amp\\DisplayName=__DisplayName__\\amp\\debug=__debug__\\quot\\;>//crlf////crlf////tab//<constant name:__FilterDate1__; value:{@if(startsWith(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\formatDate(parseTime(\\quot\\06042010\\quot\\\\comma\\\\quot\\MMddyyyy\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\__FilterDate1__\\quot\\)}>//crlf////tab//<constant name:__FilterDate2__; value:{@if(startsWith(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\formatDate(parseTime(\\quot\\06042010\\quot\\\\comma\\\\quot\\MMddyyyy\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\__FilterDate2__\\quot\\)}>//crlf////tab//<constant name:__FilterFromTime_Open__; value:{@initConstant(\\quot\\__FilterFromTime_Open__\\quot\\\\comma\\\\quot\\__FilterDate1__\\quot\\\\plus\\\\quot\\ 00:00\\quot\\)}>//crlf////tab//<constant name:__FilterToTime_Open__; value:{@initConstant(\\quot\\__FilterToTime_Open__\\quot\\\\comma\\\\quot\\__FilterDate1__\\quot\\\\plus\\\\quot\\ 00:00\\quot\\)}>//crlf////tab//<constant name:__FilterFromTime_Close__; value:{@initConstant(\\quot\\__FilterFromTime_Close__\\quot\\\\comma\\\\quot\\__FilterDate1__\\quot\\\\plus\\\\quot\\ 00:00\\quot\\)}>//crlf////tab//<constant name:__FilterToTime_Close__; value:{@initConstant(\\quot\\__FilterToTime_Close__\\quot\\\\comma\\\\quot\\__FilterDate1__\\quot\\\\plus\\\\quot\\ 00:00\\quot\\)}>//crlf////tab//<constant name:__Filter_Revenue_Center__; value:{@initConstant(\\quot\\__Filter_Revenue_Center__\\quot\\\\comma\\\\quot\\all\\quot\\)}>//crlf////tab//<constant name:__Filter_Store_Name__; value:{@initConstant(\\quot\\__Filter_Store_Name__\\quot\\\\comma\\\\quot\\all\\quot\\)}>//crlf////tab//<constant name:__Filter_EmpOpen_Name__; value:{@initConstant(\\quot\\__Filter_EmpOpen_Name__\\quot\\\\comma\\\\quot\\all\\quot\\)}>//crlf////tab//<constant name:__Filter_EmpClose_Name__; value:{@initConstant(\\quot\\__Filter_EmpClose_Name__\\quot\\\\comma\\\\quot\\all\\quot\\)}>//crlf////crlf////tab//<conditional expression:not(__NoTitle__)>//crlf////tab////tab//<h1>Check Totals</h1>//crlf////tab//</conditional>//crlf////crlf////tab//DisplayName=__DisplayName__<br>//crlf////tab//Debug=__Debug__<br>//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab////tab//<!--//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>From</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\FilterDate1\\apos\\ value=\\apos\\__FilterDate1__\\apos\\ size=\\apos\\10\\apos\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ control=\\quot\\date\\quot\\></td>//crlf////tab////tab////tab////tab////tab//<td>To</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\FilterDate2\\apos\\ value=\\apos\\__FilterDate2__\\apos\\ size=\\apos\\10\\apos\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ control=\\quot\\date\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab//-->//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Custom fields go here. -->//crlf////tab////tab//<constant name:\\quot\\__field_width1__\\quot\\; value:\\quot\\150px\\quot\\>//crlf////tab////tab////crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Revenue Center</td>//crlf////tab////tab////tab////tab////tab//<td colspan=\\apos\\3\\apos\\><!!include type:expression; expression:\\quot\\htmlSelect(\\apos\\POS_Generic_Check_Header_Filter_Revenue_Center\\apos\\\\comma\\\\apos\\Filter_Revenue_Center\\apos\\\\comma\\\\apos\\__Filter_Revenue_Center__\\apos\\\\comma\\\\apos\\style=\\apos\\\\plus\\quote(\\apos\\width:__field_width1__\\apos\\)\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\__consDriverName__\\apos\\)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Employee Open</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:\\quot\\htmlSelect(\\apos\\POS_Generic_Check_Header_Filter_Employee_Open_Name\\apos\\\\comma\\\\apos\\Filter_EmpOpen_Name\\apos\\\\comma\\\\apos\\__Filter_EmpOpen_Name__\\apos\\\\comma\\\\apos\\style=\\apos\\\\plus\\quote(\\apos\\width:__field_width1__\\apos\\)\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\__consDriverName__\\apos\\)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Employee Close</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:\\quot\\htmlSelect(\\apos\\POS_Generic_Check_Header_Filter_Employee_Close_Name\\apos\\\\comma\\\\apos\\Filter_EmpClose_Name\\apos\\\\comma\\\\apos\\__Filter_EmpClose_Name__\\apos\\\\comma\\\\apos\\style=\\apos\\\\plus\\quote(\\apos\\width:__field_width1__\\apos\\)\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\__consDriverName__\\apos\\)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Time Open</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\text\\apos\\ name=\\apos\\FilterFromTime_Open\\apos\\ value=\\apos\\__FilterFromTime_Open__\\apos\\ style=\\apos\\width:__field_width1__\\apos\\ control=\\apos\\date\\apos\\ format=\\apos\\MM-dd-yyyy HH:mm\\apos\\>//crlf////tab////tab////tab////tab////tab////tab// to //crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\text\\apos\\ name=\\apos\\FilterToTime_Open\\apos\\ value=\\apos\\__FilterToTime_Open__\\apos\\ style=\\apos\\width:__field_width1__\\apos\\ control=\\apos\\date\\apos\\ format=\\apos\\MM-dd-yyyy HH:mm\\apos\\>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Time Close</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\text\\apos\\ name=\\apos\\FilterFromTime_Close\\apos\\ value=\\apos\\__FilterFromTime_Close__\\apos\\ style=\\apos\\width:__field_width1__\\apos\\ control=\\apos\\date\\apos\\ format=\\apos\\MM-dd-yyyy HH:mm\\apos\\>//crlf////tab////tab////tab////tab////tab////tab// to //crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\text\\apos\\ name=\\apos\\FilterToTime_Close\\apos\\ value=\\apos\\__FilterToTime_Close__\\apos\\ style=\\apos\\width:__field_width1__\\apos\\ control=\\apos\\date\\apos\\ format=\\apos\\MM-dd-yyyy HH:mm\\apos\\>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Check Header Report\\amp\\DriverID=__DriverID__\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\FilterDate1\\apos\\ value=\\apos\\__FilterDate1__\\apos\\>//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\FilterDate2\\apos\\ value=\\apos\\__FilterDate2__\\apos\\>//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\Debug\\apos\\ value=\\apos\\__Debug__\\apos\\>//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\ClearCache\\apos\\ value=\\apos\\__ClearCache__\\apos\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverVert\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//sStoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\replaceSubstring(str\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab//dt1=parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt2=parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_ckh.dbf\\quot\\//crlf////tab////tab////tab////tab//if (fileExists(strFilename))//crlf//appendToLog(\\quot\\Check headers1 - adding \\quot\\\\plus\\strFilename)//crlf////tab////tab////tab////tab////tab//driverOpen(POS_Generic_Check_Header_DBase\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename)//crlf////tab////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\\\quot\\.ckh\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf//appendToLog(\\quot\\Check headers2 - adding \\quot\\\\plus\\strFilename)//crlf////tab////tab////tab////tab////tab////tab//sParams=\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\{{pipe{{Date=\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Check_Header_By_Filename\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\ style=\\quot\\padding:0px; margin:0px\\quot\\>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_params: \\quot\\filename={@addDirSlash(\\quot\\__SelectedStores__\\quot\\)}__FilterDate1___ckh.dbf\\quot\\;//crlf////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\if((\\apos\\__Filter_Revenue_Center__\\apos\\=\\apos\\all\\apos\\) or (Rev_Ctr_Name=\\apos\\__Filter_Revenue_Center__\\apos\\)\\comma\\//crlf////tab////tab////tab////tab////tab////tab//if((\\apos\\__Filter_Store_Name__\\apos\\=\\apos\\all\\apos\\) or (Store_Name=\\apos\\__Filter_Store_Name__\\apos\\)\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab//if((\\apos\\__FilterFromTime_Open__\\apos\\=\\apos\\__FilterToTime_Open__\\apos\\) or (if(len(\\apos\\__FilterFromTime_Open__\\apos\\)*len(\\apos\\__FilterToTime_Open__\\apos\\)=0\\comma\\true\\comma\\((dateNumber(Time_Open)>=dateNumber(parseTime(\\apos\\__FilterFromTime_Open__\\apos\\\\comma\\\\apos\\MM-dd-yyyy HH:mm\\apos\\))) and (dateNumber(Time_Open)<=dateNumber(parseTime(\\apos\\__FilterToTime_Open__\\apos\\\\comma\\\\apos\\MM-dd-yyyy HH:mm\\apos\\))))))\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if((\\apos\\__FilterFromTime_Close__\\apos\\=\\apos\\__FilterToTime_Close__\\apos\\) or (if(len(\\apos\\__FilterFromTime_Close__\\apos\\)*len(\\apos\\__FilterToTime_Close__\\apos\\)=0\\comma\\true\\comma\\((dateNumber(Time_Close)>=dateNumber(parseTime(\\apos\\__FilterFromTime_Close__\\apos\\\\comma\\\\apos\\MM-dd-yyyy HH:mm\\apos\\))) and (dateNumber(Time_Close)<=dateNumber(parseTime(\\apos\\__FilterToTime_Close__\\apos\\\\comma\\\\apos\\MM-dd-yyyy HH:mm\\apos\\))))))\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if((\\apos\\__Filter_EmpOpen_Name__\\apos\\=\\apos\\all\\apos\\) or (Employee_Open_Name=\\apos\\__Filter_EmpOpen_Name__\\apos\\)\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if((\\apos\\__Filter_EmpClose_Name__\\apos\\=\\apos\\all\\apos\\) or (Employee_Close_Name=\\apos\\__Filter_EmpClose_Name__\\apos\\)\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//true\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//false)\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//false)\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//false)\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab//false)\\comma\\//crlf////tab////tab////tab////tab////tab////tab//false)\\comma\\//crlf////tab////tab////tab////tab////tab//false)\\quot\\;//crlf////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab//details:\\quot\\__ShowDetails__\\quot\\;//crlf////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\__debug__\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>^
ID=Menu_Items|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Menu Items</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- Menu Items -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//Version 06-01-2011-01//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\recipe.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////tab////tab////tab////crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////tab////tab////tab////crlf////tab////tab////tab//__Filter_Department_Name__//crlf////tab////tab////tab//__Filter_Category_Name__//crlf////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_Menu_Item_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic Menu Item DBase\\quot\\>//crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Vertical\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Menu Items\\amp\\DisplayName=__DisplayName__\\quot\\;>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Filter_Category_Name\\quot\\\\comma\\\\quot\\__Filter_Category_Name__\\quot\\\\comma\\\\quot\\~all~\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Filter_Department_Name\\quot\\\\comma\\\\quot\\__Filter_Department_Name__\\quot\\\\comma\\\\quot\\~all~\\quot\\)>//crlf////crlf////tab//<h1>Menu Items</h1>//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!--//tab//Custom fields go here. -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Department</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:\\quot\\htmlSelect(\\apos\\POS_Generic_Menu_Items_Filter_Department_Name\\apos\\\\comma\\\\apos\\Filter_Department_Name\\apos\\\\comma\\\\apos\\__Filter_Department_Name__\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\__consDriverName__\\apos\\)\\quot\\></td>//crlf////tab////tab////tab////tab////tab//<td>Category</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:\\quot\\htmlSelect(\\apos\\POS_Generic_Menu_Items_Filter_Category_Name\\apos\\\\comma\\\\apos\\Filter_Category_Name\\apos\\\\comma\\\\apos\\__Filter_Category_Name__\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\__consDriverName__\\apos\\)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Menu Items\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverVert\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\recipe.dbf\\quot\\//crlf////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_Menu_Item_DBase\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename)//crlf////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\ style=\\quot\\\\quot\\>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//driver: __driverID__;//crlf////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_params: \\quot\\filename={@addDirSlash(\\quot\\__SelectedStores__\\quot\\)}recipe.dbf\\quot\\;//crlf////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\if(not(IsDeleted)\\comma\\//crlf////tab////tab////tab////tab////tab////tab//if((\\apos\\__Filter_Category_Name__\\apos\\=\\apos\\~all~\\apos\\) or (Category_Name=\\apos\\__Filter_Category_Name__\\apos\\)\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab//if((\\apos\\__Filter_Department_Name__\\apos\\=\\apos\\~all~\\apos\\) or (Department_Name=\\apos\\__Filter_Department_Name__\\apos\\)\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//true\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab//false)\\comma\\//crlf////tab////tab////tab////tab////tab////tab//false)\\comma\\//crlf////tab////tab////tab////tab////tab//false)\\quot\\;//crlf////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>//crlf//^
ID=Sales_Mix|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Sales Mix</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- Sales Mix Report Table -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//Version 06-01-2011-01//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//dt1=if(startsWith(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\now()\\comma\\parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//dt2=if(startsWith(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\now()\\comma\\parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_mix.dbf\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\\\quot\\.mix\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////crlf////tab////tab////tab//__Filter_Category_Name__//crlf////tab////tab////tab//__Filter_Department_Name__//crlf////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//debug=true//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_SalesMix_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic SalesMix DBase\\quot\\>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Vertical\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Sales Mix Report\\amp\\DisplayName=__DisplayName__\\quot\\;>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\FilterDate1\\quot\\\\comma\\\\quot\\__FilterDate1__\\quot\\\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\FilterDate2\\quot\\\\comma\\\\quot\\__FilterDate2__\\quot\\\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Filter_Category_Name\\quot\\\\comma\\\\quot\\__Filter_Category_Name__\\quot\\\\comma\\\\quot\\~all~\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Filter_Department_Name\\quot\\\\comma\\\\quot\\__Filter_Department_Name__\\quot\\\\comma\\\\quot\\~all~\\quot\\)>//crlf////crlf////tab//<conditional expression:(false) and (not(__NoTitle__))>//crlf////tab////tab//<h1>Sales Mix</h1>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!--//tab//Custom fields go here. -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Department</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:\\quot\\htmlSelect(\\apos\\POS_Generic_Menu_Items_Filter_Department_Name\\apos\\\\comma\\\\apos\\Filter_Department_Name\\apos\\\\comma\\\\apos\\__Filter_Department_Name__\\apos\\\\comma\\\\apos\\save=\\apos\\\\plus\\quote(\\apos\\aspect\\apos\\)\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\__consDriverName__\\apos\\)\\quot\\></td>//crlf////tab////tab////tab////tab////tab//<td>Category</td>//crlf////tab////tab////tab////tab////tab//<td><!!include type:expression; expression:\\quot\\htmlSelect(\\apos\\POS_Generic_Sales_Mix_Filter_Category_Name\\apos\\\\comma\\\\apos\\Filter_Category_Name\\apos\\\\comma\\\\apos\\__Filter_Category_Name__\\apos\\\\comma\\\\apos\\save=\\apos\\\\plus\\quote(\\apos\\aspect\\apos\\)\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\__consDriverName__\\apos\\)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Sales Mix Report\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\FilterDate1\\quot\\ value=\\quot\\__FilterDate1__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\FilterDate2\\quot\\ value=\\quot\\__FilterDate2__\\quot\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverVert\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true\\comma\\\\quot\\ConsDriverName=__consDriverName__\\quot\\)//crlf////crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//sStoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\replaceSubstring(str\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab////tab//dt1=parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt2=parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_mix.dbf\\quot\\//crlf////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab//driverOpen(POS_Generic_SalesMix_DBase\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{Date=\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\{{pipe{{ConsDriverName=__consDriverName__\\quot\\)//crlf////tab////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\\\quot\\.mix\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//sParams=\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\{{pipe{{Date=\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\{{pipe{{ConsDriverName=__consDriverName__\\quot\\//crlf////tab////tab////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Sales_Mix_By_Filename\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\ style=\\quot\\\\quot\\>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//driver: __driverID__;//crlf////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_params: \\quot\\filename={@addDirSlash(\\quot\\__SelectedStores__\\quot\\)}__FilterDate1___mix.dbf\\quot\\;//crlf////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\((\\apos\\__Filter_Category_Name__\\apos\\=\\apos\\~all~\\apos\\) or (CategoryName=\\apos\\__Filter_Category_Name__\\apos\\)) and//crlf////tab////tab////tab////tab////tab// ((\\apos\\__Filter_Department_Name__\\apos\\=\\apos\\~all~\\apos\\) or (Department_Name=\\apos\\__Filter_Department_Name__\\apos\\))//crlf////tab////tab////tab////tab////tab//\\quot\\;//crlf////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//output: \\quot\\chart\\quot\\;//crlf////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////tab////crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>//crlf////crlf//^
ID=select_report|X=10|Y=14|W=205|H=20|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=Report //crlf//<select style=\\quot\\width:200px\\quot\\ onChange=\\quot\\showTab(this)\\quot\\>//crlf//    <option value=\\apos\\Check_Details\\apos\\>Check Details</option>//crlf//    <option value=\\apos\\Check_Headers\\apos\\>Check Headers</option>//crlf//    <option value=\\apos\\Employee_Records\\apos\\>Employee Records</option>//crlf//    <option value=\\apos\\Job_Codes\\apos\\>Job Codes</option>//crlf//    <option value=\\apos\\Menu_Categories\\apos\\>Menu Categories</option>//crlf//    <option value=\\apos\\Menu_Items\\apos\\>Menu Items</option>//crlf//    <option value=\\apos\\Pos_Lists\\apos\\>POS Lists</option>//crlf//    <option value=\\apos\\Sales_Mix\\apos\\>Sales Mix</option>//crlf//    <option value=\\apos\\Tenders\\apos\\>Tenders</option>//crlf//    <option value=\\apos\\Timeclock\\apos\\>Timeclock</option>//crlf//</select>//crlf//
</widget><widget name="Report Templates - Cons Horizontal" group="Reports" category="" description="" type="Container" Processing=0 metadata="" IncludeInViewer="false" PublicName="Report Templates - Cons Horizontal" modified="02-25-2012 22:28:50" modifiedby="Keith-Dell2" TaskEnabled= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskWindowForExecution=>
Preferences|toolboxx=1043|toolboxy=291|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Report Templates - Cons Vertical.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=Employee_Records|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Employee Records</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- Employee Record Report Table - Horizontal Consolidation -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//Version 06-01-2011-01//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\employee.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult\\plus\\fileModified(strFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_Employee_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic Employee DBase\\quot\\>//crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Horizontal\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Employee Record (Horz Consolidate)\\amp\\DisplayName=__DisplayName__\\amp\\debug=false\\quot\\;>//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Overlay used to edit a record.  It is prepped and hidden initially.  When a record is edited\\comma\\//crlf////tab////tab//the div is made visible and the fields are filled in using javascript.  -->//crlf////tab//<div ID=\\quot\\__WidgetID__EditOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\height:370px; width:400px; display:none;\\quot\\>//crlf////crlf////tab////tab//<form name=\\quot\\__WidgetID__Edit\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////crlf////tab////tab////tab//<h2>\\pound\\<span name=\\apos\\__EmpNum__\\apos\\></span> <span name=\\apos\\__Last_Name__\\apos\\></span>\\comma\\ <span name=\\apos\\__First_Name__\\apos\\></span></h2>//crlf////tab////tab////tab//<hr>//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab////crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Date Of Hire</td>//crlf////tab////tab////tab////tab////tab//<td colspan=\\apos\\2\\apos\\><input type=\\apos\\text\\apos\\ name=\\apos\\field_DateOfHire\\apos\\ value=\\apos\\__$DateOfHire$__\\apos\\ size=\\apos\\13\\apos\\ control=\\apos\\date\\apos\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Terminated</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\field_DateOfTerm\\apos\\ value=\\apos\\__$DateOfTerm$__\\apos\\ size=\\apos\\13\\apos\\ control=\\apos\\date\\apos\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\></td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_Terminated\\apos\\ <!include type:expression; expression:\\quot\\if(__Terminated__\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>>\\amp\\nbsp;This employee is terminated//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_Terminated\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab////crlf////tab////tab////tab//<b>Job Codes \\amp\\ Rates</b><br>//crlf////tab////tab////tab//<table class=\\quot\\basic1\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<th>Job Number</th>//crlf////tab////tab////tab////tab////tab//<th>Job Name</th>//crlf////tab////tab////tab////tab////tab//<th>Rate</th>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__JobNum1__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__Job_Name_1__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td align=\\apos\\right\\apos\\><span name=\\apos\\__RegRate1__\\apos\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__JobNum2__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__Job_Name_2__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td align=\\apos\\right\\apos\\><span name=\\apos\\__RegRate2__\\apos\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__JobNum3__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__Job_Name_3__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td align=\\apos\\right\\apos\\><span name=\\apos\\__RegRate3__\\apos\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__JobNum4__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__Job_Name_4__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td align=\\apos\\right\\apos\\><span name=\\apos\\__RegRate4__\\apos\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__JobNum5__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__Job_Name_5__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td align=\\apos\\right\\apos\\><span name=\\apos\\__RegRate5__\\apos\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__JobNum6__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td><span name=\\apos\\__Job_Name_6__\\apos\\></span></td>//crlf////tab////tab////tab////tab////tab//<td align=\\apos\\right\\apos\\><span name=\\apos\\__RegRate6__\\apos\\></span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab////crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\field_NoImport\\apos\\ <!include type:expression; expression:\\quot\\if(__NoImport__\\comma\\\\apos\\checked\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\>>\\amp\\nbsp;Do not import timeclock records for this employee//crlf////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\checkbox_NoImport\\apos\\ value=\\apos\\false\\apos\\>//crlf////tab////tab////tab//<br><br>//crlf////crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Edit\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__EditOverlay\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab////tab//<!--//tab//note: a hidden field named DriverParams is added by editRecord()  to pass the driver params (filename) when submitRecord() is called.//crlf////tab////tab////tab////tab//The driver params are defined in the call to editRecord() in the edit hyperlink in the structure -->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\putRecord\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\append\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\false\\quot\\>//crlf////crlf////tab////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////tab////tab//</form>//crlf////tab//</div>//crlf////crlf////tab//<!-- Overlay used to delete a record.  It is prepped and hidden initially.  When a record is deleted\\comma\\//crlf////tab////tab//the div is made visible and the description and expression are filled in using javascript.  -->//crlf////tab//<div ID=\\quot\\__WidgetID__DeleteOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\height:70px; width:300px; display:none;\\quot\\>//crlf////tab////tab//<form name=\\quot\\__WidgetID__Delete\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////tab////tab////tab//Delete this record?<br><br>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Delete\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__DeleteOverlay\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\deleteRecord\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\true\\quot\\>//crlf////crlf////tab////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////tab////tab//</form>//crlf////tab//</div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Custom fields go here. -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Employee Record (Horz Consolidate)\\amp\\DisplayReportName=__DisplayReportName__\\amp\\HorzDriverName=__consDriverName__\\amp\\debug=false\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverHorz\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//sStoreName=lookup(\\quot\\Aspect_BackOffice_Store_Name_By_Directory\\quot\\\\comma\\replaceSubstring(str\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\employee.dbf\\quot\\//crlf////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_Employee_DBase\\comma\\drvDbf\\plus\\Cntr\\comma\\WRITE\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{Description=\\quot\\\\plus\\sStoreName)//crlf////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\POS_Number{{pipe{{POS_Number_Numeric\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!conditional expression:\\quot\\(driverGetRecordCount(\\apos\\__consDriverName__\\apos\\\\comma\\true)=0)\\quot\\>//crlf////tab////tab//<p>No records to display</p>//crlf////tab//</conditional>//crlf////tab//<!conditional expression:\\quot\\(driverGetRecordCount(\\apos\\__consDriverName__\\apos\\\\comma\\true)>0)\\quot\\>//crlf////tab////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\>//crlf////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab//driver: __driverID__;//crlf////tab////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//_params: \\quot\\filename={@addDirSlash(\\quot\\__SelectedStores__\\quot\\)}employee_def.dbf\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</div>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////tab// //crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>^
ID=Job_Codes|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Job Codes</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!----------------------------------------------------------------------------------------------------------------------------//crlf////tab////tab//For this consolidated driver to work\\comma\\ the following things need to be addressed://crlf////tab////tab////crlf////tab////tab//1.//tab//The fields available in the filter dialog must come from the system driver instead of from a structure since//crlf////tab////tab////tab//the structure is created on the fly from the embedded drivers.  A unique field is created for each field//crlf////tab////tab////tab//embedded from each driver (e.g. Store1 Job Name\\comma\\ Store2 Job Name\\comma\\ etc.  Instead of showing all of the unique//crlf////tab////tab////tab//fields\\comma\\ it might be good to show only one field and then translate that to display all the individual fields.//crlf////tab////tab////tab//For example\\comma\\ selecting Job Name in the display would cause Store1 Job Name\\comma\\ Store2 Job Name\\comma\\ etc. to be//crlf////tab////tab////tab//displayed.  Otherwise\\comma\\ the displays will have to be constantly updated when different stores are selected.//crlf////tab////tab////tab////crlf////tab////tab//2.//tab//Another list of fields needs to be created for sorting the display//crlf////tab////tab////crlf////tab////tab//3.//tab//A way of summing fields will need to be provided.  For example://crlf////tab////tab////tab//Name //tab////tab//{{pipe{{ Store1 {{pipe{{ Store2 {{pipe{{ Total//crlf////tab////tab////tab//Net Sales//tab//{{pipe{{ 100//tab//{{pipe{{ 200//tab//{{pipe{{ 300//crlf////tab////tab////tab////crlf////tab//---------------------------------------------------------------------------------------------------------------------------->//crlf////crlf////tab//<!-- Job Codes Report Table -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//Version 06-01-2011-02//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\jobdef.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Horizontal\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Job Codes (Horz Consolidate)\\amp\\DisplayName=__DisplayName__\\amp\\debug=false\\quot\\;>//crlf////crlf////tab//<h1>Job Codes</h1>//crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!--//tab//Custom fields go here. -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<!-- Must make this a !!include in order to pass the system driver to it so fields can be gotten from the driver instead of the //crlf////tab////tab////tab//structure since this is a horizontally consolidated driver.  The system driver is passed in the driver argument //crlf////tab////tab////tab//Because a !!include is used\\comma\\ the DisplayReportName token must also be passed//crlf////crlf////tab////tab////tab//02-21-2012 - Not true anymore.//crlf////tab////tab//-->//crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Job Codes (Horz Consolidate)\\amp\\DisplayReportName=__DisplayReportName__\\amp\\HorzDriverName=__consDriverName__\\amp\\debug=false\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverHorz\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//sStoreName=lookup(\\quot\\Aspect_BackOffice_Store_Name_By_Directory\\quot\\\\comma\\replaceSubstring(str\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\jobdef.dbf\\quot\\//crlf////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_JobCode_DBase\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{Description=\\quot\\\\plus\\sStoreName)//crlf////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\Number\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\jobdef.dta\\quot\\//crlf////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Job_Codes_By_Filename\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{Description=\\quot\\\\plus\\sStoreName)//crlf////tab////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\Number\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!conditional expression:\\quot\\(driverGetRecordCount(\\apos\\__consDriverName__\\apos\\\\comma\\true)=0)\\quot\\>//crlf////tab////tab//<p>No records to display</p>//crlf////tab//</conditional>//crlf////tab//<!conditional expression:\\quot\\(driverGetRecordCount(\\apos\\__consDriverName__\\apos\\\\comma\\true)>0)\\quot\\>//crlf////tab////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\ style=\\quot\\height:auto;\\quot\\>//crlf////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//_params: \\quot\\filename={@addDirSlash(\\quot\\__SelectedStores__\\quot\\)}jobdef.dbf\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</div>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////crlf////tab//__servertimerresults__//crlf////crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>^
ID=Timeclock|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Timeclock</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- Employee Timeclock (Horz Consolidate) Report Table -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//Version 06-01-2011-01//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab////add timestamp of store file in case payroll settings change//crlf////tab////tab////tab////tab//strFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\aspect_backoffice/store_list.dta\\quot\\//crlf////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab//strResult=strResult\\plus\\fileModified(strFilename)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while ((not(startsWith(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (Cntr<cStore))//crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab////timestamp of employee file (in case a name changes)//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\employee.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult\\plus\\fileModified(strFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////timestamp of job code file (in case a job code name changes)//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\jobdef.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult\\plus\\fileModified(strFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//dt1=parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab//dt2=parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab////tab////tab////add timestamp of each labor file//crlf////tab////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_lbr.dbf\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//strResult=strResult\\plus\\fileModified(strFilename)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////add timestamp of check header file in case net sales changes//crlf////tab////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_ckh.dbf\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//strResult=strResult\\plus\\fileModified(strFilename)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////tab////tab////tab////crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////tab////tab////tab////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_Labor_Detail_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic Labor Detail DBase\\quot\\>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Horizontal\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Timeclock (Horz Consolidate)\\amp\\DisplayName=__DisplayName__\\quot\\;>//crlf////crlf////tab//<constant name:__FilterDate1__; value:{@if(startsWith(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\formatDate(parseTime(\\quot\\06042010\\quot\\\\comma\\\\quot\\MMddyyyy\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\__FilterDate1__\\quot\\)}>//crlf////tab//<constant name:__FilterDate2__; value:{@if(startsWith(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\formatDate(parseTime(\\quot\\06042010\\quot\\\\comma\\\\quot\\MMddyyyy\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\__FilterDate2__\\quot\\)}>//crlf////tab//<constant name:__Filter_Store_Name__; value:{@initConstant(\\quot\\__Filter_Store_Name__\\quot\\\\comma\\\\quot\\~all~\\quot\\)}>//crlf////tab//<constant name:__Filter_Actual_Job_Code_Name__; value:{@initConstant(\\quot\\__Filter_Actual_Job_Code_Name__\\quot\\\\comma\\\\quot\\~all~\\quot\\)}>//crlf////tab//{@htmlConstant(\\quot\\Filter_Employee_Name\\quot\\\\comma\\\\quot\\__Filter_Employee_Name__\\quot\\\\comma\\\\quot\\~all~\\quot\\)}//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!--//tab//Custom fields go here. -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Timeclock (Horz Consolidate)\\amp\\DisplayReportName=__DisplayReportName__\\amp\\HorzDriverName=__consDriverName__\\amp\\debug=false\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\FilterDate1\\quot\\ value=\\quot\\__FilterDate1__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\FilterDate2\\quot\\ value=\\quot\\__FilterDate2__\\quot\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////crlf////tab////tab////calculate net sales total for each store \\amp\\ date to pass to consolidated driver in driverparams//crlf////tab////tab//strDriverParams=\\quot\\\\quot\\//crlf////tab////tab//dblGrandTtlNetSales=0//crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//sStoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\str)//crlf////tab////tab////tab//sStoreName=lookup(Aspect_BackOffice_Store_Name_By_Directory\\comma\\str)//crlf////tab////tab////tab//dt1=parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt2=parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dblStoreSales=0//crlf////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_lbr.dbf\\quot\\//crlf////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////get net sales total for the day to pass to the daily labor file to calculate labor percentages//crlf////tab////tab////tab////tab////tab//dblNetSales=0//crlf////tab////tab////tab////tab////tab//strCkHeaderFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_ckh.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strCkHeaderFilename))//crlf////tab////tab////tab////tab////tab////tab//driverOpen(POS_Generic_Check_Header_DBase\\comma\\drvCkHeader\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strCkHeaderFilename\\plus\\\\quot\\{{pipe{{Date=\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//dblNetSales=driverRangeSum(drvCkHeader\\comma\\\\quot\\Net_Sales\\quot\\\\comma\\true\\comma\\\\quot\\true\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverClose(drvCkHeader)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//strDriverParams=addElement(strDriverParams\\comma\\\\quot\\netsales//power//\\quot\\\\plus\\sStoreName\\plus\\\\quot\\//power//\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MMddyyyy\\quot\\)\\plus\\\\quot\\=\\quot\\\\plus\\dblNetSales\\comma\\\\quot\\{{pipe{{\\quot\\)//crlf////tab////tab////tab////tab////tab//dblStoreSales=dblStoreSales \\plus\\ dblNetSales//crlf////tab////tab////tab////tab////tab//dblGrandTtlNetSales=dblGrandTtlNetSales \\plus\\ dblNetSales //crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//strDriverParams=addElement(strDriverParams\\comma\\\\quot\\netsales//power//\\quot\\\\plus\\sStoreName\\plus\\\\quot\\=\\quot\\\\plus\\dblStoreSales\\comma\\\\quot\\{{pipe{{\\quot\\)//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//strDriverParams=addElement(strDriverParams\\comma\\\\quot\\ttlnetsales=\\quot\\\\plus\\dblGrandTtlNetSales\\comma\\\\quot\\{{pipe{{\\quot\\)//crlf////crlf////tab////tab////open the consolidated driver//crlf////tab////tab////At this point\\comma\\ the consolidated driver has driver params that can be used to look up the net sales for any store or store / date//crlf////tab////tab////The structure field used for this is Total_Net_Sales and it looks like this://crlf////tab////tab////=if(len(Employee)>0\\comma\\value(\\pound\\netsales)\\comma\\if(not(StartsWith(Business_Date\\comma\\\\quot\\Bus\\quot\\))\\comma\\getElementValue(Params\\comma\\\\quot\\netsales//power//\\quot\\\\plus\\Store_Name\\plus\\\\quot\\//power//\\quot\\\\plus\\formatDate(Business_Date\\comma\\\\quot\\MMddyyyy\\quot\\)\\comma\\\\quot\\{{pipe{{\\quot\\)\\comma\\if(startsWith(Store_Name\\comma\\\\quot\\Store_Name\\quot\\)\\comma\\getElementValue(Params\\comma\\\\quot\\netsales//power//\\quot\\\\plus\\Store_Name\\comma\\\\quot\\{{pipe{{\\quot\\)\\comma\\getElementValue(Params\\comma\\\\quot\\ttlnetsales\\quot\\\\comma\\\\quot\\{{pipe{{\\quot\\))))//crlf////tab////tab////It\\apos\\s a long if statement that looks up the net sales in the driver params using getElementValue.  The conditions are based on whether certain fields are defined.   Whether a field is defined or not is used to//crlf////tab////tab////determine the type of subtotal (detail\\comma\\ store/date\\comma\\ store\\comma\\ grand total) is being calculated//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverHorz\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true\\comma\\strDriverParams)//crlf////crlf////tab////tab//dblGrandTtlNetSales=0//crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=replaceSubstring(getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab////tab//sStoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\str)//crlf////tab////tab////tab//sStoreName=lookup(Aspect_BackOffice_Store_Name_By_Directory\\comma\\str)//crlf////tab////tab////tab//scriptExec(Aspect_Common_getCachedWidget\\comma\\true\\comma\\\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Calculate Overtime\\amp\\Params=StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\{{pipe{{Date=__FilterDate1__\\quot\\)//crlf////crlf////tab////tab////tab//driverOpen(ConsDriverVert\\comma\\drvConsVert\\comma\\WRITE\\comma\\true\\comma\\\\quot\\{{pipe{{Description=\\quot\\\\plus\\sStoreName)//crlf////tab////tab////tab//dt1=parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt2=parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_lbr.dbf\\quot\\//crlf////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////get net sales total for the day to pass to the daily labor file to calculate labor percentages//crlf////tab////tab////tab////tab////tab//dblNetSales=0//crlf////tab////tab////tab////tab////tab//strCkHeaderFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_ckh.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strCkHeaderFilename))//crlf////tab////tab////tab////tab////tab////tab//driverOpen(POS_Generic_Check_Header_DBase\\comma\\drvCkHeader\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\strCkHeaderFilename\\plus\\\\quot\\{{pipe{{Date=\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//dblNetSales=driverRangeSum(drvCkHeader\\comma\\\\quot\\Net_Sales\\quot\\\\comma\\true\\comma\\\\quot\\true\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverClose(drvCkHeader)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Cannot locate file \\quot\\\\plus\\strCkHeaderFilename\\plus\\\\quot\\ to get net sales\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//driverOpen(POS_Generic_Labor_Detail_DBase\\comma\\drvDbf\\plus\\\\quot\\__FilterDate1__\\quot\\\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{storename=\\quot\\\\plus\\sStoreName\\plus\\\\quot\\{{pipe{{NetSales=\\quot\\\\plus\\dblNetSales\\plus\\\\quot\\{{pipe{{Date=\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverConsolidate(drvConsVert\\comma\\drvDbf\\plus\\\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvConsVert\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\Business_Date{{pipe{{Store_Name{{pipe{{AppJobCode{{pipe{{AppJobCodeName{{pipe{{Employee{{pipe{{Line\\quot\\)//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!conditional expression:\\quot\\(driverGetRecordCount(\\apos\\__consDriverName__\\apos\\\\comma\\true)=0)\\quot\\>//crlf////tab////tab//<p>No records to display</p>//crlf////tab//</conditional>//crlf////tab//<!conditional expression:\\quot\\(driverGetRecordCount(\\apos\\__consDriverName__\\apos\\\\comma\\true)>0)\\quot\\>//crlf////tab////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\>//crlf////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab//driver: __driverID__;//crlf////tab////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//_params: \\quot\\filename={@addDirSlash(\\quot\\__SelectedStores__\\quot\\)}__FilterDate1___lbr.dbf\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\((\\apos\\__Filter_Actual_Job_Code_Name__\\apos\\=\\apos\\~all~\\apos\\) or (AppJobCodeName=\\apos\\__Filter_Actual_Job_Code_Name__\\apos\\)) and//crlf////tab////tab////tab////tab////tab////tab// ((\\apos\\__Filter_Employee_Name__\\apos\\=\\apos\\~all~\\apos\\) or (EmpName=\\apos\\__Filter_Employee_Name__\\apos\\))//crlf////tab////tab////tab////tab////tab////tab//\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</div>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////tab// //crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>//crlf//^
ID=Menu_Categories|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Menu Categories</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- Menu Categories (Horz Consolidate) -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//Version 06-01-2011-01//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\category.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////tab////tab////tab////crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////tab////tab////tab////crlf////tab////tab////tab//__FilterDepartment__//crlf////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_Menu_Category_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic Menu Category DBase\\quot\\>//crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Horizontal\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Menu Categories (Horz Consolidate)\\amp\\DisplayName=__DisplayName__\\quot\\;>//crlf////crlf////tab//<h1>Menu Categories (Horz Consolidate)</h1>//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Overlay used to edit a record.  It is prepped and hidden initially.  When a record is edited\\comma\\//crlf////tab////tab//the div is made visible and the fields are filled in using javascript.  -->//crlf////tab//<div ID=\\quot\\__WidgetID__EditOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\height:300px; display:none;\\quot\\>//crlf////crlf////tab////tab//<h2>editRecord: __ID__</h2>//crlf////tab////tab//<form name=\\quot\\__WidgetID__Edit\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab////crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Edit\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__EditOverlay\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\putRecord\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\append\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab//</form>//crlf////tab//</div>//crlf////crlf////tab//<!-- Overlay used to delete a record.  It is prepped and hidden initially.  When a record is deleted\\comma\\//crlf////tab////tab//the div is made visible and the description and expression are filled in using javascript.  -->//crlf////tab//<div ID=\\quot\\__WidgetID__DeleteOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\height:300px; display:none;\\quot\\>//crlf////tab////tab//<h2>deleteRecord <span ID=\\quot\\__WidgetID__DeleteRecordDescription\\quot\\></span></h2>//crlf////tab////tab//<form name=\\quot\\__WidgetID__Delete\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////tab////tab////tab//Delete record?//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Delete\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__DeleteOverlay\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\deleteRecord\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab//</form>//crlf////tab//</div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!--//tab//Custom fields go here. -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Menu Categories (Horz Consolidate)\\amp\\DisplayReportName=__DisplayReportName__\\amp\\HorzDriverName=__consDriverName__\\amp\\debug=false\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverHorz\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//sStoreName=lookup(\\quot\\Aspect_BackOffice_Store_Name_By_Directory\\quot\\\\comma\\replaceSubstring(str\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\category.dbf\\quot\\//crlf////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_Menu_Category_DBase\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{Description=\\quot\\\\plus\\sStoreName)//crlf////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\Number\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!conditional expression:\\quot\\(driverGetRecordCount(\\apos\\__consDriverName__\\apos\\\\comma\\true)=0)\\quot\\>//crlf////tab////tab//<p>No records to display</p>//crlf////tab//</conditional>//crlf////tab//<!conditional expression:\\quot\\(driverGetRecordCount(\\apos\\__consDriverName__\\apos\\\\comma\\true)>0)\\quot\\>//crlf////tab////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\ style=\\quot\\\\quot\\>//crlf////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab//driver: __driverID__;//crlf////tab////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\(if(startsWith(\\apos\\__FilterDepartment__\\apos\\\\comma\\\\apos\\__\\apos\\)\\comma\\true\\comma\\pos(\\apos\\__FilterDepartment__\\apos\\\\comma\\\\apos\\Department\\apos\\)>=0))\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</div>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////tab// //crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>//crlf//^
ID=Pos_Lists|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>POS Lists</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- POS Lists (Horz Consolidate) Report Table -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//Version 06-01-2011-01//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\__FilterListFileName__\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////tab////tab////tab////crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////tab////tab////tab////crlf////tab////tab////tab//__FilterListFileName__//crlf////tab////tab////tab////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_POSIDs_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic POS IDs DBase\\quot\\>//crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Horizontal\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_POS Lists (Horz Consolidate)\\amp\\DisplayName=__DisplayName__\\amp\\debug=false\\quot\\;>//crlf////crlf////tab//<h1>Lists</h1>//crlf////crlf////tab//<constant name:__FilterListFileName__; value:{@if(startsWith(\\quot\\__FilterListFileName__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\\\quot\\comps.dbf\\quot\\\\comma\\\\quot\\__FilterListFileName__\\quot\\)}>//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>List</td>//crlf////tab////tab////tab////tab////tab//<td>{@htmlSelect(\\quot\\Aspect_BackOffice_Generic_POS_Lists_by_Filename\\quot\\\\comma\\\\quot\\FilterListFileName\\quot\\\\comma\\\\quot\\__FilterListFileName__\\quot\\\\comma\\\\quot\\onChange=\\quot\\\\plus\\quote(\\quot\\refreshDisplay(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\Filter__WidgetID__\\apos\\)\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)}</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Custom fields go here -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=POS Lists (Horz Consolidate)\\amp\\DisplayName=__DisplayReportName__\\amp\\HorzDriverName=__consDriverName__\\amp\\debug=false\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverHorz\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//sStoreName=lookup(\\quot\\Aspect_BackOffice_Store_Name_By_Directory\\quot\\\\comma\\replaceSubstring(str\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\__FilterListFileName__\\quot\\//crlf//appendToLog(\\quot\\POS List adding file: \\quot\\\\plus\\strFilename)//crlf////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_POSIDs_DBase\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{Description=\\quot\\\\plus\\sStoreName)//crlf////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\Number\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab//<!conditional expression:\\quot\\(driverGetRecordCount(\\apos\\__consDriverName__\\apos\\\\comma\\true)=0)\\quot\\>//crlf////tab////tab//<p>No records to display</p>//crlf////tab//</conditional>//crlf////tab//<!conditional expression:\\quot\\(true) or (driverGetRecordCount(\\apos\\__consDriverName__\\apos\\\\comma\\true)>0)\\quot\\>//crlf////tab////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\>//crlf////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab//driver: __driverID__;//crlf////tab////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//_params: \\quot\\filename={@addDirSlash(\\quot\\__SelectedStores__\\quot\\)}__FilterListFileName__\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\len(trim(Name))>0\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</div>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////crlf////tab//__servertimerresults__//crlf////crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>//crlf//^
ID=Tenders|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Tenders</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- Tenders  (Horz Consolidate) -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//Version 06-01-2011-01//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\tender.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////tab////tab////tab////crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////tab////tab////tab////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_Tenders_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic Tenders DBase\\quot\\>//crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Horizontal\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Tender (Horz Consolidate)s\\amp\\DisplayName=__DisplayName__\\quot\\;>//crlf////crlf////tab//<h1>Tenders</h1>//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Overlay used to edit a record.  It is prepped and hidden initially.  When a record is edited\\comma\\//crlf////tab////tab//the div is made visible and the fields are filled in using javascript.  -->//crlf////tab//<div ID=\\quot\\__WidgetID__EditOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\height:300px; display:none;\\quot\\>//crlf////crlf////tab////tab//<h2>editRecord: __ID__</h2>//crlf////tab////tab//<form name=\\quot\\__WidgetID__Edit\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Edit\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__EditOverlay\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\putRecord\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\append\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab//</form>//crlf////tab//</div>//crlf////crlf////tab//<!-- Overlay used to delete a record.  It is prepped and hidden initially.  When a record is deleted\\comma\\//crlf////tab////tab//the div is made visible and the description and expression are filled in using javascript.  -->//crlf////tab//<div ID=\\quot\\__WidgetID__DeleteOverlay\\quot\\ class=\\quot\\dialog_overlay\\quot\\ style=\\quot\\height:300px; display:none;\\quot\\>//crlf////tab////tab//<h2>deleteRecord <span ID=\\quot\\__WidgetID__DeleteRecordDescription\\quot\\></span></h2>//crlf////tab////tab//<form name=\\quot\\__WidgetID__Delete\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\>//crlf////tab////tab////tab//Delete record?//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\submit\\quot\\ value=\\quot\\Ok\\quot\\ onClick=\\quot\\submitRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__Delete\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ name=\\quot\\cancel\\quot\\ value=\\quot\\Cancel\\quot\\ onClick=\\quot\\cancelRecord(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__WidgetID__DeleteOverlay\\apos\\);\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\driverID\\quot\\ value=\\quot\\__driverID__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\expression\\quot\\ value=\\quot\\false\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ValuesURL\\quot\\ value=\\quot\\__valuesurl__\\quot\\><!-- Note: The name valuesurl is used in the javascript function submitRecord -->//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\server\\quot\\ value=\\quot\\__Server__\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\network\\quot\\ value=\\quot\\greenlight\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ID\\quot\\ value=\\quot\\deleteRecord\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\ResultOK\\quot\\ value=\\apos\\__resulturl__\\apos\\>//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\debug\\quot\\ value=\\quot\\true\\quot\\>//crlf////tab////tab//</form>//crlf////tab//</div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!--//tab//Custom fields go here. -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Tenders (Horz Consolidate)\\amp\\DisplayReportName=__DisplayReportName__\\amp\\HorzDriverName=__consDriverName__\\amp\\debug=false\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverHorz\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//sStoreName=lookup(\\quot\\Aspect_BackOffice_Store_Name_By_Directory\\quot\\\\comma\\replaceSubstring(str\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\tender.dbf\\quot\\//crlf////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_Tenders_DBase\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{Description=\\quot\\\\plus\\sStoreName)//crlf////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\Number\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!conditional expression:\\quot\\(driverGetRecordCount(\\apos\\__consDriverName__\\apos\\\\comma\\true)=0)\\quot\\>//crlf////tab////tab//<p>No records to display</p>//crlf////tab//</conditional>//crlf////tab//<!conditional expression:\\quot\\(driverGetRecordCount(\\apos\\__consDriverName__\\apos\\\\comma\\true)>0)\\quot\\>//crlf////tab////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\ style=\\quot\\\\quot\\>//crlf////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab//driver: __driverID__;//crlf////tab////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</div>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////tab// //crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>//crlf//^
ID=Check_Details|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Check Details</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- Check Detail Report Table -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab//\\quot\\;>//crlf////tab////tab////tab//__SelectedStores__ //crlf////tab////tab////tab//__FilterDate1__ //crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_Check_Detail_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic Check Detail DBase\\quot\\>//crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Horizontal\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\amp\\Display=__Display__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Check Detail Report (Horz Consolidate)\\amp\\DisplayName=__DisplayName__\\quot\\;>//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\FilterRecordType\\quot\\\\comma\\\\quot\\__FilterRecordType__\\quot\\\\comma\\\\quot\\all\\quot\\)>//crlf////crlf////tab//<conditional expression:not(__NoTitle__)>//crlf////tab////tab//<h1>Check Details</h1>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Custom fields go here. -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Transaction Type</td>//crlf////tab////tab////tab////tab////tab//<td colspan=\\apos\\3\\apos\\><!!include type:expression; expression:\\quot\\htmlSelect(\\apos\\POS_Generic_Check_Detail_Record_Types\\apos\\\\comma\\\\apos\\FilterRecordType\\apos\\\\comma\\\\apos\\__FilterRecordType__\\apos\\\\comma\\\\apos\\save=\\apos\\\\plus\\quote(\\apos\\aspect\\apos\\)\\plus\\\\apos\\ style=\\apos\\\\plus\\quote(\\apos\\width:150px\\apos\\)\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Check Detail Report (Horz Consolidate)\\amp\\DisplayReportName=__DisplayReportName__\\amp\\HorzDriverName=__consDriverName__\\amp\\debug=false\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\FilterDate1\\apos\\ value=\\apos\\__FilterDate1__\\apos\\>//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\FilterDate2\\apos\\ value=\\apos\\__FilterDate2__\\apos\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverHorz\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//sStoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\replaceSubstring(str\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab//drvConsVert=getSalt(8)//crlf////tab////tab////tab//sStoreName=lookup(\\quot\\Aspect_BackOffice_Store_Name_By_Directory\\quot\\\\comma\\replaceSubstring(str\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab//driverOpen(ConsDriverVert\\comma\\drvConsVert\\comma\\WRITE\\comma\\true\\comma\\\\quot\\{{pipe{{Description=\\quot\\\\plus\\sStoreName)//crlf////tab////tab////tab//dt1=parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt2=parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab//sDate=formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\sDate\\plus\\\\quot\\_ckd.dbf\\quot\\//crlf////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab//drvDbf=\\quot\\drvDbf\\quot\\\\plus\\Cntr\\plus\\sDate//crlf////tab////tab////tab////tab////tab//driverOpen(POS_Generic_Check_Detail_DBase\\comma\\drvDbf\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename)//crlf////tab////tab////tab////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverConsolidate(drvConsVert\\comma\\drvDbf\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\\\quot\\.ckd\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//drvDbf=\\quot\\drvDbf\\quot\\\\plus\\Cntr\\plus\\sDate//crlf////tab////tab////tab////tab////tab////tab//sParams=\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\{{pipe{{Date=\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Check_Detail_By_Filename\\comma\\drvDbf\\comma\\READ\\comma\\true\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//driverConsolidate(drvConsVert\\comma\\drvDbf\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvConsVert\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\Store_Name{{pipe{{Time{{pipe{{CheckNumber{{pipe{{Rectype{{pipe{{Hour{{pipe{{Section_Header_Hour{{pipe{{Menu_Item_Name\\quot\\)//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\ style=\\quot\\\\quot\\>//crlf////tab////tab//<!conditional expression:\\quot\\driverGetRecordCount(__consDriverName__)>0\\quot\\>//crlf////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab//_driver: __driverID__;//crlf////tab////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\if((\\apos\\__FilterRecordType__\\apos\\=\\apos\\all\\apos\\) or (RecType=\\apos\\__FilterRecordType__\\apos\\)\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab//true\\comma\\//crlf////tab////tab////tab////tab////tab////tab//false)\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab////tab//chartSeries: \\quot\\__ChartSeries__\\quot\\;//crlf////tab////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab////tab//chartHeight: \\quot\\250\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</conditional>//crlf////tab//</div>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////crlf////tab//<div style=\\quot\\overflow:auto; height:500px; width:100\\percent\\\\quot\\>//crlf////tab//__servertimerresults__//crlf////tab//</div>//crlf////tab// //crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>//crlf//^
ID=Check_Headers|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Check Headers</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while ((not(startsWith(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (Cntr<cStore))//crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//dt1=parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab//dt2=parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_ckh.dbf\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\\\quot\\.ckh\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////crlf////tab////tab////tab//__Filter_Revenue_Center__//crlf////tab////tab////tab//__Filter_Store_Name__//crlf////tab////tab////tab//__FilterFromTime_Open__//crlf////tab////tab////tab//__FilterToTime_Open__//crlf////tab////tab////tab//__Filter_EmpOpen_Name__//crlf////tab////tab////tab//__Filter_EmpClose_Name__//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<!-- Check Header Report Table -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_Check_Header_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic Check Header DBase\\quot\\>//crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Horizontal\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Check Header Report (Horz Consolidate)\\amp\\DisplayName=__DisplayName__\\quot\\;>//crlf////crlf////tab//<constant name:__FilterDate1__; value:{@if(startsWith(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\formatDate(parseTime(\\quot\\06042010\\quot\\\\comma\\\\quot\\MMddyyyy\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\__FilterDate1__\\quot\\)}>//crlf////tab//<constant name:__FilterDate2__; value:{@if(startsWith(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\formatDate(parseTime(\\quot\\06042010\\quot\\\\comma\\\\quot\\MMddyyyy\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\__FilterDate2__\\quot\\)}>//crlf////tab//<constant name:__FilterFromTime_Open__; value:{@initConstant(\\quot\\__FilterFromTime_Open__\\quot\\\\comma\\\\quot\\__FilterDate1__\\quot\\\\plus\\\\quot\\ 00:00\\quot\\)}>//crlf////tab//<constant name:__FilterToTime_Open__; value:{@initConstant(\\quot\\__FilterToTime_Open__\\quot\\\\comma\\\\quot\\__FilterDate1__\\quot\\\\plus\\\\quot\\ 00:00\\quot\\)}>//crlf////tab//<constant name:__FilterFromTime_Close__; value:{@initConstant(\\quot\\__FilterFromTime_Close__\\quot\\\\comma\\\\quot\\__FilterDate1__\\quot\\\\plus\\\\quot\\ 00:00\\quot\\)}>//crlf////tab//<constant name:__FilterToTime_Close__; value:{@initConstant(\\quot\\__FilterToTime_Close__\\quot\\\\comma\\\\quot\\__FilterDate1__\\quot\\\\plus\\\\quot\\ 00:00\\quot\\)}>//crlf////tab//<constant name:__Filter_Revenue_Center__; value:{@initConstant(\\quot\\__Filter_Revenue_Center__\\quot\\\\comma\\\\quot\\all\\quot\\)}>//crlf////tab//<constant name:__Filter_Store_Name__; value:{@initConstant(\\quot\\__Filter_Store_Name__\\quot\\\\comma\\\\quot\\all\\quot\\)}>//crlf////tab//<constant name:__Filter_EmpOpen_Name__; value:{@initConstant(\\quot\\__Filter_EmpOpen_Name__\\quot\\\\comma\\\\quot\\all\\quot\\)}>//crlf////tab//<constant name:__Filter_EmpClose_Name__; value:{@initConstant(\\quot\\__Filter_EmpClose_Name__\\quot\\\\comma\\\\quot\\all\\quot\\)}>//crlf////crlf////tab//<conditional expression:not(__NoTitle__)>//crlf////tab////tab//<h1>Check Totals</h1>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab////tab//<!--//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>From</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\FilterDate1\\apos\\ value=\\apos\\__FilterDate1__\\apos\\ size=\\apos\\10\\apos\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ control=\\quot\\date\\quot\\></td>//crlf////tab////tab////tab////tab////tab//<td>To</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\FilterDate2\\apos\\ value=\\apos\\__FilterDate2__\\apos\\ size=\\apos\\10\\apos\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ control=\\quot\\date\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab//-->//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Custom fields go here. -->//crlf////tab////tab//<constant name:\\quot\\__field_width1__\\quot\\; value:\\quot\\150px\\quot\\>//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Revenue Center</td>//crlf////tab////tab////tab////tab////tab//<td colspan=\\apos\\3\\apos\\><!!include type:expression; expression:\\quot\\htmlSelect(\\apos\\POS_Generic_Check_Header_Filter_Revenue_Center\\apos\\\\comma\\\\apos\\Filter_Revenue_Center\\apos\\\\comma\\\\apos\\__Filter_Revenue_Center__\\apos\\\\comma\\\\apos\\style=\\apos\\\\plus\\quote(\\apos\\width:__field_width1__\\apos\\)\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\__consDriverName__\\apos\\)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Check Header Report (Horz Consolidate)\\amp\\DisplayReportName=__DisplayReportName__\\amp\\HorzDriverName=__consDriverName__\\amp\\debug=false\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\FilterDate1\\apos\\ value=\\apos\\__FilterDate1__\\apos\\>//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\FilterDate2\\apos\\ value=\\apos\\__FilterDate2__\\apos\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverHorz\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=replaceSubstring(getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab////tab//sStoreID=lookup(Aspect_BackOffice_Store_ID_By_Directory\\comma\\replaceSubstring(str\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab//drvConsVert=getSalt(8)//crlf////tab////tab////tab//sStoreName=lookup(\\quot\\Aspect_BackOffice_Store_Name_By_Directory\\quot\\\\comma\\replaceSubstring(str\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab//driverOpen(ConsDriverVert\\comma\\drvConsVert\\comma\\WRITE\\comma\\true\\comma\\\\quot\\{{pipe{{Description=\\quot\\\\plus\\sStoreName)//crlf////tab////tab////tab//dt1=parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt2=parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_ckh.dbf\\quot\\//crlf////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab//driverOpen(POS_Generic_Check_Header_DBase\\comma\\drvDbf\\plus\\\\quot\\__FilterDate1__\\quot\\\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename)//crlf////tab////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverConsolidate(drvConsVert\\comma\\drvDbf\\plus\\\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\\\quot\\.ckh\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//sParams=\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\{{pipe{{Date=\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Check_Header_By_Filename\\comma\\drvDbf\\plus\\\\quot\\__FilterDate1__\\quot\\\\comma\\READ\\comma\\true\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//driverConsolidate(drvConsVert\\comma\\drvDbf\\plus\\\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvConsVert\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\Date{{pipe{{Store_Name{{pipe{{Rev_Ctr_Name{{pipe{{CheckNumber{{pipe{{Hour_Open{{pipe{{Hour_Close\\quot\\)//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\ style=\\quot\\padding:0px; margin:0px\\quot\\>//crlf////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//_driver: __driverID__;//crlf////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_params: \\quot\\filename={@addDirSlash(\\quot\\__SelectedStores__\\quot\\)}__FilterDate1___ckh.dbf\\quot\\;//crlf////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab//_fields: \\quot\\__ConsolidatedHorzDriver__Record\\comma\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab//_sort: \\quot\\__ConsolidatedHorzDriver__Record\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_filter: \\quot\\((\\apos\\__Filter_Revenue_Center__\\apos\\=\\apos\\all\\apos\\) or (Rev_Ctr_Name=\\apos\\__Filter_Revenue_Center__\\apos\\)) and//crlf////tab////tab////tab////tab////tab// ((\\apos\\__Filter_Store_Name__\\apos\\=\\apos\\all\\apos\\) or (Store_Name=\\apos\\__Filter_Store_Name__\\apos\\)) and//crlf////tab////tab////tab////tab////tab// ((dateNumber(parseTime(\\apos\\__FilterFromTime_Open__\\apos\\\\comma\\\\apos\\MM-dd-yyyy HH:mm\\apos\\))=dateNumber(parseTime(\\apos\\__FilterToTime_Open__\\apos\\\\comma\\\\apos\\MM-dd-yyyy HH:mm\\apos\\))) or ((dateNumber(Time_Open)>=dateNumber(parseTime(\\apos\\__FilterFromTime_Open__\\apos\\\\comma\\\\apos\\MM-dd-yyyy HH:mm\\apos\\))) and (dateNumber(Time_Open)<=dateNumber(parseTime(\\apos\\__FilterToTime_Open__\\apos\\\\comma\\\\apos\\MM-dd-yyyy HH:mm\\apos\\))))) and//crlf////tab////tab////tab////tab////tab// ((dateNumber(parseTime(\\apos\\__FilterFromTime_Close__\\apos\\\\comma\\\\apos\\MM-dd-yyyy HH:mm\\apos\\))=dateNumber(parseTime(\\apos\\__FilterToTime_Close__\\apos\\\\comma\\\\apos\\MM-dd-yyyy HH:mm\\apos\\))) or ((dateNumber(Time_Close)>=dateNumber(parseTime(\\apos\\__FilterFromTime_Close__\\apos\\\\comma\\\\apos\\MM-dd-yyyy HH:mm\\apos\\))) and (dateNumber(Time_Close)<=dateNumber(parseTime(\\apos\\__FilterToTime_Close__\\apos\\\\comma\\\\apos\\MM-dd-yyyy HH:mm\\apos\\))))) and//crlf////tab////tab////tab////tab////tab// ((\\apos\\__Filter_EmpOpen_Name__\\apos\\=\\apos\\all\\apos\\) or (Employee_Open_Name=\\apos\\__Filter_EmpOpen_Name__\\apos\\)) and//crlf////tab////tab////tab////tab////tab// ((\\apos\\__Filter_EmpClose_Name__\\apos\\=\\apos\\all\\apos\\) or (Employee_Close_Name=\\apos\\__Filter_EmpClose_Name__\\apos\\))//crlf////tab////tab////tab////tab////tab//\\quot\\;//crlf////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab//details:\\quot\\__ShowDetails__\\quot\\;//crlf////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab//chartSeries: \\quot\\__ChartSeries__\\quot\\;//crlf////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab//chartHeight: \\quot\\250\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////tab// //crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>^
ID=Menu_Items|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Menu Items</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- Menu Items (Horz Consolidate) -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//Version 06-01-2011-01//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\recipe.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////tab////tab////tab////crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////tab////tab////tab////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__driverID__; value:\\quot\\POS_Generic_Menu_Item_DBase\\quot\\>//crlf////tab//<constant name:__DriverName__; value:\\quot\\POS Generic Menu Item DBase\\quot\\>//crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Horizontal\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Menu Items (Horz Consolidate)\\amp\\DisplayName=__DisplayName__\\quot\\;>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Filter_Category_Name\\quot\\\\comma\\\\quot\\__Filter_Category_Name__\\quot\\\\comma\\\\quot\\~all~\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Filter_Department_Name\\quot\\\\comma\\\\quot\\__Filter_Department_Name__\\quot\\\\comma\\\\quot\\~all~\\quot\\)>//crlf////crlf////tab//<h1>Menu Items</h1>//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!--//tab//Custom fields go here. -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Menu Items (Horz Consolidate)\\amp\\DisplayReportName=__DisplayReportName__\\amp\\HorzDriverName=__consDriverName__\\amp\\debug=false\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverHorz\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore) //crlf////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab//sStoreName=lookup(\\quot\\Aspect_BackOffice_Store_Name_By_Directory\\quot\\\\comma\\replaceSubstring(str\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\\\quot\\recipe.dbf\\quot\\//crlf////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_Menu_Item_DBase\\comma\\drvDbf\\plus\\Cntr\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{Description=\\quot\\\\plus\\sStoreName)//crlf////tab////tab////tab////tab//driverSetFilter(drvDbf\\plus\\Cntr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvDbf\\plus\\Cntr\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\MenuItemID{{pipe{{MenuItemID_Numeric{{pipe{{Department_Name{{pipe{{Category_Name\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!conditional expression:\\quot\\(driverGetRecordCount(\\apos\\__consDriverName__\\apos\\\\comma\\true)=0)\\quot\\>//crlf////tab////tab//<p>No records to display</p>//crlf////tab//</conditional>//crlf////tab//<!conditional expression:\\quot\\(driverGetRecordCount(\\apos\\__consDriverName__\\apos\\\\comma\\true)>0)\\quot\\>//crlf////tab////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\ style=\\quot\\\\quot\\>//crlf////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab//driver: __driverID__;//crlf////tab////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//_params: \\quot\\filename={@addDirSlash(\\quot\\__SelectedStores__\\quot\\)}recipe.dbf\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\((\\apos\\__Filter_Category_Name__\\apos\\=\\apos\\~all~\\apos\\) or (Category_Name=\\apos\\__Filter_Category_Name__\\apos\\)) and//crlf////tab////tab////tab////tab////tab////tab// ((\\apos\\__Filter_Department_Name__\\apos\\=\\apos\\~all~\\apos\\) or (Department_Name=\\apos\\__Filter_Department_Name__\\apos\\))//crlf////tab////tab////tab////tab////tab////tab//\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</div>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf//</conditional>//crlf//^
ID=Sales_Mix|X=10|Y=34|W=919|H=681|AutoHeight=false|AutoWidth=false|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_report|AttachLeft=|AlignLeft=select_report|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:\\quot\\startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)\\quot\\>//crlf////tab//<h2>Sales Mix</h2>//crlf//</conditional>//crlf////crlf//<_conditional expression:\\quot\\(not(startsWith(\\apos\\__SelectedStores__\\apos\\\\comma\\\\apos\\__\\apos\\)))\\quot\\>//crlf////tab//<!-- Sales Mix Report (Horz Consolidate) Table -->//crlf////tab//<!--servertimer=false-->//crlf////crlf////tab//<constant name:__StoreDelimiter__; value:\\quot\\\\percent\\\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<state>//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab////tab//Version 06-01-2011-01//crlf////tab////tab////tab//__WidgetID__//crlf////tab////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//strResult=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab//Cntr=0//crlf////tab////tab////tab////tab//while ((not(startsWith(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (Cntr<cStore))//crlf////tab////tab////tab////tab////tab//str=getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab////tab////tab////tab//dt1=parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab//dt2=parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_mix.dbf\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\\\quot\\.mix\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//strResult=strResult \\plus\\ fileModified(strFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(strResult)//crlf////tab////tab////tab//\\quot\\;>//crlf////tab////tab////tab//__SelectedStores__//crlf////tab////tab////tab//__FilterDate1__//crlf////tab////tab////tab//__FilterDate2__//crlf////tab////tab////tab//__DisplayName__//crlf////tab////tab////tab//__DisplayOptions__//crlf////crlf////tab////tab////tab//__Filter_Category_Name__//crlf////tab////tab////tab//__Filter_Department_Name__//crlf////crlf////tab////tab////tab//____DriverName__NextPage__//crlf////tab////tab////tab//____DriverName__PrevPage__//crlf////tab////tab////tab//____DriverName__FirstPage__//crlf////tab////tab////tab//____DriverName__LastPage__//crlf////tab////tab////tab//____DriverName__startrecord__//crlf////tab////tab////tab//============State============<br>//crlf////tab////tab//</state>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Declare a constant used for the name of the consolidated driver so that the name can be passed to the Filter Dialog widget -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\consDriverName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\drvCons\\quot\\\\plus\\getSalt(8))>//crlf////crlf////tab//<constant name:__widgeturl__; value:\\quot\\/?Network=GreenLight\\amp\\ID=getContainerWidgetItem\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Report Templates - Cons Horizontal\\amp\\WidgetContainerItemID=__WidgetContainerItemID__\\amp\\WidgetID=__WidgetID__\\amp\\Client=__Client__\\quot\\>//crlf////tab//<constant name:__filterArgs__; value:\\quot\\SelectedStores=__SelectedStores__\\amp\\FilterDate1=__FilterDate1__\\amp\\FilterDate2=__FilterDate2__\\quot\\>//crlf////tab//<include type:widget; server:cache; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Header Script\\quot\\; params:\\quot\\remoteip=127.0.0.1\\amp\\debug=false\\amp\\DriverName=__DriverName__\\quot\\; text:true;>//crlf////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Widget Initialization Script\\quot\\; text:true; params:\\quot\\Metadata=h0BE4ziTlLytqKxtWLMy5CVY_Sales Mix Report (Horz Consolidate)\\amp\\DisplayName=__DisplayName__\\quot\\;>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\FilterDate1\\quot\\\\comma\\\\quot\\__FilterDate1__\\quot\\\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\FilterDate2\\quot\\\\comma\\\\quot\\__FilterDate2__\\quot\\\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Filter_Category_Name\\quot\\\\comma\\\\quot\\__Filter_Category_Name__\\quot\\\\comma\\\\quot\\~all~\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Filter_Department_Name\\quot\\\\comma\\\\quot\\__Filter_Department_Name__\\quot\\\\comma\\\\quot\\~all~\\quot\\)>//crlf////crlf////tab//<conditional expression:(false) and (not(__NoTitle__))>//crlf////tab////tab//<h1>Sales Mix</h1>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- This div is used to disable all content on the page.  It is made visible when an overlay is displayed -->//crlf////tab//<div ID=\\quot\\__WidgetID__DisableContent\\quot\\ class=\\quot\\disable_content\\quot\\ style=\\quot\\display:none;\\quot\\></div>//crlf////crlf////tab//<!-- Filter -->//crlf////tab//<form name=\\quot\\Filter__WidgetID__\\quot\\ action=\\quot\\https://__Server__/\\quot\\ method=\\quot\\post\\quot\\ style=\\quot\\z-index:0\\quot\\>//crlf////crlf////tab////tab//<!-- Speed filters go here -->//crlf////tab////tab//<div ID=\\quot\\FilterSpeedFields__WidgetID__\\quot\\ style=\\quot\\margin:0px; padding:0px\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!--//tab//Custom fields go here. -->//crlf////tab////tab//<div ID=\\quot\\FilterCustomFields__WidgetID__\\quot\\>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<include type:widget; server:cache; secure:true; documentID:77NaWu0FhKDKXL7C70JpnKmy; widget:\\quot\\Filter Dialog\\quot\\; text:true; params:\\quot\\ParentDocID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\ParentWidget=Sales Mix Report (Horz Consolidate)\\amp\\DisplayReportName=__DisplayReportName__\\amp\\HorzDriverName=__consDriverName__\\amp\\debug=false\\quot\\;>//crlf////tab////tab////crlf////tab////tab//<!-- Preserve arguments from parent page -->//crlf////tab////tab//<input type=\\apos\\hidden\\apos\\ name=\\apos\\SelectedStores\\apos\\ value=\\apos\\__SelectedStores__\\apos\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\FilterDate1\\quot\\ value=\\quot\\__FilterDate1__\\quot\\>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\FilterDate2\\quot\\ value=\\quot\\__FilterDate2__\\quot\\>//crlf////crlf////tab//</form>//crlf////crlf////tab//<!-- Create consolidated driver for report -->//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////===============================================================--//crlf////tab////tab////NOTE:  In order for a field to be included in the column that totals across all included stores\\comma\\//crlf////tab////tab////it must have its subtotal option enabled in the structure//crlf////tab////tab////===============================================================--//crlf////crlf////tab////tab//strDest=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files/\\quot\\\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//driverOpen(ConsDriverHorz\\comma\\__consDriverName__\\comma\\WRITE\\comma\\true)//crlf////tab////tab//cStore=getElementCount(\\quot\\__SelectedStores__\\quot\\\\comma\\\\quot\\__StoreDelimiter__\\quot\\)//crlf////tab////tab//Cntr=0//crlf////tab////tab//while (Cntr<cStore)//crlf////tab////tab////tab//str=replaceSubstring(getElement(\\quot\\__SelectedStores__\\quot\\\\comma\\Cntr\\comma\\\\quot\\__StoreDelimiter__\\quot\\)\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab////tab//drvConsVert=getSalt(8)//crlf////tab////tab////tab//sStoreName=lookup(\\quot\\Aspect_BackOffice_Store_Name_By_Directory\\quot\\\\comma\\replaceSubstring(str\\comma\\\\quot\\{{backslash{{\\quot\\\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab//driverOpen(ConsDriverVert\\comma\\drvConsVert\\comma\\WRITE\\comma\\true\\comma\\\\quot\\{{pipe{{Description=\\quot\\\\plus\\sStoreName)//crlf////tab////tab////tab//dt1=parseTime(\\quot\\__FilterDate1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt2=parseTime(\\quot\\__FilterDate2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//bAddVertDriver=false//crlf////tab////tab////tab//while (dateNumber(dt1)<=dateNumber(dt2))//crlf////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\_mix.dbf\\quot\\//crlf////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab//sVertDrvName=getSalt(8)//crlf////tab////tab////tab////tab////tab//driverOpen(POS_Generic_SalesMix_For_Horz_Consolidation_DBase\\comma\\sVertDrvName\\comma\\READ\\comma\\true\\comma\\\\quot\\filename=\\quot\\\\plus\\strFilename)//crlf////tab////tab////tab////tab////tab//driverSetFilter(sVertDrvName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverConsolidate(drvConsVert\\comma\\sVertDrvName\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//driverSetFilter(drvConsVert\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//bAddVertDriver=true//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//strFilename=addDirSlash(str)\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\\\quot\\.mix\\quot\\//crlf////tab////tab////tab////tab////tab//if (fileExists(strFilename))//crlf////tab////tab////tab////tab////tab////tab//sVertDrvName=getSalt(8)//crlf////tab////tab////tab////tab////tab////tab//sParams=\\quot\\filename=\\quot\\\\plus\\strFilename\\plus\\\\quot\\{{pipe{{StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\{{pipe{{Date=\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Sales_Mix_For_Horz_Cons\\comma\\sVertDrvName\\comma\\READ\\comma\\true\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab//driverSetFilter(sVertDrvName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//driverConsolidate(drvConsVert\\comma\\sVertDrvName\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverSetFilter(drvConsVert\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//bAddVertDriver=true//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(bAddVertDriver)//crlf////tab////tab////tab////tab//driverConsolidate(__consDriverName__\\comma\\drvConsVert\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\Store_Name{{pipe{{Department_Name{{pipe{{CategoryName{{pipe{{Item_Name\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//Cntr=Cntr \\plus\\ 1//crlf////tab////tab//endwhile//crlf////tab////tab//appendToLog(\\quot\\Sales Mix setting filter\\quot\\)//crlf////tab////tab//driverSetFilter(__consDriverName__\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//appendToLog(\\quot\\Sales Mix consolidation complete records=\\quot\\\\plus\\driverGetRecordCount(__consDriverName__))//crlf////tab//\\quot\\>//crlf////crlf////tab//<!-- This must be an ! or !! include so that the token for the startrecord will be set properly. -->//crlf////tab//<div ID=\\quot\\Report_Content__WidgetID__\\quot\\ style=\\quot\\\\quot\\>//crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//driver: \\quot\\__consDriverName__\\quot\\;//crlf////tab////tab////tab//name: \\quot\\__DriverName__\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_params: \\quot\\filename={@addDirSlash(\\quot\\__SelectedStores__\\quot\\)}__FilterDate1___mix.dbf\\quot\\;//crlf////tab////tab////tab//params: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\__FieldsSelected__\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort1__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort2__\\comma\\{@if(\\quot\\__SortOrder1__\\quot\\=\\quot\\1\\quot\\\\comma\\char(0x2D)\\comma\\\\quot\\\\quot\\)}__Sort3__\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\if(not(isDeleted)\\comma\\//crlf////tab////tab////tab////tab////tab////tab//if((\\apos\\__Filter_Category_Name__\\apos\\=\\apos\\~all~\\apos\\) or (CategoryName=\\apos\\__Filter_Category_Name__\\apos\\)\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab//if((\\apos\\__Filter_Department_Name__\\apos\\=\\apos\\~all~\\apos\\) or (Department_Name=\\apos\\__Filter_Department_Name__\\apos\\)\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//true\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab//false)\\comma\\//crlf////tab////tab////tab////tab////tab////tab//false)\\comma\\//crlf////tab////tab////tab////tab////tab//false)\\quot\\;//crlf////tab////tab////tab//class: \\quot\\<!include type:expression; expression:\\quot\\if(boolean(\\apos\\__SubtotalsOnly__\\apos\\)\\comma\\\\apos\\subtotalonly\\apos\\\\comma\\\\apos\\basic1\\apos\\)\\quot\\>\\quot\\;//crlf////tab////tab////tab//paging: \\quot\\false\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab//pageargs: \\quot\\__DriverName__NextPage=____DriverName__NextPage__\\amp\\__DriverName__PrevPage=____DriverName__PrevPage__\\amp\\__DriverName__FirstPage=____DriverName__FirstPage__\\amp\\__DriverName__LastPage=____DriverName__LastPage__\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\____DriverName__startrecord__\\quot\\;//crlf////tab////tab////tab//url: \\quot\\javascript:reloadWidget(\\apos\\__WidgetID__\\apos\\\\comma\\\\apos\\__reloadURL__\\amp\\__filterArgs__\\apos\\)\\quot\\;//crlf////tab////tab////tab//details:\\quot\\<!include type:expression; expression:\\quot\\not(boolean(\\apos\\__SubtotalsOnly__\\apos\\))\\quot\\>\\quot\\;//crlf////tab////tab////tab//subtotal1: \\quot\\__subtotalargs1__\\quot\\;//crlf////tab////tab////tab//subtotal2: \\quot\\__subtotalargs2__\\quot\\;//crlf////tab////tab////tab//subtotal3: \\quot\\__subtotalargs3__\\quot\\;//crlf////tab////tab////tab//subtotal4: \\quot\\__subtotalargs4__\\quot\\;//crlf////tab////tab////tab//tableborder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//tablestyle: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//tableheader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//output: \\quot\\chart\\quot\\;//crlf////tab////tab////tab//chartType: \\quot\\__ChartType__\\quot\\;//crlf////tab////tab////tab//chartWidth: \\quot\\800\\quot\\;//crlf////tab////tab////tab//chartHeight: \\quot\\300\\quot\\;//crlf////tab////tab////tab//chartLabels: \\quot\\45\\quot\\;//crlf////tab////tab////tab//chartTitle: \\quot\\Sales Mix\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<!-- Initialize any custom controls -->//crlf////tab//<script language=\\quot\\Javascript\\quot\\>initializeTable(\\quot\\__WidgetID__\\quot\\);</script>//crlf////crlf////tab//<!-- close the driver -->//crlf////tab//<!!!include type:script; commands:\\quot\\//crlf////tab////tab//driverClose(__consDriverName__);//crlf////tab//\\quot\\>//crlf////crlf////tab//<div style=\\quot\\height:800px\\quot\\>\\amp\\nbsp;</div>//crlf////crlf////tab//__servertimerresults__//crlf////tab// //crlf//</conditional>//crlf////crlf//^
ID=select_report|X=10|Y=14|W=205|H=20|AutoHeight=true|AutoWidth=true|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=Report //crlf//<select style=\\quot\\width:200px\\quot\\ onChange=\\quot\\showTab(this)\\quot\\>//crlf//    <option value=\\apos\\Check_Details\\apos\\>Check Details</option>//crlf//    <option value=\\apos\\Check_Headers\\apos\\>Check Headers</option>//crlf//    <option value=\\apos\\Employee_Records\\apos\\>Employee Records</option>//crlf//    <option value=\\apos\\Job_Codes\\apos\\>Job Codes</option>//crlf//    <option value=\\apos\\Menu_Categories\\apos\\>Menu Categories</option>//crlf//    <option value=\\apos\\Menu_Items\\apos\\>Menu Items</option>//crlf//    <option value=\\apos\\Pos_Lists\\apos\\>POS Lists</option>//crlf//    <option value=\\apos\\Sales_Mix\\apos\\>Sales Mix</option>//crlf//    <option value=\\apos\\Tenders\\apos\\>Tenders</option>//crlf//    <option value=\\apos\\Timeclock\\apos\\>Timeclock</option>//crlf//</select>//crlf//
</widget><widget name="Backoffice Home" group="Home" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Aspect Home" modified="11-18-2014 10:03:57" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=11-16-2014 01:42:43:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=14|toolboxy=558|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Support Home.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'94243')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>Aspect</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'319880')\\quot\\>Gateway</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'left_bar_contents')\\quot\\>Left Bar</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'left_bar_menu_table')\\quot\\>Left Bar Menu</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=94243|X=300|Y=122|W=771|H=673|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=/*******************************************************************************//crlf//Called when a document is selected from the drop-down list above.  Only used//crlf//during development and testing.//crlf//*******************************************************************************///crlf//function showDocument(AName) {//crlf////tab//loadContent(AName\\comma\\\\quot\\Selected=\\quot\\+AName);//crlf//};//crlf////crlf//
^
ID=AspectScript|X=300|Y=122|W=771|H=673|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\IsCustomerConnected\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//-----------------------------------------------------------------------------//crlf////tab//Returns a div indicating whether a computer is connected to the server//crlf////tab//Params://crlf////tab////tab//CustomerID - HashID of the computer to check//crlf////crlf////tab//Returns a div showing the connection status.//tab////tab////crlf////tab//-----------------------------------------------------------------------------//crlf////tab//</conditional>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//if((startsWith(\\quot\\__CustomerID__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (\\quot\\__CustomerID__\\quot\\=\\quot\\0\\quot\\))//crlf////tab////tab////tab//scriptSetResult(htmlConstant(\\quot\\IsConnected\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\false))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//if(\\quot\\__CustomerID__\\quot\\=getToken(\\quot\\AspectHashID\\quot\\))//crlf////tab////tab////tab//scriptSetResult(htmlConstant(\\quot\\IsConnected\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\isDirectSocketOpen()))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//s=fileGetContent(\\quot\\https://\\quot\\+getToken(\\quot\\aspectserverip1\\quot\\)+\\quot\\/?Network=Aspect_Support//amp//ID=IsDirectSocketConnected2//amp//CustomerID=__CustomerID__\\quot\\)//crlf////tab////tab//if(startsWith(s\\comma\\\\quot\\not\\quot\\))//crlf////tab////tab////tab//scriptSetResult(htmlConstant(\\quot\\IsConnected\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\false))//crlf////tab////tab//else//crlf////tab////tab////tab//scriptSetResult(htmlConstant(\\quot\\IsConnected\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\true))//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf////crlf////tab//<conditional expression:((startsWith(\\quot\\__CustomerID__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (\\quot\\__CustomerID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab////tab//No computer selected//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(not((startsWith(\\quot\\__CustomerID__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (not(\\quot\\__CustomerID__\\quot\\=\\quot\\0\\quot\\)))>//crlf////tab////tab//<!conditional expression:(\\quot\\__IsConnected__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//<span class='hyperlink' onClick=\\quot\\setInterval('LeftBarConnectionInfo'\\comma\\0\\comma\\true)\\quot\\><img src=\\quot\\__requestserver__/?network=greenlight//amp//id=getimage//amp//filename=greenlight12x12.png\\quot\\> Connected</span>//crlf////tab////tab//</conditional>//crlf////tab////tab//<!conditional expression:(not(\\quot\\__IsConnected__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab//<span class='hyperlink' onClick=\\quot\\setInterval('LeftBarConnectionInfo'\\comma\\0\\comma\\true)\\quot\\><img src=\\quot\\__requestserver__/?network=greenlight//amp//id=getimage//amp//filename=greylight12x12.png\\quot\\> Not connected</span>//crlf////tab////tab//</conditional>//crlf////tab//</conditional>//crlf//</conditional>
^
ID=debug_console|X=300|Y=122|W=771|H=673|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=17|W=223|H=402|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(fileExists(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache/WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Backoffice Home.html\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{Aspect_Support_Show_Deployed_View}//crlf////tab//__UpdateCompanyList__//crlf//</state>//crlf////crlf//<conditional expression:false>//crlf////tab//A div is used to load the left bar contents from another item.//crlf////tab//This allows pages to be cached by the browser while still allowing the left bar//crlf////tab//to be updated in the event that a new menu item or customer is added.//crlf//</conditional>//crlf////crlf//<div interval=\\quot\\0\\quot\\ style=\\quot\\width:180px;height:auto\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Backoffice Home//amp//ContainerItemID=left_bar_contents//amp//ProcessContent=true//amp//Package=__Package__//amp//Menu=__Menu__//amp//LeftBarCompany=__LeftBarCompany__//amp//LeftBarComputer=__LeftBarComputer__//amp//hst=__RequestServer__//amp//updateCompanyList=__updateCompanyList__\\quot\\>//crlf////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab//<conditional expression:(not(startsWith(\\quot\\__updateCompanyList__\\quot\\\\comma\\\\quot\\__\\quot\\)))>//crlf////tab////tab//Updating company list...//crlf////tab//</conditional>//crlf//</div>//crlf////crlf//<!-- //crlf////tab//This div loads the table of menu items.//crlf////tab//The baseurl is the same as the url\\comma\\ except the package and menu are not included as arguments.//crlf////tab//When a package is selected from the drop-down list\\comma\\ menuSelected()is called in Javascript2012.//crlf////tab//This function appends the selected package and menu to the baseurl and sets the new url.//crlf////tab//The interval is then set to 0 so the div refreshes.//crlf//-->//crlf//<div ID=\\quot\\left_bar_menu_div\\quot\\ //crlf////tab//interval=\\quot\\0\\quot\\ //crlf////tab//style=\\quot\\width:180px;height:auto\\quot\\ //crlf////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Backoffice Home//amp//ContainerItemID=left_bar_menu_table//amp//ProcessContent=true//amp//Package=__Package__//amp//Menu=__Menu__//amp//LeftBarCompany=__LeftBarCompany__//amp//LeftBarComputer=__LeftBarComputer__//amp//hst=__RequestServer__\\quot\\ //crlf////tab//urlbase=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Backoffice Home//amp//ContainerItemID=left_bar_menu_table//amp//ProcessContent=true//amp//LeftBarCompany=__LeftBarCompany__//amp//LeftBarComputer=__LeftBarComputer__//amp//hst=__RequestServer__\\quot\\ //crlf//>//crlf//</div>//crlf////crlf////crlf//
^
ID=top_bar|X=0|Y=0|W=901|H=32|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(fileExists(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache/WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Backoffice Home.html\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{Aspect_Support_Show_Deployed_View}//crlf////tab//{AspectOrganizationName}//crlf////tab//{AspectHashID}//crlf////tab//{Aspect_BackOffice_Pref_Polling_Location}//crlf////tab//{@(isTaskEnabled(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect_Polling_Store\\quot\\)) or (isTaskEnabled(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect_Polling_HomeOffice\\quot\\))}//crlf//</state>//crlf////crlf//<div style=\\quot\\height:15px;width:900px\\quot\\>//crlf////tab//<div style=\\quot\\float:right\\quot\\>//crlf////tab////tab//Name/ID: {AspectOrganizationName} - {AspectHashID}//crlf////tab////tab//Location: {Aspect_BackOffice_Pref_Polling_Location}//amp//nbsp;//crlf////tab////tab//Polling: {@if((isTaskEnabled(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect_Polling_Store\\quot\\)) or (isTaskEnabled(\\quot\\Library_Client\\quot\\\\comma\\\\quot\\Aspect_Polling_HomeOffice\\quot\\))\\comma\\\\quot\\Yes\\quot\\\\comma\\\\quot\\No\\quot\\)}//crlf////tab//</div>//crlf////tab//<img src=\\quot\\__RequestServer__/?Network=greenlight//amp//ID=getImage//amp//filename=pyramid16x16.png\\quot\\>//crlf////tab//<div style=\\quot\\align:top;position:absolute;top:0px;left:20px;padding:0px;margin:0px\\quot\\>//crlf////tab////tab//<h2 style=\\quot\\padding:0px;margin:0px\\quot\\>Aspect Software</h2>//crlf////tab//</div>//crlf//</div>
^
ID=default|X=183|Y=17|W=1116|H=138|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__selected__\\quot\\=\\quot\\default\\quot\\) or (startsWith(\\quot\\__selected__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\LoadServer\\quot\\\\comma\\\\quot\\__LoadServer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf////tab//<conditional expression:\\quot\\not(startsWith('__LoadDocumentID__'\\comma\\'__'))\\quot\\>//crlf////tab////tab//<!include type:widget; server:\\quot\\__LoadServer__\\quot\\; documentID:\\quot\\__LoadDocumentID__\\quot\\; widget:\\quot\\__LoadWidget__\\quot\\; ContainerItemID:\\quot\\__LoadContainerItemID__\\quot\\; params:\\quot\\__LoadParams__\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:\\quot\\not(startsWith('__url__'\\comma\\'__'))\\quot\\>//crlf////tab////tab//<span interval=__interval__ url=__url__>span</span>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(startsWith(\\quot\\__LoadDocumentID__\\quot\\\\comma\\\\quot\\__\\quot\\)) and (startsWith(\\quot\\__url__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////tab////tab//<!-- Default Aspect home page -->//crlf////tab//</conditional>//crlf////crlf////tab//<div style=\\quot\\height:10px;width:100px\\quot\\></div>//crlf//</conditional>
^
ID=select_content|X=912|Y=0|W=231|H=24|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(startsWith(\\quot\\__selected__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////tab//<select ID=\\quot\\selectdocument\\quot\\ onChange=\\quot\\showTab(this);showDocument(this.value)\\quot\\>//crlf////tab////tab//<option value='default'>Default</option>//crlf////tab////tab//<option value='company_widgets'>Company Widgets</option>//crlf////tab////tab//<option value='labor_detail'>Labor Detail</option>//crlf////tab//</select>//crlf////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\refresh\\quot\\ onClick=\\quot\\showDocument(document.getElementById('selectdocument').value)\\quot\\/>//crlf//</conditional>//crlf////crlf//
^
ID=company_widgets|X=183|Y=17|W=1116|H=138|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__selected__\\quot\\=\\quot\\company_widgets\\quot\\)>//crlf////tab//<h2>Company Tools</h2>//crlf////crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Widget_Library_Metadata\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\Name\\quot\\;//crlf////tab////tab//display: \\quot\\none\\quot\\;//crlf////tab////tab//<conditional expression:isPackageLoaded(\\quot\\Aspect_Support\\quot\\)>//crlf////tab////tab////tab//fields: \\quot\\Group\\comma\\Hyperlink\\comma\\Description\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\(type='container') and (startsWith(Library_ID\\comma\\'cowidget'))\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\Group\\comma\\Name\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:not(isPackageLoaded(\\quot\\Aspect_Support\\quot\\))>//crlf////tab////tab////tab//fields: \\quot\\Hyperlink\\comma\\Description\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\(type='container') and (startsWith(Library_ID\\comma\\'<!include type:expression; expression:\\quot\\cowidget-\\quot\\+left(getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)\\comma\\6)>'))\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\Name\\quot\\;//crlf////tab////tab//</conditional>//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\100\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\Hyperlink\\comma\\Description\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\true\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\false\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\false\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\false\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf////crlf////tab//<div style=\\quot\\height:20px;width:100px\\quot\\></div>//crlf//</conditional>//crlf//
^
ID=labor_detail|X=183|Y=17|W=732|H=487|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- ServerTimer=false-->//crlf////crlf//<conditional expression:(\\quot\\__selected__\\quot\\=\\quot\\labor_detail\\quot\\)>//crlf////tab//<h1>Labor Detail</h1>//crlf////crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\EditDialogID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\cksbssqh9\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect6_Daily_Labor_Detail_By_Store_and_Date\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=DiskIndex~~pipe~~CacheTtl=0~~pipe~~store=samp~~pipe~~date=03-15-1997\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\DiskIndex\\quot\\;//crlf////tab////tab//display: \\quot\\none\\quot\\;//crlf////tab////tab//_fields: \\quot\\DiskIndex\\comma\\ID_TDLYLBRDTLREC_EMPLOYEE\\comma\\ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_JOB_CODE\\quot\\;//crlf////tab////tab//fields: \\quot\\DiskIndex\\comma\\ID_TDLYLBRDTLREC_EMPLOYEE\\quot\\;//crlf////tab////tab//sort: \\quot\\DiskIndex\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Driver Dialogs~~pipe~~Aspect_BackOffice_Store~~pipe~~Notes\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\true\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf////crlf////tab//<div style=\\quot\\width:100px;height:20px\\quot\\/>//crlf//</conditional>//crlf//__servertimerresults__
^
ID=96347|X=912|Y=46|W=273|H=41|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=lightyellow|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=Make sure items are auto-sized so they size to nothing when not selected.  Otherwise they may hide the selected item.
^
ID=319880|X=300|Y=122|W=771|H=673|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar_contents|X=300|Y=122|W=770|H=713|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false-->//crlf////crlf//<!-- //crlf////tab//Note: This item can be included in any container by creating an item with the ID left_bar.//crlf////tab//The content of the item is handled by TCacheWidgt.  -->//crlf////crlf//<!--//crlf////tab//This is necessary.  The RequestServer token is not replaced when this content is//crlf////tab//called from a div with an interval.  The calling div passes the value in hst to work around this.//crlf//-->//crlf//<include type:expression; expression:htmlConstant(\\quot\\RequestServer\\quot\\\\comma\\\\quot\\__RequestServer__\\quot\\\\comma\\\\quot\\__hst__\\quot\\)>//crlf////crlf//<state>//crlf////tab//__Package__//crlf////tab//__Menu__//crlf////tab//__LeftBarCompany__//crlf////tab//__LeftBarComputer__//crlf////tab//{@if(startsWith(\\quot\\__updateCompanyList__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\now())}//crlf////tab//{@if(not(startsWith(\\quot\\__package__\\quot\\\\comma\\\\quot\\__\\quot\\))\\comma\\fileSize(getToken(\\quot\\packageurl___package__\\quot\\)\\plus\\\\quot\\supporting_files/Menu_Items.dta\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(not(startsWith(\\quot\\__package__\\quot\\\\comma\\\\quot\\__\\quot\\))\\comma\\fileModified(getToken(\\quot\\packageurl___package__\\quot\\)\\plus\\\\quot\\supporting_files/Menu_Items.dta\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@fileSize(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\widget_library_metadata1.dta\\quot\\)}//crlf////tab//{@fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\widget_library_metadata1.dta\\quot\\)}//crlf////tab//{@if(fileExists(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache/WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Backoffice Home.html\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice/company_list.dta\\quot\\)}//crlf////tab//{Aspect_Support_Show_Deployed_View}//crlf////tab//Debug=false//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__ProcessContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!--  This div is used to update the select box of computers when text is entered in the search field -->//crlf////tab//<div ID=\\quot\\Collection_AllCustomer\\quot\\ style=\\quot\\display:none\\quot\\><!include type:expression;expression:\\quot\\getCollection(\\apos\\Aspect_BackOffice_Computer_Names_By_ID\\apos\\)\\quot\\></div>//crlf////crlf////tab//<!-- constants used for formatting -->//crlf////tab//<constant name:__PanelWidth__; value:\\quot\\175px\\quot\\>//crlf////tab//<constant name:__SelectWidth__; value:\\quot\\165px\\quot\\>//crlf////crlf////tab//<_include type:script; commands:\\quot\\//crlf////tab////tab//sResult=htmlConstant(\\quot\\package\\quot\\\\comma\\\\quot\\__package__\\quot\\\\comma\\\\quot\\Aspect_BackOffice\\quot\\)\\plus\\char(10)//crlf////tab////tab//sResult=sResult \\plus\\ htmlConstant(\\quot\\menu\\quot\\\\comma\\\\quot\\__menu__\\quot\\\\comma\\\\quot\\Home\\quot\\)\\plus\\char(10)//crlf////tab////tab//sResult=sResult \\plus\\ htmlConstant(\\quot\\LeftBarCompany\\quot\\\\comma\\\\quot\\__LeftBarCompany__\\quot\\\\comma\\getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\))\\plus\\char(10)//crlf////tab////tab//sResult=sResult \\plus\\ htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))\\plus\\char(10)//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf////crlf////tab//<div style=\\quot\\padding:0px 0px 0px 5px;width:__PanelWidth__;background-color:\\pound\\ffffff\\quot\\>//crlf////crlf////tab////tab//<!-- Input to search for customer ID -->//crlf////tab////tab//<div style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab//<h2 style=\\quot\\margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;width:__SelectWidth__\\quot\\>//crlf////tab////tab////tab////tab//Search//crlf////tab////tab////tab//</h2>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<!-- td style=\\quot\\padding:0px;margin:0px;width:40px\\quot\\>Search</td-->//crlf////tab////tab////tab////tab////tab//<td style=\\quot\\padding:0px;margin:0px;\\quot\\><input style=\\quot\\padding:0px;margin:0px;width:148px\\quot\\ type=\\quot\\text\\quot\\ ID=\\quot\\search_customer_id\\quot\\ onKeyUp=\\quot\\HashIDSearchUpdated()\\quot\\ onInput=\\quot\\HashIDSearchUpdated()\\quot\\></td>//crlf////tab////tab////tab////tab////tab//<td style=\\quot\\padding:0px;margin:0px;\\quot\\><img onClick=\\quot\\HashIDSearchUpdated(true)\\quot\\ class=\\quot\\hyperlink\\quot\\ style=\\quot\\padding:0px 0px 0px 5px;margin:0px\\quot\\ src=\\quot\\__requestserver__/?network=greenlight\\amp\\id=getImage\\amp\\filename=greyX12x12.png\\quot\\>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Select Boxes for Company and Store -->//crlf////tab////tab//<h2 style=\\quot\\margin:20px 0px 0px 0px;padding:0px 0px 0px 0px;width:__SelectWidth__\\quot\\>//crlf////tab////tab////tab//Computer//crlf////tab////tab////tab//<img onClick=\\quot\\updateCompanyList()\\quot\\ class=\\quot\\hyperlink\\quot\\ style=\\quot\\float:right\\quot\\ src=\\quot\\__requestserver__/?network=greenlight\\amp\\id=getImage\\amp\\filename=refresh12x12.png\\quot\\>//crlf////tab////tab//</h2>//crlf////crlf////tab////tab//<!include type:script; name:\\quot\\initSelectBoxesForLeftBar\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////refresh company list//crlf////tab////tab////tab//sCompanyListFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice~~backslash~~company_list.dta\\quot\\//crlf////tab////tab////tab//if((\\quot\\__updateCompanyList__\\quot\\=\\quot\\true\\quot\\) or (fileSize(sCompanyListFilename)=0) or (not(fileExists(sCompanyListFilename))))//crlf////tab////tab////tab////tab//scriptExec(Aspect_BackOffice_updateCompanyList\\comma\\true)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Company_List\\comma\\drvCompanyList\\comma\\READ)//crlf////tab////tab////tab//driverSetFilter(drvCompanyList\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////get count of companies and computers//crlf////tab////tab////tab//arCompany=\\quot\\\\quot\\//crlf////tab////tab////tab//cCompany=0//crlf////tab////tab////tab//cComputers=0//crlf////tab////tab////tab//c=driverGetRecordCount(drvCompanyList)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while((n<c) and (cCompany<2))//crlf////tab////tab////tab////tab//s=driverGetField(drvCompanyList\\comma\\\\quot\\Company_ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(containsElement(arCompany\\comma\\s)<0)//crlf////tab////tab////tab////tab////tab//arCompany=addElement(arCompany\\comma\\s)//crlf////tab////tab////tab////tab////tab//cCompany=cCompany \\plus\\ 1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//cComputers=cComputers \\plus\\ 1//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////select box for company.  Hide it if there are less than 2 companies//crlf////tab////tab////tab//sSelectedCompany=if(startsWith(\\quot\\__LeftBarCompany__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\\\quot\\0\\quot\\\\comma\\\\quot\\__LeftBarCompany__\\quot\\)//crlf////tab////tab////tab//if((not(startsWith(\\quot\\__LeftBarComputer__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (not(\\quot\\__LeftBarComputer__\\quot\\=\\quot\\0\\quot\\)))//crlf////tab////tab////tab////tab//sSelectedCompany=lookup(Aspect_BackOffice_Lookup_Company_ID_By_Hash_ID\\comma\\\\quot\\__LeftBarComputer__\\quot\\)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\sSelectedCompany=\\quot\\\\plus\\sSelectedCompany)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sHtmlParams=\\quot\\onChange=\\apos\\leftBarCompanySelected(this)\\apos\\ ID=\\apos\\left_bar_select_company\\apos\\ \\quot\\//crlf////tab////tab////tab//bShow=(cCompany>1)//crlf////tab////tab////tab//if(bShow)//crlf////tab////tab////tab////tab//sHtmlParams=sHtmlParams \\plus\\ \\quot\\ style=\\apos\\width:__SelectWidth__\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\margin:0px 0px 5px 0px\\apos\\\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sHtmlParams=sHtmlParams \\plus\\ \\quot\\ style=\\apos\\display:none\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\width:100\\percent\\\\apos\\\\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//sResult=htmlSelect(Aspect_BackOffice_Company_Names_By_ID\\comma\\\\quot\\left_bar_select_company\\quot\\\\comma\\sSelectedCompany\\comma\\sHtmlParams\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\)//crlf////crlf////tab////tab////tab////select box for computers//crlf////tab////tab////tab//sSelectedComputer=if(startsWith(\\quot\\__LeftBarComputer__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\\\quot\\0\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\)//crlf////tab////tab////tab//sHtmlParams=\\quot\\onChange=\\apos\\leftBarComputerSelected(this)\\apos\\ ID=\\apos\\left_bar_select_computer\\apos\\\\quot\\//crlf////tab////tab////tab//bShow=(cComputers<2) or (true)//crlf////tab////tab////tab//if(bShow)//crlf////tab////tab////tab////tab//sHtmlParams=sHtmlParams \\plus\\ \\quot\\ style=\\apos\\width:__SelectWidth__\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\margin:0px 0px 5px 0px\\apos\\\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sHtmlParams=sHtmlParams \\plus\\ \\quot\\ style=\\apos\\display:none\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\width:100\\percent\\\\apos\\\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sFilter=if(sSelectedCompany=\\quot\\0\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\Company_ID=\\quot\\\\plus\\quote(sSelectedCompany))//crlf////tab////tab////tab//sResult=sResult \\plus\\ htmlSelect(Aspect_BackOffice_Computer_Names_By_ID\\comma\\\\quot\\left_bar_select_computer\\quot\\\\comma\\sSelectedComputer\\comma\\sHtmlParams\\comma\\\\quot\\\\quot\\\\comma\\sFilter)//crlf////crlf////tab////tab////tab//scriptSetResult(sResult)//crlf////tab////tab//\\quot\\>//crlf////crlf////tab////tab//<!-- Connection info -->//crlf////tab////tab//<conditional expression:(not(startsWith(\\quot\\__LeftBarComputer__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (not(\\quot\\__LeftBarComputer__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab////tab////tab//<div ID=\\quot\\LeftBarConnectionInfo\\quot\\ style=\\quot\\padding:10px 0px 5px 0px;\\quot\\ interval=\\quot\\0\\quot\\ url=\\quot\\__RequestServer__/?Network=Greenlight\\amp\\ID=getWidget\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Backoffice Home\\amp\\ContainerItemID=AspectScript\\amp\\query=IsCustomerConnected\\amp\\CustomerID=__LeftBarComputer__\\quot\\>//crlf////tab////tab////tab////tab//<img src=\\quot\\__requestserver__/?network=greenlight\\amp\\id=getImage\\amp\\filename=StatusActive01.gif\\quot\\>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!-- Select Package / Menu -->//crlf////tab////tab//<conditional expression:(false) and (not(startsWith(\\quot\\__LeftBarComputer__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (not(\\quot\\__LeftBarComputer__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab////tab////tab//<h2>Menu</h2>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!!include type:script; commands:\\quot\\//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//bShow=(not(startsWith(\\quot\\__LeftBarComputer__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (not(\\quot\\__LeftBarComputer__\\quot\\=\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab//sHtmlParams=\\quot\\ID=\\quot\\\\plus\\quote(\\quot\\select_menu\\quot\\)\\plus\\\\quot\\ onChange=\\quot\\\\plus\\quote(\\quot\\menuSelected()\\quot\\)//crlf////tab////tab////tab////tab//sHtmlParams=sHtmlParams\\plus\\\\quot\\ style=\\quot\\\\plus\\quote(\\quot\\margin:0px 0px 5px 0px\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\width:__SelectWidth__\\quot\\\\plus\\char(0x3B)\\plus\\if(not(bShow)\\comma\\\\quot\\display:none\\quot\\))//crlf////tab////tab////tab////tab//sSelected=\\quot\\__package__//power//__menu__\\quot\\//crlf////tab////tab////tab////tab//s=htmlSelect(Greenlight_Access_Menu_Names\\comma\\\\quot\\menu1\\quot\\\\comma\\sSelected\\comma\\sHtmlParams\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\((device=1) or (device=0)) and (Should_Show)\\quot\\)//crlf////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//bShow=(not(startsWith(\\quot\\__LeftBarComputer__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (not(\\quot\\__LeftBarComputer__\\quot\\=\\quot\\0\\quot\\))//crlf////tab////tab////tab//s=char(0x3c)\\plus\\\\quot\\h2 ID=\\apos\\menu_header\\apos\\ style=\\apos\\display:\\quot\\\\plus\\if(bShow\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)\\plus\\char(0x27)\\plus\\char(0x3e)\\plus\\\\quot\\Menu\\quot\\\\plus\\getToken(\\quot\\/h2\\quot\\)//crlf////tab////tab////tab//sHtmlParams=\\quot\\ID=\\quot\\\\plus\\quote(\\quot\\select_menu\\quot\\)\\plus\\\\quot\\ onChange=\\quot\\\\plus\\quote(\\quot\\menuSelected()\\quot\\)//crlf////tab////tab////tab//sHtmlParams=sHtmlParams\\plus\\\\quot\\ style=\\quot\\\\plus\\quote(\\quot\\margin:0px 0px 5px 0px\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\width:__SelectWidth__\\quot\\\\plus\\char(0x3B)\\plus\\if(not(bShow)\\comma\\\\quot\\display:none\\quot\\))//crlf////tab////tab////tab//sSelected=\\quot\\__package__//power//__menu__\\quot\\//crlf////tab////tab////tab//s=s\\plus\\htmlSelect(Greenlight_Access_Menu_Names\\comma\\\\quot\\menu1\\quot\\\\comma\\sSelected\\comma\\sHtmlParams\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\((device=1) or (device=0)) and (Should_Show) and (PackageID=\\quot\\\\plus\\quote(\\quot\\Aspect_BackOffice\\quot\\)\\plus\\\\quot\\)\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//__servertimerresults__
^
ID=left_bar_menu_table|X=300|Y=122|W=770|H=713|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!--servertimer=false-->//crlf////crlf//<state>//crlf////tab//__Package__//crlf////tab//__Menu__//crlf////tab//__LeftBarCompany__//crlf////tab//__LeftBarComputer__//crlf////tab//{@if(not(startsWith(\\quot\\__package__\\quot\\\\comma\\\\quot\\__\\quot\\))\\comma\\fileSize(getToken(\\quot\\packageurl___package__\\quot\\)+\\quot\\supporting_files/Menu_Items.dta\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(not(startsWith(\\quot\\__package__\\quot\\\\comma\\\\quot\\__\\quot\\))\\comma\\fileModified(getToken(\\quot\\packageurl___package__\\quot\\)+\\quot\\supporting_files/Menu_Items.dta\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//{Aspect_Support_Show_Deployed_View}//crlf////tab//Debug=false//crlf////tab//1.0//crlf////tab//{@if(fileExists(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache/WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Backoffice Home.html\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<!--//crlf////tab//This is necessary.  The RequestServer token is not replaced when this content is//crlf////tab//called from a div with an interval.  The calling div passes the value in hst to work around this.//crlf//-->//crlf//<include type:expression; expression:htmlConstant(\\quot\\RequestServer\\quot\\\\comma\\\\quot\\__RequestServer__\\quot\\\\comma\\\\quot\\__hst__\\quot\\)>//crlf////crlf//<conditional expression:(\\quot\\__ProcessContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sResult=htmlConstant(\\quot\\package\\quot\\\\comma\\\\quot\\__package__\\quot\\\\comma\\\\quot\\Aspect_BackOffice\\quot\\)+char(10)//crlf////tab////tab//sResult=sResult + htmlConstant(\\quot\\menu\\quot\\\\comma\\\\quot\\__menu__\\quot\\\\comma\\\\quot\\Home\\quot\\)+char(10)//crlf////tab////tab//sResult=sResult + htmlConstant(\\quot\\LeftBarCompany\\quot\\\\comma\\\\quot\\__LeftBarCompany__\\quot\\\\comma\\getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\))+char(10)//crlf////tab////tab//if((startsWith(\\quot\\__LeftBarComputer__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (\\quot\\__LeftBarComputer__\\quot\\=\\quot\\0\\quot\\))//crlf////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))+char(10)//crlf////tab////tab//endif//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//ID: \\quot\\menu2\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Greenlight_Access_Menu_Items\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~package=__package__~~pipe~~Menu=__Menu__~~pipe~~LeftBarCompany=__LeftBarCompany__~~pipe~~LeftBarComputer=__LeftBarComputer__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\Name\\quot\\;//crlf////tab////tab//fields: \\quot\\Menu_Item_For_Desktop\\quot\\;//crlf////tab////tab//sort: \\quot\\Name\\quot\\;//crlf////tab////tab//filter: \\quot\\((device=1) or (device=0)) and (menu='__menu__') and (Should_Show) and (PackageID='aspect_backoffice') and (Deployed)\\quot\\;//crlf////tab////tab//class: \\quot\\menu_option\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:100\\percent\\\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\false\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\false\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\false\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\false\\quot\\;//crlf////tab////tab//Messages: \\quot\\false\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf////crlf////tab//<conditional expression:isPackageLoaded(\\quot\\Aspect_Support\\quot\\)>//crlf////tab////tab//<br>//crlf////tab////tab//<input type=\\quot\\checkbox\\quot\\ ID=\\quot\\SetDeployedView\\quot\\ onChange=\\quot\\setDeployedView()\\quot\\ <!include type:expression; expression:if(getToken(\\quot\\Aspect_Support_Show_Deployed_View\\quot\\)=\\quot\\true\\quot\\\\comma\\\\quot\\checked\\quot\\\\comma\\\\quot\\\\quot\\)>> Show deployed view//crlf////tab//</conditional>//crlf////crlf//</conditional>//crlf////crlf//__servertimerresults__
</widget><widget name="Driver Dialogs" group="Back-Office" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Driver Dialogs" modified="04-18-2024 21:10:58" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-18-2024 19:07:29:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=25|toolboxy=153|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Driver Dialogs.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=126494|X=183|Y=14|W=257|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<select onChange=\\quot\\showTab(this)\\quot\\>//crlf////tab//<option value='Aspect_BackOffice_Store'>Aspect BackOffice Store</option>//crlf////tab//<option value='Aspect_BackOffice_Store_Group'>Aspect BackOffice Store Group</option>//crlf////tab//<option value='Aspect_BackOffice_Time_Periods'>Aspect BackOffice Time Periods</option>//crlf////tab//<option value='Aspect_BackOffice_Preferences_Read'>Aspect BackOffice Preferences (McLane Setup)</option>//crlf////tab//<option value='Aspect_BackOffice_Preferences_Read_Aspect6Setup'>Aspect BackOffice Preferences (Aspect6 Setup)</option>//crlf////tab//<option value=\\quot\\\\quot\\></option>//crlf////crlf////tab//<option value=\\quot\\\\quot\\>-- Labor --</option>//crlf////tab//<option value='job_codes'>Job Codes</option>//crlf////tab//<option value='Employees'>Employees</option>//crlf////tab//<option value=\\quot\\\\quot\\></option>//crlf////crlf////tab//<option value=\\quot\\\\quot\\>-- Inventory --</option>//crlf////tab//<option value='Aspect6_Driver_Inventory_Items'>Inventory Items</option>//crlf////tab//<option value='Aspect6_Driver_Vendors'>Vendors</option>//crlf////tab//<option value='AreaNames'>Area Names</option>//crlf////tab//<option value='sizes'>Sizes</option>//crlf//</select>//crlf//^
ID=Aspect_BackOffice_Store|X=183|Y=31|W=937|H=468|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=126494|AttachLeft=|AlignLeft=126494|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<constant name:__width1__; value:\\quot\\400px\\quot\\>//crlf//<constant name:__dialog_height__; value:\\quot\\400px\\quot\\>//crlf//<constant name:__tab_height__; value:\\quot\\350px\\quot\\>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Dialog used to edit a store//crlf//--------------------------------------------------------------------------]//crlf//<div ID=\\quot\\Aspect7Store__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ salt=\\quot\\__DialogID__\\quot\\ aspectinit=\\quot\\initEditStoreDialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:900px; display:{@if(\\quot\\__PARENTW__\\quot\\=\\quot\\Driver Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)};\\quot\\>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Javascript used to enable payroll export settings when a payroll export//crlf////tab//format is selected//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<script ID=\\quot\\JSEditStoreDialog\\quot\\>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Called when the Browse button is clicked to select the file for the chart//crlf////tab////tab//of accounts//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//function selectChartOfAccounts(DialogID) {//crlf////tab////tab////tab//var d=document.getElementById(\\quot\\Aspect7Store\\quot\\\\plus\\DialogID);//crlf////tab////tab////tab//var salt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab////tab//var sHomeDir=\\quot\\<!!include type:expression; expression:getToken(\\quot\\homedir\\quot\\)>\\quot\\;//crlf////tab////tab////tab//var sHashID=\\quot\\<!!include type:expression; expression:getToken(\\quot\\AspectHashID\\quot\\)>\\quot\\;//crlf////tab////tab////tab//selectFile(salt\\comma\\sHomeDir\\plus\\\\quot\\*.*\\quot\\\\comma\\\\quot\\File\\quot\\\\comma\\true\\comma\\\\quot\\chartOfAccountsSelected\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\100\\comma\\\\quot\\Center\\quot\\\\comma\\sHashID)//crlf////tab////tab//};//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Called when a file selection has been made in the dialog used to get the //crlf////tab////tab//chart of accounts filename//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//function chartOfAccountsSelected(salt\\comma\\Filename) {//crlf////tab////tab////tab//var e=document.getElementById(\\quot\\Sales_Export_Chart_Of_Accounts_Filename\\quot\\\\plus\\salt);//crlf////tab////tab////tab//e.value=Filename;//crlf////tab////tab////tab//submitDialogCell(e);//crlf////tab////tab//};//crlf////crlf////tab////tab//function posTypeSelected(DialogID) {//crlf////tab////tab////tab//var d=document.getElementById(DialogID);//crlf////tab////tab////tab//var salt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab////tab//var sPOSType=document.getElementById(salt\\plus\\\\quot\\SelectPOSType\\quot\\).value;//crlf////crlf////tab////tab////tab//setVisible(salt\\plus\\\\quot\\ImportTimeclockAdjustments\\quot\\\\comma\\false);//crlf////tab////tab////tab//setVisible(salt\\plus\\\\quot\\AWSKey\\quot\\\\comma\\false);//crlf////tab////tab////tab//setVisible(salt\\plus\\\\quot\\AWSSecretKey\\quot\\\\comma\\false);//crlf////crlf////tab////tab////tab//if((sPOSType.equalsIgnoreCase(\\quot\\Restaurant_Manager\\quot\\)) ~~pipe~~~~pipe~~ (sPOSType.equalsIgnoreCase(\\quot\\Aloha\\quot\\)) ~~pipe~~~~pipe~~ (sPOSType.equalsIgnoreCase(\\quot\\Simphony\\quot\\))) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\ImportTimeclockAdjustments\\quot\\\\comma\\true);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//if(sPOSType.equalsIgnoreCase(\\quot\\Toast\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\AWSKey\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\AWSSecretKey\\quot\\\\comma\\true);//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////checkbox used to enable modifier import from Toast//crlf////tab////tab////tab//setVisible(salt\\plus\\\\quot\\ImportToastModifiers\\quot\\\\comma\\(sPOSType.equalsIgnoreCase(\\quot\\Toast\\quot\\)));//crlf////crlf////tab////tab////tab////set POS Directory label for Emagine//crlf////tab////tab////tab////The AWS keys are fixed for Emagine and are hardwired into the //crlf////tab////tab////tab////Download Emagine POS Files widget agent//crlf////tab////tab////tab//if(sPOSType.equalsIgnoreCase(\\quot\\Emagine\\quot\\)) {//crlf////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\PosDirectory\\quot\\).innerHTML=\\quot\\Organization Key\\quot\\;//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\PosDirectory\\quot\\).innerHTML=\\quot\\POS Directory\\quot\\;//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab//function salesExportFormatSelected(DialogID)//crlf////tab////tab//{//crlf////tab////tab////tab//var d=document.getElementById(DialogID);//crlf////tab////tab////tab//var salt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab////tab//var sExportFormat=document.getElementById(\\quot\\Sales_Export_Format\\quot\\\\plus\\salt).value;//crlf////crlf////tab////tab////tab//setVisible(\\quot\\Sales_Export_Vendor_Name\\quot\\\\plus\\salt\\comma\\false);//crlf////crlf////tab////tab////tab//if(sExportFormat.equalsIgnoreCase(\\quot\\0\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(\\quot\\Sales_Export_Select_Format\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(\\quot\\Sales_Export_Chart_Of_Accounts\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab////tab//setVisible(\\quot\\Sales_Export_Export_Filename\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//setVisible(\\quot\\Sales_Export_Select_Format\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab////tab//setVisible(\\quot\\Sales_Export_Chart_Of_Accounts\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(\\quot\\Sales_Export_Export_Filename\\quot\\\\plus\\salt\\comma\\true);//crlf////crlf////tab////tab////tab////tab//if(sExportFormat.equalsIgnoreCase(\\quot\\Quickbooks\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Sales_Export_Vendor_Name\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab//function APExportFormatSelected(DialogID) //crlf////tab////tab//{//crlf////tab////tab////tab//var d=document.getElementById(DialogID);//crlf////tab////tab////tab//var salt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab////tab//var sExportFormat=document.getElementById(\\quot\\AP_Export_Format\\quot\\\\plus\\salt).value;//crlf////tab////tab////tab//setVisible(salt\\plus\\\\quot\\APAccount\\quot\\\\comma\\false);//crlf////tab////tab////tab//setVisible(salt\\plus\\\\quot\\APClass\\quot\\\\comma\\false);//crlf////tab////tab////tab//if(sExportFormat.equalsIgnoreCase(\\quot\\QuickBooks\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\APAccount\\quot\\\\comma\\true);//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\APClass\\quot\\\\comma\\true);//crlf////tab////tab////tab//};//crlf////tab////tab////tab//if(sExportFormat.equalsIgnoreCase(\\quot\\QBOnline\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(salt\\plus\\\\quot\\APAccount\\quot\\\\comma\\true);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab//function payrollExportFormatSelected(DialogID)//crlf////tab////tab//{//crlf////tab////tab////tab//var d=document.getElementById(DialogID);//crlf////tab////tab////tab//var salt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab////tab//var sExportFormat=document.getElementById(\\quot\\Payroll_Export_Format\\quot\\\\plus\\salt).value;//crlf////crlf////tab////tab////tab////note: the filename is also used for the TimeWorks secret key//crlf////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\FilenameDescription\\quot\\).innerHTML=\\quot\\Export Filename\\quot\\;//crlf////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Filename\\quot\\\\plus\\salt\\comma\\false);//crlf////crlf////tab////tab////tab//setVisible(\\quot\\Payroll_Export_UseSSN\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Company_Code\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\Payroll_Export_BatchID\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\Payroll_Export_EarningsCode\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\Payroll_Export_ExportOvertimeRate\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\Payroll_Export_ExportNetSales\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\Payroll_Export_ExportChargeTips\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\Payroll_Export_ExportTipsPaid\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab////setVisible(\\quot\\Payroll_Export_ExportTipsReceived\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab////setVisible(\\quot\\Payroll_Export_ExportTipsPaid\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab////setVisible(\\quot\\Payroll_Export_ExportTipShare\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab////setVisible(\\quot\\Payroll_Export_ExportCCFee\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Ask\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Division\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Timeworks_SecretKey\\quot\\\\plus\\salt\\comma\\false);//crlf////crlf////tab////tab////tab//var eAltDigits=document.getElementById(\\quot\\AltField_Digits\\quot\\\\plus\\salt);//crlf////tab////tab////tab//eAltDigits.disabled=false;//crlf////crlf////tab////tab////tab//if(sExportFormat.equalsIgnoreCase(\\quot\\0\\quot\\)) {//crlf////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Select_Format\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Select_Format\\quot\\\\plus\\salt\\comma\\false);//crlf////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Filename\\quot\\\\plus\\salt\\comma\\true);//crlf////crlf////tab////tab////tab////tab//if(sExportFormat.equalsIgnoreCase(\\quot\\ADP\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Ask\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_UseSSN\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Company_Code\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_BatchID\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_EarningsCode\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_ExportNetSales\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_ExportChargeTips\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab////setVisible(\\quot\\Payroll_Export_ExportTipsReceived\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab////setVisible(\\quot\\Payroll_Export_ExportTipsPaid\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab////setVisible(\\quot\\Payroll_Export_ExportTipShare\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab////setVisible(\\quot\\Payroll_Export_ExportCCFee\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\CoAdvantage\\quot\\)) {//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\CreativeSolutions\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Company_Code\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\Evolution\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Ask\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_UseSSN\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\Generic\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Ask\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_UseSSN\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\Heartland\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Ask\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_UseSSN\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Company_Code\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Division\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_ExportOvertimeRate\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\Millennium\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Division\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Ask\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_UseSSN\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\OldDominion\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Ask\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_UseSSN\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\PaychexFlex\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Company_Code\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Ask\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_UseSSN\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//eAltDigits.value=\\quot\\6\\quot\\;//crlf////tab////tab////tab////tab////tab//eAltDigits.disabled=true;//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\Paycom\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Ask\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_UseSSN\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\Paycor\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Ask\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_UseSSN\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//eAltDigits.value=\\quot\\6\\quot\\;//crlf////tab////tab////tab////tab////tab//eAltDigits.disabled=true;//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\Paycor2019\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Ask\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_UseSSN\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\Paycor2019\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Ask\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_UseSSN\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\Primepay\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Ask\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_UseSSN\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\Sage\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Ask\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_UseSSN\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Company_Code\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\Trupay\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Ask\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_UseSSN\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Company_Code\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\TimeWorks\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Company_Code\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Filename\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Timeworks_SecretKey\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\Darwinet\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Company_Code\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Filename\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\CentralCoast\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Company_Code\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Filename\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab////tab//else if(sExportFormat.equalsIgnoreCase(\\quot\\iSolved\\quot\\)) {//crlf////tab////tab////tab////tab////tab//setVisible(\\quot\\Payroll_Export_Filename\\quot\\\\plus\\salt\\comma\\true);//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////crlf////tab////tab//function initEditStoreDialog(DialogID)//crlf////tab////tab//{//crlf////tab////tab////tab//posTypeSelected(DialogID);//crlf////tab////tab////tab//payrollExportFormatSelected(DialogID);//crlf////tab////tab////tab//salesExportFormatSelected(DialogID);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////crlf////tab////tab//<!-- The TableEditDialogTabsContainerExclusive and TableEditDialogSelectContainerExclusive//crlf////tab////tab////tab//classes are used to make either the tabs or the select box visible\\comma\\ depending on the//crlf////tab////tab////tab//size of the browser.  If only one or two tabs are to be included\\comma\\ the //crlf////tab////tab////tab//TableEditDialogTabsContainer class can be used for the tabs and the select box can//crlf////tab////tab////tab//be ommitted.//crlf////tab////tab//-->//crlf////tab////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\tabdialog\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\general__salt__\\apos\\)\\quot\\>General</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\possetup__salt__\\apos\\)\\quot\\>POS Settings</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\payroll__salt__\\apos\\)\\quot\\>Payroll Settings</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\__salt__Payroll_Export\\apos\\)\\quot\\>Payroll Export</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\__salt__Sales_Export\\apos\\)\\quot\\>Sales Export</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\__salt__Inventory\\apos\\)\\quot\\>Inventory</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\enterprise__salt__\\apos\\)\\quot\\>Enterprise</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\aspect6__salt__\\apos\\)\\quot\\>Aspect6</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\notes__salt__\\apos\\)\\quot\\>Notes</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab//<select onChange=\\quot\\showTab(this);this.blur();\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab//<option value=\\apos\\general__salt__\\apos\\>General</option>//crlf////tab////tab////tab////tab//<option value=\\apos\\possetup__salt__\\apos\\>POS</option>//crlf////tab////tab////tab////tab//<option value=\\apos\\payroll__salt__\\apos\\>Payroll Settings</option>//crlf////tab////tab////tab////tab//<option value=\\apos\\__salt__Payroll_Export\\apos\\>Payroll Export</option>//crlf////tab////tab////tab////tab//<option value=\\apos\\__salt__Sales_Export\\apos\\>Sales Export</option>//crlf////tab////tab////tab////tab//<option value=\\apos\\__salt__Inventory\\apos\\>Inventory</option>//crlf////tab////tab////tab////tab//<option value=\\apos\\enterprise__salt__\\apos\\>Enterprise</option>//crlf////tab////tab////tab////tab//<option value=\\apos\\aspect6__salt__\\apos\\>Aspect6</option>//crlf////tab////tab////tab////tab//<option value=\\apos\\notes__salt__\\apos\\>Notes</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//General Tab//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\general__salt__\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td ID=:>Name</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\Store_Name\\apos\\ value=\\apos\\\\apos\\ style=\\quot\\width:__width1__\\quot\\ onChange=\\quot\\submitDialogCell(this)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Category</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\Category1\\apos\\ value=\\apos\\\\apos\\ style=\\quot\\width:__width1__\\quot\\ onChange=\\quot\\submitDialogCell(this)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Code</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\Code\\apos\\ value=\\apos\\\\apos\\ style=\\quot\\width:__width1__\\quot\\ onChange=\\quot\\submitDialogCell(this)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Directory</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\Store_Directory\\apos\\ value=\\apos\\\\apos\\ style=\\quot\\width:__width1__\\quot\\ onChange=\\quot\\submitDialogCell(this)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td valign=\\apos\\top\\apos\\ style=\\quot\\vertical-align:top\\quot\\>Store Group</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Store_Group_By_ID\\comma\\\\quot\\Store_Group\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\apos\\width:__width1__; height:80px;\\apos\\ multiple=\\apos\\multiple\\apos\\ onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//POS Setup Tab//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\possetup__salt__\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Point Of Sale</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_POS_Names\\comma\\\\quot\\POS_Type\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\\quot\\\\plus\\quote(\\quot\\__salt__SelectPOSType\\quot\\)\\plus\\\\quot\\ style=\\quot\\\\plus\\quote(\\quot\\width:__width1__\\quot\\)\\plus\\\\quot\\ onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\posTypeSelected(\\quot\\\\plus\\quote(\\quot\\Aspect7Store__DialogID__\\quot\\\\comma\\char(0x27))\\plus\\\\quot\\)\\quot\\))></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td ID=\\quot\\__salt__PosDirectory\\quot\\>POS Directory</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\POS_Directory\\apos\\ value=\\apos\\\\apos\\ style=\\quot\\width:__width1__\\quot\\ {@htmlTooltip(\\quot\\__TooltipPosDir__\\quot\\)} onChange=\\quot\\submitDialogCell(this)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__salt__AWSKey\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>AWS Key</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ ID=\\quot\\__salt__AWSKey\\quot\\ name=\\apos\\AWSKey\\apos\\ value=\\apos\\\\apos\\ style=\\quot\\width:__width1__\\quot\\ {@htmlTooltip(\\quot\\__TooltipPosDir__\\quot\\)} onChange=\\quot\\submitDialogCell(this)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__salt__AWSSecretKey\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>AWS Secret Key</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ ID=\\quot\\__salt__AWSSecretKey\\quot\\ name=\\apos\\AWSSecretKey\\apos\\ value=\\apos\\\\apos\\ style=\\quot\\width:__width1__\\quot\\ {@htmlTooltip(\\quot\\__TooltipPosDir__\\quot\\)} onChange=\\quot\\submitDialogCell(this)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td colspan=\\apos\\2\\apos\\>//crlf////tab////tab////tab////tab////tab////tab//<span {@htmlTooltip(\\quot\\__Enable_POS_Import__\\quot\\)}><input type=\\apos\\checkbox\\apos\\ name=\\apos\\Enable_POS_Import\\apos\\ onChange=\\quot\\submitDialogCell(this)\\quot\\> Enable POS Import</span>//crlf////tab////tab////tab////tab////tab////tab//<span {@htmlTooltip(\\quot\\__Create_Aspect6_Import_Files__\\quot\\)}><input type=\\apos\\checkbox\\apos\\ name=\\apos\\Create_Aspect6_Import_Files\\apos\\ onChange=\\quot\\submitDialogCell(this)\\quot\\ <!include type:expression; expression:if(not(getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)=\\quot\\store\\quot\\)\\comma\\\\quot\\Disabled\\quot\\\\comma\\\\quot\\\\quot\\)>> Create Aspect (Version 6) import files</span>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Synchronize with the POS for the last</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\Synch_Data_Days\\apos\\ value=\\apos\\\\apos\\ style=\\quot\\width:50px\\quot\\ onChange=\\quot\\submitDialogCell(this)\\quot\\ {@htmlTooltip(\\quot\\__Synch_Data_Days__\\quot\\)}></td>//crlf////tab////tab////tab////tab////tab//<td>days</td>//tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__salt__ImportTimeclockAdjustments\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Synchronize timeclock entries for the last</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\Synch_Timeclock_Days\\apos\\ value=\\apos\\\\apos\\ style=\\quot\\width:50px\\quot\\ onChange=\\quot\\submitDialogCell(this)\\quot\\></td>//crlf////tab////tab////tab////tab////tab//<td>days</td>//tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<span ID=\\quot\\__salt__ImportToastModifiers\\quot\\ style=\\quot\\display:none\\quot\\ {@htmlTooltip(\\quot\\When enabled\\comma\\ modifiers will be imported from ModifierSelectionDetails\\quot\\)}>//crlf////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\Import_Toast_Modifiers\\apos\\ value=\\apos\\\\apos\\ onChange=\\quot\\submitDialogCell(this)\\quot\\> Import menu item modifiers//crlf////tab////tab////tab//</span>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Payroll Tab//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\payroll__salt__\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table class=\\quot\\form\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Payroll week starts on</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_Common_Day_Of_Week\\comma\\\\quot\\PR_Week_Start_Day\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\plus\\\\quot\\)\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Payroll period starts on</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\PR_Period_Start_Date\\apos\\ value=\\apos\\\\apos\\ size=\\apos\\15\\apos\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ control=\\quot\\date\\quot\\ onChange=\\quot\\submitDialogCell(this)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Payroll frequency</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Frequency\\comma\\\\quot\\PR_Frequency\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\plus\\\\quot\\)\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Calculate overtime after</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Over_40\\comma\\\\quot\\PR_40Hours\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\plus\\\\quot\\)\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Minimum Wage</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\PR_Minimum_Wage\\apos\\ value=\\apos\\\\apos\\ size=\\apos\\15\\apos\\ datatype=\\quot\\number\\quot\\ pattern=\\quot\\\\pound\\.\\pound\\\\pound\\\\quot\\ onChange=\\quot\\submitDialogCell(this)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Employees declare</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Declared_Tips_Intrepretation\\quot\\\\comma\\\\quot\\PR_Interpret_Declared_Tips\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\\\plus\\quote(\\quot\\width:100\\percent\\;max-width:__TextFieldWidth__\\quot\\)\\plus\\\\quot\\ onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\))></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Rate for hours over 8 on a single day</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Overtime_Rate\\comma\\\\quot\\PR_Over_8_In_Day\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\plus\\\\quot\\)\\quot\\)></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Rate for hours over 12 on a single day</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Overtime_Rate\\comma\\\\quot\\PR_Over_12_In_Day\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\plus\\\\quot\\)\\quot\\)></td>//crlf////crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Rate for first 8 hours on the 7th consecutive day</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Overtime_Rate\\comma\\\\quot\\PR_First8_7th_Day\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\plus\\\\quot\\)\\quot\\)></td>//crlf////crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Rate for hours over 8 on the 7th consecutive day</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Overtime_Rate\\comma\\\\quot\\PR_Over8_7th_Day\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\plus\\\\quot\\)\\quot\\)></td>//crlf////crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<table class=\\quot\\form\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\PR_Use_Tip_Credit\\apos\\ onChange=\\quot\\submitDialogCell(this)\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//Calculate tip credit//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\PR_Use_Avg_Reg_Rate\\apos\\ onChange=\\quot\\submitDialogCell(this)\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//Use average regular rate to calculate overtime rate//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\PR_Round_Clock_Times\\apos\\ onChange=\\quot\\submitDialogCell(this)\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//Round clock in/out times to the nearest minute when calculating hours//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\PR_No_Overtime_Calc\\apos\\ onChange=\\quot\\submitDialogCell(this)\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//Do not calculate overtime hours and pay//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\Payroll_Import_Payroll_Number\\apos\\ onChange=\\quot\\submitDialogCell(this)\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//Import payroll number from POS//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\Do_Not_Import_Paid_Break\\apos\\ onChange=\\quot\\submitDialogCell(this)\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//Do not import paid breaks (Aloha only)//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Default Display - Labor Detail\\comma\\ Day</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab////tab////tab////tab//ID:\\quot\\__salt__Default_Labor_Detail_Display_Day\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Name:\\quot\\Default_Labor_Detail_Display_Day\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Widget_Report_Filters_By_Name\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//SubmitDialogCell:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Filter:\\quot\\Metadata=POS_Generic_Labor_Detail_Dta\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Default Display - Labor Detail\\comma\\ Period</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab////tab////tab////tab//ID:\\quot\\Default_Labor_Detail_Display_Period\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Name:\\quot\\Default_Labor_Detail_Display_Period\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Widget_Report_Filters_By_Name\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//SubmitDialogCell:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Filter:\\quot\\Metadata=ASPECT_DIMENSIONAL_DRIVER6VmnRdESDim\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Payroll Export//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__Payroll_Export\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table style=\\quot\\width:100\\percent\\;max-width:275px\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Export Format</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Payroll_Exports\\quot\\\\comma\\\\quot\\Payroll_Export_Format\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\\apos\\Payroll_Export_Format__DialogID__\\apos\\ style=\\quot\\\\plus\\quote(\\quot\\width:100\\percent\\;max-width:__TextFieldWidth__\\quot\\)\\plus\\\\quot\\ onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\payrollExportFormatSelected(\\quot\\\\plus\\quote(\\quot\\Aspect7Store__DialogID__\\quot\\\\comma\\char(0x27))\\plus\\\\quot\\)\\quot\\))></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_Filename__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td ID=\\quot\\__DialogID__FilenameDescription\\quot\\>Export Filename</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\long\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Payroll_Export_Filename\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_Select_Format__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td colspan=\\apos\\2\\apos\\>Select a payroll export format</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_Ask__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td colspan=\\apos\\2\\apos\\>Ask your payroll processing provider for these settings</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_Company_Code__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Company Code</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\long\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Payroll_Company_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_Timeworks_SecretKey__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Secret Key</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\long\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\TimeWorksSecretKey\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_Division__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Division</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\long\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Payroll_Division\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_BatchID__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Batch ID</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\long\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Payroll_Batch_ID\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Earnings code for ADP//crlf////tab////tab////tab////tab//This span tag causes the field to be included in the list of embedded fields//crlf////tab////tab////tab////tab//<!-- <span name=\\quot\\Payroll_Earnings_Code\\quot\\></span> -->//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_EarningsCode__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Earnings Code</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab////tab////tab////tab//ID:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Name:\\quot\\Payroll_Earnings_Code\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Payroll_Earnings_Code_Options\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//SubmitDialogCell:\\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Manager days per week for Tudors//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<conditional expression:(getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)=\\quot\\VhGFwJcWHG2CnERns1zILedS\\quot\\)>//crlf////tab////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_TudorsManagerDays__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<td>Manager Work Days</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ style=\\quot\\width:30px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Tudors_Manager_Days\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//payroll - Export sales (ADP)//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_ExportNetSales__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Payroll_Export_Sales\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input>Export Net Sales</td>//crlf////tab////tab////tab////tab//</tr>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//payroll - Export charge tips (ADP)//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_ExportChargeTips__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Payroll_Export_Charge_Tips\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input>Export Charge Tips</td>//crlf////tab////tab////tab////tab//</tr>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//These settings determine how net tips will be calculated//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<!!conditional expression:false>//crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//These were added for Iavarone in 2017 and were never used.  If they are //crlf////tab////tab////tab////tab////tab//implemented\\comma\\ they belong under a general payroll settings instead of in a //crlf////tab////tab////tab////tab////tab//specific payroll export.//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_ExportTipsReceived__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Payroll_Export_Add_Tips_Received\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input>Add Tips Received to tip total</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_ExportTipsPaid__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Payroll_Export_Add_Tips_Paid\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input>Add Tips Paid to tip total</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_ExportTipShare__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Payroll_Export_Deduct_Tip_Share\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input>Deduct Tip Share from tip total</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_ExportCCFee__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Payroll_Export_Deduct_CC_Fee\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input>Deduct CC Fee from tip total</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_UseSSN__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\ style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Payroll_Export_Use_AltField_As_Emp_Number\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> //crlf////tab////tab////tab////tab////tab////tab//Use last <input ID=\\quot\\AltField_Digits__DialogID__\\quot\\ style=\\quot\\width:30px\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Payroll_Export_Use_AltField_Digits\\quot\\ TYPE=\\quot\\text\\quot\\></input> //crlf////tab////tab////tab////tab////tab////tab//of //crlf////tab////tab////tab////tab////tab////tab//<!include type:expression; expression:htmlSelect(\\quot\\POS_Generic_Alt_Payroll_Number_Field_Selection\\quot\\\\comma\\\\quot\\Payroll_Export_Use_AltField_Selection\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\\\plus\\quote(\\quot\\width:auto\\quot\\)\\plus\\\\quot\\ onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\))>//crlf////tab////tab////tab////tab////tab////tab//as employee number//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\Payroll_Export_ExportOvertimeRate__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Payroll_Export_Overtime_Rate\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input>Export Overtime Rate</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//tab////crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Inventory//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__Inventory\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<h2>A/P Export</h2>//crlf////tab////tab////tab//<table style=\\quot\\width:auto;\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Export Format</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Imvoice_Export_Formats\\quot\\\\comma\\\\quot\\Invoice_Export_Format\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\\apos\\AP_Export_Format__DialogID__\\apos\\style=\\quot\\\\plus\\quote(\\quot\\width:100\\percent\\;max-width:__TextFieldWidth__\\quot\\)\\plus\\\\quot\\ onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\APExportFormatSelected(\\quot\\\\plus\\quote(\\quot\\Aspect7Store__DialogID__\\quot\\\\comma\\char(0x27))\\plus\\\\quot\\)\\quot\\))></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Export Filename</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ style=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Invoice_Export_Filename\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__salt__APAccount\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Account</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ style=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\AP_Export_GL_Account\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\__salt__APClass\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Class</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ style=\\quot\\width:250px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\AP_Export_GL_Class\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab//<br>//crlf////crlf////tab////tab////tab//<h2>Invoices</h2>//crlf////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Prompt_on_invoice_price_change\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input></span>//crlf////tab////tab////tab//Prompt when invoice price changes by\\amp\\nbsp;<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:100\\percent\\;max-width:__NumberFieldWidth__\\quot\\ CLASS=\\quot\\DefaultNumberInput\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Prompt_on_price_change_percentage\\quot\\ TYPE=\\quot\\number\\quot\\></input>\\percent\\//crlf////tab////tab////tab//<br>//crlf////crlf////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Auto_Import_EDI_Invoices\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input></span>//crlf////tab////tab////tab//Automatically import EDI invoices when received//crlf////crlf////tab////tab////tab//<h2>Enterprise</h2>//crlf////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Enable_Master_Inventory_Merge\\quot\\ TYPE=\\quot\\checkbox\\quot\\>//crlf////tab////tab////tab//Enable inventory synchronization//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Enable_As_Master_Inventory_Store\\quot\\ TYPE=\\quot\\checkbox\\quot\\>//crlf////tab////tab////tab//This is the master store//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Synchronize_Count_Size\\quot\\ TYPE=\\quot\\checkbox\\quot\\>//crlf////tab////tab////tab//Synchronize count sizes//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Synchronize_Vendor_Selection\\quot\\ TYPE=\\quot\\checkbox\\quot\\>//crlf////tab////tab////tab//Synchronize vendor selections//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Synchronize_Inventory_Item_InActive_Status\\quot\\ TYPE=\\quot\\checkbox\\quot\\>//crlf////tab////tab////tab//Synchronize inactive status for inventory items//crlf////tab////tab////tab//<br>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Sales Export//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__Sales_Export\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Export Format</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Sales_Export\\quot\\\\comma\\\\quot\\Sales_Export_Format\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\\apos\\Sales_Export_Format__DialogID__\\apos\\ style=\\quot\\\\plus\\quote(\\quot\\width:auto\\quot\\)\\plus\\\\quot\\ onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\salesExportFormatSelected(\\quot\\\\plus\\quote(\\quot\\Aspect7Store__DialogID__\\quot\\\\comma\\char(0x27))\\plus\\\\quot\\)\\quot\\))></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\Sales_Export_Select_Format__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td colspan=\\apos\\2\\apos\\>Select a sales export format</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\Sales_Export_Vendor_Name__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Sales Tax Vendor</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\long\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Sales_Export_Sales_Tax_Vendor_Name\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\Sales_Export_Chart_Of_Accounts__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Chart of Accounts</td>//crlf////tab////tab////tab////tab////tab//<constant name:\\quot\\__ChartOfAccountsTooltip__\\quot\\; value:\\quot\\This is the filename for a chart of accounts exported from your accounting package\\quot\\>//crlf////tab////tab////tab////tab////tab//<td style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<input {@htmlTooltip(\\quot\\__ChartOfAccountsTooltip__\\quot\\)} ID=\\quot\\Sales_Export_Chart_Of_Accounts_Filename__DialogID__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\long\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\External_Chart_Of_Accounts_Filename\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Browse\\quot\\ onClick=\\quot\\selectChartOfAccounts(\\apos\\__DialogID__\\apos\\)\\quot\\>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr ID=\\quot\\Sales_Export_Export_Filename__DialogID__\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>Export Filename</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ class=\\quot\\long\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Sales_Export_Filename\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Enterprise Tab//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\enterprise__salt__\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\ style=\\quot\\width:100\\percent\\;max-width:275px\\quot\\>//crlf////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Enterprise_All_Inventory_Items\\quot\\ TYPE=\\quot\\checkbox\\quot\\></span>//crlf////tab////tab////tab////tab//Include All Inventory Items In Enterprise Reporting//crlf////tab////tab////tab////tab//<br>//crlf////crlf////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Enterprise_All_Menu_Items\\quot\\ TYPE=\\quot\\checkbox\\quot\\></span>//crlf////tab////tab////tab////tab//Include All Menu Items In Enterprise Reporting//crlf////tab////tab////tab////tab//<br>//crlf////crlf////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Enterprise_Total_Sales_By_Time_Period\\quot\\ TYPE=\\quot\\checkbox\\quot\\></span>//crlf////tab////tab////tab////tab//Total Sales By Time Period//crlf////tab////tab////tab////tab//<br>//crlf////crlf////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Enterprise_Net_Sales_By_Time_Period\\quot\\ TYPE=\\quot\\checkbox\\quot\\></span>//crlf////tab////tab////tab////tab//Net Sales By Time Period//crlf////tab////tab////tab////tab//<br>//crlf////crlf////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Enterprise_Total_Sales_By_Hour\\quot\\ TYPE=\\quot\\checkbox\\quot\\></span>//crlf////tab////tab////tab////tab//Total Sales By Hour//crlf////tab////tab////tab////tab//<br>//crlf////crlf////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Enterprise_Net_Sales_By_Hour\\quot\\ TYPE=\\quot\\checkbox\\quot\\></span>//crlf////tab////tab////tab////tab//Net Sales By Hour//crlf////tab////tab////tab////tab//<br>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Aspect6 Tab//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\aspect6__salt__\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table class=\\apos\\form\\apos\\ style=\\quot\\width:100\\percent\\;max-width:275px\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Code</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\Aspect6_StoreCode\\apos\\ value=\\apos\\\\apos\\ class=\\quot\\long\\quot\\ onChange=\\quot\\submitDialogCell(this)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Store Directory</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\Aspect6_StoreDir\\apos\\ value=\\apos\\\\apos\\ class=\\quot\\long\\quot\\ onChange=\\quot\\submitDialogCell(this)\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Notes Tab//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\notes__salt__\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<textarea name=\\apos\\Notes\\apos\\ style=\\quot\\width:100\\percent\\; height:320px\\quot\\ onChange=\\quot\\submitDialogCell(this)\\quot\\></textarea>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</div>//crlf////crlf//[!------------------------------------------------------------------------//crlf//This DIV appears to be orphaned and unused//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:false>//crlf////tab//<div ID=\\quot\\PayrollSettings__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:520; display:none;\\quot\\>//crlf////tab////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab////tab//<img style=\\quot\\float:right\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight\\amp\\ID=getImage\\amp\\filename=close20x20.png\\quot\\ style=\\quot\\display:$CanCloseDialog$\\quot\\ onClick=\\quot\\closeTableEditDialog(this)\\quot\\/>//crlf////crlf////tab////tab////tab//<!-- Payroll Tab -->//crlf////tab////tab////tab//<div ID=\\quot\\payroll\\quot\\ style=\\quot\\height:__tab_height__\\quot\\>//crlf////tab////tab////tab////tab//<table class=\\quot\\form\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Payroll week starts on</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_Common_Day_Of_Week\\comma\\\\quot\\PR_Week_Start_Day\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\plus\\\\quot\\)\\quot\\)></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Payroll period starts on</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\PR_Period_Start_Date\\apos\\ value=\\apos\\\\apos\\ size=\\apos\\15\\apos\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ control=\\quot\\date\\quot\\ onChange=\\quot\\submitDialogCell(this)\\quot\\></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Payroll frequency</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Frequency\\comma\\\\quot\\PR_Frequency\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\plus\\\\quot\\)\\quot\\)></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Calculate overtime after</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Over_40\\comma\\\\quot\\PR_40Hours\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\plus\\\\quot\\)\\quot\\)></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Minimum Wage</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input type=\\apos\\text\\apos\\ name=\\apos\\PR_Minimum_Wage\\apos\\ value=\\apos\\\\apos\\ size=\\apos\\15\\apos\\ datatype=\\quot\\number\\quot\\ pattern=\\quot\\\\pound\\.\\pound\\\\pound\\\\quot\\ onChange=\\quot\\submitDialogCell(this)\\quot\\></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Rate for hours over 8 on a single day</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Overtime_Rate\\comma\\\\quot\\PR_Over_8_In_Day\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\plus\\\\quot\\)\\quot\\)></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Rate for hours over 12 on a single day</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Overtime_Rate\\comma\\\\quot\\PR_Over_12_In_Day\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\plus\\\\quot\\)\\quot\\)></td>//crlf////crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Rate for first 8 hours on the 7th consecutive day</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Overtime_Rate\\comma\\\\quot\\PR_First8_7th_Day\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\plus\\\\quot\\)\\quot\\)></td>//crlf////crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Rate for hours over 8 on the 7th consecutive day</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(Aspect_BackOffice_Payroll_Overtime_Rate\\comma\\\\quot\\PR_Over8_7th_Day\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\plus\\\\quot\\)\\quot\\)></td>//crlf////crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab////tab//<table class=\\quot\\form\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\PR_Use_Tip_Credit\\apos\\ onChange=\\quot\\submitDialogCell(this)\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//Calculate tip credit//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\PR_Use_Avg_Reg_Rate\\apos\\ onChange=\\quot\\submitDialogCell(this)\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//Use average regular rate to calculate overtime rate//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\PR_Round_Clock_Times\\apos\\ onChange=\\quot\\submitDialogCell(this)\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//Round clock in/out times to the nearest minute when calculating hours//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab////tab//<input type=\\apos\\checkbox\\apos\\ name=\\apos\\PR_No_Overtime_Calc\\apos\\ onChange=\\quot\\submitDialogCell(this)\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//Do not calculate overtime hours and pay//crlf////tab////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//This DIV appears to be orphaned and unused//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:false>//crlf////tab//<div ID=\\quot\\Notes\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:520; display:none;\\quot\\>//crlf////tab////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab////tab//<!-- Notes Tab -->//crlf////tab////tab////tab//<div ID=\\quot\\notes\\quot\\ style=\\quot\\height:__tab_height__\\quot\\>//crlf////tab////tab////tab////tab//<textarea name=\\apos\\Notes\\apos\\ style=\\quot\\width:500px; height:320px\\quot\\ onChange=\\quot\\submitDialogCell(this)\\quot\\></textarea>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//<constant name:\\quot\\__TooltipPosDir__\\quot\\; value://crlf////tab//\\quot\\Directory containing the POS files.//crlf////tab////tab//<ul>//crlf////tab////tab////tab//<li>Aloha: Directory containing the dated export folders (e.g. d:~~backslash~~~~backslash~~aloha)</li>//crlf////tab////tab////tab//<li>Positouch: Directory containing the executables used to export the Positouch data\\comma\\ usually c:~~backslash~~~~backslash~~sc.  Required by the agent used to produce the exports but not required to import data once the files have been created.</li>//crlf////tab////tab//</ul>//crlf////tab//\\quot\\>//crlf//<constant name:\\quot\\__Enable_POS_Import__\\quot\\; value:\\quot\\If enabled\\comma\\ Aspect7 data files are created.  This option is not required for any other pos tasks including file conversions and creation of Aspect6 export files.  Tasks required to synch with the POS system are updated every 15 minutes when this option is enabled.  Run the \\apos\\Update POS Synch Tasks\\apos\\ task to update the tasks immediately\\quot\\>//crlf//<constant name:\\quot\\__Create_Aspect6_Import_Files__\\quot\\; value:\\quot\\If enabled\\comma\\ export files will be created in the aspect~~backslash~~~~backslash~~posdata~~backslash~~~~backslash~~mmddyyyy directory.  These files can be imported into Aspect6.  This option is disabled on office computers.  This option is not dependent on the POS import being enabled.  POS emulation tasks are updated every 15 minutes after 2am.  Run the \\apos\\Update POS Emulation Tasks\\apos\\ task to update the tasks immediately.\\quot\\>//crlf//<constant name:\\quot\\__Synch_Data_Days__\\quot\\; value:\\quot\\This value is used by both the pos import and pos export for Aspect6 to determine the number of days for which tasks will be created.  For example\\comma\\ if set to 14\\comma\\ pos data will be synchronized for the last 14 days.\\quot\\>//crlf////crlf//^
ID=94431|X=1143|Y=5|W=485|H=549|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=true|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h1>Notes</h1>//crlf//<p>This container holds dialogs used to edit driver records.  The EditDialogID parameter of the driver include should be in the format:</p>//crlf////crlf//<p>DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~DialogID~~pipe~~Rand</p>//crlf////crlf//<p>The given container item is loaded by TAspectDriver when the table is created.<p>//crlf////crlf//<p>The Rand parameter is optional.  It is used to generate a unique dialog ID if the potential exists for more than one instance of the dialog to be loaded at one time.</p>//crlf////crlf//<p>If no random value is given\\comma\\ the token __DialogID__ in the dialog text is replaced with the given DialogID</o>//crlf////crlf//<p>If a random value is given\\comma\\ the token is replaced with the random value.</p>//crlf////crlf//<p>Example 1</p>//crlf//<div style=\\quot\\padding-left:20px\\quot\\>//crlf////tab//EditDialogID: \\quot\\DocumentID~~pipe~~Widget~~pipe~~Item~~pipe~~Notes\\quot\\;<br>//crlf////tab//<br>//crlf////tab//Could be used to load either of these two dialogs:<br><br>//crlf////tab////amp//ltdiv ID=\\quot\\Notes\\quot\\...<br>//crlf////tab////amp//ltdiv ID=\\quot\\__DialogID__\\quot\\...<br>//crlf////tab//<br>//crlf////tab//The ID of the dialog would be Notes in both cases.//crlf//</div>//crlf////crlf//<p>Example 2</p>//crlf//<div style=\\quot\\padding-left:20px\\quot\\>//crlf////tab//EditDialogID: \\quot\\DocumentID~~pipe~~Widget~~pipe~~Item~~pipe~~Notes~~pipe~~__Rand__\\quot\\;<br>//crlf////tab//<br>//crlf////tab//Could be used to load this dialog:<br><br>//crlf////tab////amp//ltdiv ID=\\quot\\Notes__DialogID__\\quot\\...<br><br>//crlf////tab//The ID of the dialog would be NotesXXX where XXX is the random value.//crlf//</div>//crlf//<br>//crlf//<p>It is necessary to set the display to \\quot\\none\\quot\\ in the dialog div if the dialog is not to be displayed when the table is initialized.</p>//crlf////crlf//<p>Multiple dialogs can be defined in a single container item by using separate dialog ID's for each and including the appropriate ID in the driver include.  For example\\comma\\ one dialog might contain all the fields available while another might be an abbreviated version with only a few fields.</p>//crlf//<p>If a dialog is to be visible when the table loads\\comma\\ it must be placed in a separate item.  Otherwise it will be displayed when a table using one of the other dialogs is displayed.</p>//crlf//^
ID=Aspect6_Driver_Inventory_Items|X=183|Y=31|W=648|H=547|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=126494|AttachLeft=|AlignLeft=126494|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- Dialog used to edit vendor information for McLane transition//crlf////tab//Params: StoreCode//crlf//-->//crlf//<div ID=\\quot\\InventoryItems__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:auto; display:<include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Driver Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<img onclick=\\quot\\closeTableEditDialog(this)\\quot\\ style=\\quot\\float:right;display:block\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getImage//amp//filename=close20x21.png\\quot\\>//crlf////crlf////tab////tab//<!-- Initialize the storecode for testing if one is not defined -->//crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\StoreCode\\quot\\\\comma\\\\quot\\__StoreCode__\\quot\\\\comma\\getToken(Aspect6ActiveStoreCode))>//crlf////crlf////tab////tab//<constant name:__prefixwidth__; value:\\quot\\50px\\quot\\>//crlf////tab////tab//<constant name:__codewidth__; value:\\quot\\150px\\quot\\>//crlf////crlf////tab////tab//<b><span name=\\quot\\ID_TINGREDIENTREC_NAME\\quot\\></span></b>//crlf////tab////tab//<br><br>//crlf////crlf////tab////tab//<table>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<th align='left'>Vendor1</th>//crlf////tab////tab////tab////tab//<th align='left'>Vendor Code1</th>//crlf////tab////tab////tab////tab//<th colspan='2' align='left'>Purchase Size</th>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Vendors\\quot\\\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_INDEX\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\Code=__StoreCode__\\quot\\)></td>//crlf////tab////tab////tab////tab//<td><input style=\\quot\\width:__codewidth__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_CODE\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//<td><input style=\\quot\\width:__prefixwidth__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_PREFIX\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Inventory_Sizes\\quot\\\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\Code=__StoreCode__\\quot\\)></td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Vendors\\quot\\\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_INDEX\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\Code=__StoreCode__\\quot\\)></td>//crlf////tab////tab////tab////tab//<td><input style=\\quot\\width:__codewidth__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_CODE\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//<td><input style=\\quot\\width:__prefixwidth__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_PREFIX\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Inventory_Sizes\\quot\\\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\Code=__StoreCode__\\quot\\)></td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Vendors\\quot\\\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_INDEX\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\Code=__StoreCode__\\quot\\)></td>//crlf////tab////tab////tab////tab//<td><input style=\\quot\\width:__codewidth__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_CODE\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//<td><input style=\\quot\\width:__prefixwidth__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_PREFIX\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Inventory_Sizes\\quot\\\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\Code=__StoreCode__\\quot\\)></td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////crlf////tab////tab//<br><br>//crlf////tab//</div>//crlf//</div>//crlf////crlf//<!-- Dialog used to edit vendor information for McLane transition//crlf////tab//Params: ActiveStoreCode//crlf//-->//crlf//<div ID=\\quot\\MclaneSetup__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:auto; display:<include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Driver Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<img onclick=\\quot\\closeTableEditDialog(this)\\quot\\ style=\\quot\\float:right;display:block\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getImage//amp//filename=close20x21.png\\quot\\>//crlf////crlf////tab////tab//<!-- Initialize the storecode for testing if one is not defined -->//crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\ActiveStoreCode\\quot\\\\comma\\\\quot\\__ActiveStoreCode__\\quot\\\\comma\\getToken(Aspect6ActiveStoreCode))>//crlf////crlf////tab////tab//<constant name:__prefixwidth__; value:\\quot\\50px\\quot\\>//crlf////tab////tab//<constant name:__codewidth__; value:\\quot\\150px\\quot\\>//crlf////crlf////tab////tab//<b><span name=\\quot\\ID_TINGREDIENTREC_NAME\\quot\\></span></b>//crlf////tab////tab//<br><br>//crlf////crlf////tab////tab//<table>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<th align='left'>Vendor</th>//crlf////tab////tab////tab////tab//<th align='left'>Vendor Code</th>//crlf////tab////tab////tab////tab//<th colspan='2' align='left'>Purchase Size</th>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Vendors\\quot\\\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_INDEX\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\Code=__ActiveStoreCode__\\quot\\)></td>//crlf////tab////tab////tab////tab//<td><input style=\\quot\\width:__codewidth__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_CODE\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//<td><input style=\\quot\\width:__prefixwidth__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_PREFIX\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Inventory_Sizes\\quot\\\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\Code=__ActiveStoreCode__\\quot\\)></td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Vendors\\quot\\\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_INDEX\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\Code=__ActiveStoreCode__\\quot\\)></td>//crlf////tab////tab////tab////tab//<td><input style=\\quot\\width:__codewidth__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_CODE\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//<td><input style=\\quot\\width:__prefixwidth__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_PREFIX\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Inventory_Sizes\\quot\\\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\Code=__ActiveStoreCode__\\quot\\)></td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Vendors\\quot\\\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_INDEX\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\Code=__ActiveStoreCode__\\quot\\)></td>//crlf////tab////tab////tab////tab//<td><input style=\\quot\\width:__codewidth__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_CODE\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//<td><input style=\\quot\\width:__prefixwidth__\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_PREFIX\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Inventory_Sizes\\quot\\\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\Code=__ActiveStoreCode__\\quot\\)></td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////crlf////tab////tab//<br><br>//crlf////tab//</div>//crlf//</div>//crlf////crlf//^
ID=Aspect_BackOffice_Preferences_Read|X=183|Y=31|W=481|H=313|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=126494|AttachLeft=|AlignLeft=126494|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- Dialog used to edit McLane preferences in the McLane Setup widget  -->//crlf//<!-- Note: Don't use the default dialog class which positions the dialog absolutely.  Let it be positioned inline instead -->//crlf//<div ID=\\quot\\MclanePreferences__DialogID__\\quot\\ style=\\quot\\border:none; height:auto; width:auto;display:block;\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<table class='form'>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this);CustomerNumberChanged(this);\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Aspect_BackOffice_Pref_McLane_Customer_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input>//crlf////tab////tab////tab////tab//</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////tab//</div>//crlf//</div>//crlf////crlf//^
ID=Aspect6_Driver_Vendors|X=183|Y=31|W=637|H=609|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=126494|AttachLeft=|AlignLeft=126494|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div ID=\\quot\\ASPECT6_DRIVER_VENDORS__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:420px; width:auto; display:<include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Driver Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<img onclick=\\quot\\closeTableEditDialog(this)\\quot\\ style=\\quot\\float:right;display:block\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getImage//amp//filename=close20x20.png\\quot\\>//crlf////crlf////tab////tab//<!-- Create a random ID used in the tab ID's below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab//If the tabs and associated divs do not have unique ID's\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\tabrandom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////tab////tab////crlf////tab////tab//<div style=\\quot\\width:100\\percent\\; border-bottom:solid 1px //pound//c9c9c9\\quot\\>//crlf////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'__tabrandom__Mein')\\quot\\>Mein</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Mein -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__Mein\\quot\\ style=\\quot\\height:350px;\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>G/L Account</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ID_TVENDORREC_GL_ACCOUNT\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf//^
ID=Aspect_BackOffice_Store_Group|X=183|Y=31|W=730|H=455|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=126494|AttachLeft=|AlignLeft=126494|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(8)))>//crlf////crlf//<script ID=\\quot\\JSAspect7StoreGroup\\quot\\>//crlf////tab//function Aspect7StoreGroupDialogInit(DialogID) {//crlf////tab////tab//var eDialog=document.getElementById(DialogID);//crlf////tab////tab//var Salt=eDialog.getAttribute(\\quot\\Salt\\quot\\);//crlf////tab////tab//var eSelect=document.getElementById(\\quot\\SubOf\\quot\\+Salt);//crlf////tab////tab//eSelect.disabled=true;//crlf////tab////tab//var GroupID=document.getElementById(\\quot\\GroupID\\quot\\+Salt).value;//crlf////tab////tab//eSelect.setAttribute(\\quot\\Filter\\quot\\\\comma\\\\quot\\not(IsSubOfParent)\\quot\\);//crlf////tab////tab//eSelect.setAttribute(\\quot\\params\\quot\\\\comma\\\\quot\\ParentID=\\quot\\+GroupID);//crlf////tab////tab//updateOptions(\\quot\\SubOf\\quot\\+Salt\\comma\\eSelect.value\\comma\\true);//crlf////tab//};//crlf//</script>//crlf// //crlf//<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\Aspect7StoreGroup__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ salt=\\quot\\__salt__\\quot\\ aspectinit=\\quot\\Aspect7StoreGroupDialogInit\\quot\\ style=\\quot\\height:auto; width:auto; display:none;\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////crlf////tab////tab//<!-- Create a random ID used in the tab ID's below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab//If the tabs and associated divs do not have unique ID's\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\tabrandom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////tab////tab////crlf////tab////tab//<!-- The TableEditDialogTabsContainerExclusive and TableEditDialogSelectContainerExclusive//crlf////tab////tab////tab//classes are used to make either the tabs or the select box visible\\comma\\ depending on the//crlf////tab////tab////tab//size of the browser.  If only one or two tabs are to be included\\comma\\ the //crlf////tab////tab////tab//TableEditDialogTabsContainer class can be used for the tabs and the select box can//crlf////tab////tab////tab//be ommitted.//crlf////tab////tab//-->//crlf////tab////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'__tabrandom__Main')\\quot\\>Store Group</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab//<select onChange=\\quot\\showTab(this)\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab//<option value='__tabrandom__main'>Store Group</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!conditional expression:false>//crlf////tab////tab//========================================================================//crlf////tab////tab//The ID is used to update the filter in the sub-of select box when the//crlf////tab////tab//dialog is opened.  Groups may not be a sub of themselves either directly//crlf////tab////tab//or indirectly.//crlf////tab////tab//========================================================================//crlf////tab////tab//</conditional>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\GroupID__Salt__\\quot\\ name=\\quot\\ID\\quot\\></input>//crlf////crlf////tab////tab//<!-- Main -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__Main\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:300px\\quot\\ VALUE=\\quot\\Sample\\quot\\ NAME=\\quot\\Name\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Sub Of</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Store_Group_By_ID_With_None\\quot\\\\comma\\\\quot\\Sub_Of_ID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID=\\quot\\+quote(\\quot\\SubOf__Salt__\\quot\\)+\\quot\\ style=\\quot\\+quote(\\quot\\width:100\\percent\\;max-width:__TextFieldWidth__\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\))></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab////tab//<br>//crlf////tab////tab////tab//Description<br>//crlf////tab////tab////tab//<textarea ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ NAME=\\quot\\Description\\quot\\ style=\\quot\\width:400px;height:200px\\quot\\></textarea>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf//^
ID=Aspect_BackOffice_Time_Periods|X=183|Y=31|W=375|H=191|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=126494|AttachLeft=|AlignLeft=126494|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\ASPECT_BACKOFFICE_TIME_PERIOD__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:350px; display:none;\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////crlf////tab////tab//<!-- Create a random ID used in the tab ID's below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab//If the tabs and associated divs do not have unique ID's\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\tabrandom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////tab////tab////crlf////tab////tab//<!-- The TableEditDialogTabsContainerExclusive and TableEditDialogSelectContainerExclusive//crlf////tab////tab////tab//classes are used to make either the tabs or the select box visible\\comma\\ depending on the//crlf////tab////tab////tab//size of the browser.  If only one or two tabs are to be included\\comma\\ the //crlf////tab////tab////tab//TableEditDialogTabsContainer class can be used for the tabs and the select box can//crlf////tab////tab////tab//be ommitted.//crlf////tab////tab//-->//crlf////tab////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'__tabrandom__Main')\\quot\\>Time Period</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab//<select onChange=\\quot\\showTab(this)\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab//<option value='__tabrandom__main'>Time Period</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Main -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__Main\\quot\\ style=\\quot\\margin:10px 20px 40px 0px\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Name\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Time Start</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Time_Start\\quot\\ TYPE=\\quot\\time\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Time End</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Time_End\\quot\\ TYPE=\\quot\\time\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf//^
ID=Aspect_BackOffice_Preferences_Read_Aspect6Setup|X=183|Y=31|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=126494|AttachLeft=|AlignLeft=126494|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- Dialog used to edit Aspect6 setup preferences in Back-Office Setup widget  -->//crlf//<!-- Note: Don't use the default dialog class which positions the dialog absolutely.  Let it be positioned inline instead -->//crlf//<div ID=\\quot\\Aspect6Setup__DialogID__\\quot\\ style=\\quot\\border:none; height:auto; width:auto; display:block\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<table class='form'>//crlf////tab////tab////tab//<conditional expression:(not(fileExists(getToken(Aspect6AspectDirectory)+\\quot\\endofday.exe\\quot\\))) or (not(fileExists(getToken(Aspect6StartInDirectory))))>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td colspan=\\quot\\2\\quot\\ width=\\quot\\200px\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<span class=\\quot\\critical_message\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//The location of your back-office copy of Aspect is not valid.//crlf////tab////tab////tab////tab////tab////tab//</span>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</td>//crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//<!-- Aspect Directory -->//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td style=\\quot\\width:80px\\quot\\>Located In</td>//crlf////tab////tab////tab////tab//<td style=\\quot\\padding-right:0px\\quot\\><input type=\\quot\\text\\quot\\ name=\\quot\\Aspect6AspectDirectory\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this);\\quot\\></td>//crlf////tab////tab////tab//</tr>//crlf////crlf////tab////tab////tab//<!-- Start-in Directory -->//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Start-In</td>//crlf////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab//<input type=\\quot\\text\\quot\\ name=\\quot\\Aspect6StartInDirectory\\quot\\  ONCHANGE=\\quot\\submitDialogCell(this);\\quot\\>//amp//nbsp;//amp//nbsp;//crlf////tab////tab////tab////tab////tab//<!-- note: this field is updated using a calculated field in the structure -->//crlf////tab////tab////tab////tab////tab//<span name=\\quot\\Aspect6StartInDirectoryValid\\quot\\></span>//crlf////tab////tab////tab////tab//</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Active Store</td>//crlf////tab////tab////tab////tab//<conditional expression:\\quot\\(fileExists(getToken(Aspect6StartInDirectory)+\\quot\\stores.dta\\quot\\))\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<!include type:expression; expression:htmlSelect(Aspect6_Store_Codes\\comma\\\\quot\\Aspect6ActiveStoreCode\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\)+\\quot\\)\\quot\\)>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//<conditional expression:\\quot\\(not(fileExists(getToken(Aspect6StartInDirectory)+\\quot\\stores.dta\\quot\\)))\\quot\\>//crlf////tab////tab////tab////tab////tab//<td>No stores found</td>//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Customer ID</td>//crlf////tab////tab////tab////tab//<td>{AspectHashID}</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\getLicenseStatus('{AspectHashID}')\\quot\\ {@htmlTooltip(\\quot\\Click to refresh\\quot\\)}>License Expires</span></td>//crlf////tab////tab////tab////tab//<td ID=\\quot\\license_status\\quot\\>{@if(getToken(Aspect6_License_Expires_Date)=\\quot\\12-31-2099\\quot\\\\comma\\\\quot\\No Expiration\\quot\\\\comma\\getToken(Aspect6_License_Expires_Date))}</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////tab//</div>//crlf//</div>//crlf//^
ID=job_codes|X=183|Y=31|W=512|H=574|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=126494|AttachLeft=|AlignLeft=126494|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//07-25-2016: It appears that this dialog has been replaced by the one in the //crlf//Labor Dialogs widget in the Aspect Back-Office Labor widget library//crlf//--------------------------------------------------------------------------]//crlf//<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\ASPECT6_DRIVER_JOB_CODES__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:420px; width:400px; display:<include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Driver Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<img onclick=\\quot\\closeTableEditDialog(this)\\quot\\ style=\\quot\\float:right;display:block\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getImage//amp//filename=close20x20.png\\quot\\>//crlf////crlf////tab////tab//<!--//tab//Note:  If a a Javascript function named initializeDialogxxx where xxx is the dialog ID is defined\\comma\\ //crlf////tab////tab////tab//it will be called//tab//after the dialog values have been set and before the dialog is made visible.//crlf////tab////tab////tab////crlf////tab////tab////tab//An initialization function may also be specified by including it in an attribute named 'aspectinit'//crlf////tab////tab////tab//in the dialog div above.  Only include the function name with no parentheses or arguments.  //crlf////tab////tab////tab//Arguments can be made//tab//available to the function by including them as attributes or by embedding //crlf////tab////tab////tab//them in this div.  Use this method when the dialog ID is randomized to allow for multiple instances//crlf////tab////tab////tab//in one document.//crlf////crlf////tab////tab////tab//If an Aspect script is defined with the ID xxx_DataSubmitted where xxx is the driver ID\\comma\\ it will//crlf////tab////tab////tab//be called whenever data is submitted due to an edit in either the table or the dialog.//crlf////tab////tab////tab//Arguments passed to the script are in the form://crlf////crlf////tab////tab////tab////tab//driver=xxx//amp//r=n//amp//fields=//amp//values=//crlf////crlf////tab////tab////tab//where driver is the name of a system driver\\comma\\ r is the absolute record number\\comma\\//crlf////tab////tab////tab//fields is a pipe-delimited list of field ID's and values is a pipe-delimited list of//crlf////tab////tab////tab//values.  Ampersands and pipes in the values are tokenized by surrounding//crlf////tab////tab////tab//them with two forward slashes.//crlf////tab////tab//-->//crlf// //crlf////tab////tab//<!-- Create a random ID used in the tab ID's below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab//If the tabs and associated divs do not have unique ID's\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\tabrandom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////tab////tab////crlf////tab////tab//<div style=\\quot\\width:100\\percent\\; border-bottom:solid 1px //pound//c9c9c9\\quot\\>//crlf////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__tabrandom__general')\\quot\\>General</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__tabrandom__codes')\\quot\\>Earnings Codes</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__tabrandom__grace')\\quot\\>Grace Periods</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- general -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__general\\quot\\ style=\\quot\\height:350px;\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Number</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;text-align:right;width:60px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Number\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Name\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Earnings codes//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__tabrandom__codes\\quot\\ style=\\quot\\height:350px;\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Payroll Job //pound//</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\PR_Number\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Regular Hours</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\RegHrs_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Overtime Hours</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\OvtHrs_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Tips</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Tips_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Cach Tips</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Cash_Tips_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Charge Tips</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Charge_Tips_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Tips Paid</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Tips_Paid_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Tips Received</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Tips_Received_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>CC Fee</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\CC_Fee_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Sales</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Sales_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Union Code</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Union_Code\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- grace periods -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__grace\\quot\\ style=\\quot\\height:350px;\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Grace Early In</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Early_In\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Grace Late In</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Late_In\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Grace Early Out</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Early_Out\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Grace Late Out</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Late_Out\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf//^
ID=Employees|X=183|Y=31|W=504|H=459|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=126494|AttachLeft=|AlignLeft=126494|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\ASPECT6_DRIVER_EMPLOYEES__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:420px; width:400px; display:<include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Driver Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<img onclick=\\quot\\closeTableEditDialog(this)\\quot\\ style=\\quot\\float:right;display:block\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getImage//amp//filename=close20x20.png\\quot\\>//crlf////crlf////tab////tab//<!--//tab//Note:  If a a Javascript function named initializeDialogxxx where xxx is the dialog ID is defined\\comma\\ //crlf////tab////tab////tab//it will be called//tab//after the dialog values have been set and before the dialog is made visible.//crlf////tab////tab////tab////crlf////tab////tab////tab//An initialization function may also be specified by including it in an attribute named 'aspectinit'//crlf////tab////tab////tab//in the dialog div above.  Only include the function name with no parentheses or arguments.  //crlf////tab////tab////tab//Arguments can be made//tab//available to the function by including them as attributes or by embedding //crlf////tab////tab////tab//them in this div.  Use this method when the dialog ID is randomized to allow for multiple instances//crlf////tab////tab////tab//in one document.//crlf////crlf////tab////tab////tab//If an Aspect script is defined with the ID xxx_DataSubmitted where xxx is the driver ID\\comma\\ it will//crlf////tab////tab////tab//be called whenever data is submitted due to an edit in either the table or the dialog.//crlf////tab////tab////tab//Arguments passed to the script are in the form://crlf////crlf////tab////tab////tab////tab//driver=xxx//amp//r=n//amp//fields=//amp//values=//crlf////crlf////tab////tab////tab//where driver is the name of a system driver\\comma\\ r is the absolute record number\\comma\\//crlf////tab////tab////tab//fields is a pipe-delimited list of field ID's and values is a pipe-delimited list of//crlf////tab////tab////tab//values.  Ampersands and pipes in the values are tokenized by surrounding//crlf////tab////tab////tab//them with two forward slashes.//crlf////tab////tab//-->//crlf// //crlf////tab////tab//<!-- Create a random ID used in the tab ID's below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab//If the tabs and associated divs do not have unique ID's\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\tabrandom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////tab////tab////crlf////tab////tab//<div style=\\quot\\width:100\\percent\\; border-bottom:solid 1px //pound//c9c9c9\\quot\\>//crlf////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__tabrandom__general')\\quot\\>General</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- general -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__general\\quot\\ style=\\quot\\height:350px;\\quot\\>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</div>//crlf//^
ID=sizes|X=183|Y=31|W=583|H=578|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=126494|AttachLeft=|AlignLeft=126494|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div ID=\\quot\\Sizes__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:420px; width:auto; display:<include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Driver Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<img onclick=\\quot\\closeTableEditDialog(this)\\quot\\ style=\\quot\\float:right;display:block\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getImage//amp//filename=close20x20.png\\quot\\>//crlf////crlf////tab////tab//<!-- Create a random ID used in the tab ID's below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab//If the tabs and associated divs do not have unique ID's\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\tabrandom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////tab////tab////crlf////tab////tab//<div style=\\quot\\width:100\\percent\\; border-bottom:solid 1px //pound//c9c9c9\\quot\\>//crlf////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'__tabrandom__Mein')\\quot\\>Mein</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- main -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__main\\quot\\ style=\\quot\\height:350px;\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Description</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\Unused\\quot\\ NAME=\\quot\\ID_TINVSIZEREC_DESCRIPTION\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Abbreviation</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\--\\quot\\ NAME=\\quot\\ID_TINVSIZEREC_ABBREVIATION\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf//^
ID=AreaNames|X=183|Y=31|W=697|H=711|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=126494|AttachLeft=|AlignLeft=126494|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div ID=\\quot\\AreaNames__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:420px; width:auto; display:<include type:expression; expression:if(\\quot\\__ParentW__\\quot\\=\\quot\\Driver Dialogs\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<img onclick=\\quot\\closeTableEditDialog(this)\\quot\\ style=\\quot\\float:right;display:block\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getImage//amp//filename=close20x20.png\\quot\\>//crlf////crlf////tab////tab//<!-- Create a random ID used in the tab ID's below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab//If the tabs and associated divs do not have unique ID's\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\tabrandom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////tab////tab////crlf////tab////tab//<div style=\\quot\\width:100\\percent\\; border-bottom:solid 1px //pound//c9c9c9\\quot\\>//crlf////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'__tabrandom__Mein')\\quot\\>Mein</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- main -->//crlf////tab////tab//<div ID=\\quot\\__tabrandom__main\\quot\\ style=\\quot\\height:350px;\\quot\\>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\Other Area\\quot\\ NAME=\\quot\\ID_TAREAREC_NAME\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf//^
ID=top_bar|X=0|Y=0|W=149|H=19|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=14|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'955251')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'774516')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=955251|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Driver Dialogs.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Driver Dialogs.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=774516|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="McLane Setup" group="Back-Office" category="" description="" type="Container" Mobile="" Processing=0 metadata="" IncludeInViewer="false" PublicName="Mclane Setup" modified="04-22-2013 01:15:14" modifiedby="Keith-Dell2" TaskEnabled= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskWindowForExecution=>
Preferences|toolboxx=913|toolboxy=538|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=McLane Setup.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=347|H=14|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:h0BE4ziTlLytqKxtWLMy5CVY; widget:Backoffice Home; containerItemID:\\quot\\top_bar\\quot\\; params:\\quot\\\\quot\\;>
^
ID=left_bar|X=0|Y=15|W=176|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:h0BE4ziTlLytqKxtWLMy5CVY; widget:Backoffice Home; containerItemID:\\quot\\left_bar\\quot\\; params:\\quot\\startpackage=__startpackage__~~pipe~~package={@\\quot\\__package__\\quot\\}~~pipe~~menu=__menu__~~pipe~~SelectLeftBarCompany=__SelectLeftBarCompany__~~pipe~~SelectLeftBarComputer=__SelectLeftBarComputer__\\quot\\;>//crlf//
^
ID=mclane_setup|X=153|Y=69|W=900|H=1581|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=651033|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<!-- servertimer=false-->//crlf////crlf//<conditional expression:false>//crlf////tab//This item is loaded in one of two ways.//crlf////crlf////tab//1.//tab//If a CustomerID (HashID) is specified\\comma\\ this same item is loaded from a remote PC using the //crlf////tab////tab//second method.  This allow for editing the data remotely//crlf////crlf////tab//2.//tab//If no CustomerID is supplied\\comma\\ the content is processed locally using the active store//crlf////crlf//</conditional>//crlf////crlf//<!----------------------------------------------------------------------------------------------------------//crlf//Method 1: A Customer ID is specified and data is retrieved from a remote computer //crlf//------------------------------------------------------------------------------------------------------------>//crlf//<conditional expression:not(startsWith(\\quot\\__CustomerID__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////tab//<conditional expression:(\\quot\\__CustomerID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab////tab//<p>No customer selected</p>//crlf////tab//</conditional>//crlf////tab//<conditional expression:not(\\quot\\__CustomerID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab////tab//<!include type:widget; server:__CustomerID__; secure:false; documentID:h0BE4ziTlLytqKxtWLMy5CVY; widget:McLane Setup; containerItemID:\\quot\\mclane_setup\\quot\\; params:\\quot\\\\quot\\;>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<!----------------------------------------------------------------------------------------------------------//crlf//Method 2: No Customer ID is specified and data is processed locally//crlf//------------------------------------------------------------------------------------------------------------>//crlf//<conditional expression:(startsWith(\\quot\\__CustomerID__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////tab//<table class='tabdialog'>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'423649')\\quot\\>Setup</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'987204')\\quot\\>Items</span></td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf////crlf////tab//<div ID=\\quot\\423649\\quot\\>//crlf////tab////tab//{@htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowerCase(getSalt(6)))}//crlf////crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//------------------------------------------------------------------------------------------------------------//crlf////tab////tab//Set tokens including://crlf////tab////tab////tab//Aspect6VerOk//tab////tab//- True if version is 6.82 or higher//crlf////tab////tab////tab//ActiveStoreCode//tab//- The active Aspect6 store (selected in Back-Office settings)//crlf////tab////tab////tab//ActiveStoreName//tab//- The name of the active store//crlf////tab////tab////tab//ActiveStoreDir//tab////tab//- Directory of the active store//crlf////tab////tab////tab//ActiveStoreOk//tab////tab//- True if an ingr.dta file is found ni the active store directory//crlf////tab////tab////tab//McLaneCustomerOk - True if a McLane customer code has been entered//crlf////tab////tab////tab//McLaneVendorOk//tab//- True if a vendor name starting with McLane is found//crlf////tab////tab////tab//McLaneVendorName//tab//- Name of the McLane vendor if a match is found//crlf////tab////tab////tab//VendorFileOk//tab////tab//- True if a vendor file was found//crlf////tab////tab//------------------------------------------------------------------------------------------------------------//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<!include type:script; name:\\quot\\InitializeMcLaneSetup\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////Check Aspect6 version.  Must be 6.82 or greater//crlf////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\Aspect6VerOk\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\(value(getToken(\\quot\\Aspect6VersionNumber\\quot\\))>=6.81))//crlf////crlf////tab////tab////tab////Get store information//crlf////tab////tab////tab//sActiveStoreCode=getToken(\\quot\\Aspect6ActiveStoreCode\\quot\\)//crlf////tab////tab////tab//sActiveStoreDir=addDirSlash(lookup(Aspect6_Store_Directories_By_Code\\comma\\sActiveStoreCode))//crlf////tab////tab////tab//sActiveStoreName=lookup(Aspect6_Store_Codes\\comma\\sActiveStoreCode)//crlf////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\ActiveStoreCode\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sActiveStoreCode)+char(13)+char(10)//crlf////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\ActiveStoreDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sActiveStoreDir)+char(13)+char(10)//crlf////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\ActiveStoreOk\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\(fileExists(sActiveStoreDir+\\quot\\ingr.dta\\quot\\)))+char(13)+char(10)//crlf////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\ActiveStoreName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sActiveStoreName)+char(13)+char(10)//crlf////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\McLaneCustomerOk\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\(len(trim(getToken(\\quot\\Aspect_BackOffice_Pref_McLane_Customer_Code\\quot\\)))>0))+char(13)+char(10)//crlf////crlf////tab////tab////tab////Get vendor record//crlf////tab////tab////tab//sFilename=sActiveStoreDir+\\quot\\vendors.dta\\quot\\//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\VendorFileOk\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\true\\quot\\)//crlf////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Vendors\\comma\\drvVendors\\comma\\READ\\comma\\false\\comma\\\\quot\\Code=\\quot\\+sActiveStoreCode)//crlf////tab////tab////tab////tab//driverSetFilter(drvVendors\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//sFilter=\\quot\\startsWith(ID_TVENDORREC_NAME\\comma\\\\quot\\+quote(\\quot\\McLane\\quot\\)+\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//r=driverFindRecord(drvVendors\\comma\\0\\comma\\sFilter)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Looking for McLane vendor record r=\\quot\\+r+\\quot\\ sFilter=\\quot\\+sFilter)//crlf////tab////tab////tab////tab//if(r<0)//crlf////tab////tab////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\McLaneVendorOk\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\false\\quot\\)+char(13)+char(10)//crlf////tab////tab////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\McLaneVendorName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\\\quot\\)+char(13)+char(10)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\McLaneVendorOk\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\true\\quot\\)+char(13)+char(10)//crlf////tab////tab////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\McLaneVendorName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\driverGetField(drvVendors\\comma\\\\quot\\ID_TVENDORREC_NAME\\quot\\\\comma\\r))+char(13)+char(10)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//driverClose(drvVendors)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\VendorFileOk\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\false\\quot\\)+char(13)+char(10)//crlf////tab////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\McLaneVendorOk\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\false\\quot\\)+char(13)+char(10)//crlf////tab////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\McLaneVendorName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\\\quot\\)+char(13)+char(10)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////initialize McLane fields in inventory items and create collection of master codes//crlf////tab////tab////tab//if(fileExists(sActiveStoreDir+\\quot\\ingr.dta\\quot\\))//crlf////tab////tab////tab////tab////create a hashtable of all item codes and the associated McLane code//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Creating collection of item codes\\quot\\)//crlf////tab////tab////tab////tab//hashCreate(hLookupCode)//crlf////tab////tab////tab////tab//driverOpen(Aspect6_Mclane_Setup\\comma\\drvMcLane\\comma\\READ)//crlf////tab////tab////tab////tab//c=driverGetRecordCount(drvMcLane\\comma\\true)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Records in driver: \\quot\\+c)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//sMcLaneCode=driverGetFieldAbsolute(drvMcLane\\comma\\\\quot\\Item_Code\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//while((len(sMcLaneCode)>0) and (startsWith(sMcLaneCode\\comma\\\\quot\\0\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab//sMcLaneCode=substring(sMcLaneCode\\comma\\1)//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//sAllCodes=driverGetFieldAbsolute(drvMcLane\\comma\\\\quot\\All_Codes\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//cCode=getElementCount(sAllCodes\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//nCode=0//crlf////tab////tab////tab////tab////tab//while(nCode<cCode)//crlf////tab////tab////tab////tab////tab////tab////trim any leading zeroes from the code//crlf////tab////tab////tab////tab////tab////tab//sCode=getElement(sAllCodes\\comma\\nCode\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//while((len(sCode)>0) and (startsWith(sCode\\comma\\\\quot\\0\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab//sCode=substring(sCode\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab//if(len(trim(sCode))>0)//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(hLookupCode\\comma\\sCode\\comma\\sMcLaneCode)//crlf////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\HashPut \\quot\\+sCode+\\quot\\=\\quot\\+sMcLaneCode)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//nCode=nCode+1//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//driverClose(drvMcLane)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Found \\quot\\+hashSize(hLookupCode)+\\quot\\ codes\\quot\\)//crlf////crlf////tab////tab////tab////tab//appendToLog(\\quot\\Setting McLane item codes\\quot\\)//crlf////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Items_By_Filename\\comma\\drvIngr\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Code=\\quot\\+sActiveStoreCode)//crlf////tab////tab////tab////tab//driverSetFilter(//tab//drvIngr\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//cRecipe=0//crlf////tab////tab////tab////tab//cDeleted=0//crlf////tab////tab////tab////tab//cItem=0//crlf////tab////tab////tab////tab//cMatch=0//crlf////tab////tab////tab////tab//cAlreadySet=0//crlf////tab////tab////tab////tab//c=driverGetRecordCount(drvIngr)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//bIsRecipe=driverGetField(drvIngr\\comma\\\\quot\\ID_TRECIPEINFOREC_ISRECIPE\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//if(not(bIsRecipe))//crlf////tab////tab////tab////tab////tab////tab//bDeleted=driverGetField(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_DELETED\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//if(not(bDeleted))//crlf////tab////tab////tab////tab////tab////tab////tab//if(driverGetField(drvIngr\\comma\\\\quot\\McLane_Size_Prefix\\quot\\\\comma\\n)=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\McLane_Size_Prefix\\quot\\\\comma\\n\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab//if(len(trim(driverGetField(drvIngr\\comma\\\\quot\\McLane_Item_Code\\quot\\\\comma\\n)))<4)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//cVendor=1//crlf////tab////tab////tab////tab////tab////tab////tab////tab//while(cVendor<4)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////trim any leading zeroes from the code and save the original so it can be recorded//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////The replaces_code field is used to avoid dropping the current vendor when adding the mclane vendor//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sExistingCode=trim(driverGetField(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[\\quot\\+cVendor+\\quot\\].ID_TVENDORINFOREC_CODE\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sOriginalCode=sExistingCode//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//while((len(sExistingCode)>0) and (startsWith(sExistingCode\\comma\\\\quot\\0\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//sExistingCode=substring(sExistingCode\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(len(sExistingCode)>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//s=hashGet(hLookupCode\\comma\\sExistingCode)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\hashGet \\quot\\+sExistingCode+\\quot\\=\\quot\\+s)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(len(s)>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\McLane_Item_Code\\quot\\\\comma\\n\\comma\\s)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\McLane_Replaces_Code\\quot\\\\comma\\n\\comma\\sOriginalCode)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////use the existing purchase size as the default//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//sizePrefix=driverGetField(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[\\quot\\+cVendor+\\quot\\].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_PREFIX\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//sizeSz=driverGetField(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[\\quot\\+cVendor+\\quot\\].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\McLane_Size_Prefix\\quot\\\\comma\\n\\comma\\sizePrefix)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\McLane_Size_Sz\\quot\\\\comma\\n\\comma\\sizeSz)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//cMatch=cMatch+1//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//cVendor=cVendor+1//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//cAlreadySet=cAlreadySet + 1//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//cItem=cItem + 1//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//cDeleted=cDeleted + 1//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//cRecipe=cRecipe  + 1//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//n=n + 1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//driverClose(drvIngr)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//iTotalInitialized=cMatch+cAlreadySet//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Initialize McLane item codes complete\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Count Records=\\quot\\+c+\\quot\\ Recipes=\\quot\\+cRecipe+\\quot\\ Deleted=\\quot\\+cDeleted+\\quot\\ Items=\\quot\\+cItem)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Codes initialized for \\quot\\+iTotalInitialized+\\quot\\ items \\quot\\+formatNumber(iTotalInitialized/cItem\\comma\\\\quot\\0\\percent\\\\quot\\))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Found \\quot\\+cMatch+\\quot\\ matching items\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Result=\\quot\\+sResult)//crlf////tab////tab////tab//scriptSetResult(sResult)//crlf////tab////tab//\\quot\\>//crlf////crlf////tab////tab//<!-------------------------------------------------------------------------------------------------------//crlf////tab////tab//Overview//crlf////tab////tab//--------------------------------------------------------------------------------------------------------->//crlf////tab////tab//<br>//crlf////tab////tab//<div style=\\quot\\background-color://pound//f5f5ca;width:auto;height:auto;border:solid 1px black;padding:5px\\quot\\>//crlf////tab////tab////tab//<p style=\\quot\\font-weight:bold\\quot\\>To import invoices from McLane:</p>//crlf////tab////tab////tab//<ul>//crlf////tab////tab////tab////tab//<li>You'll need version 6.82 or later of Aspect.  Email us at //crlf////tab////tab////tab////tab////tab//<a href=\\quot\\mailto:support@aspect-software.net?Subject=McLane Update\\quot\\>support@aspect-software.net</a> or//crlf////tab////tab////tab////tab////tab//call 800-454-3280 if your version is not up to date.</li>//crlf////tab////tab////tab////tab//<li>Enter your McLane customer number below if you know it.  Leave it blank otherwise.</li>//crlf////tab////tab////tab////tab//<li>If you don't have a vendor named McLane in Aspect\\comma\\ click the button below to add one.</li>//crlf////tab////tab////tab////tab//<li>Click the \\quot\\Items\\quot\\ tab above to match the McLane items you'll see on invoices with your existing inventory items.</li>//crlf////tab////tab////tab//</ul>//crlf////crlf////tab////tab////tab//<p><img src=\\quot\\__requestserver__/?Network=greenlight//amp//id=getImage//amp//filename=pyramid16x16.png\\quot\\> Aspect7 //crlf////tab////tab////tab////tab//will download invoices from McLane as soon as they're available - probably before the delivery//crlf////tab////tab////tab////tab//arrives at your store.</p>//crlf////crlf////tab////tab////tab//<p>To import an invoice\\comma\\ select Edit Invoices in Aspect\\comma\\ right-click anywhere on the page and select//crlf////tab////tab////tab////tab//Import Electronic Invoice.  Your McLane invoices will be located in a folder named McLane //crlf////tab////tab////tab////tab//beneath your store directory.  For example - c:\aspect\store1\mclane.  Call or emal us//crlf////tab////tab////tab////tab//with questions.</p>//crlf////tab////tab//</div>//crlf////tab////tab//<!-------------------------------------------------------------------------------------------------------//crlf////tab////tab//Customer Information//crlf////tab////tab//--------------------------------------------------------------------------------------------------------->//crlf////tab////tab//<h2>//crlf////tab////tab////tab//<img src=\\quot\\__ReuestServer__/?Network=GreenLight//amp//ID=getImage//amp//Filename=greenCheck12x12.png\\quot\\>//crlf////tab////tab////tab//{AspectOrganizationName} [{AspectHashID}]//crlf////tab////tab//</h2>//crlf////tab////tab//<hr>//crlf////tab////tab//<p>Active Store: __ActiveStoreName__ [__ActiveStoreCode__]</p>//crlf////tab////tab//<br>//crlf////crlf////tab////tab//<!-------------------------------------------------------------------------------------------------------//crlf////tab////tab//Aspect Version//crlf////tab////tab//--------------------------------------------------------------------------------------------------------->//crlf////tab////tab//<!conditional expression:__Aspect6VerOk__>//crlf////tab////tab////tab//<h2>//crlf////tab////tab////tab////tab//<img src=\\quot\\__ReuestServer__/?Network=GreenLight//amp//ID=getImage//amp//Filename=greenCheck12x12.png\\quot\\>//crlf////tab////tab////tab////tab//Aspect Version//crlf////tab////tab////tab//</h2>//crlf////tab////tab////tab//<hr>//crlf////tab////tab////tab//<p>Your version of Aspect is up to date.</p>//crlf////tab////tab//</conditional>//crlf////tab////tab//<!conditional expression:not(__Aspect6VerOk__)>//crlf////tab////tab////tab//<h2>//crlf////tab////tab////tab////tab//<img src=\\quot\\__ReuestServer__/?Network=GreenLight//amp//ID=getImage//amp//Filename=redX12x12.png\\quot\\>//crlf////tab////tab////tab////tab//Aspect Version//crlf////tab////tab////tab//</h2>//crlf////tab////tab////tab//<hr>//crlf////tab////tab////tab//<p>Version 6.82 or later is required.  You are using version {Aspect6VersionNumber}.</p>//crlf////tab////tab//</conditional>//crlf////tab////tab//<br>//crlf////crlf////tab////tab//<!-------------------------------------------------------------------------------------------------------//crlf////tab////tab//McLane Customer Code //crlf////tab////tab//This is not really required since the customer number can be entered by Aspect//crlf////tab////tab//in the override field.  It can help with the process though if some customers enter//crlf////tab////tab//the number.//crlf////tab////tab//--------------------------------------------------------------------------------------------------------->//crlf////tab////tab//<h2>//crlf////tab////tab////tab//<img ID=\\quot\\MclaneCustomerNoIcon\\quot\\ src=\\quot\\__ReuestServer__/?Network=GreenLight//amp//ID=getImage//amp//Filename=<!!include type:expression; expression:if(__McLaneCustomerOk__\\comma\\\\quot\\greenCheck12x12.png\\quot\\\\comma\\\\quot\\redX12x12.png\\quot\\)>\\quot\\>//crlf////tab////tab////tab//McLane Customer Number//crlf////tab////tab//</h2>//crlf////tab////tab//<hr>//crlf////tab////tab//<p>This is your McLane customer number used to retrieve invoices from McLane.</p>//crlf////crlf////tab////tab//<conditional expression:true>//crlf////tab////tab////tab//<!include type:driver;//crlf////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//driver: \\quot\\ASPECT_BACKOFFICE_PREFERENCES_READ\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0\\quot\\;//crlf////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//style: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//EmbedValues: \\quot\\Aspect_BackOffice_Pref_McLane_Customer_Code\\quot\\;//crlf////tab////tab////tab////tab//EditDialogID: \\quot\\h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Driver Dialogs~~pipe~~Aspect_BackOffice_Preferences_Read~~pipe~~MclanePreferences~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canCloseDialog: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</conditional>//crlf////tab////tab//<br>//crlf////crlf////tab////tab//<!-------------------------------------------------------------------------------------------------------//crlf////tab////tab//Vendor Setup//crlf////tab////tab//--------------------------------------------------------------------------------------------------------->//crlf////tab////tab//<!conditional expression:not(__Aspect6VerOk__)>//crlf////tab////tab////tab//<h2>//crlf////tab////tab////tab////tab//<img src=\\quot\\__ReuestServer__/?Network=GreenLight//amp//ID=getImage//amp//Filename=redX12x12.png\\quot\\>//crlf////tab////tab////tab////tab//Vendor Setup//crlf////tab////tab////tab//</h2>//crlf////tab////tab////tab//<hr>//crlf////tab////tab////tab//<p>Cannot display vendor information because Aspect6 is not set up.</p>//crlf////tab////tab//</conditional>//crlf////tab////tab//<!conditional expression:__Aspect6VerOk__>//crlf////tab////tab////tab//<div ID=\\quot\\McLaneVendorOk\\quot\\ style=\\quot\\display:<!!include type:expression; expression:if(__McLaneVendorOk__\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>\\quot\\>//crlf////tab////tab////tab////tab//<h2>//crlf////tab////tab////tab////tab////tab//<img src=\\quot\\__ReuestServer__/?Network=GreenLight//amp//ID=getImage//amp//Filename=greenCheck12x12.png\\quot\\>//crlf////tab////tab////tab////tab////tab//Vendor Setup//crlf////tab////tab////tab////tab//</h2>//crlf////tab////tab////tab////tab//<hr>//crlf////crlf////tab////tab////tab////tab//<p>A vendor named \\quot\\McLane\\quot\\ has been added to Aspect.</p>//crlf////tab////tab////tab////tab//<p>If you export invoices to an accounting package\\comma\\ enter the G/L account code for the vendor.</p>//crlf////tab////tab////tab////tab//<span interval=\\quot\\0\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//Source={AspectHashID}//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Notification Queries//amp//query=getMclaneVendorRecord//amp//StoreCode=__ActiveStoreCode__//amp//AddRecord=false\\quot\\>//crlf////tab////tab////tab////tab////tab//<img src=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getImage//amp//Filename=StatusActive01.gif\\quot\\>//crlf////tab////tab////tab////tab//</span>//crlf////tab////tab////tab//</div>//crlf////tab////crlf////tab////tab////tab//<div ID=\\quot\\McLaneVendorErr\\quot\\ style=\\quot\\display:<!!include type:expression; expression:if(not(__McLaneVendorOk__)\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>\\quot\\>//crlf////tab////tab////tab////tab//<h2>//crlf////tab////tab////tab////tab////tab//<img src=\\quot\\__ReuestServer__/?Network=GreenLight//amp//ID=getImage//amp//Filename=redX12x12.png\\quot\\>//crlf////tab////tab////tab////tab////tab//Vendor Setup//crlf////tab////tab////tab////tab//</h2>//crlf////tab////tab////tab////tab//<hr>//crlf////tab////crlf////tab////tab////tab////tab//<p>There is no vendor in Aspect named McLane.</p>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Add vendor now\\quot\\ onClick=\\quot\\showStatusIcon('AddVendorTable');setVisible('McLaneVendorOk'\\comma\\true);setVisible('McLaneVendorErr'\\comma\\false);setVisible('AddVendorTable'\\comma\\true\\comma\\0)\\quot\\>//crlf////tab////tab////tab////tab//<p><span ID=\\quot\\AddVendorTable\\quot\\ style=\\quot\\display:none\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Notification Queries//amp//query=getMclaneVendorRecord//amp//StoreCode=__ActiveStoreCode__//amp//AddRecord=true\\quot\\></span></p>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</conditional>//crlf////tab//</div>//crlf////tab////crlf////tab//<div ID=\\quot\\987204\\quot\\>//crlf////tab////tab//<br>//crlf////tab////tab//<div style=\\quot\\background-color://pound//f5f5ca;width:auto;height:auto;border:solid 1px black;padding:5px\\quot\\>//crlf////tab////tab////tab//<p style=\\quot\\font-weight:bold\\quot\\>Item Codes</p>//crlf////tab////tab////crlf////tab////tab////tab//<p style=\\quot\\font-weight:normal\\quot\\>Use this page to select the McLane items that correspond to your //crlf////tab////tab////tab////tab//inventory items in Aspect.  Your inventory items are listed in the first column.  Select the //crlf////tab////tab////tab////tab//appropriate McLane item from//tab//the drop-down list.  The purpose of this is to avoid Aspect //crlf////tab////tab////tab////tab//prompting you to match every item when you import your first McLane invoice.  Many items //crlf////tab////tab////tab////tab//will be selected for you already.  If you'd rather select the remaining items when you import //crlf////tab////tab////tab////tab//the invoice\\comma\\ just click Apply Changes to accept the pre-selected items and you're done.</p>//crlf////crlf////tab////tab////tab//<p style=\\quot\\font-weight:normal\\quot\\>It's not necessary//tab//to select a McLane item for every item in the //crlf////tab////tab////tab////tab//list - only those you'll be purchasing from McLane.  To filter the list\\comma\\ select your current //crlf////tab////tab////tab////tab//primary vendor from the drop-down list.</p>//crlf////crlf////tab////tab////tab//<p style=\\quot\\font-weight:normal\\quot\\>Selections you make are recorded immediately.  However\\comma\\ changes are not made in Aspect //crlf////tab////tab////tab////tab//until you press the Apply Changes button.  When you apply changes\\comma\\ the McLane item codes//crlf////tab////tab////tab////tab//will be added to your Aspect inventory items.</p>//crlf////tab////tab//</div>//crlf////tab////tab//<br>//crlf////crlf////tab////tab//<!--//tab//Select box for group and vendor filters.  A script is used to make the html params easier to manage -->//crlf////tab////tab//<!!include type:script; commands:\\quot\\//crlf////tab////tab////tab////group filter//crlf////tab////tab////tab//sCollectionID=\\quot\\Aspect6_Inventory_Groups_From_Items\\quot\\//crlf////tab////tab////tab//sName=\\quot\\SelectInventoryGroup\\quot\\//crlf////tab////tab////tab//sSelected=\\quot\\all\\quot\\//crlf////tab////tab////tab//sHtmlParams=\\quot\\ID=\\quot\\+quote(\\quot\\SelectInventoryGroup__salt__\\quot\\)//crlf////tab////tab////tab//sHtmlParams=sHtmlParams + \\quot\\ Expression=\\quot\\+quote(\\quot\\(\\quot\\+char(0x27)+\\quot\\$value$\\quot\\+char(0x27)+\\quot\\=\\quot\\+char(0x27)+\\quot\\all\\quot\\+char(0x27)+\\quot\\) or (ID_TINGREDIENTREC_GROUP=\\quot\\+char(0x27)+\\quot\\$value$\\quot\\+char(0x27)+\\quot\\)\\quot\\)//crlf////tab////tab////tab//sHtmlParams=sHtmlParams + \\quot\\ onChange=\\quot\\+quote(\\quot\\refreshTable(\\quot\\+char(0x27)+\\quot\\table__salt__\\quot\\+char(0x27)+char(0x2C)+char(0x27)+\\quot\\refresh\\quot\\+char(0x27)+char(0x2C)+char(0x27)+char(0x27)+\\quot\\)\\quot\\)//crlf////tab////tab////tab//sFilter=\\quot\\(ID_TINGREDIENTREC_GROUP\\quot\\+char(0x3E)+\\quot\\3) and (not(ID_TINGREDIENTREC_DELETED)) and (not(ID_TRECIPEINFOREC_ISRECIPE))\\quot\\//crlf////tab////tab////tab//sDriverParams=\\quot\\Filename=__ActiveStoreDir__ingr.dta\\quot\\//crlf////tab////tab////tab//sResult=\\quot\\Group \\quot\\+htmlSelect(sCollectionID\\comma\\sName\\comma\\sSelected\\comma\\sHtmlParams\\comma\\sDriverParams\\comma\\sFilter)//crlf////tab////tab////tab////crlf////tab////tab////tab////vendor filter//crlf////tab////tab////tab//sCollectionID=\\quot\\Aspect6_Vendors_With_All\\quot\\//crlf////tab////tab////tab//sName=\\quot\\SelectVendor\\quot\\//crlf////tab////tab////tab//sSelected=\\quot\\all\\quot\\//crlf////tab////tab////tab//sHtmlParams=\\quot\\ID=\\quot\\+quote(\\quot\\SelectVendor__salt__\\quot\\)//crlf////tab////tab////tab//sHtmlParams=sHtmlParams + \\quot\\ Expression=\\quot\\+quote(\\quot\\(\\quot\\+char(0x27)+\\quot\\$value$\\quot\\+char(0x27)+\\quot\\=\\quot\\+char(0x27)+\\quot\\all\\quot\\+char(0x27)+\\quot\\) or (containsElement(All_Vendor_Indices\\comma\\\\quot\\+char(0x27)+\\quot\\$value$\\quot\\+char(0x27)+\\quot\\)\\quot\\+char(0x3e)+\\quot\\=0)\\quot\\)//crlf////tab////tab////tab//sHtmlParams=sHtmlParams + \\quot\\ onChange=\\quot\\+quote(\\quot\\refreshTable(\\quot\\+char(0x27)+\\quot\\table__salt__\\quot\\+char(0x27)+char(0x2C)+char(0x27)+\\quot\\refresh\\quot\\+char(0x27)+char(0x2C)+char(0x27)+char(0x27)+\\quot\\)\\quot\\)//crlf////tab////tab////tab//sFilter=\\quot\\true\\quot\\//crlf////tab////tab////tab//sDriverParams=\\quot\\Filename=__ActiveStoreDir__vendors.dta\\quot\\//crlf////tab////tab////tab//sResult=sResult + \\quot\\ Vendor \\quot\\ + htmlSelect(sCollectionID\\comma\\sName\\comma\\sSelected\\comma\\sHtmlParams\\comma\\sDriverParams\\comma\\sFilter)//crlf////tab////tab////tab////crlf////tab////tab////tab//scriptSetResult(sResult)//crlf////tab////tab//\\quot\\>//crlf////crlf////tab////tab//<input style=\\quot\\float:right;\\quot\\ type=\\quot\\button\\quot\\ value=\\quot\\Apply Changes\\quot\\ onClick=\\quot\\applyMcLaneChanges('table__salt__'\\comma\\'{AspectHashID}')\\quot\\ {@htmlTooltip(\\quot\\__apply_changes_tooltip__\\quot\\)}>//crlf////tab////tab//<div style=\\quot\\height:10px\\quot\\></div>//crlf////crlf////tab////tab//<constant name:__apply_changes_tooltip__; value:\\quot\\Selections you make are not recorded in Aspect until //crlf////tab////tab////tab//you press this button.  When you apply changes\\comma\\ codes for the Mclane items you selected will be recorded //crlf////tab////tab////tab//in Aspect.  You can verify this by clicking the pencil icon to the left of each item.\\quot\\>//crlf////crlf////tab////tab//<!--div interval=\\quot\\0\\quot\\  _url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//Widget=Notification Queries//amp//query=includeDriver//amp//TableID=table__salt__//amp//tablestyle=width:900px//amp//SourceDriverID=Aspect6_Driver_Inventory_Items_By_Filename//amp//DriverParams=keyexpression=toId(ID_TINGREDIENTREC_NAME)~~pipe~~CacheTtl=0~~pipe~~Filename=__ActiveStoreDir__ingr.dta~~pipe~~Code=__ActiveStoreCode__//amp//keyDescription=ID_TINGREDIENTREC_NAME//amp//canEdit=true//amp//canDelete=false//amp//canSelect=false//amp//display=none//amp//SelectDisplay=false//amp//EditDisplay=false//amp//Fields=ID_TINGREDIENTREC_NAME\\comma\\Count_Size_Description\\comma\\McLane_Item_Code\\comma\\McLane_Size_Prefix\\comma\\McLane_Size_Sz\\comma\\McLane_Modified//amp//sort=Section_Header_For_Group\\comma\\ID_TINGREDIENTREC_NAME//amp//filter=(not(ID_TRECIPEINFOREC_ISRECIPE)) and (not(ID_TINGREDIENTREC_DELETED))//amp//Subtotal=false\\comma\\false\\comma\\false//amp//details=true//amp//ChartType=none//amp//EmbedValues=ID_TINGREDIENTREC_GROUP\\comma\\Lookup_Group_Name\\comma\\Count_Size_Description\\comma\\Section_Header_For_Group\\comma\\ID_TINGREDIENTREC_NAME\\comma\\McLane_Item_Code\\comma\\McLane_Setup_Ok\\comma\\Exclude_From_Mclane_Setup\\comma\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_INDEX\\comma\\ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_INDEX\\comma\\ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_INDEX\\comma\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_PREFIX\\comma\\ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_PREFIX\\comma\\ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_PREFIX\\comma\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\comma\\ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\comma\\ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\comma\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_CODE\\comma\\ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_CODE\\comma\\ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_CODE\\comma\\McLane_Size_Prefix\\comma\\McLane_Size_Sz\\comma\\McLane_Modified//amp//EditDialogID=h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Driver Dialogs~~pipe~~Aspect6_Driver_Inventory_Items~~pipe~~MclaneSetup~~pipe~~__salt__//amp//ExternalFilters=SelectInventoryGroup__salt__\\comma\\SelectVendor__salt__//amp//DialogHeader=false//amp//ChartType=//amp//debug=true\\quot\\>//crlf////tab////tab////tab//<img src=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif\\quot\\>//crlf////tab////tab//</div-->//crlf////crlf////tab////tab//<!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\table__salt__\\quot\\;//crlf////tab////tab////tab//tablestyle: \\quot\\width:900px\\quot\\;//crlf////tab////tab////tab//Driver: \\quot\\Aspect6_Driver_Inventory_Items_By_Filename\\quot\\;//crlf////tab////tab////tab//Params: \\quot\\keyexpression=toId(ID_TINGREDIENTREC_NAME)~~pipe~~CacheTtl=0~~pipe~~Filename=__ActiveStoreDir__ingr.dta~~pipe~~Code=__ActiveStoreCode__\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\ID_TINGREDIENTREC_NAME\\quot\\;//crlf////tab////tab////tab//MaxRecords: \\quot\\150\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//display: \\quot\\none\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//Fields: \\quot\\ID_TINGREDIENTREC_NAME\\comma\\Count_Size_Description\\comma\\McLane_Item_Code\\comma\\McLane_Size_Prefix\\comma\\McLane_Size_Sz\\comma\\McLane_Modified\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\Section_Header_For_Group\\comma\\ID_TINGREDIENTREC_NAME\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\(not(ID_TRECIPEINFOREC_ISRECIPE)) and (not(ID_TINGREDIENTREC_DELETED))\\quot\\;//crlf////tab////tab////tab//details: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\none\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\ID_TINGREDIENTREC_GROUP\\comma\\Lookup_Group_Name\\comma\\Count_Size_Description\\comma\\Section_Header_For_Group\\comma\\ID_TINGREDIENTREC_NAME\\comma\\McLane_Item_Code\\comma\\McLane_Setup_Ok\\comma\\Exclude_From_Mclane_Setup\\comma\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_INDEX\\comma\\ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_INDEX\\comma\\ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_INDEX\\comma\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_PREFIX\\comma\\ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_PREFIX\\comma\\ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_PREFIX\\comma\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\comma\\ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\comma\\ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\comma\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_CODE\\comma\\ID_TINGREDIENTREC_VENDOR[2].ID_TVENDORINFOREC_CODE\\comma\\ID_TINGREDIENTREC_VENDOR[3].ID_TVENDORINFOREC_CODE\\comma\\McLane_Size_Prefix\\comma\\McLane_Size_Sz\\comma\\McLane_Modified\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Driver Dialogs~~pipe~~Aspect6_Driver_Inventory_Items~~pipe~~MclaneSetup~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\SelectInventoryGroup__salt__\\comma\\SelectVendor__salt__\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\//crlf////tab////tab//>//crlf////tab//</div>//crlf////tab////crlf////tab//<div style=\\quot\\width:900px;height:600px\\quot\\></div>//crlf//</conditional>//crlf////crlf//<div style=\\quot\\width:900px;height:10px\\quot\\></div>//crlf//__servertimerresults__//crlf////crlf//
^
ID=507001|X=1171|Y=0|W=175|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'346719')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>Aspect</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'167016')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=346719|X=1171|Y=22|W=694|H=473|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=507001|AttachLeft=|AlignLeft=507001|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<_include type:expression; expression:htmlConstant(\\quot\\IsSupport\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\if((true) and (left(encryptPassword(getToken(\\quot\\Aspect_BackOffice_PollPasswd\\quot\\) \\comma\\\\quot\\abc\\quot\\\\comma\\16)\\comma\\8)=getToken(\\quot\\AspectSupportNotificationPass\\quot\\))\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\false\\quot\\))>//crlf////crlf///***********************************************************************//crlf//Calls Aspect script to apply selected McLane item codes and sizes to ingr.dta//crlf//***********************************************************************///crlf//function applyMcLaneChanges(TableID\\comma\\StoreID\\comma\\b)//crlf//{//crlf////tab//if(b) {//crlf////tab////tab//showDialog(\\quot\\icon=true//amp//msg=Applying changes...//amp//left=300\\quot\\);//crlf////tab////tab//sFuncOk=\\quot\\applyChangesComplete(true\\comma\\'\\quot\\+TableID+\\quot\\'\\comma\\s)\\quot\\;//crlf////tab////tab//sFuncErr=\\quot\\applyChangesComplete(false\\comma\\'\\quot\\+TableID+\\quot\\'\\comma\\s)\\quot\\;//crlf//appendToLog(\\quot\\calling Aspect script applyMclaneSelectionsRemote\\quot\\\\comma\\true\\comma\\true);//crlf////tab////tab//loadContent(\\quot\\AspectScript\\quot\\\\comma\\\\quot\\action=applyMclaneSelectionsRemote//amp//StoreID=\\quot\\+StoreID\\comma\\sFuncOk\\comma\\sFuncErr);//crlf////tab////tab////loadContent(\\quot\\AspectScript\\quot\\\\comma\\\\quot\\action=applyMclaneSelections//amp//Source=\\quot\\+StoreID\\comma\\sFuncOk\\comma\\sFuncErr);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////confirm action//crlf////tab//var sMsg=\\quot\\Apply changes now?<br><br>\\quot\\;//crlf////tab//var sFuncOk=\\quot\\applyMcLaneChanges('\\quot\\+TableID+\\quot\\'\\comma\\'\\quot\\+StoreID+\\quot\\'\\comma\\true)\\quot\\;//crlf//appendToLog(\\quot\\sFuncOk=\\quot\\+sFuncOk\\comma\\false\\comma\\true);//crlf////tab//showDialog(\\quot\\msg=\\quot\\+sMsg+\\quot\\//amp//fnOk=\\quot\\+sFuncOk+\\quot\\//amp//fnCancel=close//amp//left=300\\quot\\);//crlf//};//crlf////crlf//function applyChangesComplete(b\\comma\\TableID\\comma\\msg)//crlf//{//crlf////tab////refresh the table//crlf////tab//if(b) refreshTable(TableID\\comma\\'refresh'\\comma\\'')//crlf////crlf////tab////show message//crlf////tab//var sMsg=msg;//crlf////tab//sMsg +=\\quot\\<br><br>\\quot\\;//crlf////tab//showDialog(\\quot\\msg=\\quot\\+sMsg+\\quot\\//amp//fnOk=close//amp//left=300\\quot\\);//crlf//};//crlf////crlf//function CustomerNumberChanged(e)//crlf//{//crlf////tab//var eIcon=document.getElementById(\\quot\\MclaneCustomerNoIcon\\quot\\);//crlf////crlf////tab//if(e.value.trim().length>0) {//crlf////tab////tab//eIcon.src=\\quot\\__ReuestServer__/?Network=GreenLight//amp//ID=getImage//amp//Filename=greenCheck12x12.png\\quot\\;//crlf////tab//}//crlf////tab//else {//crlf////tab////tab//eIcon.src=\\quot\\__ReuestServer__/?Network=GreenLight//amp//ID=getImage//amp//Filename=redX12x12.png\\quot\\;//crlf////tab//};//crlf//};//crlf////crlf///***********************************************************************//crlf//A dummy function used to provide compatibility when the widget is loaded by Aspect Support//crlf//***********************************************************************///crlf//function initializeSelectCompanyForm()//crlf//{//crlf//};//crlf////crlf//function customerSelected()//crlf//{//crlf////tab//var e=document.getElementById(\\quot\\select_customer\\quot\\);//crlf////tab//if(e) {//crlf////tab////tab//loadContent(\\quot\\mclane_setup\\quot\\\\comma\\\\quot\\CustomerID=\\quot\\+e.value);//crlf////tab//}//crlf////tab//else {//crlf////tab////tab//alert(\\quot\\McLane Setup: Cannot locate 'Select Customer'\\quot\\);//crlf////tab//};//crlf//};//crlf////crlf///***********************************************************************//crlf//Refreshes the local company list by contacting the server.  If the computer is at an office\\comma\\//crlf//the Aspect7 store list is also updated with any stores in the company list.//crlf//***********************************************************************///crlf//function refreshCompanyList(b)//crlf//{//crlf////tab//var eSpan=document.getElementById(\\quot\\refreshing_company_list\\quot\\);//crlf////tab//if(b) {//crlf////tab////tab//loadContent(\\quot\\651033\\quot\\\\comma\\\\quot\\\\quot\\);//crlf////tab////tab//return;//tab////crlf////tab//};//crlf////crlf////tab//eSpan.innerHTML=\\quot\\Updating...\\quot\\;//crlf////tab//var sFunc=\\quot\\refreshCompanyList(true)\\quot\\;//crlf////tab//var sUrl=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=execScript//amp//ScriptID=Aspect_BackOffice_updateCompanyList\\quot\\;//crlf////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf//<conditional expression:__IsSupport__>//crlf////tab//<conditional expression:false>//crlf////tab////tab//This include tag does not work because an html tag is added to the start of it.//crlf////tab////tab//This needs to be fixed.  The include tag using getContainerWidgetItem below is a workaround//crlf////tab////tab//<!-- include type:widget; server:{AspectHashID}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\js_select_company_and_store\\quot\\; params:\\quot\\selected=select_company_and_store~~pipe~~text=true//amp//nowrap=true\\quot\\;-->//crlf////tab//</conditional>//crlf////crlf////tab///***********************************************************************************//crlf////tab//Javascript for select company/store//crlf////tab//***********************************************************************************///crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab//sArgs=\\quot\\documentID=M2HDPGX49Sct3l6etItu5n1J//amp//widget=Support Home//amp//WidgetContainerItemID=js_select_company_and_store//amp//selected=select_company_and_store\\quot\\//crlf////tab////tab//sResult=scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs)//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>
^
ID=AspectScript|X=1171|Y=22|W=692|H=473|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=507001|AttachLeft=|AlignLeft=507001|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\applyMclaneSelectionsRemote\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab////tab//Calls applyMclaneSelections for the selected store//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\applyMclaneSelections\\quot\\; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\applyMclaneSelectionsRemote started.\\quot\\)//crlf////tab////tab//if(false)//crlf////tab////tab////tab//sUrl=\\quot\\__reqserv__/?Network=GreenLight//amp//ID=getWidget//amp//Source=__Source__//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=McLane Setup//amp//ContainerItemID=AspectScript//amp//action=applyMclaneSelections\\quot\\//crlf////tab////tab////tab//s=fileGetContent(sUrl)//crlf////tab////tab//endif//crlf////tab////tab//s=getWidget(\\quot\\Source=__StoreID__//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=McLane Setup//amp//ContainerItemID=AspectScript//amp//action=applyMclaneSelections\\quot\\)//crlf////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\applyMclaneSelections\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab////tab//Creates a vendor entry in each item for which a McLane selection has been made//crlf////tab////tab//and sets the new entry as the preferred vendor//crlf////tab//</conditional>//crlf////crlf////tab//<!include type:script; name:\\quot\\applyMclaneSelections\\quot\\; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\applyMclaneSelections started\\quot\\)//crlf////tab////tab//sActiveStoreCode=getToken(\\quot\\Aspect6ActiveStoreCode\\quot\\)//crlf////tab////tab//sActiveStoreDir=addDirSlash(lookup(Aspect6_Store_Directories_By_Code\\comma\\sActiveStoreCode))//crlf////tab////tab//iMcLaneVendorIndex=-1//crlf////crlf////tab////tab//if(fileExists(sActiveStoreDir+\\quot\\ingr.dta\\quot\\))//crlf////tab////tab////tab////get index of McLane vendor//crlf////tab////tab////tab//sFilename=sActiveStoreDir+\\quot\\vendors.dta\\quot\\//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Vendors\\comma\\drvVendors\\comma\\READ\\comma\\false\\comma\\\\quot\\Code=\\quot\\+sActiveStoreCode)//crlf////tab////tab////tab////tab//driverSetFilter(drvVendors\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//sFilter=\\quot\\startsWith(ID_TVENDORREC_NAME\\comma\\\\quot\\+quote(\\quot\\McLane\\quot\\)+\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//iMcLaneVendorIndex=driverFindRecordAbsolute(drvVendors\\comma\\0\\comma\\sFilter)//crlf////tab////tab////tab////tab//driverClose(drvVendors)//crlf////tab////tab////tab////tab//if(iMcLaneVendorIndex<0)//crlf////tab////tab////tab////tab////tab//s=\\quot\\Cannot locate vendor record for McLane in \\quot\\+sFilename//crlf////tab////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab////abort if a McLane vendor record was not found//crlf////tab////tab////tab////tab//s=\\quot\\Cannot locate vendor file for store code \\quot\\+sActiveStoreCode+ \\quot\\(\\quot\\+sFilename+\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////back up the file//crlf////tab////tab////tab//sIngrFilename=sActiveStoreDir+\\quot\\ingr.dta\\quot\\//crlf////tab////tab////tab//sBackupFilename=sActiveStoreDir+\\quot\\mclane_ingr_backup_\\quot\\+formatDate(now()\\comma\\\\quot\\MMddyyyy_HHmmss\\quot\\)+\\quot\\.dta\\quot\\//crlf////tab////tab////tab//fileCopy(sIngrFilename\\comma\\sBackupFilename)//crlf////tab////tab////tab//if((not(fileExists(sBackupFilename))) or (fileSize(sIngrFilename)<>fileSize(sBackupFilename)))//crlf////tab////tab////tab////tab////abort if the backup failed//crlf////tab////tab////tab////tab//s=\\quot\\Problem: Cannot make a backup of \\quot\\+sIngrFilename//crlf////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Items_By_Filename\\comma\\drvIngr\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Code=\\quot\\+sActiveStoreCode)//crlf////tab////tab////tab//sFilter=\\quot\\(not(ID_TRECIPEINFOREC_ISRECIPE)) and (not(ID_TINGREDIENTREC_DELETED)) and (len(McLane_Item_Code)\\quot\\+char(0x3E)+\\quot\\3)\\quot\\//crlf////tab////tab////tab//driverSetFilter(drvIngr\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//cUpdated=0//crlf////tab////tab////tab//c=driverGetRecordCount(drvIngr)//crlf////tab////tab////tab//appendToLog(\\quot\\Applying changes to \\quot\\+c+\\quot\\ records\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sMcLaneCode=trim(driverGetField(drvIngr\\comma\\\\quot\\McLane_Item_Code\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//if(len(sMcLaneCode)>0)//crlf////tab////tab////tab////tab////tab////determine which vendor record will become the McLane vendor//crlf////tab////tab////tab////tab////tab//iReplaceIndex=-1//crlf////tab////tab////tab////tab////tab//iMclane=-1//crlf////tab////tab////tab////tab////tab//iUnused=-1//crlf////tab////tab////tab////tab////tab//nVendIndex=1//crlf////tab////tab////tab////tab////tab//bDone=false//crlf////tab////tab////tab////tab////tab//while(nVendIndex<4)//crlf////tab////tab////tab////tab////tab////tab//iIndex=driverGetField(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[\\quot\\+nVendIndex+\\quot\\].ID_TVENDORINFOREC_INDEX\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//sCode=trim(driverGetField(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[\\quot\\+nVendIndex+\\quot\\].ID_TVENDORINFOREC_CODE\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//sReplaceCode=driverGetField(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[\\quot\\+nVendIndex+\\quot\\].ID_TVENDORINFOREC_CODE\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//if(iIndex=iMcLaneVendorIndex) //crlf////tab////tab////tab////tab////tab////tab////tab//iMclane=nVendIndex//crlf////tab////tab////tab////tab////tab////tab//elseif(iIndex=0)//crlf////tab////tab////tab////tab////tab////tab////tab//if(iUnused<0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//iUnused=nVendIndex//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//if((len(sCode)=0) or (sCode<>sReplaceCode))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//iReplaceIndex=nVendIndex//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//nVendIndex=nVendIndex + 1//crlf////tab////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////tab////select the best choice//crlf////tab////tab////tab////tab////tab//if(iMclane>0)//crlf////tab////tab////tab////tab////tab////tab//iReplaceIndex=iMclane//crlf////tab////tab////tab////tab////tab//elseif(iUnused>0)//crlf////tab////tab////tab////tab////tab////tab//iReplaceIndex=iUnused//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//iReplaceIndex=if(iReplaceIndex<0\\comma\\3\\comma\\iReplaceIndex)//crlf////crlf////tab////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[\\quot\\+iReplaceIndex+\\quot\\].ID_TVENDORINFOREC_INDEX\\quot\\\\comma\\n\\comma\\iMcLaneVendorIndex)//crlf////tab////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[\\quot\\+iReplaceIndex+\\quot\\].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_PREFIX\\quot\\\\comma\\n\\comma\\driverGetField(drvIngr\\comma\\\\quot\\McLane_Size_Prefix\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[\\quot\\+iReplaceIndex+\\quot\\].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\quot\\\\comma\\n\\comma\\driverGetField(drvIngr\\comma\\\\quot\\McLane_Size_Sz\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[\\quot\\+iReplaceIndex+\\quot\\].ID_TVENDORINFOREC_CODE\\quot\\\\comma\\n\\comma\\sMcLaneCode)//crlf////tab////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_PREF_VENDOR\\quot\\\\comma\\n\\comma\\(iReplaceIndex-1))//crlf////tab////tab////tab////tab////tab//cUpdated=cUpdated  + 1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(drvIngr)//crlf////tab////tab////tab//scriptExec(Aspect_BackOffice_Status\\comma\\false)//crlf////tab////tab////tab//s=\\quot\\Apply changes complete.  Updated \\quot\\+cUpdated+\\quot\\ items\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab//else//crlf////tab////tab////tab//s=\\quot\\Problem.  Cannot locate \\quot\\+sActiveStoreDir+\\quot\\ingr.dta\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//
^
ID=167016|X=1171|Y=22|W=692|H=473|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=507001|AttachLeft=|AlignLeft=507001|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=Notes
^
ID=debug_console|X=1171|Y=495|W=693|H=456|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=346719|AttachLeft=|AlignLeft=346719|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|
^
ID=651033|X=161|Y=15|W=722|H=101|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=initializeSelectCompanyForm();|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<_include type:expression; expression:htmlConstant(\\quot\\IsSupport\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\if((true) and (left(encryptPassword(getToken(\\quot\\Aspect_BackOffice_PollPasswd\\quot\\) \\comma\\\\quot\\abc\\quot\\\\comma\\16)\\comma\\8)=getToken(\\quot\\AspectSupportNotificationPass\\quot\\))\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\false\\quot\\))>//crlf////crlf//<conditional expression:__IsSupport__>//crlf////tab//<include type:widget; server:{AspectHashID}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\select_company_and_store\\quot\\; params:\\quot\\selected=select_company_and_store\\quot\\;>//crlf//</conditional>//crlf////crlf//<conditional expression:not(__IsSupport__)>//crlf////tab//<conditional expression:getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)=\\quot\\office\\quot\\>//crlf////tab////tab//<select name=\\quot\\select_company\\quot\\ style=\\quot\\display:none\\quot\\></select>//crlf////tab////tab//Store {@htmlSelect(\\quot\\Aspect_BackOffice_Store_Name_By_HashID\\quot\\\\comma\\\\quot\\select_customer\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\ID='select_customer' onChange='customerSelected()'\\quot\\\\comma\\\\quot\\\\quot\\)}//crlf////tab////tab//<img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh.png\\quot\\ onClick=\\quot\\refreshCompanyList()\\quot\\ style=\\quot\\position:relative;top:5px;left:0px\\quot\\ {@htmlTooltip(\\quot\\Click to update list of stores\\quot\\)}>//crlf////tab////tab//<span ID=\\quot\\refreshing_company_list\\quot\\></span>//crlf////tab//</conditional>//crlf////tab//<conditional expression:not(getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)=\\quot\\office\\quot\\)>//crlf////tab////tab//<select name=\\quot\\select_company\\quot\\ style=\\quot\\display:none\\quot\\></select>//crlf////tab////tab//<select name=\\quot\\select_customer\\quot\\ style=\\quot\\display:none\\quot\\></select>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<!-- Add space so the item is still accessible if running at a store -->//crlf//<div style=\\quot\\width:800px;height:5px\\quot\\></div>
</widget><widget name="Stores 2012" group="Back-Office" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Stores 2012" modified="08-06-2014 11:15:40" modifiedby="Keith-Dell2" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-02-2014 18:40:24:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=26|toolboxy=386|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Stores 2012.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=347|H=14|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:h0BE4ziTlLytqKxtWLMy5CVY; widget:Backoffice Home; containerItemID:\\quot\\top_bar\\quot\\; params:\\quot\\\\quot\\;>
^
ID=left_bar|X=0|Y=22|W=176|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:h0BE4ziTlLytqKxtWLMy5CVY; widget:Backoffice Home; containerItemID:\\quot\\left_bar\\quot\\; params:\\quot\\startpackage=__startpackage__~~pipe~~package={@\\quot\\__package__\\quot\\}~~pipe~~menu=__menu__\\quot\\;>//crlf//
^
ID=899568|X=183|Y=22|W=761|H=559|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=LeftBarComputer|DefaultSource=true|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:\\quot\\htmlConstant(\\apos\\salt\\apos\\\\comma\\\\apos\\__\\apos\\\\comma\\getSalt(6))\\quot\\>//crlf////crlf//<table class=\\apos\\tabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\tab_stores\\apos\\)\\quot\\>Stores</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\tab_store_groups\\apos\\)\\quot\\>Store Groups</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\tab_time_periods\\apos\\)\\quot\\>Time Periods</span></td>//crlf////tab//</tr>//crlf//</table>//crlf////crlf//<div ID=\\quot\\tab_stores\\quot\\>//crlf////tab//<h2>Stores</h2>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_BackOffice_Store\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_BackOffice_Store\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\Name\\quot\\;//crlf////tab////tab//display:\\quot\\none\\quot\\;//crlf////tab////tab//fields: \\quot\\Store_Name\\comma\\Code\\comma\\Store_Directory\\comma\\Create_Aspect6_Import_Files\\comma\\Enable_POS_Import\\comma\\POS_Type\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//sort: \\quot\\Store_Name\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\100\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Driver Dialogs~~pipe~~Aspect_BackOffice_Store~~pipe~~Aspect7Store~~pipe~~__Salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</div>//crlf////crlf//<div ID=\\quot\\tab_store_groups\\quot\\>//crlf////tab//<h2>Store Groups</h2>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_BackOffice_Store_Group\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_BackOffice_Store_Group\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\Name\\quot\\;//crlf////tab////tab//display:\\quot\\none\\quot\\;//crlf////tab////tab//fields: \\quot\\Name\\comma\\Description\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//sort: \\quot\\Store_Name\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\100\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Driver Dialogs~~pipe~~Aspect_BackOffice_Store_Group~~pipe~~Aspect7StoreGroup~~pipe~~__Salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</div>//crlf////crlf//<div ID=\\quot\\tab_time_periods\\quot\\>//crlf////tab//<h2>Time Periods</h2>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect_BackOffice_Time_Period\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_BackOffice_Time_Periods\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\Name\\quot\\;//crlf////tab////tab//display:\\quot\\none\\quot\\;//crlf////tab////tab//fields: \\quot\\Name\\comma\\Time_Start\\comma\\Time_End\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//sort: \\quot\\Store_Name\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\100\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Driver Dialogs~~pipe~~Aspect_BackOffice_Time_Periods~~pipe~~Aspect7TimePeriod~~pipe~~__Salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</div>//crlf////crlf//<div style=\\quot\\height:600px;width:100px\\quot\\></div>//crlf//
</widget><widget name="Aspect6 Sales Mix" group="Back-Office" category="Aspect6" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Aspect6 Sales Mix" modified="08-07-2014 15:02:25" modifiedby="Keith-Dell2" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-02-2014 18:40:24:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=1172|toolboxy=242|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Aspect6 Sales Mix.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=select_group_and_store|X=183|Y=29|W=900|H=703|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=651033|AttachLeft=|AlignLeft=651033|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=LeftBarComputer|DefaultSource=true|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false -->//crlf////crlf//<state>//crlf////tab//__LeftBarComputer__//crlf////tab//__StoreGroup__//crlf////tab//__Store__//crlf////tab//__MenuGroup__//crlf////tab//__From__//crlf////tab//__To__//crlf////tab//debug=true//crlf//</state>//crlf////crlf//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\select_customer\\quot\\ value=\\quot\\{AspectHashID}\\quot\\>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\StoreGroup\\quot\\\\comma\\\\quot\\__StoreGroup__\\quot\\\\comma\\\\quot\\0\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Store\\quot\\\\comma\\\\quot\\__Store__\\quot\\\\comma\\\\quot\\0\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\MenuGroup\\quot\\\\comma\\\\quot\\__MenuGroup__\\quot\\\\comma\\\\quot\\0\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\From\\quot\\\\comma\\\\quot\\__From__\\quot\\\\comma\\formatDate(now()\\comma\\\\quot\\MM-01-yyyy\\quot\\))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\To\\quot\\\\comma\\\\quot\\__To__\\quot\\\\comma\\formatDate(incrementTime(now()\\comma\\-1)\\comma\\\\quot\\MM-dd-yyyy\\quot\\))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\aFrom\\quot\\\\comma\\\\quot\\__From__\\quot\\\\comma\\\\quot\\10-01-2012\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\aTo\\quot\\\\comma\\\\quot\\__To__\\quot\\\\comma\\\\quot\\10-01-2012\\quot\\)>//crlf////crlf////tab//<form name=\\quot\\report_options\\quot\\>//crlf////tab////tab//<table>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Store Group</td>//crlf////tab////tab////tab////tab//<td>{@htmlSelect(\\quot\\Aspect_BackOffice_Store_Group_By_ID_With_All\\quot\\\\comma\\\\quot\\select_group\\quot\\\\comma\\\\quot\\__StoreGroup__\\quot\\\\comma\\\\quot\\ID='select_group' style='width:200px' onChange='storeGroupSelected()'\\quot\\\\comma\\\\quot\\KeyExpression=ID\\quot\\)}</td>//crlf////tab////tab////crlf////tab////tab////tab////tab//<td>Menu Group</td>//crlf////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab//<select ID=\\quot\\select_menu_group\\quot\\ style='width:200px' onChange=\\quot\\menuGroupSelected()\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\initialize select box - select_menu_group\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect6 Utilities//amp//ContainerItemID=collections\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//query=getConsolidatedMenuCategoryOptions\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//StoreGroup=__StoreGroup__//amp//Store=__store__//amp//menugroup=__menugroup__\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(getWidget(sArgs))//crlf////tab////tab////tab////tab////tab////tab//\\quot\\>//crlf////tab////tab////tab////tab////tab//</select>//crlf////tab////tab////tab////tab//</td>//crlf////tab////tab////crlf////tab////tab////tab////tab//<td>From</td>//crlf////tab////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ ID=\\quot\\date_from\\quot\\ name=\\quot\\from\\quot\\ value=\\quot\\__From__\\quot\\ style=\\quot\\width:95px\\quot\\ control='date'></td>//crlf////crlf////tab////tab////tab////tab//<td>//amp//nbsp;</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Store</td>//crlf////tab////tab////tab////tab//<td>{@htmlSelect(\\quot\\Aspect_BackOffice_Store_Name_By_ID_With_All\\quot\\\\comma\\\\quot\\select_store\\quot\\\\comma\\\\quot\\__Store__\\quot\\\\comma\\\\quot\\ID='select_store' style='width:200px' onChange='storeSelected()'\\quot\\\\comma\\\\quot\\KeyExpression=ID\\quot\\\\comma\\\\quot\\(\\quot\\+quote(\\quot\\__StoreGroup__\\quot\\)+\\quot\\=\\quot\\+quote(\\quot\\0\\quot\\)+\\quot\\) or (pos(\\quot\\+quote(\\quot\\__StoreGroup__\\quot\\)+\\quot\\\\comma\\Store_Group)>=0)\\quot\\)}</td>//crlf////tab////crlf////tab////tab////tab////tab//<td>Menu Item</td>//crlf////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab//<select ID=\\quot\\select_menu_item\\quot\\ style='width:200px'>//crlf////tab////tab////tab////tab////tab////tab//<!include type:script; name:\\quot\\getMenuItemOptions\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////if((\\quot\\__MenuGroup__\\quot\\=\\quot\\0\\quot\\) or ((\\quot\\__StoreGroup__\\quot\\=\\quot\\0\\quot\\) and (\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab//if(\\quot\\__MenuGroup__\\quot\\=\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s=char(0x3c)+\\quot\\option value='0'\\quot\\+char(0x3e)+\\quot\\-- All Menu Items -- \\quot\\+char(0x3c)+\\quot\\/option\\quot\\+char(0x3e)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect6 Utilities//amp//ContainerItemID=collections\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//query=getConsolidatedMenuItemOptions\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//StoreGroup=__StoreGroup__//amp//Store=__store__//amp//menugroup=__menugroup__//amp//menuitem=__menuitem__\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(getWidget(sArgs))//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//\\quot\\>//crlf////tab////tab////tab////tab////tab//</select>//crlf////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////crlf////tab////tab////tab////tab//<td>To</td>//crlf////tab////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ ID=\\quot\\date_to\\quot\\ name=\\quot\\to\\quot\\ value=\\quot\\__To__\\quot\\ style=\\quot\\width:95px\\quot\\ control='date'></td>//crlf////crlf////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Create Report\\quot\\ onClick=\\quot\\createSalesMixReport()\\quot\\>//crlf////tab////tab////tab////tab//</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////crlf////tab//</form>//crlf//</conditional>//crlf////crlf//__servertimerresults__//crlf//
^
ID=top_bar|X=0|Y=0|W=347|H=14|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:h0BE4ziTlLytqKxtWLMy5CVY; widget:Backoffice Home; containerItemID:\\quot\\top_bar\\quot\\; params:\\quot\\\\quot\\;>
^
ID=left_bar|X=0|Y=22|W=176|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:h0BE4ziTlLytqKxtWLMy5CVY; widget:Backoffice Home; containerItemID:\\quot\\left_bar\\quot\\; params:\\quot\\startpackage=__startpackage__~~pipe~~package={@\\quot\\__package__\\quot\\}~~pipe~~menu=__menu__\\quot\\;>//crlf//
^
ID=code|X=300|Y=100|W=1200|H=21|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'878768')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>Aspect</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'984769')\\quot\\>Notes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=878768|X=300|Y=122|W=793|H=735|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<_include type:expression; expression:htmlConstant(\\quot\\IsSupport\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\if((false) and (isPackageLoaded(\\quot\\Aspect_Support\\quot\\)) and (left(encryptPassword(getToken(\\quot\\Aspect_BackOffice_PollPasswd\\quot\\) \\comma\\\\quot\\abc\\quot\\\\comma\\16)\\comma\\8)=getToken(\\quot\\AspectSupportNotificationPass\\quot\\))\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\false\\quot\\))>//crlf////crlf//initializeContainer();//crlf////crlf////crlf//function initializeContainer()//crlf//{//crlf////tab////abort and try again in a second if the select_group_and_store item has not been loaded yet//crlf////tab//if((!document.getElementById(\\quot\\select_group\\quot\\)) ~~pipe~~~~pipe~~ (!document.getElementById(\\quot\\select_customer\\quot\\))) {//crlf////tab////tab//setTimeout(\\quot\\initializeContainer()\\quot\\\\comma\\1000);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//initializeSelectCompanyForm();//crlf//};//crlf////crlf//function getSelectedCustomer() {return(document.getElementById(\\quot\\select_customer\\quot\\).value);};//crlf//function getSelectedStoreGroup() {return(document.getElementById(\\quot\\select_group\\quot\\).value);};//crlf//function getSelectedStore() {return(document.getElementById(\\quot\\select_store\\quot\\).value);};//crlf//function getDateFrom() {return(document.getElementById(\\quot\\date_from\\quot\\).value);}//crlf//function getDateTo() {return(document.getElementById(\\quot\\date_to\\quot\\).value);}//crlf//function getSelectedMenuGroup() {return(document.getElementById(\\quot\\select_menu_group\\quot\\).value);}//crlf//function getSelectedMenuItem() {return(document.getElementById(\\quot\\select_menu_item\\quot\\).value);}//crlf////crlf//function getSelections()//crlf//{//crlf////tab//var sArgs=\\quot\\CustomerID=\\quot\\+getSelectedCustomer();//crlf////tab//sArgs +=\\quot\\//amp//StoreGroup=\\quot\\+getSelectedStoreGroup()+\\quot\\//amp//Store=\\quot\\+getSelectedStore();//crlf////tab//sArgs +=\\quot\\//amp//From=\\quot\\+getDateFrom()+\\quot\\//amp//To=\\quot\\+getDateTo();//crlf////tab//sArgs +=\\quot\\//amp//MenuGroup=\\quot\\+getSelectedMenuGroup()+\\quot\\//amp//MenuItem=\\quot\\+getSelectedMenuItem();//crlf////tab//return(sArgs);//crlf//};//crlf////crlf///*************************************************************************//crlf//Enables or disables the menu item select box depending on whether a menu//crlf//group is selected//crlf//*************************************************************************///crlf//function selectionsLoaded()//crlf//{//crlf////tab//var eSelectMenuItem=document.getElementById(\\quot\\select_menu_item\\quot\\);//crlf////tab//if(eSelectMenuItem) {//crlf////tab////tab//if(getSelectedMenuGroup()==\\quot\\0\\quot\\) {//crlf////tab////tab////tab//eSelectMenuItem.value=\\quot\\0\\quot\\;//crlf////tab////tab////tab//eSelectMenuItem.disabled=true;//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//eSelectMenuItem.disabled=false;//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab////remove overlay//crlf////tab//var e=document.getElementById(\\quot\\disable_selections\\quot\\);//crlf////tab//if(e) e.parentNode.removeChild(e);//crlf//};//crlf////crlf//function disableSelections()//crlf//{//crlf////tab//applyOverlay(document.getElementById(\\quot\\select_group_and_store\\quot\\)\\comma\\\\quot\\disable_selections\\quot\\);//crlf//};//crlf////crlf//function storeGroupSelected()//crlf//{//crlf////tab//disableSelections();//crlf////tab//var sFunc=\\quot\\selectionsLoaded()\\quot\\;//crlf////tab//loadContent(\\quot\\select_group_and_store\\quot\\\\comma\\getSelections()\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf//function storeSelected()//crlf//{//crlf////tab//disableSelections();//crlf////tab//var sFunc=\\quot\\selectionsLoaded()\\quot\\;//crlf////tab//loadContent(\\quot\\select_group_and_store\\quot\\\\comma\\getSelections()\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf//function menuGroupSelected()//crlf//{//crlf////tab//disableSelections();//crlf////tab//var sFunc=\\quot\\selectionsLoaded()\\quot\\;//crlf////tab//loadContent(\\quot\\select_group_and_store\\quot\\\\comma\\getSelections()\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf//function createSalesMixReport(b)//crlf//{//crlf////tab//if(b){//crlf////tab////tab//var e=document.getElementById(\\quot\\disable_selections\\quot\\);//crlf////tab////tab//e.parentNode.removeChild(e);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//disableSelections();//crlf////tab//var sFunc=\\quot\\createSalesMixReport(true)\\quot\\;//crlf////tab//loadContent(\\quot\\report_output\\quot\\\\comma\\getSelections()\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf//function customerSelected()//crlf//{//crlf////tab//var e=document.getElementById(\\quot\\select_customer\\quot\\);//crlf////tab//if(e) {//crlf////tab////tab//disableSelections();//crlf////tab////tab//var sFunc=\\quot\\selectionsLoaded()\\quot\\;//crlf////tab////tab//loadContent(\\quot\\select_group_and_store\\quot\\\\comma\\\\quot\\CustomerID=\\quot\\+e.value\\comma\\sFunc\\comma\\sFunc);//crlf////tab//}//crlf////tab//else {//crlf////tab////tab//alert(\\quot\\Cannot locate 'Select Customer'\\quot\\);//crlf////tab//};//crlf//};//crlf////crlf///***********************************************************************//crlf//Refreshes the local company list by contacting the server.  If the computer is at an office\\comma\\//crlf//the Aspect7 store list is also updated with any stores in the company list.//crlf//***********************************************************************///crlf//function refreshCompanyList(b)//crlf//{//crlf////tab//var eSpan=document.getElementById(\\quot\\refreshing_company_list\\quot\\);//crlf////tab//if(b) {//crlf////tab////tab//loadContent(\\quot\\651033\\quot\\\\comma\\\\quot\\\\quot\\);//crlf////tab////tab//return;//tab////crlf////tab//};//crlf////crlf////tab//eSpan.innerHTML=\\quot\\Updating...\\quot\\;//crlf////tab//var sFunc=\\quot\\refreshCompanyList(true)\\quot\\;//crlf////tab//var sUrl=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=execScript//amp//ScriptID=Aspect_BackOffice_updateCompanyList\\quot\\;//crlf////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf//<conditional expression:not(__IsSupport__)>//crlf////tab//function initializeSelectCompanyForm()//crlf////tab//{//crlf////tab//};//crlf//</conditional>//crlf////crlf//<conditional expression:__IsSupport__>//crlf////tab//<conditional expression:false>//crlf////tab////tab//This include tag does not work because an html tag is added to the start of it.//crlf////tab////tab//This needs to be fixed.  The include tag using getContainerWidgetItem below is a workaround//crlf////tab////tab//<!-- include type:widget; server:{AspectHashID}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\js_select_company_and_store\\quot\\; params:\\quot\\selected=select_company_and_store~~pipe~~text=true//amp//nowrap=true\\quot\\;-->//crlf////tab//</conditional>//crlf////crlf////tab///***********************************************************************************//crlf////tab//Javascript for select company/store//crlf////tab//***********************************************************************************///crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sArgs=\\quot\\documentID=M2HDPGX49Sct3l6etItu5n1J//amp//widget=Support Home//amp//WidgetContainerItemID=js_select_company_and_store//amp//selected=select_company_and_store\\quot\\//crlf////tab////tab//sResult=scriptExec(Aspect_Common_getContainerWidgetItem\\comma\\true\\comma\\sArgs)//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>
^
ID=AspectScript|X=300|Y=122|W=793|H=735|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\openSalesMixConsolidatedVertByMenuItem\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//==================================================================//crlf////tab//scriptDriver routine to open consolidated sales mix report.  The driver contains total quantity//crlf////tab//and dollar sales by store and menu item for a given range of dates.  Values for each date are//crlf////tab//accumulated and a single record is included for each store/menu item.//crlf////tab//Params://crlf////tab//Group - The ID of the selected store group (or 0 for all)//crlf////tab//Store - The ID of the selected store (or 0 for all)//crlf////tab//From - Start date (mm-dd-yyyy)//crlf////tab//To - End date (mm-dd-yyyy)//crlf////tab//MenuGroup - Name of the selected menu group (or 0 for all)//crlf////tab//MenuItem - Name of the selected menu item (or 0 for all)//crlf////tab//==================================================================//crlf////tab//</conditional>//crlf////tab////crlf////tab//<!include type:script; name:\\quot\\openSalesMixConsolidatedVertByMenuItem\\quot\\; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Aspect6_openSalesMixConsolidatedVertByMenuItem started \\quot\\\\plus\\dateNumber(now()))//crlf////tab////tab//profile()//crlf////tab////tab//dtNow=now()//crlf////tab////tab//sGroup=\\quot\\__group__\\quot\\//crlf////tab////tab//sStore=\\quot\\__store__\\quot\\//crlf////tab////tab//dtFrom=parseTime(\\quot\\__From__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//dtTo=parseTime(\\quot\\__To__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//sMenuGroupName=\\quot\\__MenuGroup__\\quot\\//crlf////tab////tab//sMenuItemName=\\quot\\__MenuItem__\\quot\\//crlf////tab////tab//appendToLog(\\quot\\MenuGroupName=\\quot\\\\plus\\sMenuGroupName\\plus\\\\quot\\ MenuItemName=\\quot\\\\plus\\sMenuItemName)//crlf////tab////tab////get array of selected stores if \\quot\\all\\quot\\ is selected or set it to the selected store otherwise//crlf////tab////tab//arStore=sStore//crlf////tab////tab//if(sStore=\\quot\\0\\quot\\)//crlf////tab////tab////tab//arStore=scriptExec(Aspect_BackOffice_getStoresInGroup\\comma\\true\\comma\\\\quot\\Return=ID\\amp\\StoreGroup=\\quot\\\\plus\\sGroup)//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if no stores selected//crlf////tab////tab//cStore=getElementCount(arStore\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\arStore=\\quot\\\\plus\\arStore\\plus\\\\quot\\ cStore=\\quot\\\\plus\\cStore)//crlf////tab////tab//if(cStore=0)//crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6_openSalesMixConsolidatedVertByMenuItem aborted because no stores selected\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////open system driver//crlf////tab////tab//sDriverName=getSalt(8)//crlf////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\salesmixcons\\quot\\\\plus\\getSalt(4)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//sParams=\\quot\\Filename=\\quot\\\\plus\\sFilename//crlf////tab////tab//driverOpen(Aspect6_SalesMix_Consolidated_Vert_By_Menu_Item\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\sParams)//crlf////crlf////tab////tab////initialize hashtable used to locate records//crlf////tab////tab//hashCreate(hRecords)//crlf////tab////tab//hashCreate(hQuantity)//crlf////tab////tab//hashCreate(hDollars)//crlf////tab////tab//cNoQuantity=0//crlf////tab////tab//nStore=0//crlf////tab////tab//while(nStore<cStore)//crlf////tab////tab////tab//sStoreID=getElement(arStore\\comma\\nStore\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//sStoreCode=lookup(Aspect_BackOffice_Store_Code_By_ID\\comma\\sStoreID)//crlf////tab////tab////tab//sStoreDir=addDirSlash(lookup(Aspect6_Store_Directories_By_Code\\comma\\sStoreCode))//crlf////tab////tab////tab//appendToLog(\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\ Code=\\quot\\\\plus\\sStoreCode)//crlf////crlf////tab////tab////tab////concatename all mix files into a single file to be read.  The temp file must be created in the store//crlf////tab////tab////tab////directory so lookups for category names and other fields work properly//crlf////tab////tab////tab//sConcatFilename=sStoreDir\\plus\\getSalt(6)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab////tab//arFiles=\\quot\\\\quot\\//crlf////tab////tab////tab//dt=dtFrom//crlf////tab////tab////tab//while(dt<=dtTo)//crlf////tab////tab////tab////tab//sFilename=addDirSlash(lookup(Aspect6_Store_Directories_By_Code\\comma\\sStoreCode))\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\\\quot\\.mix\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Adding file: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab//arFiles=addElement(arFiles\\comma\\sFilename\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////s=fileGetContent(sFilename\\comma\\290\\comma\\fileSize(sFilename)-290)//crlf////tab////tab////tab////tab////tab////fileWriteContent(sConcatFilename\\comma\\s\\comma\\true)//crlf////tab////tab////tab////tab////tab////fileCopy(sFilename\\comma\\sConcatFilename\\comma\\true\\comma\\true)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Cannot locate: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//appendToLog(\\quot\\Concatenating: \\quot\\\\plus\\arFiles)//crlf////tab////tab////tab//fileConcat(sConcatFilename\\comma\\arFiles\\comma\\290)//crlf////tab////tab////tab//appendToLog(\\quot\\Size of \\quot\\\\plus\\sConcatFilename\\plus\\\\quot\\=\\quot\\\\plus\\fileSize(sConcatFilename)\\plus\\\\quot\\ bytes\\quot\\)//crlf////crlf////tab////tab////tab////sDriverParams=\\quot\\Code=\\quot\\\\plus\\sStoreCode\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yy\\quot\\)//crlf////tab////tab////tab////appendToLog(\\quot\\Opening sales mix Params=\\quot\\\\plus\\sDriverParams)//crlf////tab////tab////tab//sDriverParams=\\quot\\filename=\\quot\\\\plus\\sConcatFilename//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Sales_Mix_By_Filename\\comma\\dMix\\comma\\READ\\comma\\false\\comma\\sDriverParams)//crlf////tab////tab////tab//sFilter=\\quot\\(Sold\\quot\\\\plus\\char(0x3e)\\plus\\\\quot\\0)\\quot\\//crlf////tab////tab////tab//if((sMenuGroupName<>\\quot\\0\\quot\\) or (sMenuItemName<>\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Recipes_By_Filename\\comma\\dRecipe\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sStoreDir\\plus\\\\quot\\recipe.dta\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////make a collection of group indices to be included if a group name is specified//crlf////tab////tab////tab//if(sMenuGroupName<>\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab//s=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Recipe_Groups_By_Filename\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sStoreDir\\plus\\\\quot\\recpgrp.dta\\quot\\)//crlf////tab////tab////tab////tab//r=-1//crlf////tab////tab////tab////tab//do//crlf////tab////tab////tab////tab////tab//r=driverFindRecordAbsolute(d\\comma\\r\\plus\\1\\comma\\\\quot\\ID_TRECIPEGROUPREC_NAME=\\quot\\\\plus\\quote(sMenuGroupName))//crlf////tab////tab////tab////tab////tab//s=s \\plus\\ if(r>=0\\comma\\\\quot\\~~pipe~~\\quot\\\\plus\\r\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//loop(r>=0)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab////tab////add indices of all recipes that belong to the group to the filter//crlf////tab////tab////tab////tab//driverSetFilter(dRecipe\\comma\\\\quot\\pos(\\quot\\\\plus\\quote(\\quot\\~~pipe~~\\quot\\)\\plus\\\\quot\\\\plus\\ID_TRECIPEHDRREC_GROUP\\plus\\\\quot\\\\plus\\quote(\\quot\\~~pipe~~\\quot\\)\\plus\\char(0x2c)\\plus\\quote(s\\plus\\\\quot\\~~pipe~~\\quot\\)\\plus\\\\quot\\)\\quot\\\\plus\\char(0x3e)\\plus\\\\quot\\=0\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//s=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//c=driverGetRecordCount(dRecipe)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//s=s \\plus\\ \\quot\\~~pipe~~\\quot\\ \\plus\\driverGetField(dRecipe\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//sFilter=sFilter \\plus\\ \\quot\\ and (pos(\\quot\\\\plus\\quote(\\quot\\~~pipe~~\\quot\\)\\plus\\\\quot\\\\plus\\ID_TSALESMIXREC_INDEX\\plus\\\\quot\\\\plus\\quote(\\quot\\~~pipe~~\\quot\\)\\plus\\char(0x2c)\\plus\\quote(s\\plus\\\\quot\\~~pipe~~\\quot\\)\\plus\\\\quot\\)\\quot\\\\plus\\char(0x3e)\\plus\\\\quot\\=0)\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////make collection of recipe indices to be included if a menu item name is specified//crlf////tab////tab////tab//if(sMenuItemName<>\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab//s=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//r=-1//crlf////tab////tab////tab////tab//do//crlf////tab////tab////tab////tab////tab//r=driverFindRecordAbsolute(dRecipe\\comma\\r\\plus\\1\\comma\\\\quot\\ID_TRECIPEHDRREC_NAME1=\\quot\\\\plus\\quote(sMenuItemName))//crlf////tab////tab////tab////tab////tab//s=s \\plus\\ if(r>=0\\comma\\\\quot\\~~pipe~~\\quot\\\\plus\\r\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//loop(r>=0)//crlf////tab////tab////tab////tab//sFilter=sFilter \\plus\\ \\quot\\ and (pos(\\quot\\\\plus\\quote(\\quot\\~~pipe~~\\quot\\)\\plus\\\\quot\\\\plus\\ID_TSALESMIXREC_INDEX\\plus\\\\quot\\\\plus\\quote(\\quot\\~~pipe~~\\quot\\)\\plus\\char(0x2c)\\plus\\quote(s\\plus\\\\quot\\~~pipe~~\\quot\\)\\plus\\\\quot\\)\\quot\\\\plus\\char(0x3e)\\plus\\\\quot\\=0)\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(driverIsOpen(dRecipe))//crlf////tab////tab////tab////tab//driverClose(dRecipe)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\sFilter=\\quot\\\\plus\\sFilter)//crlf////tab////tab////tab//driverSetFilter(dMix\\comma\\sFilter\\comma\\true)//crlf////crlf////tab////tab////tab//c=driverGetRecordCount(dMix)//crlf////tab////tab////tab////appendToLog(\\quot\\sales mix records=\\quot\\\\plus\\c\\plus\\\\quot\\ absolute=\\quot\\\\plus\\driverGetRecordCount(dMix\\comma\\true))//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//iItemIndex=driverGetField(dMix\\comma\\\\quot\\ID_TSALESMIXREC_INDEX\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//iQuantity=driverGetField(dMix\\comma\\\\quot\\Sold\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(iQuantity>0)//crlf////tab////tab////tab////tab////tab//sHashKey=sStoreCode\\plus\\\\quot\\_\\quot\\\\plus\\iItemIndex//crlf////crlf////tab////tab////tab////tab////tab//if(not(hashContainsKey(hRecords\\comma\\sHashKey)))//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(sDriverName)//crlf////tab////tab////tab////tab////tab////tab//driverPutField(sDriverName\\comma\\\\quot\\Store_ID\\quot\\\\comma\\r\\comma\\sStoreID)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDriverName\\comma\\\\quot\\Menu_Item_Number\\quot\\\\comma\\r\\comma\\driverGetField(dMix\\comma\\\\quot\\MenuItemID\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDriverName\\comma\\\\quot\\Group_Name\\quot\\\\comma\\r\\comma\\driverGetField(dMix\\comma\\\\quot\\CategoryName\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(sDriverName\\comma\\\\quot\\Menu_Item_Name\\quot\\\\comma\\r\\comma\\driverGetField(dMix\\comma\\\\quot\\Item_Name\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//hashPut(hRecords\\comma\\sHashKey\\comma\\r)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//dDollars=driverGetField(dMix\\comma\\\\quot\\Net_Sales\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//hashPut(hQuantity\\comma\\sHashKey\\comma\\value(hashGet(hQuantity\\comma\\sHashKey))\\plus\\iQuantity)//crlf////tab////tab////tab////tab////tab//hashPut(hDollars\\comma\\sHashKey\\comma\\value(hashGet(hDollars\\comma\\sHashKey))\\plus\\dDollars)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//cNoQuantity=cNoQuantity\\plus\\1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(dMix)//crlf////tab////tab////tab//fileDelete(sConcatFilename)//crlf////tab////tab////tab//nStore=nStore\\plus\\1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab////record the totals//crlf////tab////tab//arKey=hashGetKeys(hRecords)//crlf////tab////tab//c=getElementCount(arKey)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sHashKey=getElement(arKey\\comma\\n)//crlf////tab////tab////tab//r=hashGet(hRecords\\comma\\sHashKey)//crlf////tab////tab////tab//driverPutFieldAbsolute(sDriverName\\comma\\\\quot\\Quantity_Sold\\quot\\\\comma\\r\\comma\\hashGet(hQuantity\\comma\\sHashKey))//crlf////tab////tab////tab//driverPutFieldAbsolute(sDriverName\\comma\\\\quot\\Dollars_Sold\\quot\\\\comma\\r\\comma\\hashGet(hDollars\\comma\\sHashKey))//crlf////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//iElapsed=now()-dtNow//crlf////tab////tab//appendToLog(\\quot\\Aspect6_openSalesMixConsolidatedVertByMenuItem complete.  \\quot\\\\plus\\iElapsed\\plus\\\\quot\\ms\\quot\\)//crlf////tab////tab//scriptSetResult(sDriverName)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//
^
ID=984769|X=300|Y=122|W=793|H=735|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=debug_console|X=300|Y=122|W=793|H=735|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=report_output|X=183|Y=98|W=900|H=21|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_group_and_store|AttachLeft=|AlignLeft=select_group_and_store|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!----------------------------------------------------------------------------------------------------------//crlf//Method 1: A Customer ID is specified and data is retrieved from a remote computer //crlf//------------------------------------------------------------------------------------------------------------>//crlf//<conditional expression:not(startsWith(\\quot\\__CustomerID__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////tab//<conditional expression:(\\quot\\__CustomerID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab////tab//<p>No customer selected</p>//crlf////tab//</conditional>//crlf////tab//<conditional expression:not(\\quot\\__CustomerID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab////tab//<!include type:widget; server:__CustomerID__; secure:false; documentID:h0BE4ziTlLytqKxtWLMy5CVY; widget:Aspect6 Sales Mix; containerItemID:\\quot\\report_output\\quot\\; params:\\quot\\StoreGroup=__StoreGroup__~~pipe~~Store=__Store__~~pipe~~From=__From__~~pipe~~To=__To__~~pipe~~MenuGroup=__MenuGroup__~~pipe~~MenuItem=__MenuItem__\\quot\\;>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<!----------------------------------------------------------------------------------------------------------//crlf//Method 2: No Customer ID is specified and data is processed locally//crlf//------------------------------------------------------------------------------------------------------------>//crlf//<conditional expression:(startsWith(\\quot\\__CustomerID__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////crlf////tab//<conditional expression:(startsWith(\\quot\\__StoreGroup__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (startsWith(\\quot\\__Store__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////tab////tab//No selections made//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(not(startsWith(\\quot\\__StoreGroup__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (not(startsWith(\\quot\\__Store__\\quot\\\\comma\\\\quot\\__\\quot\\)))>//crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__salt__\\quot\\\\comma\\lowercase(getSalt(8)))>//crlf////tab////tab////crlf////tab////tab//<div ID=\\quot\\print__salt__\\quot\\>//crlf////tab////tab////tab//<h2>//crlf////tab////tab////tab//<!-- Group -->//crlf////tab////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//if(\\quot\\__StoreGroup__\\quot\\=\\quot\\0\\quot\\) //crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//s=lookup(Aspect_BackOffice_Store_Group_By_ID\\comma\\\\quot\\__StoreGroup__\\quot\\)+char(0x2c)+\\quot\\ \\quot\\//crlf////tab////tab////tab////tab////s=\\quot\\[h2]\\quot\\ + s + \\quot\\[/h2]\\quot\\//crlf////tab////tab////tab////tab//s=replaceSubstring(replaceSubstring(s\\comma\\\\quot\\[\\quot\\\\comma\\char(0x3c))\\comma\\\\quot\\]\\quot\\\\comma\\char(0x3e))//crlf////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//\\quot\\>//crlf////crlf////tab////tab////tab//<!-- Store -->//crlf////tab////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//if(\\quot\\__Store__\\quot\\=\\quot\\0\\quot\\)//crlf////tab////tab////tab////tab////tab//s=\\quot\\All Stores in Group\\comma\\ \\quot\\//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//if(getElementCount(\\quot\\__Store__\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)=1)//crlf////tab////tab////tab////tab////tab////tab//s=lookup(Aspect_BackOffice_Store_Name_By_ID\\comma\\\\quot\\__Store__\\quot\\)+\\quot\\\\comma\\ \\quot\\//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//s=\\quot\\Selected Stores\\comma\\ \\quot\\//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////s=\\quot\\[h2]\\quot\\ + s + \\quot\\[/h2]\\quot\\//crlf////tab////tab////tab////tab//s=replaceSubstring(replaceSubstring(s\\comma\\\\quot\\[\\quot\\\\comma\\char(0x3c))\\comma\\\\quot\\]\\quot\\\\comma\\char(0x3e))//crlf////tab////tab////tab////tab//scriptSetResult(s);//crlf////tab////tab////tab//\\quot\\>//crlf////crlf////tab////tab////tab//__From__ - __To__</h2>//crlf////crlf////tab////tab////tab//<conditional expression:not(startsWith(\\quot\\__StoreGroup__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////tab////tab////tab////tab//<!include type:driver;//crlf////tab////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//driver: \\quot\\Aspect6_SalesMix_Consolidated_Vert_By_Menu_Item\\quot\\;//crlf////tab////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//dispose: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~DocumentID=h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Widget=Aspect6 Sales Mix~~pipe~~ContainerItemID=AspectScript~~pipe~~query=openSalesMixConsolidatedVertByMenuItem~~pipe~~Group=__StoreGroup__~~pipe~~Store=__Store__~~pipe~~From=__From__~~pipe~~To=__To__~~pipe~~menugroup=__menugroup__~~pipe~~menuitem=__menuitem__~~pipe~~metadata=Aspect6_SalesMix_Consolidated_Vert_By_Menu_Item\\quot\\;//crlf////tab////tab////tab////tab////tab//keyDescription: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//fields: \\quot\\Menu_Item_Number\\comma\\Menu_Item_Name\\comma\\Group_Name\\comma\\Quantity_Sold\\comma\\Dollars_Sold\\comma\\Sale_Price\\quot\\;//crlf////tab////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab////tab//maxrecords: \\quot\\750\\quot\\;//crlf////tab////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//DialogHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//</div>//crlf////tab//</conditional>//crlf////crlf////crlf////tab//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//</conditional>//crlf//
^
ID=651033|X=183|Y=22|W=804|H=53|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false -->//crlf//<_include type:expression; expression:htmlConstant(\\quot\\IsSupport\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\if((false) and (isPackageLoaded(\\quot\\Aspect_Support\\quot\\)) and (left(encryptPassword(getToken(\\quot\\Aspect_BackOffice_PollPasswd\\quot\\) \\comma\\\\quot\\abc\\quot\\\\comma\\16)\\comma\\8)=getToken(\\quot\\AspectSupportNotificationPass\\quot\\))\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\false\\quot\\))>//crlf////crlf//<conditional expression:__IsSupport__>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\select_company_and_store\\quot\\; params:\\quot\\selected=select_company_and_store\\quot\\;>//crlf//</conditional>//crlf////crlf//<conditional expression:not(__IsSupport__)>//crlf////tab//<conditional expression:getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)=\\quot\\office\\quot\\>//crlf////tab////tab//<select name=\\quot\\select_company\\quot\\ style=\\quot\\display:none\\quot\\></select>//crlf////tab////tab//Computer {@htmlSelect(\\quot\\Aspect_BackOffice_Company_List\\quot\\\\comma\\\\quot\\select_customer\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\ID='select_customer' onChange='customerSelected()'\\quot\\\\comma\\\\quot\\\\quot\\)}//crlf////tab////tab//<img src=\\quot\\__requestserver__/?Network=Greenlight//amp//ID=getImage//amp//filename=refresh.png\\quot\\ onClick=\\quot\\refreshCompanyList()\\quot\\ style=\\quot\\position:relative;top:5px;left:0px\\quot\\ {@htmlTooltip(\\quot\\Click to update list of stores\\quot\\)}>//crlf////tab////tab//<span ID=\\quot\\refreshing_company_list\\quot\\></span>//crlf////tab//</conditional>//crlf////tab//<conditional expression:not(getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)=\\quot\\office\\quot\\)>//crlf////tab////tab//<select name=\\quot\\select_company\\quot\\ style=\\quot\\display:none\\quot\\></select>//crlf////tab////tab//<select name=\\quot\\select_customer\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab//<option selected=\\quot\\selected\\quot\\ value=\\quot\\{AspectHashID}\\quot\\></option>//crlf////tab////tab//</select>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<!-- Add space so the item is still accessible if running at a store -->//crlf//<div style=\\quot\\width:800px;height:5px\\quot\\></div>//crlf////crlf//__servertimerresults__//crlf//
</widget><widget name="Aspect6 Utilities" group="Back-Office" category="Aspect6" description="A couple of scripts used to get collections for the consolidated sales mix report." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Aspect6 Utilities" modified="07-07-2014 14:00:01" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=05-31-2014 14:41:02:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=955|toolboxy=259|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Aspect6 Utilities.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=tabs|X=11|Y=7|W=92|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'collections')\\quot\\>Collections</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=collections|X=11|Y=29|W=842|H=700|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs|AttachLeft=|AlignLeft=tabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Content=<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\getConsolidatedMenuCategoryOptions\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//==============================================================================//crlf////tab//Returns a collection of menu category names in the form//crlf////crlf////tab//<option value=\\apos\\[name]\\apos\\>[name]</option>//crlf////crlf////tab//This is used to update a select box with a list of menu category names for//crlf////tab//selected stores.  For example\\comma\\ it is used in the consolidated sales mix summary//crlf////tab//to update the drop-down list to show menu categories for stores in the selected //crlf////tab//store group.//crlf////crlf////tab//Params://crlf////tab////tab//StoreGroup//tab//- Store group (or 0 or blank to include all groups)//crlf////tab////tab//Store//tab////tab////tab////tab//- Aspect7 store ID (or 0 or blank to include all stores)//crlf////tab////tab//menugroup//tab////tab//- The default group to be set as selected//crlf////tab//==============================================================================//crlf////tab//</conditional>//crlf////crlf////tab//<!include type:script; name:\\quot\\getConsolidatedMenuCategoryOptions\\quot\\; commands:\\quot\\//crlf////tab////tab////appendToLog(\\quot\\getConsolidatedMenuCategoryOptions started.  StoreGroup=__StoreGroup__\\quot\\)//crlf////crlf////tab////tab////get a pipe-delimited list of selected store directories//crlf////tab////tab//sArgs=\\quot\\StoreGroup=__StoreGroup__\\amp\\store=__store__\\amp\\Return=Aspect6Directory\\quot\\//crlf////tab////tab//arDirec=scriptExec(Aspect_BackOffice_getStoresInGroup\\comma\\true\\comma\\sArgs)//crlf////tab////tab//appendToLog(\\quot\\getConsolidatedMenuCategoryOptions store=__store__ arDirec=\\quot\\\\plus\\arDirec)//crlf////crlf////tab////tab////get an array of ingrgrp filenames for selected stores//crlf////tab////tab//arFiles=\\quot\\\\quot\\//crlf////tab////tab//c=getElementCount(arDirec\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sDir=trim(getElement(arDirec\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab//if(len(sDir)>0)//crlf////tab////tab////tab////tab//arFiles=addElement(arFiles\\comma\\addDirSlash(sDir)\\plus\\\\quot\\recpgrp.dta\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab////concatenate the files//crlf////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\getSalt(8)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//fileConcat(sFilename\\comma\\arFiles\\comma\\290)//crlf////tab////tab////appendToLog(\\quot\\getConsolidatedMenuCategoryOptions concat filesize=\\quot\\\\plus\\fileSize(sFilename))//crlf////crlf////tab////tab////create a select tag//crlf////tab////tab////appendToLog(\\quot\\getConsolidatedMenuCategoryOptions creating collection\\quot\\)//crlf////tab////tab//s=htmlSelect(Aspect6_Consolidated_Recipe_Groups_By_Name\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\__menugroup__\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\filename=\\quot\\\\plus\\sFilename)//crlf////crlf////tab////tab////delete the temp file//crlf////tab////tab//fileDelete(sFilename)//crlf////crlf////tab////tab////remove the select tag so only the options remain//crlf////tab////tab//n=pos(char(0x3e)\\comma\\s)//crlf////tab////tab//s=substring(s\\comma\\n\\plus\\1)//crlf////tab////tab//s=replaceSubstring(s\\comma\\char(0x3c)\\plus\\\\quot\\/select\\quot\\\\plus\\char(0x3e)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////crlf////tab////tab////appendToLog(\\quot\\getConsolidatedMenuCategoryOptions complete\\quot\\)//crlf////tab//\\quot\\>//crlf////crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\getConsolidatedMenuItemOptions\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//==============================================================================//crlf////tab//Returns a collection of menu item names in the form//crlf////crlf////tab//<option value=\\apos\\[name]\\apos\\>[name]</option>//crlf////crlf////tab//This is used to update a select box with a list of menu item names for the selected//crlf////tab//stores and menu group.  For example\\comma\\ it is used in the consolidated sales mix summary//crlf////tab//to update the drop-down list to show menu items.//crlf////crlf////tab//Params://crlf////tab////tab//StoreGroup//tab//- Store group (or 0 or blank to include all groups)//crlf////tab////tab//Store//tab////tab////tab////tab//- Aspect7 store ID (or 0 or blank to include all stores)//crlf////tab////tab//MenuGroup//tab////tab//- The NAME of a menu group to include (or 0 or blank to include all)//crlf////tab////tab//MenuItem //tab////tab//- The default menu item to be set as selected//crlf////tab//==============================================================================//crlf////tab//</conditional>//crlf////crlf////tab//<!include type:script; name:\\quot\\getConsolidatedMenuItemOptions\\quot\\; commands:\\quot\\//crlf////tab////tab////appendToLog(\\quot\\getConsolidatedMenuItemOptions started.  Group=__Group__\\quot\\)//crlf////crlf////tab////tab////get a pipe-delimited list of selected store directories//crlf////tab////tab//sArgs=\\quot\\StoreGroup=__StoreGroup__\\amp\\store=__store__\\amp\\Return=Aspect6Directory\\quot\\//crlf////tab////tab//arDirec=scriptExec(Aspect_BackOffice_getStoresInGroup\\comma\\true\\comma\\sArgs)//crlf////crlf////tab////tab////get a comma-delimited list of directories which contain a recipe.dta file//crlf////tab////tab//arFiles=\\quot\\\\quot\\//crlf////tab////tab//c=getElementCount(arDirec\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//s=getElement(arDirec\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//if(fileExists(s\\plus\\\\quot\\recipe.dta\\quot\\)) //crlf////tab////tab////tab////tab//arFiles=addElement(arFiles\\comma\\s)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab//endwhile//crlf////tab////tab////appendToLog(\\quot\\getConsolidatedMenuItemOptions arFiles=\\quot\\\\plus\\arFiles)//crlf////crlf////tab////tab////open a set of system drivers//crlf////tab////tab//arSet=getSetDriver(Aspect6_Driver_Recipes_By_Filename\\comma\\arFiles\\comma\\READ\\comma\\\\quot\\filename=$e$recipe.dta\\quot\\)//crlf////tab////tab////appendToLog(\\quot\\getConsolidatedMenuItemOptions arSet=\\quot\\\\plus\\arSet)//crlf////crlf////tab////tab////consolidate the set to a single driver//crlf////tab////tab//arFields=\\quot\\ID_TRECIPEHDRREC_ID~~pipe~~ID_TRECIPEHDRREC_NAME1~~pipe~~Group_Name\\quot\\//crlf////tab////tab//sysdrv=getSetConsolidate(\\quot\\vertical\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\arFields\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\arSet)//crlf////crlf//if(getToken(\\quot\\execmode\\quot\\)=\\quot\\development\\quot\\)//crlf////tab//sDebugFilename=\\quot\\C:\temp\2012-12\struct.csv\\quot\\//crlf////tab////appendToLog(\\quot\\getConsolidatedMenuItemOptions writing struct to \\quot\\\\plus\\sDebugFilename)//crlf////tab////driverExportStruct(sysdrv\\comma\\sDebugFilename)//crlf//endif//crlf////crlf////tab////tab//driverSetFilter(sysdrv\\comma\\\\quot\\Group_Name=\\quot\\\\plus\\quote(\\quot\\__MenuGroup__\\quot\\)\\comma\\true)//crlf////tab////tab////appendToLog(\\quot\\getConsolidatedMenuItemOptions records in driver=\\quot\\\\plus\\driverGetRecordCount(sysdrv))//crlf////tab////tab////create a select tag//crlf////tab////tab//s=htmlSelect(Aspect6_Consolidated_Recipes_By_Name\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\__MenuItem__\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\sysdrv)//crlf////crlf////tab////tab////remove the select tag so only the options remain//crlf////tab////tab//n=pos(char(0x3e)\\comma\\s)//crlf////tab////tab//s=substring(s\\comma\\n\\plus\\1)//crlf////tab////tab//s=replaceSubstring(s\\comma\\char(0x3c)\\plus\\\\quot\\/select\\quot\\\\plus\\char(0x3e)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////crlf////tab////tab//scriptSetResult(s)//crlf////crlf////tab////tab////appendToLog(\\quot\\getConsolidatedMenuItemOptions complete\\quot\\)//crlf////tab//\\quot\\>//crlf////crlf//</conditional>
</widget><widget name="Aspect6 Menu Maintenance" group="Back-Office" category="Aspect6" description="Synchronizes Aspect6 inventory files across stores." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Aspect6 Menu Maintenance" modified="02-26-2017 13:04:10" modifiedby="Thnikpad2" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=02-07-2016 10:42:43:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=64|toolboxy=202|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Aspect6 Menu Maintenance.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=901|H=14|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:h0BE4ziTlLytqKxtWLMy5CVY; widget:Backoffice Home; containerItemID:\\quot\\top_bar\\quot\\; params:\\quot\\\\quot\\;>^
ID=left_bar|X=0|Y=22|W=176|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:h0BE4ziTlLytqKxtWLMy5CVY; widget:Backoffice Home; containerItemID:\\quot\\left_bar\\quot\\; params:\\quot\\startpackage=__startpackage__~~pipe~~package={@\\quot\\__package__\\quot\\}~~pipe~~menu=__menu__~~pipe~~LeftBarCompany=__LeftBarCompany__~~pipe~~SelectLeftBarCompany=__SelectLeftBarCompany__~~pipe~~SelectLeftBarComputer=__SelectLeftBarComputer__~~pipe~~LeftBarComputer=__LeftBarComputer__\\quot\\;>//crlf//^
ID=AspectScript_Menuitems|X=1500|Y=18|W=804|H=884|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\calcMenuItemChecksum\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//=========================================================================//crlf////tab//Runs on the Menu Item Master.  Calculates a checksum indicating the state //crlf////tab//of recipe.dta.  Takes into account menu item numbers\\comma\\ names.  This script //crlf////tab//is called by the \\quot\\Aspect6 Update Menu Item Checksum\\quot\\ task whenever //crlf////tab//recipe.dta is modified and the timestamp is more than 5 minutes old.//crlf////crlf// //tab//This script also prepares the file that will be sent to the Inventory Master //crlf////tab//when new menu items are added.//crlf////crlf////tab//The resulting checksum is monitored by another task that notifies the //crlf////tab//Inventory Master when changes have been made.//crlf////tab//=========================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\calcMenuItemChecksum\\quot\\; commands:\\quot\\//crlf////tab////tab//t1=now()//crlf////tab////tab//driverOpen(Aspect6_Driver_Recipes\\comma\\drvRecipe\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+indirect(getToken(\\quot\\Master_MenuItem_RecipeDta_Filename\\quot\\)))//crlf////tab////tab//c=driverGetRecordCount(drvRecipe\\comma\\true)//crlf////tab////tab//r=0//crlf////tab////tab//s=\\quot\\\\quot\\//crlf////tab////tab//while(r<c)//crlf////tab////tab////tab////don't export menu items with a menu number of 0 or deleted menu items//crlf////tab////tab////tab//sID=driverGetFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_M_NUMBER\\quot\\\\comma\\r)//crlf////tab////tab////tab//bDeleted=driverGetFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_DELETED\\quot\\\\comma\\r)//crlf////tab////tab////tab//if((value(sID)>0) and (not(bDeleted)))//crlf////tab////tab////tab////tab//s=s + sID+\\quot\\~~pipe~~\\quot\\//crlf////tab////tab////tab////tab//sName=driverGetFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_NAME1\\quot\\\\comma\\r)//crlf////tab////tab////tab////tab//s=s + replaceSubstring(replaceSubstring(replaceSubstring(sName\\comma\\char(0x22)\\comma\\\\quot\\~~qu\\quot\\+\\quot\\ote~~\\quot\\)\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\~~pi\\quot\\+\\quot\\pe~~\\quot\\)\\comma\\char(0x27)\\comma\\\\quot\\~~ap\\quot\\+\\quot\\os~~\\quot\\)+\\quot\\~~pipe~~\\quot\\//crlf////tab////tab////tab////tab//s=s + formatNumber(driverGetFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_SALE_PRICE\\quot\\\\comma\\r)\\comma\\\\quot\\//pound////pound////pound//.//pound////pound//\\quot\\)+\\quot\\~~pipe~~\\quot\\//crlf////tab////tab////tab////tab//s=s + driverGetFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_DEFSEQNUM\\quot\\\\comma\\r)+\\quot\\~~pipe~~\\quot\\//crlf////tab////tab////tab////tab//s=s + driverGetFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_GROUP\\quot\\\\comma\\r)+char(10)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//r=r + 1//crlf////tab////tab//endwhile//crlf////tab////tab//driverClose(drvRecipe)//crlf////tab////tab//sFilename=indirect(getToken(\\quot\\Master_Menuitem_Checksum_Filename\\quot\\))//crlf////tab////tab//fileWriteContent(sFilename\\comma\\s)//crlf////tab////tab//iCheckSum=fileGetChecksum(sFilename)//crlf////tab////tab//setToken(\\quot\\MasterMenuItemChecksum\\quot\\\\comma\\iCheckSum)//crlf////crlf////tab////tab////record stats//crlf////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\WRITE)//crlf////tab////tab//driverPutFieldAbsolute(drvOptions\\comma\\\\quot\\Last_MenuItem_Checksum\\quot\\\\comma\\0\\comma\\iCheckSum)//crlf////tab////tab//driverPutFieldAbsolute(drvOptions\\comma\\\\quot\\Last_MenuItem_Checksum_Calc_Time\\quot\\\\comma\\0\\comma\\now())//crlf////tab////tab//driverClose(drvOptions)//crlf////crlf////tab////tab//s=\\quot\\Set menuitem checksum=\\quot\\+iCheckSum//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\sendNewMenuItemNotification\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//=========================================================================//crlf////tab//Runs on the Menu Item master and sends a notification to the Inventory//crlf////tab//Master whenever new menu items have been added.//crlf////tab////crlf////tab//Called by the \\quot\\Aspect6 Notify Inventory Master\\quot\\ task when the menu item//crlf////tab//checksum on the local computer does not match the checksum on the remote//crlf////tab//computer.//crlf////tab//=========================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\sendNewMenuItemNotification\\quot\\; commands:\\quot\\//crlf////tab////tab////abort if local checksum has not been calculated//crlf////tab////tab//if(value(getToken(\\quot\\MasterMenuItemChecksum\\quot\\))=0)//crlf////tab////tab////tab//s=\\quot\\Aborting because MasterMenuItemChecksum has not been initialized. [\\quot\\+getToken(\\quot\\MasterMenuItemChecksum\\quot\\)+\\quot\\]\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if checksums match//crlf////tab////tab//iNasterChecksum=value(getToken(\\quot\\MasterMenuItemChecksum\\quot\\))//crlf////tab////tab//iRemoteChecksum=value(getToken(\\quot\\RemoteMenuItemChecksum\\quot\\))//crlf////tab////tab//appendToLog(\\quot\\MenuItem Checksums: Local - \\quot\\+iNasterChecksum+\\quot\\ Remote - \\quot\\+iRemoteChecksum)//crlf////tab////tab//if(iNasterChecksum=iRemoteChecksum) //crlf////tab////tab////tab//s=\\quot\\Master and remote menu item checksums match\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get filenames for recipe.dta and checksum//crlf////tab////tab//sRecipeFilename=indirect(getToken(\\quot\\Master_MenuItem_RecipeDta_Filename\\quot\\))//crlf////tab////tab//sChecksumFilename=indirect(getToken(\\quot\\Master_Menuitem_Checksum_Filename\\quot\\))//crlf////crlf////tab////tab////get HashIDs of Inventory Master and MenuItem Master//crlf////tab////tab//s=trim(getWidget(\\quot\\source=\\quot\\+getToken(\\quot\\AspectServerHashID\\quot\\)+\\quot\\//amp//DocumentID=CExis5b6ybLmITZ2wF7XmGwk//amp//Widget=Notification Container//amp//ContainerItemID=invmaint_getInvMaster//amp//CompanyID=\\quot\\+getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)))//crlf////tab////tab//sInventoryMasterHashID=getElementValue(s\\comma\\\\quot\\InventoryMaster\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//sMenuItemMasterHashID=getElementValue(s\\comma\\\\quot\\MenuItemMaster\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab//appendToLog(\\quot\\MenuItem Master is \\quot\\+sMenuItemMasterHashID)//crlf////tab////tab//appendToLog(\\quot\\Inventory Master is \\quot\\+sInventoryMasterHashID)//crlf////crlf////tab////tab////abort if the Inventory Master HashID is invalid//crlf////tab////tab//if((sInventoryMasterHashID=\\quot\\0\\quot\\) or (startsWith(sInventoryMasterHashID\\comma\\\\quot\\invalid\\quot\\)) or (len(sInventoryMasterHashID)=0))//crlf////tab////tab////tab//s=\\quot\\Aborting because ID for Inventory Master is invalid [\\quot\\+sInventoryMasterHashID+\\quot\\]\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if the Menu Item Master HashID is invalid//crlf////tab////tab//if((sMenuItemMasterHashID=\\quot\\0\\quot\\) or (startsWith(sMenuItemMasterHashID\\comma\\\\quot\\invalid\\quot\\)) or (len(sMenuItemMasterHashID)=0))//crlf////tab////tab////tab//s=\\quot\\Aborting because ID for Menu Item Master is invalid [\\quot\\+sInventoryMasterHashID+\\quot\\]\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if this computer is no longer the menu item master//crlf////tab////tab//if(sMenuItemMasterHashID<>getToken(\\quot\\AspectHashID\\quot\\))//crlf////tab////tab////tab//enableTask(\\quot\\TaskScheduler\\quot\\\\comma\\\\quot\\Aspect6 Notify Inventory Master\\quot\\\\comma\\false)//crlf////tab////tab////tab//enableTask(\\quot\\TaskScheduler\\quot\\\\comma\\\\quot\\Aspect6 Update Menu Item Checksum\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\WRITE)//crlf////tab////tab////tab//driverPutFieldAbsolute(drvOptions\\comma\\\\quot\\Enable_MenuItem_Master\\quot\\\\comma\\0\\comma\\false)//crlf////tab////tab////tab//driverClose(drvOptions)//crlf////tab////tab////tab//setToken(\\quot\\Enable_MenuItem_Master\\quot\\\\comma\\\\quot\\false\\quot\\)//crlf////tab////tab////tab//s=\\quot\\Aborting because this computer is no longer the menu item master\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if recipe.dta does not exist//crlf////tab////tab//if((not(fileExists(sRecipeFilename))) or (fileSize(sRecipeFilename)=0))//crlf////tab////tab////tab//s=\\quot\\Aborting because of invalid recipe.dta: \\quot\\+sRecipeFilename//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if checksum file does not exist//crlf////tab////tab//if((not(fileExists(sChecksumFilename))) or (fileSize(sChecksumFilename)=0))//crlf////tab////tab////tab//s=\\quot\\Aborting because of invalid checksum file: \\quot\\+sRecipeFilename//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if checksum file has earlier timestamp than recipe.dta//crlf////tab////tab//if((not(fileExists(sChecksumFilename))) or (fileSize(sChecksumFilename)=0))//crlf////tab////tab////tab//dtRecipe=fileModified(sRecipeFilename)//crlf////tab////tab////tab//dtChecksum=fileModified(sChecksumFilename)//crlf////tab////tab////tab//if(dtChecksum<dtRecipe)//crlf////tab////tab////tab////tab//s=\\quot\\Aborting because timestamp of checksum file is earlier than recipe.dta\\quot\\//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////send the updated menu item list//crlf////tab////tab//s=\\quot\\Source=\\quot\\+sInventoryMasterHashID//crlf////tab////tab//s=s + \\quot\\//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect6 Menu Maintenance\\quot\\//crlf////tab////tab//s=s + \\quot\\//amp//ContainerItemID=AspectScript_Menuitems//amp//query=receiveMenuItemMaster\\quot\\//crlf////tab////tab//s=s + \\quot\\//amp//Checksum=\\quot\\+getToken(\\quot\\MasterMenuItemChecksum\\quot\\)//crlf////tab////tab//s=s + \\quot\\//amp//FromHashID=\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)//crlf////tab////tab//s=s + \\quot\\//amp//Filesize=\\quot\\+fileSize(sChecksumFilename)//crlf////tab////tab//s=s + \\quot\\//amp//AttachedFilename=\\quot\\+sChecksumFilename//crlf////tab////tab//sResult=trim(getWidget(s))//crlf////tab////tab//iRemoteChecksum=value(sResult)//crlf////tab////tab//if(iRemoteChecksum>0)//crlf////tab////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\WRITE)//crlf////tab////tab////tab//driverPutFieldAbsolute(drvOptions\\comma\\\\quot\\Remote_Menu_Item_Checksum\\quot\\\\comma\\0\\comma\\iRemoteChecksum)//crlf////tab////tab////tab//driverPutFieldAbsolute(drvOptions\\comma\\\\quot\\Last_MenuItem_Checksum_Sent_Time\\quot\\\\comma\\0\\comma\\now())//crlf////tab////tab////tab//setToken(\\quot\\RemoteMenuItemChecksum\\quot\\\\comma\\iRemoteChecksum)//crlf////tab////tab////tab//driverClose(drvOptions)//crlf////tab////tab//endif//crlf////tab////tab//s=\\quot\\Sent notification to \\quot\\+sInventoryMasterHashID+\\quot\\ Result: \\quot\\+sResult//crlf////tab////tab//scriptSetResult(appendToLog(s))//crlf////crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\receiveMenuItemMaster\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//=========================================================================//crlf////tab//Runs on the Inventory Master and responds to a notification sent by the//crlf////tab//Menu Item Master to update the master list of menu item numbers\\comma\\//tab//names //crlf////tab//and prices.  If the Menu Item Master and the Inventory Master are both the //crlf////tab//same computer\\comma\\ a file will not be transferred.  Otherwise\\comma\\ the attached //crlf////tab//file is saved to greenlight\notifications\attachments.  In either case\\comma\\ //crlf////tab//the master file is copied to the filename given by the //crlf////tab//\\quot\\Received_Menuitem_Checksum_Filename\\quot\\ token.//crlf////tab//=========================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\receiveMenuItemMaster\\quot\\; commands:\\quot\\//crlf////tab////tab//if(\\quot\\__FromHashID__\\quot\\=getToken(\\quot\\AspectHashID\\quot\\))//crlf////tab////tab////tab////The Menu Item Master and Inventory Master are the same machine\\comma\\ so just//crlf////tab////tab////tab////copy the file to the new filename//crlf////tab////tab////tab//sSource=indirect(getToken(\\quot\\Master_Menuitem_Checksum_Filename\\quot\\))//crlf////tab////tab//else//crlf////tab////tab////tab////The Menu Item Master is on a different machine\\comma\\ so copy the attached //crlf////tab////tab////tab////file from the notifications folder to the new filename//crlf////tab////tab////tab//sSource=getToken(\\quot\\homedir\\quot\\)+\\quot\\GreenLight\notifications\attachments\__FromHashID___master_menuitem_checksum.txt\\quot\\//crlf////tab////tab//endif//crlf////crlf////tab////tab//appendToLog(\\quot\\Received master menu item file from __FromHashID__\\quot\\)//crlf////crlf////tab////tab//sDest=indirect(getToken(\\quot\\Received_Menuitem_Checksum_Filename\\quot\\))//crlf////crlf////tab////tab//sState1=getFilespecState(sSource)//crlf////tab////tab//sState2=getFilespecState(sDest)//crlf////tab////tab//if((sState1<>sState2) or (not(fileExists(sDest))))//crlf////tab////tab////tab//appendToLog(\\quot\\Copying \\quot\\+sSource+\\quot\\ to \\quot\\+sDest)//crlf////tab////tab////tab//fileCopy(sSource\\comma\\sDest)//crlf////tab////tab//else//crlf////tab////tab////tab//appendToLog(\\quot\\Files already match\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////enable the task that monitors the received master menu item file and//crlf////tab////tab////kicks off the merge when new files are received.//crlf////tab////tab//enableTask(\\quot\\TaskScheduler\\quot\\\\comma\\\\quot\\Aspect6 Add Menu Items From Master\\quot\\\\comma\\true)//crlf////crlf////tab////tab////record the last value received and the time//crlf////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\WRITE)//crlf////tab////tab//driverPutFieldAbsolute(drvOptions\\comma\\\\quot\\Last_MenuItem_Checksum_Received_Value\\quot\\\\comma\\0\\comma\\\\quot\\__Checksum__\\quot\\)//crlf////tab////tab//driverPutFieldAbsolute(drvOptions\\comma\\\\quot\\Last_MenuItem_Checksum_Received_Time\\quot\\\\comma\\0\\comma\\now())//crlf////tab////tab//driverClose(drvOptions)//crlf////crlf////tab////tab//scriptSetResult(\\quot\\__Checksum__\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\addMenuItemsFromMaster\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//=========================================================================//crlf////tab//Runs on the Inventory Master and merges in new menu items when they are//crlf////tab//received from the Menu Item Master.  Called by the Aspect6 Add Menu Items From Master//crlf////tab//task whenever a new file containing menu items is received from the //crlf////tab//Menu Item Master.//crlf////tab//=========================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\addMenuItemsFromMaster\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////abort if an instance is already executing//crlf////tab////tab////The conditional expression in the task already covers this.  This is a double-check.//crlf////tab////tab////If it was only done here\\comma\\ the task would run and the state would be updated and//crlf////tab////tab////the task would not run again even though a new file has been received.//crlf////tab////tab//if(count(scriptGetRunningScriptIDs()\\comma\\\\quot\\addMenuItemsFromMaster\\quot\\)>1)//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Aborting because an instance is already running\\quot\\))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get Aspect6 store code for master store//crlf////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\WRITE)//crlf////tab////tab//sStoreCode=trim(driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Master_Inventory_Store_Code\\quot\\\\comma\\0))//crlf////tab////tab//driverClose(drvOptions)//crlf////crlf////tab////tab////abort if the store code is not valid//crlf////tab////tab//if(len(sStoreCode)=0)//crlf////tab////tab////tab//s=\\quot\\Aborting because the store code is blank\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if this is both the menu item master and the inventory master and the //crlf////tab////tab////menu item master store is the same as the inventory master store//crlf////tab////tab//if(isTaskEnabled(\\quot\\taskscheduler\\quot\\\\comma\\\\quot\\Aspect6 Update Menu Item Checksum\\quot\\))//crlf////tab////tab////tab//if(isTaskEnabled(\\quot\\taskscheduler\\quot\\\\comma\\\\quot\\Aspect6 Update Inventory Checksum\\quot\\))//crlf////tab////tab////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\READ)//crlf////tab////tab////tab////tab//sMenuMasterStoreCode=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Master_MenuItem_Store_Code\\quot\\\\comma\\0)//crlf////tab////tab////tab////tab//sInventoryMasterStoreCode=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Master_Inventory_Store_Code\\quot\\\\comma\\0)//crlf////tab////tab////tab////tab//driverClose(drvOptions)//crlf////tab////tab////tab////tab//if(sMenuMasterStoreCode=sInventoryMasterStoreCode)//crlf////tab////tab////tab////tab////tab//s=\\quot\\Aborting because the inventory master store is the same as the menu item master store\\quot\\//crlf////tab////tab////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////back up the store files //crlf////tab////tab////NOTE: Don't do this on office computers because the backup aborts on office computers//crlf////tab////tab//if(getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)=\\quot\\store\\quot\\)//crlf////tab////tab////tab//sFilename=addDirSlash(lookup(Aspect6_Store_Directories_By_Code\\comma\\sStoreCode))//crlf////tab////tab////tab//sFilename=sFilename+\\quot\\backup/inventory_files_\\quot\\+formatDate(now()\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\.zip\\quot\\//crlf////tab////crlf////tab////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Widget=Aspect6 Menu Maintenance//amp//ContainerItemID=AspectScript_Shared\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//query=DailyInventoryBackup\\quot\\//crlf////tab////tab////tab//s=trim(getWidget(sArgs))//crlf////tab////tab////tab//if(s<>\\quot\\ok\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Could not back up files to \\quot\\+sFilename)//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\aborting because files could not be backed up: \\quot\\+s))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////confirm the backup//crlf////tab////tab////tab//arBackupFiles=getZipContents(sFilename\\comma\\char(0x2c)\\comma\\true)//crlf////tab////tab////tab//if(getElementCount(arBackupFiles)<getElementCount(getToken(\\quot\\MenuMaintenance_Files\\quot\\)\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\aborting because backup failed.  Found \\quot\\+getElementCount(arBackupFiles)+\\quot\\ entries.\\quot\\))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////open drivers//crlf////tab////tab//driverOpen(Aspect6_Driver_Recipes\\comma\\drvRecipe\\comma\\WRITE\\comma\\false\\comma\\\\quot\\code=\\quot\\+sStoreCode)//crlf////tab////tab//driverOpen(Aspect6_Driver_Inventory_Items_By_Filename\\comma\\drvIngr\\comma\\WRITE\\comma\\false\\comma\\\\quot\\code=\\quot\\+sStoreCode)//crlf////crlf////tab////tab////create a hash collection of menu item numbers and associated record number\\comma\\ ID and price//crlf////tab////tab////The key is the menu number.  The value is Record~~pipe~~Name~~pipe~~Price~~pipe~~SeqNum~~pipe~~Group//crlf////tab////tab//hashCreate(hLocalMenuItem)//crlf////tab////tab//c=driverGetRecordCount(drvRecipe\\comma\\true)//crlf////tab////tab//r=0//crlf////tab////tab//while(r<c)//crlf////tab////tab////tab//sMenuNumber=driverGetFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_M_NUMBER\\quot\\\\comma\\r)//crlf////tab////tab////tab//if(value(sMenuNumber)>0)//crlf////tab////tab////tab////tab//s=formatNumber(r\\comma\\\\quot\\//pound//\\quot\\)//crlf////tab////tab////tab////tab//sName=driverGetFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_NAME1\\quot\\\\comma\\r)//crlf////tab////tab////tab////tab//sName=replaceSubstring(replaceSubstring(replaceSubstring(sName\\comma\\char(0x22)\\comma\\\\quot\\~~qu\\quot\\+\\quot\\ote~~\\quot\\)\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\~~pi\\quot\\+\\quot\\pe~~\\quot\\)\\comma\\char(0x27)\\comma\\\\quot\\~~ap\\quot\\+\\quot\\os~~\\quot\\)//crlf////tab////tab////tab////tab//s=addElement(s\\comma\\sName\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//s=addElement(s\\comma\\formatNumber(driverGetFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_SALE_PRICE\\quot\\\\comma\\r)\\comma\\\\quot\\//pound////pound////pound//.//pound////pound//\\quot\\)\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//s=addElement(s\\comma\\driverGetFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_DEFSEQNUM\\quot\\\\comma\\r)\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//s=addElement(s\\comma\\driverGetFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_GROUP\\quot\\\\comma\\r)\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//hashPut(hLocalMenuItem\\comma\\sMenuNumber\\comma\\s)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//r=r + 1//crlf////tab////tab//endwhile//crlf////tab////tab////crlf////tab////tab////get the contents of the file received from the Menu Item Master//crlf////tab////tab////The format of the file is//crlf////tab////tab////ID~~pipe~~Name~~pipe~~Price~~pipe~~SeqNum~~pipe~~Group[lf]//crlf////tab////tab////ID~~pipe~~Name~~pipe~~Price~~pipe~~SeqNum~~pipe~~Group[lf]//crlf////tab////tab////...//crlf////tab////tab//sMasterContent=fileGetContent(indirect(getToken(\\quot\\Received_Menuitem_Checksum_Filename\\quot\\)))//crlf////crlf////tab////tab//cUpdateName=0//crlf////tab////tab//cUpdatePrice=0//crlf////tab////tab//cUpdateSeqNum=0//crlf////tab////tab//cUpdateGroup=0//crlf////tab////tab//cAddNewItem=0//crlf////tab////tab//cUpdated=0//crlf////crlf////tab////tab//cMasterMenuItem=getElementCount(sMasterContent\\comma\\char(10))//crlf////tab////tab//nMasterMenuItem=0//crlf////tab////tab//while(nMasterMenuItem<cMasterMenuItem)//crlf////tab////tab////tab//s=getElement(sMasterContent\\comma\\nMasterMenuItem\\comma\\char(10))//crlf////tab////tab////tab//sMasterID=getElement(s\\comma\\0\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//sMasterName=getElement(s\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//sMasterName=replaceSubstring(replaceSubstring(replaceSubstring(sMasterName\\comma\\\\quot\\~~qu\\quot\\+\\quot\\ote~~\\quot\\\\comma\\char(0x22))\\comma\\\\quot\\~~pi\\quot\\+\\quot\\pe~~\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\~~ap\\quot\\+\\quot\\os~~\\quot\\\\comma\\char(0x27))//crlf////tab////tab////tab//sMasterPrice=getElement(s\\comma\\2\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//sMasterSeqNum=getElement(s\\comma\\3\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//sMasterGroup=getElement(s\\comma\\4\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab//if(value(sMasterID)>0)//crlf////tab////tab////tab////tab////see if the menu item exists in the local recipe.dta//crlf////tab////tab////tab////tab//if(hashContainsKey(hLocalMenuItem\\comma\\sMasterID))//crlf////tab////tab////tab////tab////tab////menu number already exists.  Just update the name and price//crlf////tab////tab////tab////tab////tab//s=hashGet(hLocalMenuItem\\comma\\sMasterID)//crlf////tab////tab////tab////tab////tab//r=value(getElement(s\\comma\\0\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab//sLocalName=getElement(s\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//sLocalName=replaceSubstring(replaceSubstring(replaceSubstring(sLocalName\\comma\\\\quot\\~~qu\\quot\\+\\quot\\ote~~\\quot\\\\comma\\char(0x22))\\comma\\\\quot\\~~pi\\quot\\+\\quot\\pe~~\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\~~ap\\quot\\+\\quot\\os~~\\quot\\\\comma\\char(0x27))//crlf////tab////tab////tab////tab////tab//sLocalPrice=getElement(s\\comma\\2\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//sLocalSeqNum=getElement(s\\comma\\3\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//sLocalGroup=getElement(s\\comma\\4\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//bUpdated=false//crlf////tab////tab////tab////tab////tab//if(sLocalName<>sMasterName)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Updated [\\quot\\+sMasterID+\\quot\\] \\quot\\+sLocalName+\\quot\\ name from \\quot\\+sLocalName+\\quot\\ to \\quot\\+sMasterName)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_NAME1\\quot\\\\comma\\r\\comma\\sMasterName)//crlf////tab////tab////tab////tab////tab////tab//cUpdateName=cUpdateName + 1//crlf////tab////tab////tab////tab////tab////tab//bUpdated=true//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//if(sLocalPrice<>sMasterPrice)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Updated [\\quot\\+sMasterID+\\quot\\] \\quot\\+sLocalName+\\quot\\ price from \\quot\\+sLocalPrice+\\quot\\ to \\quot\\+sMasterPrice)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_SALE_PRICE\\quot\\\\comma\\r\\comma\\sMasterPrice)//crlf////tab////tab////tab////tab////tab////tab//cUpdatePrice=cUpdatePrice + 1//crlf////tab////tab////tab////tab////tab////tab//bUpdated=true//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//if(sLocalSeqNum<>sMasterSeqNum)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Updated [\\quot\\+sMasterID+\\quot\\] \\quot\\+sLocalName+\\quot\\ seq number from \\quot\\+sLocalSeqNum+\\quot\\ to \\quot\\+sMasterSeqNum)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_DEFSEQNUM\\quot\\\\comma\\r\\comma\\sMasterSeqNum)//crlf////tab////tab////tab////tab////tab////tab//cUpdateSeqNum=cUpdateSeqNum + 1//crlf////tab////tab////tab////tab////tab////tab//bUpdated=true//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//if(sLocalGroup<>sMasterGroup)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Updated [\\quot\\+sMasterID+\\quot\\] \\quot\\+sLocalName+\\quot\\ group from \\quot\\+sLocalGroup+\\quot\\ to \\quot\\+sMasterGroup)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_GROUP\\quot\\\\comma\\r\\comma\\sMasterGroup)//crlf////tab////tab////tab////tab////tab////tab//cUpdateGroup=cUpdateGroup + 1//crlf////tab////tab////tab////tab////tab////tab//bUpdated=true//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//cUpdated=if(bUpdated\\comma\\cUpdated+1\\comma\\cUpdated)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////menu number does not exist.  Add the new menu item//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(drvRecipe)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_M_NUMBER\\quot\\\\comma\\r\\comma\\sMasterID)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_GROUP\\quot\\\\comma\\r\\comma\\sMasterGroup)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_NAME1\\quot\\\\comma\\r\\comma\\sMasterName)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_SALE_PRICE\\quot\\\\comma\\r\\comma\\sMasterPrice)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_DEFSEQNUM\\quot\\\\comma\\r\\comma\\sMasterPrice)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_SALE_PRICE\\quot\\\\comma\\r\\comma\\sMasterGroup)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_GROSS_YEILD.ID_TSIZEREC_PREFIX\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_GROSS_YEILD.ID_TSIZEREC_SZ\\quot\\\\comma\\r\\comma\\14)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_OPTIONS\\quot\\\\comma\\r\\comma\\2)//crlf////crlf////tab////tab////tab////tab////tab////add an inventory item for the menu item//crlf////tab////tab////tab////tab////tab//rIngr=driverAddNewRecord(drvIngr)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Adding inventory item: \\quot\\+sMasterName)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_NAME\\quot\\\\comma\\rIngr\\comma\\sMasterName)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_RECIPE.ID_TRECIPEINFOREC_ISRECIPE\\quot\\\\comma\\rIngr\\comma\\true)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_RECIPE.ID_TRECIPEINFOREC_INDEX\\quot\\\\comma\\rIngr\\comma\\r)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_RECIPE.ID_TRECIPEINFOREC_OPTIONS\\quot\\\\comma\\rIngr\\comma\\2)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_GROUP\\quot\\\\comma\\rIngr\\comma\\0)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_COUNT.ID_TCOUNTREC_SIZE.ID_TSIZEREC_PREFIX\\quot\\\\comma\\rIngr\\comma\\1)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_COUNT.ID_TCOUNTREC_SIZE.ID_TSIZEREC_SZ\\quot\\\\comma\\rIngr\\comma\\14)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_PREFIX\\quot\\\\comma\\rIngr\\comma\\1)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR[1].ID_TVENDORINFOREC_SIZE.ID_TSIZEREC_SZ\\quot\\\\comma\\rIngr\\comma\\14)//crlf////crlf////tab////tab////tab////tab////tab////record the ingr index in the menu item record//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_INGR_INDEX\\quot\\\\comma\\r\\comma\\rIngr)//crlf////crlf////tab////tab////tab////tab////tab//cAddNewItem=cAddNewItem + 1//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Added [\\quot\\+sMasterID+\\quot\\] \\quot\\+sMasterName)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//nMasterMenuItem=nMasterMenuItem + 1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab////record stats//crlf////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\WRITE)//crlf////tab////tab//driverPutFieldAbsolute(drvOptions\\comma\\\\quot\\Last_MenuItem_Merge\\quot\\\\comma\\0\\comma\\now())//crlf////tab////tab//driverClose(drvOptions)//crlf////crlf////tab////tab//driverClose(drvRecipe)//crlf////tab////tab//driverClose(drvIngr)//crlf////crlf////tab////tab//scriptSetResult(\\quot\\Added \\quot\\+cAddNewItem+\\quot\\ menu items.  Updated \\quot\\+cUpdated+\\quot\\ menu items.\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf//^
ID=729625|X=1500|Y=18|W=804|H=884|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h2>Terms</h2>//crlf//<ul>//crlf////tab//<li>Menu Item Master - The computer containing the set of master menu items.</li>//crlf////tab//<li>Inventory Master - The computer containing the set of master inventory files.</li>//crlf////tab//<li>Menu Item Checksum - A long integer reflecting all menu item numbers//crlf////tab////tab//and names.  Used to compare two recipe.dta files to determine if new //crlf////tab////tab//menu items have been added to the master.</li>//crlf//</ul>//crlf////crlf//<h2>Overview</h2>//crlf////crlf//<ol>//crlf////tab//<li>A task named \\quot\\Aspect6 Update Menu Item Checksum\\quot\\ makes sure a file containing all //crlf////tab//menu item numbers\\comma\\ names and prices is always up to date.  The name of the file is//crlf////tab//in the Master_Menuitem_Checksum_Filename token.  It is in the temporary_files folder.  //crlf////tab//A checksum is calculated for the file and recorded in the MasterMenuItemChecksum token.</li>//crlf////crlf////tab//<li>The task named \\quot\\Aspect6 Notify Inventory Master\\quot\\ monitors the current checksum and //crlf////tab//the value of the last checksum sent to the inventory master.  The file is sent to the//crlf////tab//inventory master whenever the two checksums do not match.  The Inventory Master returns//crlf////tab//the value of the checksum when the file is received and this value is recorded by the//crlf////tab//Menu Item Master as the last checksum sent successfully.</li>//crlf////crlf////tab//<li>The task named \\quot\\Aspect6 Add Menu Items From Master\\quot\\ runs on the Inventory Master and//crlf////tab//monitors the file of master menu items received from the Menu Item Master.  Menu items//crlf////tab//are merged into Aspect6 whenever the file is updated.</li>//crlf//</ol>//crlf//<br>//crlf////crlf//<hr>//crlf//Tasks running on Menu Item Master//crlf//<hr>//crlf////crlf//<u>Task: Aspect6 Update Menu Item Checksum</u>//crlf//<ul>//crlf////tab//<li>Executes when the MasterMenuItemChecksum token is undefined or when recipe.dta //crlf////tab////tab//is modified in the active Aspect6 store directory.  Waits until the timestamp//crlf////tab////tab//on the file is at least 5 minutes old to avoid updating while the file is //crlf////tab////tab//being edited or updated by an import.</li>//crlf////tab//<li>Creates a file in the temporary_files directory using the name contained in //crlf////tab////tab//the Master_Menuitem_Checksum_Filename token.  Each record in the file is pipe-delimited//crlf////tab////tab//and contains the menu item number\\comma\\ name and price.  Records are separated by a //crlf////tab////tab//line-feed.</li>//crlf////tab//<li>The file created by this task is used to send a notification to the Inventory Master//crlf////tab////tab//whenever new menu items are added.</li>//crlf//</ul>//crlf//<br>//crlf////crlf//<u>Task: Aspect6 Notify Inventory Master</u>//crlf////crlf//<ul>//crlf////tab//<li>Executes when the Menu Item Checksum on the Menu Item Master does not match the //crlf////tab////tab//Menu Item Checksum on the Inventory Master and when the token containing the Menu //crlf////tab////tab//Item Checksum from the Inventory Master has not been initialized.</li>//crlf//</ul>//crlf//<br>//crlf////crlf//<hr>//crlf//Tasks running on Inventory Master//crlf//<hr>//crlf////crlf//<u>Task: Aspect6 Add Menu Items From Master</u>//crlf////crlf//<ul>//crlf////tab//<li>Merges in new menu items whenever a new file containing menu items is received from //crlf////tab////tab//the Menu Item Master.</li>//crlf//</ul>//crlf//<br>//crlf////crlf//^
ID=debug_console|X=1500|Y=18|W=802|H=884|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=menu_maintenance_options|X=177|Y=22|W=909|H=1181|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false-->//crlf////crlf//<state>//crlf////tab//{@now()}//crlf////tab//__LeftBarComputer__//crlf////tab//__CustomerID__//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice~~backslash~~aspect6_menu_maintenance.dta\\quot\\)}//crlf////tab//debug=false//crlf//</state>//crlf////crlf//<include type:script; commands:\\quot\\//crlf////tab//appendToLog(\\quot\\menu_maintenance_options setting customer ID for __LeftBarComputer__\\quot\\)//crlf////tab//if(startsWith(\\quot\\__LeftBarComputer__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab//scriptSetResult(htmlConstant(\\quot\\CustomerID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\)))//crlf////tab//else//crlf////tab////tab//scriptSetResult(htmlConstant(\\quot\\CustomerID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\))//crlf////tab//endif//crlf//\\quot\\>//crlf////crlf//<!----------------------------------------------------------------------------------------------------------//crlf//Method 1: A Customer ID is specified and data is retrieved from a remote computer //crlf//------------------------------------------------------------------------------------------------------------>//crlf//<conditional expression:(not(\\quot\\__CustomerID__\\quot\\=getToken(\\quot\\AspectHashID\\quot\\)))>//crlf////tab//<conditional expression:(\\quot\\__CustomerID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab////tab//<p>No customer selected</p>//crlf////tab//</conditional>//crlf////tab//<conditional expression:not(\\quot\\__CustomerID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab////tab//<div interval=\\apos\\0\\apos\\ style=\\apos\\width:100\\percent\\;\\apos\\ url=\\apos\\__RequestServer__/?Network=GreenLight\\amp\\ID=getWidget\\amp\\source=__CustomerID__\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Aspect6 Menu Maintenance\\amp\\ContainerItemID=menu_maintenance_options\\apos\\>//crlf////tab////tab////tab//<img src=\\apos\\__requestserver__/?Network=GreenLight\\amp\\ID=getImage\\amp\\filename=StatusActive01.gif\\apos\\>//crlf////tab////tab//</div> //crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<!----------------------------------------------------------------------------------------------------------//crlf//Method 2: Customer ID matches the local computer//crlf//------------------------------------------------------------------------------------------------------------>//crlf//<conditional expression:(\\quot\\__CustomerID__\\quot\\=getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//=======================================================//crlf////tab////tab//Initialize driver for options if it does not exist//crlf////tab////tab//=======================================================//crlf////tab////tab//</conditional>//crlf////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\WRITE)//crlf////tab////tab//driverSetFilter(drvOptions\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//if(driverGetRecordCount(drvOptions)=0)//crlf////tab////tab////tab//driverAddNewRecord(drvOptions)//crlf////tab////tab//endif//crlf////tab////tab//driverClose(drvOptions)//crlf////tab//\\quot\\>//crlf////crlf////tab//<div interval=\\quot\\0\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight\\amp\\ID=getWidget\\amp\\Source={AspectServerHashID}\\amp\\DocumentID=CExis5b6ybLmITZ2wF7XmGwk\\amp\\Widget=Notification Container\\amp\\ContainerItemID=invmaint_setup\\amp\\CompanyID={Aspect_BackOffice_Pref_CompanyPollingID}\\quot\\>//crlf////tab////tab////tab//<img src=\\apos\\__RequestServer__/?Network=GreenLight\\amp\\ID=getImage\\amp\\filename=StatusActive01.gif\\apos\\>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//__ServerTimerResults__//crlf//^
ID=155632|X=1500|Y=18|W=804|H=884|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=/*********************************************************************************//crlf//Called when the main window is displayed to initialize the dialog.  Called from//crlf//within asynchIncludesub() by a call to initializeTables2012() after the setup widget//crlf//is retrieved from the server.  //crlf////crlf//Gets the  menu and inventory options from the Menu Item Master and Inventory Master by //crlf//setting the interval of the associated divs to 0.//crlf//*********************************************************************************///crlf//function initMenuMaintDialog(DialogID)//crlf//{//crlf////tab//var d=document.getElementById(DialogID);//crlf////tab//var sSalt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////crlf////tab//var eSelectMenuMaster=document.getElementById(sSalt+\\quot\\MenuMasterHashID\\quot\\);//crlf////tab//if(eSelectMenuMaster.value!=\\quot\\0\\quot\\) {//crlf////tab////tab//var div=document.getElementById(sSalt+\\quot\\menuoptions\\quot\\);//crlf////tab////tab//var sUrl=replaceAllSubstrings(div.getAttribute(\\quot\\_url\\quot\\)\\comma\\\\quot\\$source$\\quot\\\\comma\\eSelectMenuMaster.value);//crlf////tab////tab//div.setAttribute(\\quot\\url\\quot\\\\comma\\sUrl);//crlf////tab////tab//setInterval(sSalt+\\quot\\menuoptions\\quot\\\\comma\\0\\comma\\true);//crlf////tab//};//crlf////crlf////tab//var eSelectInvMaster=document.getElementById(sSalt+\\quot\\InvMasterHashID\\quot\\);//crlf////tab//if(eSelectInvMaster.value!=\\quot\\0\\quot\\) {//crlf////tab////tab//var div=document.getElementById(sSalt+\\quot\\invoptions\\quot\\);//crlf////tab////tab//var sUrl=replaceAllSubstrings(div.getAttribute(\\quot\\_url\\quot\\)\\comma\\\\quot\\$source$\\quot\\\\comma\\eSelectInvMaster.value);//crlf////tab////tab//div.setAttribute(\\quot\\url\\quot\\\\comma\\sUrl);//crlf////tab////tab//setInterval(sSalt+\\quot\\invoptions\\quot\\\\comma\\0\\comma\\true);//crlf////tab//};//crlf//};//crlf////crlf//^
ID=AspectScript_Inventory|X=1500|Y=18|W=804|H=884|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\modifyInventoryCRC\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//=========================================================================//crlf////tab//Modifies the unused field of the first record //crlf////tab//=========================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\modifyInventoryCRC\\quot\\; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Forcing update of inventory checksum\\quot\\)//crlf////crlf////tab////tab////get the store code of the master store//crlf////tab////tab//sStoreCode=getToken(\\quot\\MasterInventoryStoreCode\\quot\\)//crlf////crlf////tab////tab////Abort if a store code has not been selected for the master store//crlf////tab////tab//if(len(trim(sStoreCode))=0)//crlf////tab////tab////tab//s=\\quot\\[{AspectHashID}] Aborted because a store code has not been selected for the master store.  Code=\\quot\\+sStoreCode//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get the directory of the master store//crlf////tab////tab//sDir=addDirSlash(lookup(Aspect6_Store_Directories_By_Code\\comma\\sStoreCode))//crlf////tab////tab////crlf////tab////tab////abort if the directory for the master store is not valid//crlf////tab////tab//if((len(trim(sDir))=0) or (not(fileExists(sDir))) or (not(fileIsDirectory(sDir))))//crlf////tab////tab////tab//s=\\quot\\[{AspectHashID}] Aborted because the directory for the master store is invalid: \\quot\\+sDir//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//appendToLog(\\quot\\Modifying dummy field in \\quot\\+sDir+\\quot\\ingr.dta\\quot\\)//crlf////crlf////tab////tab//driverOpen(\\quot\\Aspect6_Driver_Inventory_Items_By_Filename\\quot\\\\comma\\drvIngr\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Code=\\quot\\+sStoreCode)//crlf////tab////tab//driverSetFilter(drvIngr\\comma\\\\quot\\(not(ID_TRECIPEINFOREC_ISRECIPE))\\quot\\\\comma\\true)//crlf////tab////tab//DummyFieldValue=driverGetField(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_OPEN_PRICE\\quot\\\\comma\\0)//crlf////tab////tab//if(DummyFieldValue>100) //crlf////tab////tab////tab//DummyFieldValue=0//crlf////tab////tab//endif//crlf////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\ID_TINGREDIENTREC_OPEN_PRICE\\quot\\\\comma\\0\\comma\\DummyFieldValue+1)//crlf////tab////tab//appendToLog(\\quot\\Modified Open_Price in absolute record //pound//\\quot\\+driverGetAbsoluteIndex(drvIngr\\comma\\0))//crlf////tab////tab//driverClose(drvIngr)//crlf////crlf////tab////tab//execTask(\\quot\\TaskScheduler\\quot\\\\comma\\\\quot\\Aspect6 Update Inventory Checksum\\quot\\)//crlf////crlf////tab////tab//scriptSetResult(\\quot\\[{AspectHashID}] A dummy field has been modified to change the CRC\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\calcInventoryChecksum\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//=========================================================================//crlf////tab//Runs on the Inventory Master and calculates a checksum indicating the state //crlf////tab//of all inventory files.//crlf////crlf// //tab//Also prepares the zip file that will be sent to the stores when//tab//inventory //crlf////tab//files are to be updated.  The file is only updated when its timestamp is earler//crlf////tab//than the file used to calculate the checksum or it doesn't exist//crlf////tab//=========================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\calcInventoryChecksum\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////turn on profiler//crlf////tab////tab//profile(getToken(\\quot\\execmode\\quot\\)=\\quot\\development\\quot\\)//crlf////crlf////tab////tab////get the store code of the master store//crlf////tab////tab//sStoreCode=getToken(\\quot\\MasterInventoryStoreCode\\quot\\)//crlf////crlf////tab////tab////Abort if a store code has not been selected for the master store//crlf////tab////tab//if(len(trim(sStoreCode))=0)//crlf////tab////tab////tab//s=\\quot\\Aborted because a store code has not been selected for the master store.  Code=\\quot\\+sStoreCode//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get the directory of the master store//crlf////tab////tab//sDir=addDirSlash(lookup(Aspect6_Store_Directories_By_Code\\comma\\sStoreCode))//crlf////tab////tab////crlf////tab////tab////abort if the directory for the master store is not valid//crlf////tab////tab//if((len(trim(sDir))=0) or (not(fileExists(sDir))) or (not(fileIsDirectory(sDir))))//crlf////tab////tab////tab//s=\\quot\\Aborted because the directory for the master store is invalid: \\quot\\+sDir//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//appendToLog(\\quot\\Calculating inventory checksum for files in \\quot\\+sDir)//crlf////crlf////tab////tab////abort if any required files cannot be found//crlf////tab////tab//arMissing=\\quot\\\\quot\\//crlf////tab////tab//arFiles=getToken(\\quot\\MenuMaintenance_Files\\quot\\)//crlf////tab////tab//sFilespec=\\quot\\\\quot\\//crlf////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//if(not(fileExists(sDir+getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\))))//crlf////tab////tab////tab////tab//arMissing=addElement(arMissing\\comma\\getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////tab////tab//if(len(arMissing)>0)//crlf////tab////tab////tab//s=\\quot\\Aborted because one or more files is missing: \\quot\\+arMissing//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////Need to calculate checksum by writing all applicable data from all files//crlf////tab////tab////to a single file and then get the state of the file.  This prevents data//crlf////tab////tab////from being sent unnecessarily when the inventory master files are in an//crlf////tab////tab////active store.  For example\\comma\\ editing an inventory item and pressing ok will//crlf////tab////tab////change the file's timestamp but should not change the checksum//crlf////tab////tab////A checksum is appended to arHashCode for each record in each driver.  The//crlf////tab////tab////final checksum is calculated from arHashCode//crlf////tab////tab//arHashCode=\\quot\\\\quot\\//crlf////crlf////tab////tab////create an array of drivers to be included in the checksum.  //crlf////tab////tab//arDrivers=\\quot\\Aspect6_Driver_Inventory_Items_By_Filename~~pipe~~\\quot\\//crlf////tab////tab//arDrivers=arDrivers + \\quot\\Aspect6_Driver_Inventory_Groups~~pipe~~\\quot\\//crlf////tab////tab//arDrivers=arDrivers + \\quot\\Aspect6_Driver_Recipes~~pipe~~Aspect6_Driver_Recipe_Ingredients_By_Filename~~pipe~~\\quot\\//crlf////tab////tab//arDrivers=arDrivers + \\quot\\Aspect6_Driver_Vendors~~pipe~~Aspect6_Driver_Inventory_Sizes~~pipe~~Aspect6_Area_Names\\quot\\//crlf////tab////tab////crlf////tab////tab////create a temp copy of each driver.  Copy records from the actual driver and clear//tab////tab////the ID_RESERVED_MODIFIED field.  This will pick up any changes in the file but//crlf////tab////tab////ignore changes to the ID_RESERVED_MODIFIED field.//crlf////tab////tab//cDriver=getElementCount(arDrivers\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//nDriver=0//crlf////tab////tab//dtModified=date(0)//crlf////tab////tab//while(nDriver<cDriver)//crlf////tab////tab////tab//sDriverName=getElement(arDrivers\\comma\\nDriver\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//driverOpen(sDriverName\\comma\\drvActual\\comma\\READ\\comma\\false\\comma\\\\quot\\Code=\\quot\\+sStoreCode)//crlf////tab////tab////tab////driverExportStruct(drvActual\\comma\\\\quot\\console\\quot\\)//crlf////crlf////tab////tab////tab//arFields=driverGetFieldIDs(drvActual\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arIncludeFields=\\quot\\\\quot\\//crlf////tab////tab////tab//arRecpFields=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arFields\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFieldID=getElement(arFields\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab////tab//if((pos(\\quot\\ID_RESERVED\\quot\\\\comma\\sFieldID)<0) and (pos(\\quot\\unused\\quot\\\\comma\\sFieldID)<0))//crlf////tab////tab////tab////tab////tab//bInclude=true//crlf////crlf////tab////tab////tab////tab////tab//if(sDriverName=Aspect6_Driver_Inventory_Items_By_Filename)//crlf////crlf////tab////tab////tab////tab////tab////tab////make another collection of fields for inventory items that are linked to menu items//crlf////tab////tab////tab////tab////tab////tab////these only need to check a few fields//crlf////tab////tab////tab////tab////tab////tab//if(pos(\\quot\\ID_TINGREDIENTREC_RECIPE\\quot\\\\comma\\sFieldID)>=0)//crlf////tab////tab////tab////tab////tab////tab////tab//arRecpFields=addElement(arRecpFields\\comma\\sFieldID\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////exclude fields//crlf//        //tab////tab//if((pos(\\quot\\LEGIT_USAGE\\quot\\\\comma\\sFieldID)>=0) or (pos(\\quot\\PURCH_HIST\\quot\\\\comma\\sFieldID)>=0) or (pos(\\quot\\AREA_COUNT\\quot\\\\comma\\sFieldID)>=0))//crlf////tab////tab////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab////tab////tab//endif//crlf//        //tab////tab//if((pos(\\quot\\TCOUNTREC_AREA\\quot\\\\comma\\sFieldID)>=0) or (pos(\\quot\\TCOUNTREC_MANUAL\\quot\\\\comma\\sFieldID)>=0) or (pos(\\quot\\TCOUNTREC_ACTUAL\\quot\\\\comma\\sFieldID)>=0) or (pos(\\quot\\TCOUNTREC_CALCULATED\\quot\\\\comma\\sFieldID)>=0))//crlf////tab////tab////tab////tab////tab////tab////tab//bInclude=false //crlf////tab////tab////tab////tab////tab////tab//endif//crlf//        //tab////tab//if((pos(\\quot\\LAST_PRICE\\quot\\\\comma\\sFieldID)>=0) or (pos(\\quot\\LAST_UPDATE\\quot\\\\comma\\sFieldID)>=0) or (pos(\\quot\\WEIGHT_PRICE\\quot\\\\comma\\sFieldID)>=0) or (pos(\\quot\\PURCHASES\\quot\\\\comma\\sFieldID)>=0))//crlf////tab////tab////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//if(pos(\\quot\\ID_TINGREDIENTREC_RECIPE\\quot\\\\comma\\sFieldID)>=0)//crlf////tab////tab////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//elseif(sDriverName=Aspect6_Driver_Recipes)//crlf//        //tab////tab//if((pos(\\quot\\SALE_PRICE\\quot\\\\comma\\sFieldID)>=0) or (pos(\\quot\\PREP_COST\\quot\\\\comma\\sFieldID)>=0) or (pos(\\quot\\MIX_SOLD\\quot\\\\comma\\sFieldID)>=0) or (pos(\\quot\\MIX_PRICE\\quot\\\\comma\\sFieldID)>=0))//crlf////tab////tab////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab////tab////tab//endif//crlf//        //tab////tab//if((pos(\\quot\\_M_\\quot\\\\comma\\sFieldID)>=0) and (sFieldID<>\\quot\\ID_TRECIPEHDRREC_M_NUMBER\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//if(bInclude)//crlf////tab////tab////tab////tab////tab////tab//arIncludeFields=addElement(arIncludeFields\\comma\\sFieldID\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////appendToLog(sDriverName+\\quot\\: \\quot\\+sFieldID)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab//driverSetFilter(drvActual\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvActual)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//if(sDriverName=Aspect6_Driver_Inventory_Items_By_Filename)//crlf////tab////tab////tab////tab////tab//if(driverGetField(drvActual\\comma\\\\quot\\ID_TRECIPEINFOREC_ISRECIPE\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//arHashCode=addElement(arHashCode\\comma\\driverGetChecksum(arRecpFields\\comma\\drvActual\\comma\\n))//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//arHashCode=addElement(arHashCode\\comma\\driverGetChecksum(arIncludeFields\\comma\\drvActual\\comma\\n))//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//arHashCode=addElement(arHashCode\\comma\\driverGetChecksum(arIncludeFields\\comma\\drvActual\\comma\\n))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//tab////tab////crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Calculated checksum for \\quot\\+c+\\quot\\ records in \\quot\\+sDriverName)//crlf////crlf////tab////tab////tab//driverClose(drvActual)//crlf////tab////tab////tab//nDriver=nDriver+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//iCheckSum=getHashCode(arHashCode)//crlf////tab////tab////crlf////tab////tab////update the master inventory zip file if the checksum has changed or if the file//crlf////tab////tab////doesn't exist//crlf////tab////tab//sMasterFilename=indirect(getToken(\\quot\\Master_Inventory_Zip_Filename\\quot\\))//crlf////tab////tab//if((value(getToken(\\quot\\MasterInventoryChecksum\\quot\\))<>iCheckSum) or (not(fileExists(sMasterFilename))))//crlf////tab////tab////tab//if(fileExists(sMasterFilename))//crlf////tab////tab////tab////tab//fileDelete(sMasterFilename)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//arFiles=getToken(\\quot\\MenuMaintenance_Files\\quot\\)//crlf////tab////tab////tab//sFilespec=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFilespec=addElement(sFilespec\\comma\\sDir+getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\char(0x3B))//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//sFilespec=addElement(sFilespec\\comma\\getToken(\\quot\\homedir\\quot\\)+\\quot\\Aspect6\aspect6_menu_maintenance.dta\\quot\\\\comma\\char(0x3B))//crlf////tab////tab////tab//s=zipFiles(sMasterFilename\\comma\\sFilespec\\comma\\false\\comma\\false\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Create inventory master zip file: \\quot\\+s)//crlf////tab////tab////tab//if(not(startsWith(trim(s)\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab//fileDelete(sMasterFilename)//crlf////tab////tab////tab////tab//s=\\quot\\Error: Aborted because an error occurred creating master inventory zip file\\quot\\//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab//setToken(\\quot\\MasterInventoryChecksum\\quot\\\\comma\\iCheckSum)//crlf////crlf////tab////tab////record stats//crlf////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\WRITE)//crlf////tab////tab//driverPutFieldAbsolute(drvOptions\\comma\\\\quot\\Last_Inventory_Checksum\\quot\\\\comma\\0\\comma\\iCheckSum)//crlf////tab////tab//driverPutFieldAbsolute(drvOptions\\comma\\\\quot\\Last_Inventory_Checksum_Calc_Time\\quot\\\\comma\\0\\comma\\now())//crlf////tab////tab//driverClose(drvOptions)//crlf////crlf////tab////tab//s=\\quot\\Set inventory checksum=\\quot\\+iCheckSum//crlf////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\sendInventoryMaster\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//=========================================================================//crlf////tab//Runs on the Inventory master and sends a notification to any stores that//crlf////tab//are not up to date.//crlf////tab//=========================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\sendInventoryMaster\\quot\\; commands:\\quot\\//crlf////tab////tab////get the current checksum of the master inventory files on the Inventory Master//crlf////tab////tab//iMasterInventoryChecksum=value(getToken(\\quot\\MasterInventoryChecksum\\quot\\))//crlf////crlf////tab////tab////get stores to update.  This is the list of stores that should receive the master file.//crlf////tab////tab////Whether the store has already received the file will be tested below//crlf////tab////tab//arHashIDToUpdate=getToken(\\quot\\MenuMaintenance_StoresToUpdate\\quot\\)//crlf////crlf////tab////tab////abort if local checksum has not been calculated//crlf////tab////tab//if(value(getToken(\\quot\\MasterInventoryChecksum\\quot\\))=0)//crlf////tab////tab////tab//s=\\quot\\Aborting because MasterInventoryChecksum has not been initialized. [\\quot\\+getToken(\\quot\\MasterInventoryChecksum\\quot\\)+\\quot\\]\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if zip file containing master inventory files does not exist//crlf////tab////tab//sMasterFilename=indirect(getToken(\\quot\\Master_Inventory_Zip_Filename\\quot\\))//crlf////tab////tab//if(not(fileExists(sMasterFilename)))//crlf////tab////tab////tab//s=\\quot\\Aborting because master file does not exist: \\quot\\+sMasterFilename//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if zip file does not contain the correct number of entries//crlf////tab////tab////it should be the number of files plus 1 for the menu maintenance options file//crlf////tab////tab////06-21-2013: Need to allow for other files picked up (e.g. ingr.dtaold)//crlf////tab////tab//arFiles=getToken(\\quot\\MenuMaintenance_Files\\quot\\)//crlf////tab////tab//arZipContents=getZipContents(sMasterFilename\\comma\\char(0x2c)\\comma\\true)//crlf////tab////tab//if(getElementCount(arZipContents)<getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)+1)//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\aborting because zip file is invalid.  Found \\quot\\+getElementCount(arZipContents)+\\quot\\ entries.\\quot\\))//crlf////tab////tab////tab//fileDelete(sMasterFilename)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get the last reported remote checksum(s)//crlf////tab////tab////This is done to initialize the token if the program has just been loaded//crlf////tab////tab//if(len(getToken(\\quot\\RemoteInventoryChecksum\\quot\\))=0)//crlf////tab////tab////tab//appendToLog(\\quot\\Initializing RemoteInventoryChecksum from file\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\WRITE)//crlf////tab////tab////tab//sRemoteChecksum=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Remote_Inventory_Checksum\\quot\\\\comma\\0)//crlf////tab////tab////tab//setToken(\\quot\\RemoteInventoryChecksum\\quot\\\\comma\\sRemoteChecksum )//crlf////tab////tab////tab//driverClose(drvOptions)//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if checksums are up to date//crlf////tab////tab//iElements=getElementCount(getToken(\\quot\\RemoteInventoryChecksum\\quot\\)\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//iMatch=count(getToken(\\quot\\RemoteInventoryChecksum\\quot\\)\\comma\\getToken(\\quot\\MasterInventoryChecksum\\quot\\))//crlf////tab////tab//if(iMatch=iElements)//crlf////tab////tab////tab//s=\\quot\\All remote checksums are up to date\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//appendToLog(\\quot\\sendInventoryMaster MasterInventoryChecksum=\\quot\\+getToken(\\quot\\MasterInventoryChecksum\\quot\\))//crlf////tab////tab//appendToLog(\\quot\\sendInventoryMaster RemoteInventoryChecksum=\\quot\\+getToken(\\quot\\RemoteInventoryChecksum\\quot\\))//crlf////crlf////tab////tab////get HashID of Inventory Master//crlf////tab////tab//s=trim(getWidget(\\quot\\source=\\quot\\+getToken(\\quot\\AspectServerHashID\\quot\\)+\\quot\\//amp//DocumentID=CExis5b6ybLmITZ2wF7XmGwk//amp//Widget=Notification Container//amp//ContainerItemID=invmaint_getInvMaster//amp//CompanyID=\\quot\\+getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)))//crlf////tab////tab//sInventoryMasterHashID=getElementValue(s\\comma\\\\quot\\InventoryMaster\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\Inventory Master is \\quot\\+sInventoryMasterHashID)//crlf////crlf////tab////tab////abort if the Inventory Master HashID is invalid//crlf////tab////tab//if((sInventoryMasterHashID=\\quot\\0\\quot\\) or (startsWith(sInventoryMasterHashID\\comma\\\\quot\\invalid\\quot\\)) or (len(sInventoryMasterHashID)=0))//crlf////tab////tab////tab//s=\\quot\\Aborting because ID for Inventory Master is invalid [\\quot\\+sInventoryMasterHashID+\\quot\\]\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if this computer is no longer the inventory master//crlf////tab////tab//if(sInventoryMasterHashID<>getToken(\\quot\\AspectHashID\\quot\\))//crlf////tab////tab////tab//enableTask(\\quot\\TaskScheduler\\quot\\\\comma\\\\quot\\Aspect6 Send Inventory Master\\quot\\\\comma\\false)//crlf////tab////tab////tab//enableTask(\\quot\\TaskScheduler\\quot\\\\comma\\\\quot\\Aspect6 Update Inventory Checksum\\quot\\\\comma\\false)//crlf////tab////tab////tab//enableTask(\\quot\\TaskScheduler\\quot\\\\comma\\\\quot\\Aspect6 Add Menu Items From Master\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\WRITE)//crlf////tab////tab////tab//driverPutFieldAbsolute(drvOptions\\comma\\\\quot\\Enable_Inventory_Master\\quot\\\\comma\\0\\comma\\false)//crlf////tab////tab////tab//driverClose(drvOptions)//crlf////tab////tab////tab//setToken(\\quot\\Enable_Inventory_Master\\quot\\\\comma\\\\quot\\false\\quot\\)//crlf////tab////tab////tab//s=\\quot\\Aborting because this computer is no longer the inventory master\\quot\\//crlf////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get connection status of stores//crlf////tab////tab//arConnected=isComputerConnected(arHashIDToUpdate)//crlf////crlf////tab////tab////initialize a new remote checksum string.  Checksums will be updated and stores //crlf////tab////tab////will be removed from the string if they are no longer selected//crlf////tab////tab//sNewRemoteChecksum=\\quot\\\\quot\\//crlf////crlf////tab////tab////open the options driver//crlf////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\WRITE)//crlf////crlf////tab////tab////get the times last sent//crlf////tab////tab//sRemoteChecksumSent=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Remote_Inventory_Checksum_Time_Sent\\quot\\\\comma\\0)//crlf////tab////tab//sNewRemoteChecksumSent=\\quot\\\\quot\\//crlf////crlf////tab////tab////initialize the url used to send the file to each store//crlf////tab////tab//sUrl=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect6 Menu Maintenance\\quot\\//crlf////tab////tab//sUrl=sUrl + \\quot\\//amp//ContainerItemID=AspectScript_Inventory//amp//query=receiveInventoryMaster\\quot\\//crlf////tab////tab//sUrl=sUrl + \\quot\\//amp//Checksum=\\quot\\+iMasterInventoryChecksum//crlf////tab////tab//sUrl=sUrl + \\quot\\//amp//FromHashID=\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)//crlf////tab////tab//sUrl=sUrl + \\quot\\//amp//Filesize=\\quot\\+fileSize(sMasterFilename)//crlf////tab////tab//sUrl=sUrl + \\quot\\//amp//AttachedFilename=\\quot\\+sMasterFilename//crlf////crlf////tab////tab////iterate through each store selected//crlf////tab////tab//cSent=0//crlf////tab////tab//cNotConnected=0//crlf////tab////tab//cUpToDate=0//crlf////tab////tab//cToUpdate=getElementCount(arHashIDToUpdate\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//nToUpdate=0//crlf////tab////tab//while(nToUpdate<cToUpdate)//crlf////tab////tab////tab//sHashID=getElement(arHashIDToUpdate\\comma\\nToUpdate\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//iRemoteChecksum=value(getElementValue(getToken(\\quot\\RemoteInventoryChecksum\\quot\\)\\comma\\sHashID\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////crlf////tab////tab////tab//if(iRemoteChecksum=iMasterInventoryChecksum)//crlf////tab////tab////tab////tab////store is already up to date//crlf////tab////tab////tab////tab//appendToLog(sHashID+\\quot\\ is already up to date\\quot\\)//crlf////tab////tab////tab////tab//sNewRemoteChecksum=addElement(sNewRemoteChecksum\\comma\\sHashID+\\quot\\=\\quot\\+iMasterInventoryChecksum\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sNewRemoteChecksumSent=addElement(sNewRemoteChecksumSent\\comma\\sHashID+\\quot\\=\\quot\\+getElementValue(sRemoteChecksumSent\\comma\\sHashID\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//cUpToDate=cUpToDate+1//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//if(boolean(getElement(arConnected\\comma\\nToUpdate\\comma\\\\quot\\~~pipe~~\\quot\\)))//crlf////tab////tab////tab////tab////tab////store is connected//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Sending file to \\quot\\+sHashID)//crlf////tab////tab////tab////tab////tab//s=sUrl + \\quot\\//amp//Source=\\quot\\+sHashID//crlf////tab////tab////tab////tab////tab//sResult=trim(getWidget(s))//crlf////tab////tab////tab////tab////tab//iRemoteChecksum=value(sResult)//crlf////tab////tab////tab////tab////tab//sNewRemoteChecksum=addElement(sNewRemoteChecksum\\comma\\sHashID+\\quot\\=\\quot\\+iRemoteChecksum\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//sNewRemoteChecksumSent=addElement(sNewRemoteChecksumSent\\comma\\sHashID+\\quot\\=\\quot\\+dateNumber(now())\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//cSent=cSent+1//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////store is not connected.  Keep the existing checksum//crlf////tab////tab////tab////tab////tab//appendToLog(sHashID+\\quot\\ is not connected\\quot\\)//crlf////tab////tab////tab////tab////tab//sNewRemoteChecksum=addElement(sNewRemoteChecksum\\comma\\sHashID+\\quot\\=\\quot\\+iRemoteChecksum\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//sNewRemoteChecksumSent=addElement(sNewRemoteChecksumSent\\comma\\sHashID+\\quot\\=\\quot\\+getElementValue(sRemoteChecksumSent\\comma\\sHashID\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//cNotConnected=cNotConnected+1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//nToUpdate=nToUpdate+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab////record the new remote checksum string and update the token//crlf////tab////tab//driverPutFieldAbsolute(drvOptions\\comma\\\\quot\\Remote_Inventory_Checksum\\quot\\\\comma\\0\\comma\\sNewRemoteChecksum)//crlf////tab////tab//driverPutFieldAbsolute(drvOptions\\comma\\\\quot\\Remote_Inventory_Checksum_Time_Sent\\quot\\\\comma\\0\\comma\\sNewRemoteChecksumSent)//crlf////tab////tab//setToken(\\quot\\RemoteInventoryChecksum\\quot\\\\comma\\sNewRemoteChecksum)//crlf////crlf////tab////tab//driverClose(drvOptions)//crlf////crlf////tab////tab//s=\\quot\\Sent: \\quot\\+cSent+\\quot\\ Not Connected: \\quot\\+cNotConnected+\\quot\\ Up to date: \\quot\\+cUpToDate//crlf////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\receiveInventoryMaster\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//=========================================================================//crlf////tab//Runs at the store.  Called by a notification from the Inventory Master to //crlf////tab//send the master inventory files to each store.//crlf////tab//=========================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\receiveInventoryMaster\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//if(\\quot\\__FromHashID__\\quot\\=getToken(\\quot\\AspectHashID\\quot\\))//crlf////tab////tab////tab////The files are being sent from/to the same computer//crlf////tab////tab////tab//sSource=indirect(getToken(\\quot\\Master_Inventory_Zip_Filename\\quot\\))//crlf////tab////tab//else//crlf////tab////tab////tab////Files are being received from the Inventory Master so copy the attached //crlf////tab////tab////tab////file from the notifications folder to the new filename//crlf////tab////tab////tab//sSource=getToken(\\quot\\homedir\\quot\\)+\\quot\\GreenLight\notifications\attachments\__FromHashID___master_inventory_files.zip\\quot\\//crlf////tab////tab//endif//crlf////crlf////tab////tab//appendToLog(\\quot\\Received master inventory files from __FromHashID__\\quot\\)//crlf////crlf////tab////tab//sDest=indirect(getToken(\\quot\\Received_Master_Inventory_Filename\\quot\\))//crlf////crlf////tab////tab//sState1=getFilespecState(sSource)//crlf////tab////tab//sState2=getFilespecState(sDest)//crlf////tab////tab//if((sState1<>sState2) or (not(fileExists(sDest))))//crlf////tab////tab////tab//appendToLog(\\quot\\Copying \\quot\\+sSource+\\quot\\ to \\quot\\+sDest)//crlf////tab////tab////tab//fileCopy(sSource\\comma\\sDest)//crlf////tab////tab//else//crlf////tab////tab////tab//appendToLog(\\quot\\Files already match\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab//appendToLog(\\quot\\Checking for \\quot\\+addDirSlash(sDest)+\\quot\\ingr.dta\\quot\\)//crlf////tab////tab//n=fileSize(addDirSlash(sDest)+\\quot\\ingr.dta\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\Size of ingr.dta is \\quot\\+n)//crlf////tab////tab//if(n<=0) //crlf////tab////tab////tab//appendToLog(\\quot\\Checking for uppercase ingr.dta\\quot\\)//crlf////tab////tab////tab//n=fileSize(addDirSlash(sDest)+\\quot\\INGR.DTA\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Size of ingr.dta is \\quot\\+n)//crlf////tab////tab//endif//crlf////tab////crlf////tab////tab////abort if zip file is corrupt//crlf////tab////tab//if(n<=0)//crlf////tab////tab////tab//appendToLog(\\quot\\Error: Received invalid zip file\\quot\\)//crlf////tab////tab////tab//scriptSetResult(\\quot\\-1\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////enable the task that monitors the received master inventory file and//crlf////tab////tab////kicks off the merge when new files are received.//crlf////tab////tab//enableTask(\\quot\\TaskScheduler\\quot\\\\comma\\\\quot\\Aspect6 Merge Files From Inventory Master\\quot\\\\comma\\true)//crlf////tab////tab////crlf////tab////tab//appendToLog(\\quot\\Received valid zip file from inventory master\\quot\\)//crlf////tab////tab//scriptSetResult(\\quot\\__Checksum__\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\mergeInventoryFiles\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//=========================================================================//crlf////tab//Unzips and merges the set of master inventory files received from the //crlf////tab//computer hosting the master files.  This script is called by a scheduled//crlf////tab//task whenever the state of the zip file changes.  Files are merged into//crlf////tab//the active Aspect6 store.//crlf////tab//=========================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\mergeInventoryFiles\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////abort if an instance is already executing//crlf////tab////tab////The conditional expression in the task already covers this.  This is a double-check.//crlf////tab////tab////If it was only done here\\comma\\ the task would run and the state would be updated and//crlf////tab////tab////the task would not run again even though a new file has been received.//crlf////tab////tab//if(count(scriptGetRunningScriptIDs()\\comma\\\\quot\\mergeInventoryFiles\\quot\\)>1)//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Aborting because an instance is already running\\quot\\))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get the active store code//crlf////tab////tab//sStoreCode=getToken(\\quot\\Aspect6ActiveStoreCode\\quot\\)//crlf////crlf////tab////tab//appendToLog(\\quot\\Merging master inventory files to store: \\quot\\+sStoreCode)//crlf////crlf////tab////tab////abort if the active store code is not valid//crlf////tab////tab//if(len(trim(sStoreCode))=0)//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Aborting because the active store is not defined\\quot\\))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if this is the inventory master and the active store is the same as the //crlf////tab////tab////inventory master//crlf////tab////tab//if(isTaskEnabled(\\quot\\taskscheduler\\quot\\\\comma\\\\quot\\Aspect6 Update Inventory Checksum\\quot\\))//crlf////tab////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\READ)//crlf////tab////tab////tab//sMasterStoreCode=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Master_Inventory_Store_Code\\quot\\\\comma\\0)//crlf////tab////tab////tab//driverClose(drvOptions)//crlf////tab////tab////tab//if(sStoreCode=sMasterStoerCode)//crlf////tab////tab////tab////tab//s=\\quot\\Aborting because this is the inventory master and the active store is the same as the master store\\quot\\//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if the master file (zip) does not exist//crlf////tab////tab//sReceivedFilename=indirect(getToken(\\quot\\Received_Master_Inventory_Filename\\quot\\))//crlf////tab////tab//if(not(fileExists(sReceivedFilename)))//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\aborting because file not found: \\quot\\+sReceivedFilename))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab////crlf////tab////tab////abort if the file doesn't contain the correct number of files//crlf////tab////tab//arFiles=getToken(\\quot\\MenuMaintenance_Files\\quot\\)//crlf////tab////tab//arZipContents=getZipContents(sReceivedFilename\\comma\\char(0x2c)\\comma\\true)//crlf////tab////tab////06-21-2013: Need to allow for other files picked up (e.g. ingr.dtaold)//crlf////tab////tab//if(getElementCount(arZipContents)<getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)+1)//crlf////tab////tab////tab////there should be one file for each file to be merged plus the file containing the options//crlf////tab////tab////tab//cEntries=getElementCount(arZipContents)//crlf////tab////tab////tab//cExpected=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)+1//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\aborting because file contains \\quot\\+cEntries+\\quot\\ but expected \\quot\\+cExpected))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////count existing files.  This is done to skip the backup if no files exist//crlf////tab////tab//sActiveStoreDir=addDirSlash(lookup(Aspect6_Store_Directories_By_Code\\comma\\sStoreCode))//crlf////tab////tab//cExistingFiles=0//crlf////tab////tab//cMenuMaintenanceFiles=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<cMenuMaintenanceFiles)//crlf////tab////tab////tab//cExistingFiles=cExistingFiles + (if(fileExists(sActiveStoreDir+getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\))\\comma\\1\\comma\\0))//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//appendToLog(\\quot\\Number of existing files: \\quot\\+cExistingFiles)//crlf////crlf////tab////tab////back up the store files//crlf////tab////tab//if(cExistingFiles>0)//crlf////tab////tab////tab//sBackupFilename=sActiveStoreDir+\\quot\\backup/inventory_files_\\quot\\+formatDate(now()\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\.zip\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Backing up inventory files to: \\quot\\+sBackupFilename)//crlf////tab////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Widget=Aspect6 Menu Maintenance//amp//ContainerItemID=AspectScript_Shared\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//query=DailyInventoryBackup\\quot\\//crlf////tab////tab////tab//s=trim(getWidget(sArgs))//crlf////tab////tab////tab//if(s<>\\quot\\ok\\quot\\)//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\aborting because files could not be backed up: \\quot\\+s))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////confirm the backup//crlf////tab////tab////tab//arBackupFiles=getZipContents(sBackupFilename\\comma\\char(0x2c)\\comma\\true)//crlf////tab////tab////tab//if(getElementCount(arBackupFiles)<cExistingFiles)//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\aborting because backup failed[1].  Found \\quot\\+getElementCount(arBackupFiles)+\\quot\\ entries.\\quot\\))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////extract the files to a temporary directory//crlf////tab////tab//sTempDir=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\menu_maintenance/\\quot\\//crlf////tab////tab//c=getElementCount(arZipContents)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sFilename=getElement(arZipContents\\comma\\n)//crlf////tab////tab////tab//sSrc=addDirSlash(sReceivedFilename)+sFilename//crlf////tab////tab////tab//sDest=sTempDir+sFilename//crlf////tab////tab////tab//if(fileExists(sDest))//crlf////tab////tab////tab////tab//fileDelete(sDest)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Extracting \\quot\\+sSrc+\\quot\\ to \\quot\\+sDest)//crlf////tab////tab////tab//fileCopy(sSrc\\comma\\sDest)//crlf////crlf////tab////tab////tab////abort if the file is not copied successfully//crlf////tab////tab////tab//if((not(fileExists(sDest))) or (fileSize(sDest)=0))//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\aborting because file is invalid: \\quot\\+sDest))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////tab////tab////crlf////tab////tab////abort if the menu maintenance options file is missing or invalid//crlf////tab////tab//sFilename=sTempDir + \\quot\\aspect6_menu_maintenance.dta\\quot\\//crlf////tab////tab//if((not(fileExists(sFilename))) or (fileSize(sFilename)=0))//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\aborting because options are invalid: \\quot\\+sFilename))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////open the menu maintenance options included with the files//crlf////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sFilename)//crlf////tab////tab//bUpdateInventoryItems=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Update_Inventory_Items\\quot\\\\comma\\0)//crlf////tab////tab//bUpdateVendors=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Update_Vendors\\quot\\\\comma\\0)//crlf////tab////tab//bUpdateAreaNames=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Update_Area_Names\\quot\\\\comma\\0)//crlf////tab////tab//bKeepDeletedItems=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Keep_Deleted_Items\\quot\\\\comma\\0)//crlf////tab////tab//bKeepVendorAssignments=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Keep_Vendor_Assignments\\quot\\\\comma\\0)//crlf////tab////tab//bKeepCountSizes=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Keep_Count_Sizes\\quot\\\\comma\\0)//crlf////tab////tab//bKeepAreaAssignments=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Keep_Area_Assignments\\quot\\\\comma\\0)//crlf////tab////tab//bKeepGLAccountCodes=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Keep_GL_Account_Codes\\quot\\\\comma\\0)//crlf////tab////tab//driverClose(drvOptions)//crlf////crlf////tab////tab//appendToLog(\\quot\\bUpdateInventoryItems=\\quot\\+bUpdateInventoryItems)//crlf////tab////tab//appendToLog(\\quot\\bUpdateVendors=\\quot\\+bUpdateVendors)//crlf////tab////tab//appendToLog(\\quot\\bUpdateAreaNames=\\quot\\+bUpdateAreaNames)//crlf////tab////tab//appendToLog(\\quot\\bKeepDeletedItems=\\quot\\+bKeepDeletedItems)//crlf////tab////tab//appendToLog(\\quot\\bKeepVendorAssignments=\\quot\\+bKeepVendorAssignments)//crlf////tab////tab//appendToLog(\\quot\\bKeepCountSizes=\\quot\\+bKeepCountSizes)//crlf////tab////tab//appendToLog(\\quot\\bKeepAreaAssignments=\\quot\\+bKeepAreaAssignments)//crlf////tab////tab//appendToLog(\\quot\\bKeepGLAccountCodes=\\quot\\+bKeepAreaAssignments)//crlf////crlf////tab////tab////------------------------------------------------------------------------------------//crlf////tab////tab////NOTE:  All files are merged even when they could be copied to avoid the possibility//crlf////tab////tab////of not being able to overwrite a file because it is in use//crlf////tab////tab////------------------------------------------------------------------------------------//crlf////crlf////tab////tab//if(bUpdateInventoryItems)//crlf////tab////tab////tab////merge inventory items//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Items_By_Filename\\comma\\drvMaster\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sTempDir+\\quot\\ingr.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Items_By_Filename\\comma\\drvActive\\comma\\WRITE\\comma\\false\\comma\\\\quot\\code=\\quot\\+sStoreCode)//tab////tab////crlf////tab////tab////tab//driverSetFilter(drvMaster\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverSetFilter(drvActive\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//arExcludeFields=\\quot\\ID_TINGREDIENTREC_UNUSED~~pipe~~ID_TINGREDIENTREC_UNUSED_BITMAP2~~pipe~~ID_TINGREDIENTREC_LEGIT_USAGE\\quot\\//crlf////tab////tab////tab//arFields1=driverGetFieldIDs(drvMaster\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFields2=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arFields1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFieldID=getElement(arFields1\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//bInclude=true//crlf////tab////tab////tab////tab//if((sFieldID=\\quot\\ID_TINGREDIENTREC_DELETED\\quot\\) and (bKeepDeletedItems))//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//elseif((startsWith(sFieldID\\comma\\\\quot\\ID_TINGREDIENTREC_VENDOR\\quot\\)) and (bKeepVendorAssignments))//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//elseif((startsWith(sFieldID\\comma\\\\quot\\ID_TINGREDIENTREC_PREF_VENDOR\\quot\\)) and (bKeepVendorAssignments))//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//elseif(startsWith(sFieldID\\comma\\\\quot\\ID_TINGREDIENTREC_COUNT\\quot\\))//crlf////tab////tab////tab////tab////tab////don't include all of the count fields which contain pricing and other information//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab////tab//if((pos(\\quot\\ID_TCOUNTREC_SIZE\\quot\\\\comma\\sFieldID)>=0)//tab//and (not(bKeepCountSizes)))//crlf////tab////tab////tab////tab////tab////tab//bInclude=true//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//elseif(pos(\\quot\\unused\\quot\\\\comma\\sFieldID)>=0)//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//elseif((startsWith(sFieldID\\comma\\\\quot\\ID_TINGREDIENTREC_ALTCOUNTSIZE\\quot\\)) and (bKeepCountSizes))//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//elseif((startsWith(sFieldID\\comma\\\\quot\\ID_TINGREDIENTREC_AREAINFO\\quot\\)) and (bKeepAreaAssignments))//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//elseif(count(arExcludeFields\\comma\\sFieldID)>0)//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//if(bInclude)//crlf////tab////tab////tab////tab////tab//arFields2=addElement(arFields2\\comma\\sFieldID\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Merging ingr Fields:\\quot\\+arFields2)//crlf////crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvActive\\comma\\drvMaster\\comma\\\\quot\\DiskIndex\\quot\\\\comma\\arFields2\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\Updated inventory items: \\quot\\+s)//crlf////tab////tab////tab//driverClose(drvMaster)//crlf////tab////tab////tab//driverClose(drvActive)//crlf////crlf////tab////tab////tab////merge recipes//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Recipes\\comma\\drvMaster\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sTempDir+\\quot\\recipe.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Recipes\\comma\\drvActive\\comma\\WRITE\\comma\\false\\comma\\\\quot\\code=\\quot\\+sStoreCode)//tab////tab////crlf////tab////tab////tab//driverSetFilter(drvMaster\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverSetFilter(drvActive\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//arExcludeFields=\\quot\\ID_TRECIPEHDRREC_UNUSED~~pipe~~ID_TRECIPEHDRREC_UNUSED2~~pipe~~ID_TRECIPEHDRREC_MIX_SOLD~~pipe~~ID_TRECIPEHDRREC_MIX_PRICE\\quot\\//crlf////tab////tab////tab//arFields1=driverGetFieldIDs(drvMaster\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFields2=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arFields1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFieldID=getElement(arFields1\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//bInclude=true//crlf////tab////tab////tab////tab//if(pos(\\quot\\unused\\quot\\\\comma\\sFieldID)>=0)//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//if(count(arExcludeFields\\comma\\sFieldID)>0)//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//if(bInclude)//crlf////tab////tab////tab////tab////tab//arFields2=addElement(arFields2\\comma\\sFieldID\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//appendToLog(\\quot\\Merging recipe Fields:\\quot\\+arFields2)//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvActive\\comma\\drvMaster\\comma\\\\quot\\DiskIndex\\quot\\\\comma\\arFields2\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\Updated recipes: \\quot\\+s)//crlf////tab////tab////tab//driverClose(drvMaster)//crlf////tab////tab////tab//driverClose(drvActive)//crlf////crlf////tab////tab////tab////merge recipingr//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Recipe_Ingredients\\comma\\drvMaster\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sTempDir+\\quot\\recpingr.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Recipe_Ingredients\\comma\\drvActive\\comma\\WRITE\\comma\\false\\comma\\\\quot\\code=\\quot\\+sStoreCode)//tab////tab////crlf////tab////tab////tab//driverSetFilter(drvMaster\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverSetFilter(drvActive\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//arExcludeFields=\\quot\\ID_TRECIPEDTLREC_UNUSED\\quot\\//crlf////tab////tab////tab//arFields1=driverGetFieldIDs(drvMaster\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFields2=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arFields1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFieldID=getElement(arFields1\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//bInclude=true//crlf////tab////tab////tab////tab//if(pos(\\quot\\unused\\quot\\\\comma\\sFieldID)>=0)//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//if(count(arExcludeFields\\comma\\sFieldID)>0)//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//if(bInclude)//crlf////tab////tab////tab////tab////tab//arFields2=addElement(arFields2\\comma\\sFieldID\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//appendToLog(\\quot\\Merging recpingr Fields:\\quot\\+arFields2)//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvActive\\comma\\drvMaster\\comma\\\\quot\\DiskIndex\\quot\\\\comma\\arFields2\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\Updated recipe ingredients: \\quot\\+s)//crlf////tab////tab////tab//driverClose(drvMaster)//crlf////tab////tab////tab//driverClose(drvActive)//crlf////crlf////tab////tab////tab////merge inventory groups//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Groups\\comma\\drvMaster\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sTempDir+\\quot\\ingrgrp.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Groups\\comma\\drvActive\\comma\\WRITE\\comma\\false\\comma\\\\quot\\code=\\quot\\+sStoreCode)//tab////tab////crlf////tab////tab////tab//driverSetFilter(drvMaster\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverSetFilter(drvActive\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//arExcludeFields=\\quot\\ID_TINGRGROUPREC_UNUSED\\quot\\//crlf////tab////tab////tab//arFields1=driverGetFieldIDs(drvMaster\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFields2=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arFields1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFieldID=getElement(arFields1\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//bInclude=true//crlf////tab////tab////tab////tab//if(sFieldID=\\quot\\ID_TINGRGROUPREC_CODE\\quot\\) //crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//elseif(pos(\\quot\\unused\\quot\\\\comma\\sFieldID)>=0)//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//if(count(arExcludeFields\\comma\\sFieldID)>0)//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//if(bInclude)//crlf////tab////tab////tab////tab////tab//arFields2=addElement(arFields2\\comma\\sFieldID\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//appendToLog(\\quot\\Merging ingrgrp Fields:\\quot\\+arFields2)//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvActive\\comma\\drvMaster\\comma\\\\quot\\DiskIndex\\quot\\\\comma\\arFields2\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\Updated inventory groups: \\quot\\+s)//crlf////tab////tab////tab//driverClose(drvMaster)//crlf////tab////tab////tab//driverClose(drvActive)//crlf////crlf////tab////tab////tab////merge recipe groups//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Recipe_Groups\\comma\\drvMaster\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sTempDir+\\quot\\recpgrp.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Recipe_Groups\\comma\\drvActive\\comma\\WRITE\\comma\\false\\comma\\\\quot\\code=\\quot\\+sStoreCode)//tab////tab////crlf////tab////tab////tab//driverSetFilter(drvMaster\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverSetFilter(drvActive\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//arExcludeFields=\\quot\\ID_TRECIPEGROUPREC_UNUSED\\quot\\//crlf////tab////tab////tab//arFields1=driverGetFieldIDs(drvMaster\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFields2=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arFields1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFieldID=getElement(arFields1\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//bInclude=true//crlf////tab////tab////tab////tab//if(pos(\\quot\\unused\\quot\\\\comma\\sFieldID)>=0)//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//if(count(arExcludeFields\\comma\\sFieldID)>0)//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//if(bInclude)//crlf////tab////tab////tab////tab////tab//arFields2=addElement(arFields2\\comma\\sFieldID\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//appendToLog(\\quot\\Merging recpgrp Fields:\\quot\\+arFields2)//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvActive\\comma\\drvMaster\\comma\\\\quot\\DiskIndex\\quot\\\\comma\\arFields2\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\Updated recipe groups: \\quot\\+s)//crlf////tab////tab////tab//driverClose(drvMaster)//crlf////tab////tab////tab//driverClose(drvActive)//crlf////tab////tab//endif//crlf////crlf////tab////tab////merge vendors//crlf////tab////tab//if(bUpdateVendors)//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Vendors\\comma\\drvMaster\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sTempDir+\\quot\\vendors.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Vendors\\comma\\drvActive\\comma\\WRITE\\comma\\false\\comma\\\\quot\\code=\\quot\\+sStoreCode)//tab////tab////crlf////tab////tab////tab//driverSetFilter(drvMaster\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverSetFilter(drvActive\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//arExcludeFields=\\quot\\\\quot\\//crlf////tab////tab////tab//arFields1=driverGetFieldIDs(drvMaster\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFields2=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arFields1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFieldID=getElement(arFields1\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//bInclude=true//crlf////tab////tab////tab////tab//if((sFieldID=\\quot\\ID_TVENDORREC_GL_ACCOUNT\\quot\\) and (bKeepGLAccountCodes))//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//elseif(pos(\\quot\\unused\\quot\\\\comma\\sFieldID)>=0)//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//elseif(count(arExcludeFields\\comma\\sFieldID)>0)//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//if(bInclude)//crlf////tab////tab////tab////tab////tab//arFields2=addElement(arFields2\\comma\\sFieldID\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//appendToLog(\\quot\\Merging vendors Fields:\\quot\\+arFields2)//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvActive\\comma\\drvMaster\\comma\\\\quot\\DiskIndex\\quot\\\\comma\\arFields2\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\Updated vendors: \\quot\\+s)//crlf////tab////tab////tab//driverClose(drvMaster)//crlf////tab////tab////tab//driverClose(drvActive)//crlf////tab////tab//endif//crlf////crlf////tab////tab////merge areas//crlf////tab////tab//if(bUpdateAreaNames)//crlf////tab////tab////tab//driverOpen(Aspect6_Area_Names\\comma\\drvMaster\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sTempDir+\\quot\\area.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect6_Area_Names\\comma\\drvActive\\comma\\WRITE\\comma\\false\\comma\\\\quot\\code=\\quot\\+sStoreCode)//tab////tab////crlf////tab////tab////tab//driverSetFilter(drvMaster\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverSetFilter(drvActive\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//arExcludeFields=\\quot\\\\quot\\//crlf////tab////tab////tab//arFields1=driverGetFieldIDs(drvMaster\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFields2=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arFields1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFieldID=getElement(arFields1\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//bInclude=true//crlf////tab////tab////tab////tab//if(pos(\\quot\\unused\\quot\\\\comma\\sFieldID)>=0)//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//if(count(arExcludeFields\\comma\\sFieldID)>0)//crlf////tab////tab////tab////tab////tab//bInclude=false//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//if(bInclude)//crlf////tab////tab////tab////tab////tab//arFields2=addElement(arFields2\\comma\\sFieldID\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//appendToLog(\\quot\\Merging areas Fields:\\quot\\+arFields2)//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvActive\\comma\\drvMaster\\comma\\\\quot\\DiskIndex\\quot\\\\comma\\arFields2\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\Updated area names: \\quot\\+s)//crlf////tab////tab////tab//driverClose(drvMaster)//crlf////tab////tab////tab//driverClose(drvActive)//crlf////tab////tab//endif//crlf////crlf////tab////tab////truncate files to match the length of the master//crlf////tab////tab//sStoreDir=//crlf////tab////tab//arFileName=getToken(\\quot\\MenuMaintenance_Files\\quot\\)//crlf////tab////tab//c=getElementCount(arFileName\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sFilename=getElement(arFileName\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab////don't truncate areas and vendors if they are not included in the update//crlf////tab////tab////tab//bTruncate=true//crlf////tab////tab////tab//if(sFilename=\\quot\\area.dta\\quot\\) //crlf////tab////tab////tab////tab//bTruncate=bUpdateAreaNames//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//if(sFilename=\\quot\\vendors.dta\\quot\\) //crlf////tab////tab////tab////tab//bTruncate=bUpdateVendors//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(bTruncate)//crlf////tab////tab////tab////tab//sActiveFilename=sActiveStoreDir + sFilename//crlf////tab////tab////tab////tab//sMasterFilename=sTempDir + sFilename//crlf////tab////tab////tab////tab//if((fileExists(sActiveFilename)) and (fileExists(sMasterFilename)))//crlf////tab////tab////tab////tab////tab//if((fileSize(sActiveFilename)>fileSize(sMasterFilename)) and (fileSize(sMasterFilename)>0))//crlf////tab////tab////tab////tab////tab////tab//fileSetLength(sActiveFilename\\comma\\fileSize(sMasterFilename))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Set length of \\quot\\+sActiveFilename+\\quot\\ to \\quot\\+fileSize(sMasterFilename))//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab////record stats//crlf////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\WRITE)//crlf////tab////tab//driverPutFieldAbsolute(drvOptions\\comma\\\\quot\\Last_Inventory_Merge\\quot\\\\comma\\0\\comma\\now())//crlf////tab////tab//driverClose(drvOptions)//crlf////crlf////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//^
ID=729794|X=1500|Y=18|W=804|H=884|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h2>Terms</h2>//crlf//<ul>//crlf////tab//<li>Inventory Master - The computer containing the set of master menu items.</li>//crlf////tab//<li>Inventory Checksum - A long integer reflecting the state of the zip file containing//crlf////tab////tab//all of the inventory files.</li>//crlf//</ul>//crlf////crlf//<h2>Overview</h2>//crlf////crlf//<ol>//crlf////tab//<li>A task named \\quot\\Aspect6 Update Inventory Checksum\\quot\\ makes sure a zip file containing all //crlf////tab//inventory files is always up to date.  The name of the file is in the //crlf////tab//Master_Inventory_Checksum_Filename token.  It is in the temporary_files folder.</li>//crlf////crlf////tab//<li>The task named \\quot\\Aspect6 Send Inventory Master\\quot\\ monitors the current checksum and //crlf////tab//the value of the last checksum sent to each store.  The file is sent to eacb store//crlf////tab//whenever the two checksums do not match.</li>//crlf////crlf////tab//<li>The task named \\quot\\Aspect6 Merge Files From Inventory Master\\quot\\ runs at each store and//crlf////tab//monitors the master inventory file received from the Inventory Master.  Inventory files//crlf////tab//are merged into Aspect6 whenever the file is updated.</li>//crlf//</ol>//crlf//<br>//crlf////crlf//<hr>//crlf//Tasks running on Inventory Master//crlf//<hr>//crlf////crlf//<u>Task: Aspect6 Update Inventory Checksum</u>//crlf//<ul>//crlf////tab//<li>Executes when the MasterInventoryChecksum token is undefined or when ingr.dta //crlf////tab////tab//is modified in the active Aspect6 store directory.  Waits until the timestamp//crlf////tab////tab//on the file is at least 5 minutes old to avoid updating while the file is //crlf////tab////tab//being edited or updated by an import.</li>//crlf////tab//<li>Creates a file in the temporary_files directory using the name contained in //crlf////tab////tab//the Master_Inventory_Checksum_Filename token.  The file contains all information//crlf////tab////tab//that\\comma\\ if changed\\comma\\ would indicate a need to update the stores.  For example\\comma\\//crlf////tab////tab//inventory item names\\comma\\ sizes\\comma\\ prices\\comma\\ vendor names\\comma\\ etc.  This file is not//crlf////tab////tab//sent to the stores.  It is only used to calculate a checksum and to avoid sending//crlf////tab////tab//an update just because a timestamp changes.</li>//crlf//</ul>//crlf//<br>//crlf////crlf//<u>Task: Aspect6 Send Inventory Master</u>//crlf////crlf//<ul>//crlf////tab//<li>Executes when the inventory checksum on the Inventory Master does not match the //crlf////tab////tab//inventory checksum at a store and when the token containing the inventory checksum//crlf////tab////tab//on the Inventory Master has not been initialized.</li>//crlf//</ul>//crlf//<br>//crlf////crlf//<hr>//crlf//Tasks running at stores//crlf//<hr>//crlf////crlf//<u>Task: Aspect6 Merge Files From Inventory Master</u>//crlf////crlf//<ul>//crlf////tab//<li>Merges files received from the Inventory Master.  The options selected on the//crlf////tab//Inventory Master are included in the files sent to the store and these are used to//crlf////tab//determine which fields should be merged into the inventory items.</li>//crlf//</ul>//crlf//<br>//crlf////crlf//^
ID=debug_info|X=1500|Y=18|W=804|H=884|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf////tab//<hr>//crlf////tab//<p>Do not use these top two buttons.  These are left as examples of getEmbeddedWidget()</p>//crlf////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Calc Inventory Checksum\\quot\\ style=\\quot\\width:175px\\quot\\ onClick=\\quot\\getEmbeddedWidget('Source={AspectHashID}//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect6 Menu Maintenance//amp//ContainerItemID=AspectScript_Inventory//amp//query=calcInventoryChecksum'\\comma\\'__salt__Calc_Inventory_Checksum_Result'\\comma\\true)\\quot\\>//amp//nbsp;//crlf////tab//<span ID=\\quot\\__salt__Calc_Inventory_Checksum_Result\\quot\\></span>//crlf////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Merge Inventory files\\quot\\ style=\\quot\\width:175px\\quot\\ onClick=\\quot\\getEmbeddedWidget('Source={AspectHashID}//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect6 Menu Maintenance//amp//ContainerItemID=AspectScript_Inventory//amp//query=mergeInventoryFiles')\\quot\\><br>//crlf////tab//<hr>//crlf////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Force Change in Checksum\\quot\\ onClick=\\quot\\getEmbeddedWidget('Source={AspectHashID}//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect6 Menu Maintenance//amp//ContainerItemID=AspectScript_Inventory//amp//query=modifyInventoryCRC'\\comma\\'__salt__ForceModifyCRCResult'\\comma\\true)\\quot\\ {@htmlTooltip(\\quot\\Modifies the Open Price field in the first inventory item in the file\\quot\\)}>//crlf////tab//<span ID=\\quot\\__salt__ForceModifyCRCResult\\quot\\></span>//crlf////tab//<hr>//crlf////tab//<!------------------------------------------------------//crlf////tab//set constants from driver//crlf////tab//-------------------------------------------------------->//crlf////tab//<include type:script; name:\\quot\\InvMaintDebugInfo\\quot\\; commands:\\quot\\//crlf////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\WRITE)//crlf////tab////tab//s=\\quot\\\\quot\\//crlf////crlf////tab////tab//sRecipeDtaFilename=indirect(getToken(\\quot\\Master_MenuItem_RecipeDta_Filename\\quot\\))//crlf////tab////tab//s=s + htmlConstant(\\quot\\Master_MenuItem_Store_Code\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Master_MenuItem_Store_Code\\quot\\\\comma\\0))//crlf////tab////tab//s=s + htmlConstant(\\quot\\MasterRecipeDtaFileName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sRecipeDtaFilename)//crlf////tab////tab//s=s + htmlConstant(\\quot\\MasterRecipeDtaSize\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatNumber(fileSize(sRecipeDtaFilename)\\comma\\\\quot\\//pound////pound////pound//~~pipe~~//pound////pound////pound//~~pipe~~//pound////pound////pound//\\quot\\))//crlf////tab////tab//s=s + htmlConstant(\\quot\\MasterRecipeDtaModified\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(fileModified(sRecipeDtaFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab//s=s + htmlConstant(\\quot\\LastMenuItemCheckSum\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Last_MenuItem_Checksum\\quot\\\\comma\\0))//crlf////tab////tab//s=s + htmlConstant(\\quot\\LastMenuItemCheckSumTime\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Last_MenuItem_Checksum_Calc_Time\\quot\\\\comma\\0)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab//s=s + htmlConstant(\\quot\\Remote_Menu_Item_Checksum\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Remote_Menu_Item_Checksum\\quot\\\\comma\\0))//crlf////crlf////tab////tab//sIngrDtaFilename=addDirSlash(lookup(Aspect6_Store_Directories_By_Code\\comma\\getToken(\\quot\\MasterInventoryStoreCode\\quot\\)))+\\quot\\ingr.dta\\quot\\//crlf////tab////tab//s=s + htmlConstant(\\quot\\Master_Inventory_Store_Code\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Master_Inventory_Store_Code\\quot\\\\comma\\0))//crlf////tab////tab//s=s + htmlConstant(\\quot\\MasterIngrDtaFileName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sIngrDtaFilename)//crlf////tab////tab//s=s + htmlConstant(\\quot\\MasterIngrDtaSize\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatNumber(fileSize(sIngrDtaFilename)\\comma\\\\quot\\//pound////pound////pound//~~pipe~~//pound////pound////pound//~~pipe~~//pound////pound////pound//\\quot\\))//crlf////tab////tab//s=s + htmlConstant(\\quot\\MasterIngrDtaModified\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(fileModified(sIngrDtaFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab//s=s + htmlConstant(\\quot\\Last_Inventory_Checksum\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Last_Inventory_Checksum\\quot\\\\comma\\0))//crlf////tab////tab//s=s + htmlConstant(\\quot\\Last_Inventory_Checksum_Calc_Time\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Last_Inventory_Checksum_Calc_Time\\quot\\\\comma\\0)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////crlf////tab////tab//arRemoteInventoryChecksum=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Remote_Inventory_Checksum\\quot\\\\comma\\0)//crlf////tab////tab//arRemoteInventoryChecksumTimeSent=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Remote_Inventory_Checksum_Time_Sent\\quot\\\\comma\\0)//crlf////tab////tab//s=s + htmlConstant(\\quot\\RemoteInventoryChecksum\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\arRemoteInventoryChecksum)//crlf////tab////tab//s=s + htmlConstant(\\quot\\RemoteInventoryChecksumTimeSent\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\arRemoteInventoryChecksumTimeSent)//crlf////crlf////tab////tab//sTableInvChecksum=char(0x3c)+\\quot\\table class='basic1'\\quot\\+char(0x3e)+char(13)+char(10)//crlf////tab////tab//sTableInvChecksum=sTableInvChecksum + getToken(\\quot\\tr\\quot\\)+char(13)+char(10)//crlf////tab////tab//sTableInvChecksum=sTableInvChecksum + char(0x3c)+\\quot\\th align='left'\\quot\\+char(0x3e)+\\quot\\Hash ID\\quot\\+getToken(\\quot\\/th\\quot\\)+char(13)+char(10)//crlf////tab////tab//sTableInvChecksum=sTableInvChecksum + char(0x3c)+\\quot\\th align='left'\\quot\\+char(0x3e)+\\quot\\Cksum\\quot\\+getToken(\\quot\\/th\\quot\\)+char(13)+char(10)//crlf////tab////tab//sTableInvChecksum=sTableInvChecksum + char(0x3c)+\\quot\\th align='left'\\quot\\+char(0x3e)+\\quot\\Time\\quot\\+getToken(\\quot\\/th\\quot\\)+char(13)+char(10)//crlf////tab////tab//sTableInvChecksum=sTableInvChecksum + getToken(\\quot\\/tr\\quot\\)+char(13)+char(10)//crlf////tab////tab//c=getElementCount(arRemoteInventoryChecksum\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//s1=getElement(arRemoteInventoryChecksum\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//sHashID=getElement(s1\\comma\\0\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab//sCkSum=getElement(s1\\comma\\1\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab//sTime=getElementValue(arRemoteInventoryChecksumTimeSent\\comma\\sHashID\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//sTableInvChecksum=sTableInvChecksum + getToken(\\quot\\tr\\quot\\)+char(13)+char(10)//crlf////tab////tab////tab//sTableInvChecksum=sTableInvChecksum + getToken(\\quot\\td\\quot\\) + sHashID + getToken(\\quot\\/td\\quot\\)+char(13)+char(10)//crlf////tab////tab////tab//sTableInvChecksum=sTableInvChecksum + getToken(\\quot\\td\\quot\\) + sCkSum + getToken(\\quot\\/td\\quot\\)+char(13)+char(10)//crlf////tab////tab////tab//sTableInvChecksum=sTableInvChecksum + getToken(\\quot\\td\\quot\\) + formatDate(date(sTime)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\) + getToken(\\quot\\/td\\quot\\)+char(13)+char(10)//crlf////tab////tab////tab//sTableInvChecksum=sTableInvChecksum + getToken(\\quot\\/tr\\quot\\)+char(13)+char(10)//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////tab////tab//sTableInvChecksum=sTableInvChecksum+getToken(\\quot\\/table\\quot\\)+char(13)+char(10)//crlf////tab////tab//s=s + htmlConstant(\\quot\\TableInvChecksum\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sTableInvChecksum)//crlf////crlf////tab////tab//driverClose(drvOptions)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf////crlf////tab//<constant name:__width1__; value:\\quot\\175px\\quot\\>//crlf////crlf////tab//<!------------------------------------------------------//crlf////tab//General//crlf////tab//-------------------------------------------------------->//crlf////tab//<h1>General</h1>//crlf////tab//<table class=\\quot\\basic1\\quot\\>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td style=\\quot\\width:__width1__\\quot\\>Menu_Maintenance_Initialized</td>//crlf////tab////tab////tab//<td>{Menu_Maintenance_Initialized}</td>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td style=\\quot\\width:__width1__\\quot\\>Menu_Maintenance_Delay_Before_Update</td>//crlf////tab////tab////tab//<td>{@indirect(getToken(\\quot\\Menu_Maintenance_Delay_Before_Update\\quot\\))} minutes [{Menu_Maintenance_Delay_Before_Update}]</td>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Customer ID</td>//crlf////tab////tab////tab//<td>{AspectHashID}</td>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Company ID</td>//crlf////tab////tab////tab//<td>{Aspect_BackOffice_Pref_CompanyPollingID}</td>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>MenuMaintenance_Files</td>//crlf////tab////tab////tab//<td>{MenuMaintenance_Files}</td>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Master Computers</td>//crlf////tab////tab////tab//<td>//crlf////tab////tab////tab////tab//<span interval=\\quot\\0\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//source={AspectServerHashID}//amp//DocumentID=CExis5b6ybLmITZ2wF7XmGwk//amp//Widget=Notification Container//amp//ContainerItemID=invmaint_getInvMaster//amp//CompanyID={Aspect_BackOffice_Pref_CompanyPollingID}\\quot\\>//crlf////tab////tab////tab////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab////tab////tab////tab//</span>//crlf////tab////tab////tab//</td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf////crlf////tab//<!------------------------------------------------------//crlf////tab//Menu Maintenance Summary//crlf////tab//-------------------------------------------------------->//crlf////tab//<h1>Menu Maintenance</h1>//crlf////tab//<table class=\\quot\\basic1\\quot\\>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td style=\\quot\\width:__width1__\\quot\\>Is Menu Item Master</td>//crlf////tab////tab////tab//<td>{Enable_MenuItem_Master}</td>//crlf////tab////tab//</tr>//crlf////tab////tab//<conditional expression:boolean(getToken(\\quot\\Enable_MenuItem_Master\\quot\\))>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Master Store Code</td>//crlf////tab////tab////tab////tab//<td>__Master_MenuItem_Store_Code__</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>recipe.dta</td>//crlf////tab////tab////tab////tab//<td>__MasterRecipeDtaFileName__ (__MasterRecipeDtaSize__ bytes) Modified: __MasterRecipeDtaModified__</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Current Checksum</td>//crlf////tab////tab////tab////tab//<td>__LastMenuItemCheckSum__ at __LastMenuItemCheckSumTime__</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Checksum On Inventory Master</td>//crlf////tab////tab////tab////tab//<td>__Remote_Menu_Item_Checksum__</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</conditional>//crlf////tab//</table>//crlf////crlf////tab//<!------------------------------------------------------//crlf////tab//Inventory Maintenance Summary//crlf////tab//-------------------------------------------------------->//crlf////tab//<h1>Inventory Maintenance</h1>//crlf////crlf////tab//<h2>Tokens</h2>//crlf////tab//<table class=\\quot\\basic1\\quot\\>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td style=\\quot\\width:__width1__\\quot\\>Is Inventory Master</td>//crlf////tab////tab////tab//<td>{Enable_Inventory_Master}</td>//crlf////tab////tab//</tr>//crlf////tab////tab//<conditional expression:boolean(getToken(\\quot\\Enable_Inventory_Master\\quot\\))>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Store</td>//crlf////tab////tab////tab////tab//<td>__Master_Inventory_Store_Code__</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>ingr.dta</td>//crlf////tab////tab////tab////tab//<td>__MasterIngrDtaFileName__ (__MasterIngrDtaSize__ bytes) Modified: __MasterIngrDtaModified__</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Current Checksum</td>//crlf////tab////tab////tab////tab//<td>__Last_Inventory_Checksum__ at __Last_Inventory_Checksum_Calc_Time__</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>MenuMaintenance_StoresToUpdate</td>//crlf////tab////tab////tab////tab//<td>{MenuMaintenance_StoresToUpdate}</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Remote Checksum</td>//crlf////tab////tab////tab////tab//<td>__RemoteInventoryChecksum__</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>Remote Checksum Time Sent</td>//crlf////tab////tab////tab////tab//<td>__RemoteInventoryChecksumTimeSent__</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</conditional>//crlf////tab//</table>//crlf////tab//<br>//crlf////crlf////tab//<conditional expression:boolean(getToken(\\quot\\Enable_Inventory_Master\\quot\\))>//crlf////tab////tab//<h2>Remote Checksums</h2>//crlf////tab////tab//__TableInvChecksum__//crlf////tab////tab//<br>//crlf////tab//</conditional>//crlf////crlf////tab//<!------------------------------------------------------//crlf////tab//Indirect Tokens//crlf////tab//-------------------------------------------------------->//crlf////tab//<h1>Indirect Tokens</h1>//crlf////crlf////tab//<h2>Menu Item Master</h2>//crlf////tab//<table class=\\quot\\basic1\\quot\\>//crlf////tab////tab//<tr><th align='left'>Name</th><th align='left'>Value</th><th align='left'>Indirect</th></tr>//crlf////tab////tab//<tr><td>Condition_For_Update_Menu_Item_Checksum</td><td>{@breakHtmlLine(getToken(Condition_For_Update_Menu_Item_Checksum))}</td><td>{@breakHtmlLine(indirect(getToken(Condition_For_Update_Menu_Item_Checksum)))}</td></tr>//crlf////tab////tab//<tr><td>Condition_For_Notify_Inventory_Master</td><td>{@breakHtmlLine(getToken(Condition_For_Notify_Inventory_Master))}</td><td>{@breakHtmlLine(indirect(getToken(Condition_For_Notify_Inventory_Master)))}</td></tr>//crlf////tab////tab//<tr><td>Master_Menuitem_Checksum_Filename</td><td>{@breakHtmlLine(getToken(Master_Menuitem_Checksum_Filename))}</td><td>{@breakHtmlLine(indirect(getToken(Master_Menuitem_Checksum_Filename)))}</td></tr>//crlf////tab////tab//<tr><td>Master_MenuItem_RecipeDta_Filename</td><td>{@breakHtmlLine(getToken(Master_MenuItem_RecipeDta_Filename))}</td><td>{@breakHtmlLine(indirect(getToken(Master_MenuItem_RecipeDta_Filename)))}</td></tr>//crlf////tab////tab//<tr><td>Notification_Menuitem_Checksum_Filename</td><td>{@breakHtmlLine(getToken(Notification_Menuitem_Checksum_Filename))}</td><td>{@breakHtmlLine(indirect(getToken(Notification_Menuitem_Checksum_Filename)))}</td></tr>//crlf////tab////tab//<tr><td>Received_Menuitem_Checksum_Filename</td><td>{@breakHtmlLine(getToken(Received_Menuitem_Checksum_Filename))}</td><td>{@breakHtmlLine(indirect(getToken(Received_Menuitem_Checksum_Filename)))}</td></tr>//crlf////tab////tab//<tr><td>State_For_Update_Menu_Item_Checksum</td><td>{@breakHtmlLine(getToken(State_For_Update_Menu_Item_Checksum))}</td><td>{@breakHtmlLine(indirect(getToken(State_For_Update_Menu_Item_Checksum)))}</td></tr>//crlf////tab//</table>//crlf////crlf////tab//<h2>Inventory Master</h2>//crlf////tab//<table class=\\quot\\basic1\\quot\\>//crlf////tab////tab//<tr><th align='left'>Name</th><th align='left'>Value</th><th align='left'>Indirect</th></tr>//crlf////tab////tab//<tr><td>Condition_For_Update_Inventory_Checksum</td><td>{@breakHtmlLine(getToken(Condition_For_Update_Inventory_Checksum))}</td><td>{@breakHtmlLine(indirect(getToken(Condition_For_Update_Inventory_Checksum)))}</td></tr>//crlf////tab////tab//<tr><td>Condition_For_Send_Inventory_Master</td><td>{@breakHtmlLine(getToken(Condition_For_Send_Inventory_Master))}</td><td>{@breakHtmlLine(indirect(getToken(Condition_For_Send_Inventory_Master)))}</td></tr>//crlf////tab////tab//<tr><td>Master_Inventory_IngrDta_Filename</td><td>{@breakHtmlLine(getToken(Master_Inventory_IngrDta_Filename))}</td><td>{@breakHtmlLine(indirect(getToken(Master_Inventory_IngrDta_Filename)))}</td></tr>//crlf////tab////tab//<tr><td>Master_Inventory_State_Filespec</td><td>{@breakHtmlLine(getToken(Master_Inventory_State_Filespec))}</td><td>{@breakHtmlLine(indirect(getToken(Master_Inventory_State_Filespec)))}</td></tr>//crlf////tab////tab//<tr><td>Master_Inventory_Zip_Filename</td><td>{@breakHtmlLine(getToken(Master_Inventory_Zip_Filename))}</td><td>{@breakHtmlLine(indirect(getToken(Master_Inventory_Zip_Filename)))}</td></tr>//crlf////tab////tab//<tr><td>Received_Master_Inventory_Filename</td><td>{@breakHtmlLine(getToken(Received_Master_Inventory_Filename))}</td><td>{@breakHtmlLine(indirect(getToken(Received_Master_Inventory_Filename)))}</td></tr>//crlf////tab////tab//<tr><td>State_For_Update_Inventory_Checksum</td><td>{@breakHtmlLine(getToken(State_For_Update_Inventory_Checksum))}</td><td>{@breakHtmlLine(indirect(getToken(State_For_Update_Inventory_Checksum)))}</td></tr>//crlf////tab//</table>//crlf//</conditional>//crlf//^
ID=AspectScript_Shared|X=1500|Y=18|W=804|H=884|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\DailyInventoryBackup\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//=========================================================================//crlf////tab//Creates a backup for the active store and the current day if one does //crlf////tab//already not exist.  Deletes any files older than 30 days if there are //crlf////tab//more than 30 files in the directory//crlf////tab//Params://crlf////tab////tab//Overwrite - Optional.  If true\\comma\\ a backup will be created even if one already exists//crlf////crlf////tab//Returns \\quot\\OK\\quot\\ or an error message.//crlf////tab//=========================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\DailyInventoryBackup\\quot\\; commands:\\quot\\//crlf////tab////tab////abort if this is not a store//crlf////tab////tab//if(getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)<>\\quot\\store\\quot\\)//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Aborting because this is not a store computer\\quot\\))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//sStoreCode=trim(getToken(\\quot\\Aspect6ActiveStoreCode\\quot\\))//crlf////crlf////tab////tab////abort if store code is invalid//crlf////tab////tab//if(len(sStoreCode)=0)//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Aborting because active store code is blank\\quot\\))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get the directory of the store to be backed up//crlf////tab////tab//sDir=addDirSlash(lookup(Aspect6_Store_Directories_By_Code\\comma\\sStoreCode))//crlf////crlf////tab////tab////abort if directory is invalid//crlf////tab////tab//if(len(trim(sDir))=0)//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Aborting because invalid directory for store \\quot\\+sStoreCode))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//sBackupDir=sDir+\\quot\\backup/\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Backup directory is: \\quot\\+sBackupDir)//crlf////crlf////tab////tab////create backup directory if necessary//crlf////tab////tab//if(not(fileExists(sBackupDir)))//crlf////tab////tab////tab//appendToLog(\\quot\\Creating directory: \\quot\\+sBackupDir)//crlf////tab////tab////tab//fileMakeDirectory(sBackupDir)//crlf////tab////tab//else//crlf////tab////tab////tab//if(fileIsDirectory(sBackupDir))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Directory exists: \\quot\\+sBackupDir)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Directory is a file: \\quot\\+sBackupDir))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////see if a file already exists for the current day//crlf////tab////tab//if(not(\\quot\\__overwrite__\\quot\\=\\quot\\true\\quot\\))//crlf////tab////tab////tab//sFilename=sBackupDir+\\quot\\inventory_files_\\quot\\+formatDate(now()\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\.zip\\quot\\//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\A backup already exists: \\quot\\+sFilename+\\quot\\ created \\quot\\+formatDate(fileModified(sFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////get files in the backup directory//crlf////tab////tab//arFiles=getMatchingFiles(sBackupDir+\\quot\\inventory_files*.zip\\quot\\\\comma\\false\\comma\\false)//crlf////tab////tab////crlf////tab////tab////if there are more than 30 files\\comma\\ delete files older than 30 days//crlf////tab////tab////but always leave at least 7 files in the directory//crlf////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\Found \\quot\\+c+\\quot\\ files in the backup directory\\quot\\)//crlf////tab////tab//if(c>14)//crlf////tab////tab////tab//cFilesLeft=c//crlf////tab////tab////tab//tLess30=incrementTime(now()\\comma\\-30)//crlf////tab////tab////tab//tLess14=incrementTime(now()\\comma\\-14)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while((n<c) and (cFilesLeft>7))//crlf////tab////tab////tab////tab//sFilename=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//s=getElement(fileName(sFilename)\\comma\\2\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab////tab////tab//t=parseTime(s\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab//if((year(t)>1969) and (t<tLess14))//crlf////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab////tab//cFilesLeft=cFilesLeft -1//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Deleting \\quot\\+sFilename+\\quot\\ Files left=\\quot\\+cFilesLeft)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab//endif//crlf////crlf////tab////tab////zip the files//crlf////tab////tab//sFilename=sBackupDir+\\quot\\inventory_files_\\quot\\+formatDate(now()\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\.zip\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Backing up inventory files from \\quot\\+sDir+\\quot\\ to \\quot\\+sFilename)//crlf////tab////tab//s=getToken(\\quot\\MenuMaintenance_Files\\quot\\)//crlf////tab////tab//sFilespec=sDir+replaceSubstring(s\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\char(0x3B)+sDir)//crlf////tab////tab//appendToLog(\\quot\\Filespec=\\quot\\+sFilespec)//crlf////tab////tab//s=zipFiles(sFilename\\comma\\sFilespec\\comma\\false\\comma\\false\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//fileCopy(sFilename\\comma\\sBackupDir+\\quot\\inventory_files_\\quot\\+formatDate(now()\\comma\\\\quot\\MMM\\quot\\)+\\quot\\.zip\\quot\\)//crlf////tab////tab//scriptSetResult(appendToLog(s))//crlf////crlf////tab////tab////get daily files in the backup directory//crlf////tab////tab//arFiles=getMatchingFiles(sBackupDir+\\quot\\daily_files*.zip\\quot\\\\comma\\false\\comma\\false)//crlf////tab////tab////crlf////tab////tab////if there are more than 30 files\\comma\\ delete files older than 30 days//crlf////tab////tab////but always leave at least 7 files in the directory//crlf////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\Found \\quot\\+c+\\quot\\ daily files in the backup directory\\quot\\)//crlf////tab////tab//if(c>14)//crlf////tab////tab////tab//cFilesLeft=c//crlf////tab////tab////tab//tLess30=incrementTime(now()\\comma\\-30)//crlf////tab////tab////tab//tLess14=incrementTime(now()\\comma\\-14)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while((n<c) and (cFilesLeft>7))//crlf////tab////tab////tab////tab//sFilename=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//s=getElement(fileName(sFilename)\\comma\\2\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab////tab////tab//t=parseTime(s\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab//if((year(t)>1969) and (t<tLess14))//crlf////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab////tab//cFilesLeft=cFilesLeft -1//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Deleting \\quot\\+sFilename+\\quot\\ Files left=\\quot\\+cFilesLeft)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab//endif//crlf////crlf////tab////tab////zip daily files for the last 45 days//crlf////tab////tab//arExtension=\\quot\\lbr~~pipe~~dtl~~pipe~~pay~~pipe~~cnt~~pipe~~usg~~pipe~~mix\\quot\\//crlf////tab////tab//sFilespec=\\quot\\\\quot\\//crlf////tab////tab//dt=incrementTime(now()\\comma\\-45)//crlf////tab////tab//while(dt<now())//crlf////tab////tab////tab//sDate=formatDate(dt\\comma\\\\quot\\MM-dd-yy\\quot\\)//crlf////tab////tab////tab//c=getElementCount(arExtension\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sExt=getElement(arExtension\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sFilename=sDir+sDate+\\quot\\.\\quot\\+sExt//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//sFilespec=addElement(sFilespec\\comma\\sFilename\\comma\\char(0x3B))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////sFilespec=addElement(sFilespec\\comma\\getMatchingFiles(sDir+sDate+\\quot\\.\\quot\\+sExt\\comma\\false\\comma\\false)\\comma\\char(0x3B))//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//sFilename=sDir+\\quot\\employee.def\\quot\\//crlf////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab//sFilespec=addElement(sFilespec\\comma\\sFilename\\comma\\char(0x3B))//crlf////tab////tab//endif//crlf////tab////tab////sFilespec=addElement(sFilespec\\comma\\getMatchingFiles(sDir+\\quot\\employee.def\\quot\\\\comma\\false\\comma\\false)\\comma\\char(0x3B))//crlf////crlf////tab////tab//sFilename=sBackupDir+\\quot\\daily_files_\\quot\\+formatDate(now()\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\.zip\\quot\\//crlf////tab////tab//sFilespec=replaceSubstring(sFilespec\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\char(0x3B))//crlf////tab////tab//appendToLog(\\quot\\Daily Filespec=\\quot\\+sFilespec)//crlf////tab////tab//sDaily=zipFiles(sFilename\\comma\\sFilespec\\comma\\false\\comma\\false\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//fileCopy(sFilename\\comma\\sBackupDir+\\quot\\daily_files_\\quot\\+formatDate(now()\\comma\\\\quot\\MMM\\quot\\)+\\quot\\.zip\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//^
ID=code|X=1500|Y=0|W=1200|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<select onChange=\\quot\\showTab(this)\\quot\\>//crlf////tab////tab//<option value='overview'>Overview</option>//crlf////tab////tab//<option value='menuitem_options'>Options - Menu Item Master</option>//crlf////tab////tab//<option value='inventory_options'>Options - Inventory Master</option>//crlf////tab////tab//<option value='155632'>Javascript</option>//crlf////tab////tab//<option value='AspectScript_Menuitems'>Aspect - Menu Items</option>//crlf////tab////tab//<option value='AspectScript_Inventory'>Aspect - Inventory</option>//crlf////tab////tab//<option value='AspectScript_Shared'>Aspect - Shared</option>//crlf////tab////tab//<option value='debug_info'>Debugging</span></td>//crlf////tab////tab//<option value='control_panel_content'>Control Panel Content</span></td>//crlf////tab////tab//<option value='content_select_store'>Control Panel - Select Aspect6 Store</span></td>//crlf////tab////tab//<option value='content_Inventory_Items'>Control Panel - Inventory Items</span></td>//crlf////tab////tab//<option value='content_recipes'>Control Panel - Recipes</span></td>//crlf////tab////tab//<option value='729625'>Notes - Menu Items</option>//crlf////tab////tab//<option value='729794'>Notes - Inventory</option>//crlf////tab////tab//<option value='debug_console'>Debug</option>//crlf//</select>//crlf//^
ID=control_panel_content|X=1500|Y=18|W=804|H=884|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@now()}//crlf////tab//- never changes -//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<!-- //crlf////tab//The CustomerID is defined when this widget is loaded from the control panel.//crlf////tab//The constant is defined here only for testing //crlf//-->//crlf//<conditional expression:(getToken(\\quot\\execmode\\quot\\)=\\quot\\development\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\CustomerID\\quot\\\\comma\\\\quot\\__CustomerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf//</conditional>//crlf////crlf//<!conditional expression:startsWith(\\quot\\__CustomerID__\\quot\\\\comma\\\\quot\\__\\quot\\)>//crlf////tab//<p>CustomerID is not defined: __CustomerID__</p>//crlf//</conditional>//crlf////crlf//<!conditional expression:not(startsWith(\\quot\\__CustomerID__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////tab//<br>//crlf////tab//<table class='tabdialog'>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__472581')\\quot\\>Setup</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__tasks')\\quot\\>Tasks</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__logMenu')\\quot\\>Log - Menu Items</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__logInv')\\quot\\>Log - Inventory</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__716148')\\quot\\>Debugging</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__menudoc')\\quot\\>Doc - Menu Items</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__invdoc')\\quot\\>Doc - Inventory</span></td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf////tab////crlf////tab//<!-- Options -->//crlf////tab//<div ID='__salt__472581'>//crlf////tab////tab//<br>//crlf////tab////tab//<span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\setInterval('__salt__options_widget'\\comma\\0\\comma\\true)\\quot\\>Refresh</span><br>//crlf////tab////tab//<br>//crlf////tab////tab//<div ID=\\quot\\__salt__options_widget\\quot\\ interval='0' style='width:100\\percent\\;' url='__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source=__CustomerID__//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect6 Menu Maintenance//amp//ContainerItemID=menu_maintenance_options'>//crlf////tab////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab////tab//</div> //crlf////tab//</div>//crlf////tab////crlf////tab//<!-- Tasks -->//crlf////tab//<div ID='__salt__tasks'>//crlf////tab////tab//<br>//crlf////tab////tab//<span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\setInterval('__salt__tasks_content'\\comma\\0\\comma\\true)\\quot\\>Get Tasks</span><br>//crlf////tab////tab//<br>//crlf////tab////tab//<div ID=\\quot\\__salt__tasks_content\\quot\\ interval='-1' style='width:100\\percent\\;' url='__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source=__CustomerID__//amp//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//Widget=Notification Queries//amp//ContainerItemID=//amp//query=scheduled_tasks//amp//display=Aspect6 Menu Maintenance Tasks'>//crlf////tab////tab//</div> //crlf////tab//</div>//crlf////crlf////tab//<!-- Log for Menu Master -->//crlf////tab//<div ID='__salt__logMenu'>//crlf////tab////tab//<br>//crlf////tab////tab//<span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\setInterval('__salt__logMenu_content'\\comma\\0\\comma\\true)\\quot\\>Get Log</span><br>//crlf////tab////tab//<br>//crlf////tab////tab//<div ID=\\quot\\__salt__logMenu_content\\quot\\ interval='-1' style='width:100\\percent\\;' url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source=__CustomerID__//amp//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//Widget=Notification Queries//amp//query=includeDriver//amp//SourceDriverID=Activity_Log_By_Filename//amp//DriverParams=KeyExpression=Index~~pipe~~CacheTtl=0~~pipe~~Date={@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}//amp//keyDescription=Index//amp//display=Menu Maintenance - Menu Items//amp//SelectDisplay=true//amp//EditDisplay=true//amp//tablestyle=width:770px//amp//CanEdit=false//amp//MaxRecords=1024\\quot\\>//crlf////tab////tab//</div> //crlf////tab//</div>//crlf////crlf////tab//<!-- Log for Inventory Master -->//crlf////tab//<div ID='__salt__logInv'>//crlf////tab////tab//<br>//crlf////tab////tab//<span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\setInterval('__salt__logInv_content'\\comma\\0\\comma\\true)\\quot\\>Get Log</span><br>//crlf////tab////tab//<br>//crlf////tab////tab//<div ID=\\quot\\__salt__logInv_content\\quot\\ interval='-1' style='width:100\\percent\\;' url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source=__CustomerID__//amp//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//Widget=Notification Queries//amp//query=includeDriver//amp//SourceDriverID=Activity_Log_By_Filename//amp//DriverParams=KeyExpression=Index~~pipe~~CacheTtl=0~~pipe~~Date={@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}//amp//keyDescription=Index//amp//display=Menu Maintenance - Inventory//amp//SelectDisplay=true//amp//EditDisplay=true//amp//tablestyle=width:770px//amp//CanEdit=false//amp//MaxRecords=1024\\quot\\>//crlf////tab////tab//</div> //crlf////tab//</div>//crlf////crlf////tab//<!-- Debugging -->//crlf////tab//<div ID='__salt__716148'>//crlf////tab////tab//<br>//crlf////tab////tab//<span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\setInterval('__salt__debug_widget'\\comma\\0\\comma\\true)\\quot\\>Debugging</span> (Click to refresh)<br>//crlf////tab////tab//<br>//crlf////tab////tab//<div ID=\\quot\\__salt__debug_widget\\quot\\ interval='-1' style='width:100\\percent\\;' url='__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source=__CustomerID__//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect6 Menu Maintenance//amp//ContainerItemID=debug_info//amp//getContent=true'>//crlf////tab////tab//</div> //crlf////tab//</div>//crlf////crlf////tab//<!-- Doc - Menu Master -->//crlf////tab//<div ID='__salt__menudoc'>//crlf////tab////tab//<br>//crlf////tab////tab//<span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\setInterval('__salt__menudoc_widget'\\comma\\0\\comma\\true)\\quot\\>Doc - Menu Items</span><br>//crlf////tab////tab//<br>//crlf////tab////tab//<div ID=\\quot\\__salt__menudoc_widget\\quot\\ interval='-1' style='width:600px;' url='__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect6 Menu Maintenance//amp//ContainerItemID=729625'>//crlf////tab////tab//</div> //crlf////tab//</div>//crlf////crlf////tab//<!-- Doc - Inventory Master -->//crlf////tab//<div ID='__salt__invdoc'>//crlf////tab////tab//<br>//crlf////tab////tab//<span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\setInterval('__salt__invdoc_widget'\\comma\\0\\comma\\true)\\quot\\>Doc - Inventory</span><br>//crlf////tab////tab//<br>//crlf////tab////tab//<div ID=\\quot\\__salt__invdoc_widget\\quot\\ interval='-1' style='width:600px;' url='__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect6 Menu Maintenance//amp//ContainerItemID=729794'>//crlf////tab////tab//</div> //crlf////tab//</div>//crlf//</conditional>^
ID=overview|X=1500|Y=18|W=804|H=884|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h2>Items in this widget</h2>//crlf////crlf//<dl>//crlf////tab//<dt>Overview</dt>//crlf////tab//<dd>This item</dd>//crlf////tab//<br>//crlf////crlf////tab//<dt>Javascript</dt>//crlf////tab//<dd>Functions to enable tasks when the computer is selected to be an inventory or//crlf////tab////tab//menu item master.</dd>//crlf////tab//<br>//crlf////crlf////tab//<dt>Aspect - Menu Items</dt>//crlf////tab//<dd>Scripts used to://crlf////tab////tab//<ul>//crlf////tab////tab////tab//<li>Enable tasks</li>//crlf////tab////tab////tab//<li>Calculate the menu item checksum</li>//crlf////tab////tab////tab//<li>Send the menu items to the inventory master</li>//crlf////tab////tab////tab//<li>Receive the menu items on the inventory master</li>//crlf////tab////tab////tab//<li>Merge the menu items on the inventory master</li>//crlf////tab////tab//</ul>//crlf////tab//</dd>//crlf////tab//<br>//crlf////crlf////tab//<dt>Aspect - Inventory</dt>//crlf////tab//<dd>Scripts used to://crlf////tab////tab//<ul>//crlf////tab////tab////tab//<li>Enable tasks</li>//crlf////tab////tab////tab//<li>Calculate the inventory checksum</li>//crlf////tab////tab////tab//<li>Send the inventory files to the stores</li>//crlf////tab////tab////tab//<li>Receive the inventory files at the stores</li>//crlf////tab////tab////tab//<li>Merge the inventory files at the stores</li>//crlf////tab////tab//</ul>//crlf////tab//</dd>//crlf////tab//<br>//crlf////crlf////tab//<dt>Aspect - Shared</dt>//crlf////tab//<dd>Scripts used to://crlf////tab////tab//<ul>//crlf////tab////tab////tab//<li>Backup files before merging files</li>//crlf////tab////tab//</ul>//crlf////tab//</dd>//crlf////tab//<br>//crlf////crlf////tab//<dt>Debugging</dt>//crlf////tab//<dd>Contains token values and other information used for debugging.  This item is//crlf////tab////tab//included in the content when the widget is loaded in the Aspect Support control panel</dd>//crlf////tab//<br>//crlf////crlf////tab//<dt>Control Panel Content</dt>//crlf////tab//<dd>An item that includes both the item that users see and the debugging item.  This item//crlf////tab////tab//is used when accessing the widget from the Aspect Support control panel.</dd>//crlf////tab//<br>//crlf////crlf////tab//<dt>Notes - Menu Items</dt>//crlf////tab//<dd>Documentation on how new menu items are handled</dd>//crlf////tab//<br>//crlf////crlf////tab//<dt>Notes - Inventory</dt>//crlf////tab//<dd>Documentation on how inventory files are updated at the stores</dd>//crlf////tab//<br>//crlf//</dl>^
ID=menuitem_options|X=1500|Y=18|W=804|H=884|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\__salt__ASPECT6_MENU_MAINTENANCE_OPTIONSDialog\\quot\\ style=\\quot\\height:auto; width:auto; display:block;\\quot\\>//crlf////tab//<div style=\\quot\\padding:0px\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<img onclick=\\quot\\closeTableEditDialog(this)\\quot\\ style=\\quot\\float:right;display:none\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight\\amp\\ID=getImage\\amp\\filename=close20x20.png\\quot\\>//crlf////crlf////tab////tab//<hr>//crlf////tab////tab//<h2>Setup</h2>//crlf////tab////tab//<hr>//crlf////crlf////tab////tab//<!-- select store -->//crlf////tab////tab//Master MenuItem Store Code //crlf////tab////tab//<span><!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Store_Codes_With_Select\\quot\\\\comma\\\\quot\\Master_MenuItem_Store_Code\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\\\plus\\quote(\\quot\\width:auto\\quot\\)\\plus\\\\quot\\ onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\))></span>//crlf////tab////tab//<br>//crlf////crlf////tab////tab//<!-- checkbox to enable updated -->//crlf////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Enable_MenuItem_Master\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input></span>//crlf////tab////tab////tab//Enable menu item updates<br>//crlf////tab////tab//<br>//crlf////crlf////crlf////tab////tab//<!-- information about the recipe.dta being monitored -->//crlf////tab////tab//File information//crlf////tab////tab//<table class=\\quot\\basic1\\quot\\>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<th align=\\apos\\left\\apos\\>Name</th>//crlf////tab////tab////tab////tab//<th align=\\apos\\left\\apos\\>Size</th>//crlf////tab////tab////tab////tab//<th align=\\apos\\left\\apos\\>Modified</th>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>{@indirect(getToken(\\quot\\Master_MenuItem_RecipeDta_Filename\\quot\\))}</td>//crlf////tab////tab////tab////tab//<td>{@formatNumber(fileSize(indirect(getToken(\\quot\\Master_MenuItem_RecipeDta_Filename\\quot\\)))\\comma\\\\quot\\\\pound\\\\pound\\\\pound\\~~pipe~~\\pound\\\\pound\\\\pound\\~~pipe~~\\pound\\\\pound\\\\pound\\\\quot\\)}//crlf////tab////tab////tab////tab//<td>{@formatDate(fileModified(indirect(getToken(\\quot\\Master_MenuItem_RecipeDta_Filename\\quot\\)))\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)}//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////tab////tab//<br>//crlf////crlf////tab////tab//<hr>//crlf////tab////tab//<h2>Results</h2>//crlf////tab////tab//<hr>//crlf////tab////tab//Last Checksum calculated <span name=\\quot\\Last_MenuItem_Checksum_Calc_Time\\quot\\></span>//crlf////tab////tab//<br><br>//crlf////tab////tab//Menu items last sent <span name=\\quot\\Last_MenuItem_Checksum_Sent_Time_For_Display\\quot\\></span>//crlf////tab////tab//<br><br>//tab////tab////crlf////tab////tab//Inventory Master {@if(getToken(\\quot\\MasterMenuItemChecksum\\quot\\)=getToken(\\quot\\RemoteMenuItemChecksum\\quot\\)\\comma\\\\quot\\is up to date\\quot\\\\comma\\\\quot\\needs update\\quot\\)}//crlf////crlf////crlf////tab//</div>//crlf//</div>//crlf////crlf//<!include type:driver;//crlf////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab//title: \\quot\\\\quot\\;//crlf////tab//HashID: \\quot\\\\quot\\;//crlf////tab//driver: \\quot\\ASPECT6_MENU_MAINTENANCE_OPTIONS\\quot\\;//crlf////tab//name: \\quot\\\\quot\\;//crlf////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab//dispose: \\quot\\false\\quot\\;//crlf////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0\\quot\\;//crlf////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab//display: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\\\quot\\;//crlf////tab//sort: \\quot\\ID\\quot\\;//crlf////tab//filter: \\quot\\DiskIndex=0\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab//style: \\quot\\display:none\\quot\\;//crlf////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab//DialogOnly: \\quot\\true\\quot\\;//crlf////tab//EditDialogID: \\quot\\__salt__ASPECT6_MENU_MAINTENANCE_OPTIONSDialog\\quot\\;//crlf////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab//Messages: \\quot\\true\\quot\\;//crlf////tab//ChartType: \\quot\\\\quot\\;//crlf////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab//debug: \\quot\\false\\quot\\;//crlf//>//crlf//^
ID=inventory_options|X=1500|Y=18|W=804|H=884|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////crlf//<h1>Inventory Item Options AspectHashID={AspectHashID}</h1>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\__salt__ASPECT6_MENU_MAINTENANCE_OPTIONSDialog\\quot\\ style=\\quot\\height:auto; width:auto; display:block;\\quot\\>//crlf////tab//<div style=\\quot\\padding:0px\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<img onclick=\\quot\\closeTableEditDialog(this)\\quot\\ style=\\quot\\float:right;display:none\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight\\amp\\ID=getImage\\amp\\filename=close20x20.png\\quot\\>//crlf////crlf////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Enable_Inventory_Master\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input></span>//crlf////tab////tab////tab//Enable inventory updates<br>//crlf////crlf////tab////tab//Master Inventory Store Code //crlf////tab////tab//<span><!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Store_Codes_With_Select\\quot\\\\comma\\\\quot\\Master_Inventory_Store_Code\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\\\plus\\quote(\\quot\\width:auto\\quot\\)\\plus\\\\quot\\ onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\))></span>//crlf////tab////tab//<br><br>//crlf////crlf////tab////tab//<hr>//crlf////tab////tab//<h2>Options</h2>//crlf////tab////tab//<hr>//crlf////crlf////tab////tab//<table>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab//Files To Update<br>//crlf////tab////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Update_Inventory_Items\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab//Update inventory items and recipes<br>//crlf////tab////tab////tab////tab////tab//<span style=\\quot\\margin-left:30px\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Keep_Deleted_Items\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab//Keep deleted items<br>//crlf////tab////tab////tab////tab////tab//<span style=\\quot\\margin-left:30px\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Keep_Vendor_Assignments\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab//Keep vendor assignments and purchase size<br>//crlf////tab////tab////tab////tab////tab//<span style=\\quot\\margin-left:30px\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Keep_Count_Sizes\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab//Keep count sizes<br>//crlf////tab////tab////tab////tab////tab//<span style=\\quot\\margin-left:30px\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Keep_Area_Assignments\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab//Keep area assignments<br>//crlf////tab////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Update_Vendors\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab//Update Vendors<br>//crlf////tab////tab////tab////tab////tab//<span style=\\quot\\margin-left:30px\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Keep_GL_Account_Codes\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab//Keep G/L account codes<br>//crlf////tab////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Update_Area_Names\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab//Update area names<br>//crlf////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//<td style=\\quot\\padding-left:20px\\quot\\>//crlf////tab////tab////tab////tab////tab//Stores To Update<br>//crlf////tab////tab////tab////tab////tab//<span><!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Computer_Names_By_ID_No_Select\\quot\\\\comma\\\\quot\\Stores_To_Update\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\multiple style=\\quot\\\\plus\\quote(\\quot\\width:350px;height:200px\\quot\\)\\plus\\\\quot\\ onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\Company_ID=\\quot\\\\plus\\quote(getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)))></span>//crlf////tab////tab////tab////tab//</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////tab////tab//<br>//crlf////crlf////tab////tab//<!-- Time menu items were last received from the menu item master -->//crlf////tab////tab//<hr>//crlf////tab////tab//<h2>Menu Item Updates</h2>//crlf////tab////tab//<hr>//crlf////tab////tab//Menu item update last received: <span name=\\quot\\Last_MenuItem_Checksum_Received_Time_For_Display\\quot\\></span>//crlf////crlf////tab//</div>//crlf//</div>//crlf////crlf//<!include type:driver;//crlf////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab//title: \\quot\\\\quot\\;//crlf////tab//HashID: \\quot\\\\quot\\;//crlf////tab//driver: \\quot\\ASPECT6_MENU_MAINTENANCE_OPTIONS\\quot\\;//crlf////tab//name: \\quot\\\\quot\\;//crlf////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab//dispose: \\quot\\false\\quot\\;//crlf////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0\\quot\\;//crlf////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab//display: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\\\quot\\;//crlf////tab//sort: \\quot\\ID\\quot\\;//crlf////tab//filter: \\quot\\true\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab//style: \\quot\\display:none\\quot\\;//crlf////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab//DialogOnly: \\quot\\true\\quot\\;//crlf////tab//EditDialogID: \\quot\\__salt__ASPECT6_MENU_MAINTENANCE_OPTIONSDialog\\quot\\;//crlf////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab//Messages: \\quot\\true\\quot\\;//crlf////tab//ChartType: \\quot\\\\quot\\;//crlf////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab//debug: \\quot\\false\\quot\\;//crlf//>//crlf////crlf//<!include type:script; name:\\quot\\InvMaintSetup\\quot\\; commands:\\quot\\//crlf////tab////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\WRITE)//crlf////tab////tab//s=\\quot\\\\quot\\//crlf////tab////tab//s=s \\plus\\ htmlConstant(\\quot\\Last_Inventory_Checksum\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Last_Inventory_Checksum\\quot\\\\comma\\0))//crlf////tab////tab//s=s \\plus\\ htmlConstant(\\quot\\Last_Inventory_Checksum_Calc_Time\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Last_Inventory_Checksum_Calc_Time\\quot\\\\comma\\0)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab//driverClose(drvOptions)//crlf////tab////tab//scriptSetResult(s)//crlf//\\quot\\>//crlf////crlf//<hr>//crlf//<h2>Inventory Checksum</h2>//crlf//<hr>//crlf//<p>Current Checksum: __Last_Inventory_Checksum__ calculated at __Last_Inventory_Checksum_Calc_Time__</p>//crlf////crlf//<!include type:script; name:\\quot\\InvMaintSetup\\quot\\; commands:\\quot\\//crlf////tab//<conditional expression:false>//crlf////tab//===============================================================================//crlf////tab//Calculates table used to display the last checksum and time sent for each store//crlf////tab//===============================================================================//crlf////tab//</conditional>//crlf////crlf////tab//driverOpen(Aspect6_Menu_Maintenance_Options\\comma\\drvOptions\\comma\\WRITE)//crlf////tab//s=\\quot\\\\quot\\//crlf////crlf////tab//arRemoteInventoryChecksum=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Remote_Inventory_Checksum\\quot\\\\comma\\0)//crlf////tab//arRemoteInventoryChecksumTimeSent=driverGetFieldAbsolute(drvOptions\\comma\\\\quot\\Remote_Inventory_Checksum_Time_Sent\\quot\\\\comma\\0)//crlf////crlf////tab//sTableInvChecksum=char(0x3c)\\plus\\\\quot\\table class=\\apos\\basic1\\apos\\\\quot\\\\plus\\char(0x3e)\\plus\\char(13)\\plus\\char(10)//crlf////tab//sTableInvChecksum=sTableInvChecksum \\plus\\ getToken(\\quot\\tr\\quot\\)\\plus\\char(13)\\plus\\char(10)//crlf////tab//sTableInvChecksum=sTableInvChecksum \\plus\\ char(0x3c)\\plus\\\\quot\\th align=\\apos\\left\\apos\\\\quot\\\\plus\\char(0x3e)\\plus\\\\quot\\Hash ID\\quot\\\\plus\\getToken(\\quot\\/th\\quot\\)\\plus\\char(13)\\plus\\char(10)//crlf////tab//sTableInvChecksum=sTableInvChecksum \\plus\\ char(0x3c)\\plus\\\\quot\\th align=\\apos\\left\\apos\\\\quot\\\\plus\\char(0x3e)\\plus\\\\quot\\Cksum\\quot\\\\plus\\getToken(\\quot\\/th\\quot\\)\\plus\\char(13)\\plus\\char(10)//crlf////tab//sTableInvChecksum=sTableInvChecksum \\plus\\ char(0x3c)\\plus\\\\quot\\th align=\\apos\\left\\apos\\\\quot\\\\plus\\char(0x3e)\\plus\\\\quot\\Time\\quot\\\\plus\\getToken(\\quot\\/th\\quot\\)\\plus\\char(13)\\plus\\char(10)//crlf////tab//sTableInvChecksum=sTableInvChecksum \\plus\\ getToken(\\quot\\/tr\\quot\\)\\plus\\char(13)\\plus\\char(10)//crlf////tab//c=getElementCount(arRemoteInventoryChecksum\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab//n=0//crlf////tab//while(n<c)//crlf////tab////tab//s1=getElement(arRemoteInventoryChecksum\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//sHashID=getElement(s1\\comma\\0\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab//sName=lookup(Aspect_BackOffice_Computer_Names_By_ID\\comma\\sHashID)//crlf////tab////tab//sCkSum=getElement(s1\\comma\\1\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab//sTime=getElementValue(arRemoteInventoryChecksumTimeSent\\comma\\sHashID\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//sTableInvChecksum=sTableInvChecksum \\plus\\ getToken(\\quot\\tr\\quot\\)\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab//sTableInvChecksum=sTableInvChecksum \\plus\\ getToken(\\quot\\td\\quot\\) \\plus\\ sName \\plus\\ getToken(\\quot\\/td\\quot\\)\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab//sTableInvChecksum=sTableInvChecksum \\plus\\ getToken(\\quot\\td\\quot\\) \\plus\\ sCkSum \\plus\\ getToken(\\quot\\/td\\quot\\)\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab//sTableInvChecksum=sTableInvChecksum \\plus\\ getToken(\\quot\\td\\quot\\) \\plus\\ formatDate(date(sTime)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\) \\plus\\ getToken(\\quot\\/td\\quot\\)\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab//sTableInvChecksum=sTableInvChecksum \\plus\\ getToken(\\quot\\/tr\\quot\\)\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab//n=n\\plus\\1//crlf////tab//endwhile//crlf////tab//sTableInvChecksum=sTableInvChecksum\\plus\\getToken(\\quot\\/table\\quot\\)\\plus\\char(13)\\plus\\char(10)//crlf////tab//s=s \\plus\\ htmlConstant(\\quot\\TableInvChecksum\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sTableInvChecksum)//crlf////crlf////tab//driverClose(drvOptions)//crlf////tab//scriptSetResult(s)//crlf//\\quot\\>//crlf////crlf//<!-- Time inventory files were last sent to each store -->//crlf//<hr>//crlf//<h2>Store Updates</h2>//crlf//<hr>//crlf//__TableInvChecksum__//crlf//<br>//crlf//^
ID=813967|X=1701|Y=1|W=75|H=18|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=code|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\loadContent('AspectScript_Shared'\\comma\\'query=DailyInventoryBackup//amp//overwrite=false')\\quot\\>Test Backup</span>^
ID=content_Inventory_Items|X=1500|Y=18|W=869|H=689|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(false) or (\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf////tab//<!-- Dialog used to edit a record -->//crlf////tab//<div ID=\\quot\\__salt__ASPECT6_DRIVER_INVENTORY_ITEMSDialog\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:auto; display:none;\\quot\\>//crlf////tab////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab////tab//<img onclick=\\quot\\closeTableEditDialog(this)\\quot\\ style=\\quot\\float:right;display:block\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getImage//amp//filename=close20x20.png\\quot\\>//crlf////crlf////tab////tab////tab//<div style=\\quot\\width:100\\percent\\; border-bottom:solid 1px //pound//c9c9c9\\quot\\>//crlf////tab////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'__tabrandom__Item')\\quot\\>Item</span></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//tab////crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<!-- Item -->//crlf////tab////tab////tab//<div ID=\\quot\\__tabrandom__Item\\quot\\ style=\\quot\\width:300px;height:100px;\\quot\\>//crlf////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:150px\\quot\\ VALUE=\\quot\\A-1 Sauce 5oz\\quot\\ NAME=\\quot\\ID_TINGREDIENTREC_NAME\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT6_DRIVER_INVENTORY_ITEMS_BY_FILENAME\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID_RESERVED_DISKINDEX~~pipe~~CacheTtl=0~~pipe~~Filename=<!include type:expression; expression:addDirSlash(\\quot\\__Dir__\\quot\\)+\\quot\\ingr.dta\\quot\\>~~pipe~~Metadata=ASPECT6_DRIVER_INVENTORY_ITEMS_BY_FILENAME\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\300\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\__salt__ASPECT6_DRIVER_INVENTORY_ITEMSDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=content_select_aspect6_store|X=1500|Y=18|W=782|H=599|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__selected__\\quot\\=\\quot\\ingr\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////tab//<!!include type:expression; expression:htmlSelect(Aspect6_Store_Directories_With_Select\\comma\\\\quot\\Aspect6_Store_Directories_With_Select\\quot\\\\comma\\0\\comma\\\\quot\\ID=__salt__s\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\\\quot\\);>//crlf////tab//<input //crlf////tab////tab//type=\\quot\\button\\quot\\ //crlf////tab////tab//value=\\quot\\Get Table\\quot\\ //crlf////tab////tab//onClick='document.getElementById(\\quot\\__salt__d\\quot\\).setAttribute(\\quot\\url\\quot\\\\comma\\document.getElementById(\\quot\\__salt__d\\quot\\).getAttribute(\\quot\\_url\\quot\\)+\\quot\\//amp//Dir=\\quot\\+document.getElementById(\\quot\\__salt__s\\quot\\).value);setInterval(\\quot\\__salt__d\\quot\\\\comma\\0\\comma\\true)'>//crlf////crlf////tab//<div ID=\\quot\\__salt__d\\quot\\ interval=\\quot\\-1\\quot\\ _url=\\quot\\__RequestServer__/?Network=Greenlight//amp////crlf////tab////tab////tab//ID=getWidget//amp////crlf////tab////tab////tab//Source={AspectHashID}//amp////crlf////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp////crlf////tab////tab////tab//Widget=Aspect6 Menu Maintenance//amp////crlf////tab////tab////tab//ContainerItemID=content_Inventory_Items//amp////crlf////tab////tab////tab//getContent=true\\quot\\>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__selected__\\quot\\=\\quot\\recipe\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////tab//<!!include type:expression; expression:htmlSelect(Aspect6_Store_Directories_With_Select\\comma\\\\quot\\Aspect6_Store_Directories_With_Select\\quot\\\\comma\\0\\comma\\\\quot\\ID=__salt__s\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\\\quot\\);>//crlf////tab//<input //crlf////tab////tab//type=\\quot\\button\\quot\\ //crlf////tab////tab//value=\\quot\\Get Table\\quot\\ //crlf////tab////tab//onClick='document.getElementById(\\quot\\__salt__d\\quot\\).setAttribute(\\quot\\url\\quot\\\\comma\\document.getElementById(\\quot\\__salt__d\\quot\\).getAttribute(\\quot\\_url\\quot\\)+\\quot\\//amp//Dir=\\quot\\+document.getElementById(\\quot\\__salt__s\\quot\\).value);setInterval(\\quot\\__salt__d\\quot\\\\comma\\0\\comma\\true)'>//crlf////crlf////tab//<div ID=\\quot\\__salt__d\\quot\\ interval=\\quot\\-1\\quot\\ _url=\\quot\\__RequestServer__/?Network=Greenlight//amp////crlf////tab////tab////tab//ID=getWidget//amp////crlf////tab////tab////tab//Source={AspectHashID}//amp////crlf////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp////crlf////tab////tab////tab//Widget=Aspect6 Menu Maintenance//amp////crlf////tab////tab////tab//ContainerItemID=content_recipes//amp////crlf////tab////tab////tab//getContent=true\\quot\\>//crlf////tab//</div>//crlf//</conditional>^
ID=content_recipes|X=1500|Y=18|W=783|H=598|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__getcontent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT6_DRIVER_RECIPES\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Filename=<!include type:expression; expression:addDirSlash(\\quot\\__Dir__\\quot\\)+\\quot\\recipe.dta\\quot\\>~~pipe~~Metadata=ASPECT6_DRIVER_RECIPES\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\300\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT6_DRIVER_RECIPESDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>
</widget><widget name="POS Interface - Micros E7" group="POS Interface" category="Micros E7" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Micros E7" modified="07-22-2014 16:44:22" modifiedby="Keith-Dell2" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-02-2014 18:40:24:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=1210|toolboxy=278|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=HSI Merge.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=open_driver|X=183|Y=45|W=1041|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:\\quot\\('__action__'='openDriver')\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Micros E7 openPOSDriver\\quot\\; commands:\\quot\\//crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//This script opens a driver to read pos data for the given StoreID\\comma\\ DataType and Date.  //crlf////tab////tab//The return value is a pipe-delimited string in the form Status=n~~pipe~~Driver=DriverName~~pipe~~Modified=MM-dd-yyyy HH:mm:ss~~pipe~~Size=nnn//crlf////tab////tab//Status is -1=not valid\\comma\\ 0=valid but not available\\comma\\ 1=valid and available//crlf////tab////tab////crlf////tab////tab//Params://crlf////tab////tab////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab////tab//DataType - The ID of one of the datatypes defined in the Aspect_BackOffice_POS_Data_Types collection//crlf////tab////tab////tab//Date//tab// - A single date in the form MM-dd-yyyy//crlf////tab////tab////tab//OpenDriver - If false\\comma\\ the driver will not be opened but the expression used to test for data will be returned.//crlf////tab////tab////tab////tab////tab////tab//  This is used when adding tasks to the pos synch driver.//crlf////tab////tab////tab//Debug - If true\\comma\\ outputs debugging information to the log//crlf////tab////tab////crlf////tab////tab//Returns a string in the form://crlf////tab////tab////tab//status=n~~pipe~~Driver=drivername~~pipe~~modified=mm-dd-yyyy HH:mm:ss~~pipe~~size=nnn~~pipe~~DataAvailable=Expression~~pipe~~DataState=expression//crlf////tab////tab////crlf////tab////tab//Status is 1 on success or 0 if the data is not available.  Status is -1 if the datatype is not supported for the POS.//crlf////tab////tab//Modified is the date/time the data was last modified//crlf////tab////tab//Size is the number of records available (NOT the file size)//crlf////tab////tab////crlf////tab////tab//DataAvailable is an expression returned to test whether pos data is available or not.  It is used when//crlf////tab////tab//processing the synch tasks to avoid making calls to synchronize data when the pos data is not available.//crlf////tab////tab////crlf////tab////tab//DataState is an expression used to create a state value for the pos data.  It is generally a getFileSpecState//crlf////tab////tab//function.  This is used to determine when a synch task needs to be run because the pos data has been//crlf////tab////tab//modified//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//bDebug=(true) or (\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////crlf////tab////tab//bOpenDriver=if(startsWith(\\quot\\__OpenDriver__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\false\\comma\\boolean(\\quot\\__OpenDriver__\\quot\\))//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Micros E7 - OpenDriver __datatype__ __date__ __StoreID__ OpenDriver=\\quot\\+bOpenDriver)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////get driver ID//crlf////tab////tab//sDriverID=lookup(POS_Micros_E7_Associated_Driver_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//if(sDriverID=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Micros E7 returns \\quot\\+s+\\quot\\ because driver for datatype (__datatype__) is not defined\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get POS type//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////get business date//crlf////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab//sPOSDir=addDirSlash(lookup(Aspect_BackOffice_POS_Directory_By_Store_ID\\comma\\\\quot\\__storeID__\\quot\\))//crlf////tab////tab//sDataFilename=sPOSDir+formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\\\\quot\\+lookup(POS_Micros_E7_Associated_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////if the datatype is an identifier and the file doesn't exist in the dated directory//crlf////tab////tab////look in the pos directory//crlf////tab////tab//if((not(fileExists(sDataFilename))) and (startsWith(\\quot\\__datatype__\\quot\\\\comma\\\\quot\\ID_\\quot\\)))//crlf////tab////tab////tab//sDataFilename=sPOSDir+lookup(POS_Micros_E7_Associated_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab//sDriverName=\\quot\\__datatype___\\quot\\+getSalt(8)//crlf////tab////tab//sDriverParams=\\quot\\Filename=\\quot\\+sDataFilename+\\quot\\~~pipe~~DataType=__DataType__~~pipe~~StoreID=__StoreID__~~pipe~~date=__date__~~pipe~~POS=\\quot\\+sPOSType//crlf////crlf////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Micros E7 - Filename=\\quot\\+sDataFilename)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab//sDataAvailableExpression=\\quot\\fileExists(\\quot\\+quote(sDataFilename)+\\quot\\)\\quot\\//crlf////tab////tab//sDataStateExpression=\\quot\\getFilespecState(\\quot\\+quote(sDataFilename)+\\quot\\)\\quot\\//crlf////crlf////tab////tab////abort if the file does not exist//crlf////tab////tab//if(not(fileExists(sDataFilename))) //crlf////tab////tab////tab//s=\\quot\\status=0~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\File does not exist: \\quot\\+sDataFilename+\\quot\\.  OpenDriver returns \\quot\\+s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////just return the DataAvailable and DataState expressions if OpenDriver is false//crlf////tab////tab//if(not(bOpenDriver))//crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\openDriver returns \\quot\\+s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Micros E7 - Opening driver __datatype__ Params: \\quot\\+sDriverParams)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////these arguments are used to call another script in this item when processing//crlf////tab////tab////has to be done on the file//crlf////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Interface - Micros E7\\quot\\//crlf////tab////tab//sArgs=sArgs + \\quot\\//amp//ContainerItemID=open_driver\\quot\\//crlf////tab////tab//sArgs=sArgs + \\quot\\//amp//DriverName=\\quot\\+sDriverName+\\quot\\//amp//filename=\\quot\\+sDataFilename//crlf////tab////tab//sArgs=sArgs + \\quot\\//amp//StoreID=__StoreID__//amp//date=__date__\\quot\\//crlf////crlf////tab////tab////Revenue centers - process the system totals file and return a binary buffer//crlf////tab////tab//if(\\quot\\__datatype__\\quot\\=\\quot\\id_paid_in\\quot\\)//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=openPaidInIDs\\quot\\//crlf////tab////tab////tab//getWidget(sArgs)//crlf////tab////tab//elseif(\\quot\\__datatype__\\quot\\=\\quot\\id_paid_out\\quot\\)//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=openPaidOutIDs\\quot\\//crlf////tab////tab////tab//getWidget(sArgs)//crlf////tab////tab//elseif(\\quot\\__datatype__\\quot\\=\\quot\\id_tender\\quot\\)//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=openTenderIDs\\quot\\//crlf////tab////tab////tab//getWidget(sArgs)//crlf////tab////tab//elseif(\\quot\\__datatype__\\quot\\=\\quot\\id_revenue_centers\\quot\\)//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=openRevCtrIds\\quot\\//crlf////tab////tab////tab//getWidget(sArgs)//crlf////tab////tab//elseif(\\quot\\__datatype__\\quot\\=\\quot\\paidinout\\quot\\)//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=openPaidInOut\\quot\\//crlf////tab////tab////tab//getWidget(sArgs)//crlf////tab////tab//elseif(\\quot\\__datatype__\\quot\\=\\quot\\id_gift_certificates\\quot\\)//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=openGiftCert\\quot\\//crlf////tab////tab////tab//getWidget(sArgs)//crlf////tab////tab//elseif(\\quot\\__datatype__\\quot\\=\\quot\\check_details\\quot\\)//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=openCheckDetails\\quot\\//crlf////tab////tab////tab//getWidget(sArgs)//crlf////tab////tab//elseif(\\quot\\__datatype__\\quot\\=\\quot\\check_headers\\quot\\)//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=openCheckHeaders\\quot\\//crlf////tab////tab////tab//getWidget(sArgs)//crlf////tab////tab//elseif(\\quot\\__datatype__\\quot\\=\\quot\\othertotals\\quot\\)//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=openOtherTotals\\quot\\//crlf////tab////tab////tab//getWidget(sArgs)//crlf////tab////tab//else//crlf////tab////tab////tab//driverOpen(sDriverID\\comma\\sDriverName\\comma\\READ\\comma\\true\\comma\\sDriverParams)//crlf////tab////tab////tab//driverSetFilter(sDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//endif//crlf////crlf////tab////tab//s=\\quot\\status=1~~pipe~~Driver=\\quot\\+sDriverName+\\quot\\~~pipe~~modified=\\quot\\+formatDate(fileModified(sFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)+\\quot\\~~pipe~~size=\\quot\\+driverGetRecordCount(sDriverName\\comma\\true)//crlf////tab////tab//s=s+\\quot\\~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab//appendToLog(\\quot\\POS Interface - Micros E7 openDriver returns \\quot\\+s+\\quot\\ (\\quot\\+driverGetRecordCount(sDriverName)+\\quot\\ records)\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:\\quot\\('__action__'='openRevCtrIds')\\quot\\>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//Open Revenue Center ID's//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Micros E7 openRevCtrIds\\quot\\; commands:\\quot\\//crlf////tab////tab////Processes the system totals file to create a binary buffer containing //crlf////tab////tab////revenue center names//crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//DriverName - The driver name for the binary buffer that will be created//crlf////tab////tab//////tab//Filename - The filename for system totals.csv//crlf////tab////tab//////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//////crlf////tab////tab////Returns://crlf////tab////tab//////tab//OK//crlf////tab////crlf////tab////tab////open the system totals file//crlf////tab////tab//driverOpen(POS_Micros_E7_System_Totals\\comma\\drvSysTotal\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__filename__\\quot\\)//crlf////crlf////tab////tab////open the binary buffer//crlf////tab////tab//driverOpen(POS_Micros_E7_Rev_Ctr_IDs\\comma\\\\quot\\__DriverName__\\quot\\\\comma\\WRITE\\comma\\true\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__date__\\quot\\)//crlf////crlf////tab////tab//i=1//crlf////tab////tab//while(i<9)//crlf////tab////tab////tab//s=trim(driverGetFieldAbsolute(drvSysTotal\\comma\\\\quot\\Name\\quot\\+i\\comma\\1))//crlf////tab////tab////tab//if(len(s)>0)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(__DriverName__)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Number\\quot\\\\comma\\r\\comma\\i)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Name\\quot\\\\comma\\r\\comma\\s)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//i=i+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//driverClose(drvSysTotal)//crlf////tab////tab//scriptSetResult(r+1)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:\\quot\\('__action__'='openPaidInIDs')\\quot\\>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//Open Paid In ID's//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Micros E7 openPaidInIDs\\quot\\; commands:\\quot\\//crlf////tab////tab////Creates a dummy paid-in definition since definitions are not available//crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//DriverName - The driver name for the binary buffer that will be created//crlf////tab////tab//////tab//Filename - The filename for system totals.csv//crlf////tab////tab//////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//////crlf////tab////tab////Returns://crlf////tab////tab//////tab//1//crlf////tab////crlf////tab////tab////open the temporary driver//crlf////tab////tab////sFilename=fileDrive(\\quot\\__filename__\\quot\\)+fileDir(\\quot\\__filename__\\quot\\)+\\quot\\_PaidInId.csv\\quot\\//crlf////tab////tab//driverOpen(POS_Micros_E7_PaidOutDefs\\comma\\\\quot\\__DriverName__\\quot\\\\comma\\WRITE\\comma\\true\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__date__\\quot\\)//crlf////tab////tab//driverAddNewRecord(__DriverName__)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Number\\quot\\\\comma\\0\\comma\\1)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Name\\quot\\\\comma\\0\\comma\\\\quot\\Paid In\\quot\\)//crlf////tab////tab//scriptSetResult(1)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:\\quot\\('__action__'='openPaidOutIDs')\\quot\\>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//Open Paid Out ID's//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Micros E7 openPaidOutIDs\\quot\\; commands:\\quot\\//crlf////tab////tab////Creates a dummy paid-out definition since definitions are not available//crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//DriverName - The driver name for the binary buffer that will be created//crlf////tab////tab//////tab//Filename - The filename for system totals.csv//crlf////tab////tab//////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//////crlf////tab////tab////Returns://crlf////tab////tab//////tab//1//crlf////tab////crlf////tab////tab////open the binary buffer//crlf////tab////tab//driverOpen(POS_Micros_E7_PaidOutDefs\\comma\\\\quot\\__DriverName__\\quot\\\\comma\\WRITE\\comma\\true\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__date__\\quot\\)//crlf////tab////tab//driverAddNewRecord(__DriverName__)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Number\\quot\\\\comma\\0\\comma\\1)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Name\\quot\\\\comma\\0\\comma\\\\quot\\Paid Out\\quot\\)//crlf////tab////tab//scriptSetResult(1)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:\\quot\\('__action__'='openTenderIDs')\\quot\\>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//Open Tender ID's//crlf////crlf////tab//This is done so that an additional tender definition can be added to record total//crlf////tab//charge tips.  Tips are not available by tender type\\comma\\ so a new tender named Tips is//crlf////tab//added with an ID of 525.  A single entry is created in the simulated check detail//crlf////tab//to record the charge tips.  The ID of 525 is random\\comma\\ chosen to avoid an ID that//crlf////tab//is likely to actually already exist.//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Micros E7 openTenderIDs\\quot\\; commands:\\quot\\//crlf////tab////tab////Creates a dummy paid-out definition since definitions are not available//crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//DriverName - The driver name for the binary buffer that will be created//crlf////tab////tab//////tab//Filename - The filename for system totals.csv//crlf////tab////tab//////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//////crlf////tab////tab////Returns://crlf////tab////tab//////tab//1//crlf////tab////crlf////tab////tab////open the original tender definitions//crlf////tab////tab//driverOpen(POS_Micros_E7_TenderDefs\\comma\\drvTenderDef\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__filename__\\quot\\)//crlf////crlf////tab////tab////open the binary buffer//crlf////tab////tab//driverOpen(POS_Micros_E7_TenderDefs_Buffer\\comma\\\\quot\\__DriverName__\\quot\\\\comma\\WRITE\\comma\\true\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__date__\\quot\\)//crlf////crlf////tab////tab////add each tender (skip the first line which is the column headers)//crlf////tab////tab//c=driverGetRecordCount(drvTenderDef\\comma\\true)//crlf////tab////tab//n=1//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//iObj=driverGetFieldAbsolute(drvTenderDef\\comma\\\\quot\\Obj\\quot\\\\comma\\n)//crlf////tab////tab////tab//iName=driverGetFieldAbsolute(drvTenderDef\\comma\\\\quot\\Names\\quot\\\\comma\\n)//crlf////tab////tab////tab//r=driverAddNewRecord(__DriverName__)//crlf////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Number\\quot\\\\comma\\r\\comma\\iObj)//crlf////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Name\\quot\\\\comma\\r\\comma\\iName)//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab////add a tender for tips//crlf////tab////tab//r=driverAddNewRecord(__DriverName__)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Number\\quot\\\\comma\\r\\comma\\525)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Name\\quot\\\\comma\\r\\comma\\\\quot\\Charge Tips\\quot\\)//crlf////crlf////tab////tab//driverClose(drvTenderDef)//crlf////tab////tab//scriptSetResult(r+1)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:\\quot\\('__action__'='openPaidInOut')\\quot\\>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//Open Paid In/Out//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Micros E7 openPaidInOut\\quot\\; commands:\\quot\\//crlf////tab////tab//////crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//DriverName - The driver name for the binary buffer that will be created//crlf////tab////tab//////tab//Filename - The filename for system totals.csv//crlf////tab////tab//////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//////crlf////tab////tab////Returns://crlf////tab////tab//////tab//2//crlf////tab////crlf////tab////tab////open the system totals file//crlf////tab////tab//driverOpen(POS_Micros_E7_System_Totals\\comma\\drvSysTotal\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__filename__\\quot\\)//crlf////crlf////tab////tab////open the binary buffer//crlf////tab////tab//driverOpen(POS_Micros_E7_PaidInOut\\comma\\\\quot\\__DriverName__\\quot\\\\comma\\WRITE\\comma\\true\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__date__\\quot\\)//crlf////crlf////tab////tab////paid-out//crlf////tab////tab//r=driverAddNewRecord(__DriverName__)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\PaymentID\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\PaymentType\\quot\\\\comma\\r\\comma\\0)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvSysTotal\\comma\\\\quot\\PaidOutTotal\\quot\\\\comma\\1))//crlf////crlf////tab////tab////paid-in//crlf////tab////tab//r=driverAddNewRecord(__DriverName__)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\PaymentID\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\PaymentType\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(drvSysTotal\\comma\\\\quot\\PaidInTotal\\quot\\\\comma\\1))//crlf////crlf////tab////tab//driverClose(drvSysTotal)//crlf////tab////tab//scriptSetResult(2)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:\\quot\\('__action__'='openGiftCert')\\quot\\>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//Open Gift Certificate ID's//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Micros E7 openGiftCert\\quot\\; commands:\\quot\\//crlf////tab////tab//////crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//DriverName - The driver name for the binary buffer that will be created//crlf////tab////tab//////tab//Filename - The filename for system totals.csv//crlf////tab////tab//////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//////crlf////tab////tab////Returns://crlf////tab////tab//////tab//1//crlf////tab////crlf////tab////tab////open the binary buffer//crlf////tab////tab//driverOpen(POS_Micros_E7_GiftCert\\comma\\\\quot\\__DriverName__\\quot\\\\comma\\WRITE\\comma\\true\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__date__\\quot\\)//crlf////crlf////tab////tab////Add a record for gift cert sold//crlf////tab////tab//r=driverAddNewRecord(__DriverName__)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Number\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Name\\quot\\\\comma\\r\\comma\\\\quot\\Gift Cert Sold\\quot\\)//crlf////crlf////tab////tab//scriptSetResult(1)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:\\quot\\('__action__'='openCheckHeaders')\\quot\\>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//Open Check Headers//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Micros E7 openCheckHeaders\\quot\\; commands:\\quot\\//crlf////tab////tab//////crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//DriverName - The driver name for the binary buffer that will be created//crlf////tab////tab//////tab//Filename - The filename for system totals.csv//crlf////tab////tab//////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//////crlf////tab////tab////Returns://crlf////tab////tab//////tab//1//crlf////tab////crlf////tab////tab////open the system totals file//crlf////tab////tab//driverOpen(POS_Micros_E7_System_Totals\\comma\\drvSysTotal\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__filename__\\quot\\)//crlf////crlf////tab////tab////open the binary buffer//crlf////tab////tab//driverOpen(POS_Micros_E7_Check_Header\\comma\\\\quot\\__DriverName__\\quot\\\\comma\\WRITE\\comma\\true\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__date__\\quot\\)//crlf////crlf////tab////tab//r=driverAddNewRecord(__DriverName__)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Time_Open\\quot\\\\comma\\r\\comma\\parseTime(\\quot\\__date__ 00:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Time_Close\\quot\\\\comma\\r\\comma\\parseTime(\\quot\\__date__ 00:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Emp_Open\\quot\\\\comma\\r\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Emp_Close\\quot\\\\comma\\r\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Guests\\quot\\\\comma\\r\\comma\\0)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Rev_Ctr\\quot\\\\comma\\r\\comma\\0)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\SrcIndex\\quot\\\\comma\\r\\comma\\0)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\TableNumber\\quot\\\\comma\\r\\comma\\0)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\TransNum\\quot\\\\comma\\r\\comma\\0)//crlf////crlf////tab////tab//driverClose(drvSysTotal)//crlf////tab////tab//scriptSetResult(1)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:\\quot\\('__action__'='openCheckDetails')\\quot\\>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//Open Check Details//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Micros E7 openCheckDetails\\quot\\; commands:\\quot\\//crlf////tab////tab////Creates a set of check details to record voids\\comma\\ discounts\\comma\\ tenders and net sales//crlf////tab////tab////A dummy set of check details is created because actual check details are not available//crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//DriverName - The driver name for the binary buffer that will be created//crlf////tab////tab//////tab//Filename - The filename for system totals.csv//crlf////tab////tab//////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//////crlf////tab////tab////Returns://crlf////tab////tab//////tab//An integer indicating the number of records added//crlf////tab////crlf////tab////tab////open the binary buffer//crlf////tab////tab//driverOpen(POS_Micros_E7_Check_Detail\\comma\\__DriverName__\\comma\\WRITE\\comma\\true\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__date__\\quot\\)//crlf////crlf////tab////tab////add discounts//crlf////tab////tab//s=fileDrive(\\quot\\__filename__\\quot\\)+fileDir(\\quot\\__filename__\\quot\\)+\\quot\\Discount Totals.CSV\\quot\\//crlf////tab////tab//driverOpen(POS_Micros_E7_Discount_Totals\\comma\\drvDiscounts\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s)//crlf////tab////tab//driverSetFilter(drvDiscounts\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//c=driverGetRecordCount(drvDiscounts)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//iNum=driverGetField(drvDiscounts\\comma\\\\quot\\ObjNum\\quot\\\\comma\\n)//crlf////tab////tab////tab//dAmount=driverGetField(drvDiscounts\\comma\\\\quot\\NetSales\\quot\\\\comma\\n)//crlf////tab////tab////tab//if(dAmount<>0)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(__DriverName__)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\parseTime(\\quot\\__date__ 00:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\iNum)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Rectype\\quot\\\\comma\\r\\comma\\3)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////tab////tab//driverClose(drvDiscounts)//tab////tab////crlf////crlf////tab////tab////add tax//crlf////tab////tab//s=fileDrive(\\quot\\__filename__\\quot\\)+fileDir(\\quot\\__filename__\\quot\\)+\\quot\\Tax Totals.CSV\\quot\\//crlf////tab////tab//driverOpen(POS_Micros_E7_Tax_Totals\\comma\\drvTax\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s)//crlf////tab////tab//i=1//crlf////tab////tab//while(i<9)//crlf////tab////tab////tab//dAmount=driverGetFieldAbsolute(drvTax\\comma\\\\quot\\Tax\\quot\\+i\\comma\\1)//crlf////tab////tab////tab//if(dAmount<>0) //crlf////tab////tab////tab////tab//r=driverAddNewRecord(__DriverName__)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\parseTime(\\quot\\__date__ 00:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\i)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Rectype\\quot\\\\comma\\r\\comma\\4)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//i=i+1//crlf////tab////tab//endwhile//crlf////tab////tab//driverClose(drvTax)//tab////tab////crlf////crlf////tab////tab////add tenders//crlf////tab////tab//s=fileDrive(\\quot\\__filename__\\quot\\)+fileDir(\\quot\\__filename__\\quot\\)+\\quot\\Tender Totals.CSV\\quot\\//crlf////tab////tab//driverOpen(POS_Micros_E7_Tender_Totals\\comma\\drvTenderTotals\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s)//crlf////tab////tab//driverSetFilter(drvTenderTotals\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//c=driverGetRecordCount(drvTenderTotals)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//iObjNum=driverGetField(drvTenderTotals\\comma\\\\quot\\ObjNum\\quot\\\\comma\\n)//crlf////tab////tab////tab//dAmount=driverGetField(drvTenderTotals\\comma\\\\quot\\NetSales\\quot\\\\comma\\n)//crlf////tab////tab////tab//if(dAmount<>0)//crlf////tab////tab////tab////tab////add the tender//crlf////tab////tab////tab////tab//r=driverAddNewRecord(__DriverName__)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\parseTime(\\quot\\__date__ 00:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Quantity\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\iObjNum)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Rectype\\quot\\\\comma\\r\\comma\\8)//crlf////crlf////tab////tab////tab////tab////add a charge tip of 0//crlf////tab////tab////tab////tab//r=driverAddNewRecord(__DriverName__)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\parseTime(\\quot\\__date__ 00:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\r-1)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Quantity\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\0)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\iObjNum)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Rectype\\quot\\\\comma\\r\\comma\\10)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////tab////tab//driverClose(drvTenderTotals)//tab////tab////crlf////crlf////tab////tab////add charge tips from system totals.  Only a single charge tip figure is available//crlf////tab////tab//s=fileDrive(\\quot\\__filename__\\quot\\)+fileDir(\\quot\\__filename__\\quot\\)+\\quot\\System Totals.CSV\\quot\\//crlf////tab////tab//driverOpen(POS_Micros_E7_System_Totals\\comma\\drvSystemTotals\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s)//crlf////tab////tab//dAmount=driverGetFieldAbsolute(drvSystemTotals\\comma\\\\quot\\ChargedTips\\quot\\\\comma\\1)//crlf////crlf////tab////tab////add a tender with a 0 amount//crlf////tab////tab//r=driverAddNewRecord(__DriverName__)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\parseTime(\\quot\\__date__ 00:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\r)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Quantity\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\0)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\\\quot\\525\\quot\\)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Rectype\\quot\\\\comma\\r\\comma\\8)//crlf////crlf////tab////tab////add the charge tips//crlf////tab////tab//r=driverAddNewRecord(__DriverName__)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\parseTime(\\quot\\__date__ 00:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\r-1)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Quantity\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\\\quot\\525\\quot\\)//crlf////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Rectype\\quot\\\\comma\\r\\comma\\10)//crlf////tab////tab//driverClose(drvSystemTotals)//crlf////tab////tab////crlf////tab////tab////add gift certificate sales//crlf////tab////tab//s=fileDrive(\\quot\\__filename__\\quot\\)+fileDir(\\quot\\__filename__\\quot\\)+\\quot\\System Totals.CSV\\quot\\//crlf////tab////tab//driverOpen(POS_Micros_E7_System_Totals\\comma\\drvSystemTotals\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s)//crlf////tab////tab//dAmount=driverGetFieldAbsolute(drvSystemTotals\\comma\\\\quot\\ChargedTips\\quot\\\\comma\\1)//crlf////tab////tab////crlf////tab////tab////add menu totals//crlf////tab////tab//s=fileDrive(\\quot\\__filename__\\quot\\)+fileDir(\\quot\\__filename__\\quot\\)+\\quot\\Menu Item Totals.CSV\\quot\\//crlf////tab////tab//driverOpen(POS_Micros_E7_Menu_Item_Totals\\comma\\drvMenuTotals\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s)//crlf////tab////tab//driverSetFilter(drvMenuTotals\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//c=driverGetRecordCount(drvMenuTotals)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//iObjNum=driverGetField(drvMenuTotals\\comma\\\\quot\\ObjNum\\quot\\\\comma\\n)//crlf////tab////tab////tab//dCount=driverGetField(drvMenuTotals\\comma\\\\quot\\SalesCount\\quot\\\\comma\\n)//crlf////tab////tab////tab//dNetSales=driverGetField(drvMenuTotals\\comma\\\\quot\\NetSales\\quot\\\\comma\\n)//crlf////tab////tab////tab//if(dCount<>0)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(__DriverName__)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\parseTime(\\quot\\__date__ 00:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Quantity\\quot\\\\comma\\r\\comma\\dCount)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dNetSales)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\ID1\\quot\\\\comma\\r\\comma\\iObjNum)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\MenuItem\\quot\\\\comma\\r\\comma\\iObjNum)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Rectype\\quot\\\\comma\\r\\comma\\0)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////tab////tab//driverClose(drvMenuTotals)//tab////tab////crlf////tab////tab////crlf////tab////tab//scriptSetResult(driverGetRecordCount(__DriverName__\\comma\\true))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:\\quot\\('__action__'='openOtherTotals')\\quot\\>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//Open Other Totals//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Micros E7 openOtherTotals\\quot\\; commands:\\quot\\//crlf////tab////tab//////crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//DriverName - The driver name for the binary buffer that will be created//crlf////tab////tab//////tab//Filename - The filename for system totals.csv//crlf////tab////tab//////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//////crlf////tab////tab////Returns://crlf////tab////tab//////tab//An integer indicating the number of records added//crlf////tab////crlf////tab////tab////open the binary buffer//crlf////tab////tab//driverOpen(POS_Micros_E7_Other_Totals\\comma\\__DriverName__\\comma\\WRITE\\comma\\true\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__date__\\quot\\)//crlf////crlf////tab////tab////open the system totals file//crlf////tab////tab//driverOpen(POS_Micros_E7_System_Totals\\comma\\drvSysTotal\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__filename__\\quot\\)//crlf////crlf////tab////tab//arFieldID=driverGetFieldIDs(drvSysTotal\\comma\\0\\comma\\false)//crlf////tab////tab//c=getElementCount(arFieldID)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sFieldID=getElement(arFieldID\\comma\\n)//crlf////tab////tab////tab//if((pos(\\quot\\date\\quot\\\\comma\\sFieldID)<0) and (pos(\\quot\\name\\quot\\\\comma\\sFieldID)<0))//crlf////tab////tab////tab////tab//dAmount=driverGetFieldAbsolute(drvSysTotal\\comma\\sFieldID\\comma\\1)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(__DriverName__)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Name\\quot\\\\comma\\r\\comma\\sFieldID)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(__DriverName__\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dAmount)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////tab////tab//driverClose(drvSysTotal)//crlf////crlf////tab////tab//scriptSetResult(driverGetRecordCount(__DriverName__\\comma\\true))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf//
^
ID=tabs_synch|X=183|Y=23|W=214|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table name=\\quot\\tabs_synch\\quot\\ class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'open_driver')\\quot\\>Open Driver</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'setup')\\quot\\>Setup</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'pos_notes')\\quot\\>Notes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'diagnostics')\\quot\\>Diagnostics</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'documentation')\\quot\\>Documentation</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=code|X=300|Y=100|W=1200|H=20|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'743416')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>Aspect</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'760488')\\quot\\>Notes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=743416|X=300|Y=122|W=821|H=688|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=760488|X=300|Y=122|W=821|H=688|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=Notes
^
ID=debug_console|X=300|Y=122|W=821|H=688|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=pos_notes|X=183|Y=45|W=1041|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=true|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:450px\\quot\\>//crlf////crlf////tab//<p>Whenever the store list is modified\\comma\\ A task named \\quot\\Archive Micros E7 Exports -[storename]\\quot\\//crlf////tab//is created by a call from \\quot\\Aspect BackOffice - enablePOSPackages\\quot\\ to the //crlf////tab//\\quot\\createMicrosE7POSArchiveTask\\quot\\ script in this container.  This task archives the Micros E7 //crlf////tab//export files in a dated sub-folder beneath the directory containing the export files.  It//crlf////tab//executes whenever the E7 export files are modified.</p>//crlf////crlf////tab//<p>Archiving is done by a call to \\quot\\archiveMicrosE7ExportFiles\\quot\\ in this container</p>//crlf////crlf////crlf//</div>
^
ID=AspectScript|X=300|Y=122|W=822|H=688|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\createMicrosE7POSArchiveTask\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//=======================================================================//crlf////tab//Creates or updates the task used to archive Micros E7 export files//crlf////tab//beneath it.  A task is created for each store using Micros E7 that has//crlf////tab//import from pos enabled.  //crlf////crlf////tab//This task is called from the \\quot\\Aspect BackOffice - enablePOSPackages\\quot\\ script//crlf////tab//in the Aspect BackOffice package.  That script is called by a scheduled //crlf////tab//task whenever the Aspect_BackOffice/store_list.dta is modified.//crlf////crlf////tab//Params://crlf////tab////tab//None//crlf////crlf////tab//Returns://crlf////tab////tab//Ok:[message] or Error:[message] //crlf////tab//=======================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\createMicrosE7POSArchiveTask\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////disable all tasks.  They will be re-enabled and any left disabled will be deleted//crlf////tab////tab//driverOpen(TaskSchedulerView\\comma\\drvTasks\\comma\\WRITE)//crlf////tab////tab//sFilter=\\quot\\(startsWith(TaskName\\quot\\\\plus\\char(0x2C)\\plus\\quote(\\quot\\Archive Micros E7 Exports\\quot\\)\\plus\\\\quot\\))\\quot\\//crlf////tab////tab//driverSetFilter(drvTasks\\comma\\sFilter\\comma\\true)//crlf////tab////tab//c=driverGetRecordCount(drvTasks)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//driverPutField(drvTasks\\comma\\\\quot\\TaskEnabled\\quot\\\\comma\\n\\comma\\false)//crlf////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//driverOpen(Aspect_BackOffice_Store\\comma\\drvStore\\comma\\WRITE)//crlf////tab////tab//driverSetFilter(drvStore\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//cUpdated=0//crlf////tab////tab//c=driverGetRecordCount(drvStore)//crlf////tab////tab//n=0//crlf////tab////tab//while (n<c)//crlf////tab////tab////tab//sPos=driverGetField(drvStore\\comma\\\\quot\\POS_Type\\quot\\\\comma\\n)//crlf////tab////tab////tab//if(pos(\\quot\\micros_e7\\quot\\\\comma\\sPos)>=0)//crlf////tab////tab////tab////tab//bEnablePOSImport=driverGetField(drvStore\\comma\\\\quot\\Enable_POS_Import\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(bEnablePOSImport)//crlf////tab////tab////tab////tab////tab//sStoreName=driverGetField(drvStore\\comma\\\\quot\\Store_Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//sPOSDir=replaceSubstring(addDirSlash(driverGetField(drvStore\\comma\\\\quot\\POS_Directory\\quot\\\\comma\\n))\\comma\\\\quot\\\\\quot\\\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab////tab////tab////tab////create/update the task//crlf////tab////tab////tab////tab////tab//sParams=\\quot\\TaskName=Archive Micros E7 Exports\\quot\\//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskAltName=\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\Category1=Aspect7\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\Category2=POS Synch\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskEnabled=true\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskIntervalType=0\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskMinutesBetweenExecution=1\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskEventType=3\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\IsUserTask=true\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskState_Function=getFilespecState(\\quot\\\\plus\\quote(sPOSDir\\plus\\\\quot\\*.*\\quot\\)\\plus\\\\quot\\)\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskState_Expression_Description=Executes whenever files in the E7 export directory are modified.\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////Note: A check is done for both EmployeeDefs.CSV and System Totals.CSV because the//crlf////tab////tab////tab////tab////tab////files may be created at different times by different processes.  If the files are//crlf////tab////tab////tab////tab////tab////copied prematurely\\comma\\ the pos emulation task will run when the timeclock becomes//crlf////tab////tab////tab////tab////tab////available and then will not run again when the sales files become available//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskConditional_Expression=(fileExists(\\quot\\\\plus\\quote(sPOSDir\\plus\\\\quot\\EmployeeDefs.CSV\\quot\\)\\plus\\\\quot\\)) and (fileExists(\\quot\\\\plus\\quote(sPOSDir\\plus\\\\quot\\System Totals.CSV\\quot\\)\\plus\\\\quot\\))\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\quote(\\quot\\TaskExpression=getWidget(\\quot\\\\plus\\quote(\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=POS Interface - Micros E7\\amp\\ContainerItemID=AspectScript\\amp\\query=archiveMicrosE7ExportFiles\\amp\\POSDir=\\quot\\\\plus\\sPOSDir)\\plus\\\\quot\\)\\quot\\))//crlf////tab////tab////tab////tab////tab//sDescription=\\quot\\Archive Micros E7 export files for \\quot\\\\plus\\sStoreName\\plus\\\\quot\\.\\quot\\//crlf////tab////tab////tab////tab////tab//sDescription=sDescription \\plus\\ \\quot\\  This task is created by the Micros E7 interface container.\\quot\\//crlf////tab////tab////tab////tab////tab//sDescription=sDescription \\plus\\ \\quot\\  Settings for the task are updated whenever the Aspect7 store list is modified.\\quot\\//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskDescription=\\quot\\\\plus\\sDescription)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\IsUserTask=true\\quot\\)//crlf////tab////tab////tab////tab////tab//setTaskParams(\\quot\\TaskScheduler\\quot\\\\comma\\\\quot\\Archive Micros E7 Exports\\quot\\\\comma\\true\\comma\\sParams)//crlf////tab////tab////tab////tab////tab//cUpdated=cUpdated\\plus\\1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab//endwhile//crlf////tab////tab//driverClose(drvStore)//crlf////crlf////tab////tab////delete any disabled tasks//crlf////tab////tab//sFilter=\\quot\\(startsWith(TaskName\\quot\\\\plus\\char(0x2C)\\plus\\quote(\\quot\\Archive Micros E7 Exports\\quot\\)\\plus\\\\quot\\)) and (not(TaskEnabled))\\quot\\//crlf////tab////tab//driverSetFilter(drvTasks\\comma\\sFilter\\comma\\true)//crlf////tab////tab//cDelete=driverGetRecordCount(drvTasks)//crlf////tab////tab//if(cDelete>0)//crlf////tab////tab////tab//driverDeleteActiveRecords(drvTasks)//crlf////tab////tab////tab//enableTaskScheduler(\\quot\\TaskScheduler\\quot\\\\comma\\true)//crlf////tab////tab//endif//crlf////crlf////tab////tab//driverClose(drvTasks)//crlf////crlf////tab////tab//scriptSetResult(\\quot\\Ok.  Updated \\quot\\\\plus\\cUpdated\\plus\\\\quot\\ tasks.  Deleted \\quot\\\\plus\\cDelete)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\archiveMicrosE7ExportFiles\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//=======================================================================//crlf////tab//Copies files from the POS export directory to a dated directory //crlf////tab//beneath it.  //crlf////crlf////tab//Params://crlf////tab////tab//POSDir - The directory containing the export files//crlf////crlf////tab//Returns://crlf////tab////tab//Ok:[message] or Error:[message] //crlf////tab//=======================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\archiveMicrosE7ExportFiles\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////crlf////tab////tab//sPOSDir=addDirSlash(\\quot\\__POSDir__\\quot\\)//crlf////crlf////tab////tab////abort if Micros E7 package is not loaded//crlf////tab////tab//if(not(isPackageLoaded(\\quot\\POS_Micros_E7\\quot\\)))//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error.  Aborting because Micros E7 package is not loaded\\quot\\))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if the pos directory does not exist//crlf////tab////tab//if(not(fileExists(sPOSDir)))//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error.  Directory does not exist: \\quot\\\\plus\\sPOSDir))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if the pos directory is a file and not a directory//crlf////tab////tab//if(not(fileIsDirectory(sPOSDir)))//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error.  Directory is a file: \\quot\\\\plus\\sPOSDir))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if the directory contains no files//crlf////tab////tab//arFiles=getMatchingFiles(sPOSDir\\plus\\\\quot\\*.*\\quot\\)//crlf////tab////tab//if(getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)=0)//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error:  Directory contains no files: \\quot\\\\plus\\sPOSDir))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get collection of files to be archived.//crlf////tab////tab//arFiles=\\quot\\DiscountDefs.CSV\\comma\\EmployeeDefs.CSV\\comma\\FamilyGroupDefs.CSV\\comma\\JobDefs.CSV\\comma\\\\quot\\//crlf////tab////tab//arFiles=arFiles\\plus\\\\quot\\MajorGroupDefs.CSV\\comma\\Menu Item Totals.CSV\\comma\\MenuItemDefs.CSV\\comma\\ReasonDefs.CSV\\comma\\\\quot\\//crlf////tab////tab//arFiles=arFiles\\plus\\\\quot\\system totals.csv\\comma\\TaxRateDefs.CSV\\comma\\TenderDefs.CSV\\comma\\TimeClockDetails.CSV\\comma\\\\quot\\//crlf////tab////tab//arFiles=arFiles\\plus\\\\quot\\Discount Totals.CSV\\comma\\Void Totals.csv\\comma\\Time Period Totals.CSV\\comma\\Tax Totals.csv\\comma\\\\quot\\//crlf////tab////tab//arFiles=arFiles\\plus\\\\quot\\Tender Totals.CSV\\quot\\//crlf////tab////tab////crlf////tab////tab////get the date for the archive folder from the system totals file//crlf////tab////tab//sFilename=sPOSDir\\plus\\\\quot\\System Totals.CSV\\quot\\//crlf////tab////tab//driverOpen(POS_Micros_E7_System_Totals\\comma\\drvSysTotal\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sFilename)//crlf////tab////tab//s=driverGetFieldAbsolute(drvSysTotal\\comma\\\\quot\\StartBusinessDate\\quot\\\\comma\\1)//crlf////tab////tab//driverClose(drvSysTotal)//crlf////crlf////tab////tab////abort if no a valid data was not gotten//crlf////tab////tab//if(len(trim(s))=0)//crlf////tab////tab////tab//appendToLog(\\quot\\System totals filename=\\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//appendToLog(\\quot\\System totals file size=\\quot\\\\plus\\fileSize(sFilename))//crlf////tab////tab////tab//appendToLog(\\quot\\System totals file timestamp=\\quot\\\\plus\\fileModified(sFilename))//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error:  Unable to read date from system totals\\quot\\))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//dt=parseTime(s\\comma\\\\quot\\MM/dd/yyyy\\quot\\)//crlf////crlf////tab////tab//if((year(dt)<2000) or (year(dt)>2099))//crlf////tab////tab////tab//appendToLog(\\quot\\Could not read business date from \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//appendToLog(\\quot\\Archiving Micros E7 files for business date \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab//sArchiveDir=addDirSlash(sPOSDir\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\))//crlf////crlf////tab////tab////create the directory//crlf////tab////tab//if(not(fileExists(sArchiveDir)))//crlf////tab////tab////tab//fileMakeDirectory(sArchiveDir)//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if the directory name is a file//crlf////tab////tab//if(not(fileIsDirectory(sArchiveDir)))//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error.  Archive directory is a file: \\quot\\\\plus\\sArchiveDir))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////copy the files//crlf////tab////tab//cArchive=0//crlf////tab////tab//cError=0//crlf////tab////tab//c=getElementCount(arFiles)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//s=getElement(arFiles\\comma\\n)//crlf////tab////tab////tab//if(fileExists(sPosDir\\plus\\s))//crlf////tab////tab////tab////tab//fileCopy(sPosDir\\plus\\s\\comma\\sArchiveDir\\plus\\s)//crlf////tab////tab////tab////tab//cArchive=cArchive\\plus\\1//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\File does not exist \\quot\\\\plus\\sPosDir\\plus\\s)//crlf////tab////tab////tab////tab//cError=cError\\plus\\1//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//scriptSetResult(appendToLog(\\quot\\Ok: Archived \\quot\\\\plus\\cArchive\\plus\\\\quot\\ files.  Errors: \\quot\\\\plus\\cError))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf//
^
ID=setup|X=183|Y=45|W=1041|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=23|W=125|H=509|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=top_bar|X=0|Y=1|W=1158|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=documentation|X=183|Y=45|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h2>Micros E7 Documentation</h2>//crlf////crlf//
^
ID=diagnostics|X=183|Y=45|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h2>Micros E7 Diagnostics</h2>
</widget><widget name="POS Setup - Micros 3700" group="POS Interface" category="Micros 3700" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Setup - Micros 3700" modified="01-14-2018 12:37:27" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=12-26-2017 22:20:59:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=6|toolboxy=356|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=POS Setup - Micros 3700.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=672983|X=183|Y=22|W=884|H=553|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=LeftBarComputer|DefaultSource=true|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<constant name:__width__; value:\\quot\\325px\\quot\\>//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(6))>//crlf////crlf//<!-- Initialize driver if necessary -->//crlf//<include type:script; name:\\quot\\InitMicros3700CredDriver\\quot\\; commands:\\quot\\//crlf////tab//sFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice~~backslash~~Micros3700Cred.dta\\quot\\//crlf////tab//if((not(fileExists(sFilename))) or (fileSize(sFilename)=0)) or (\\quot\\__restoredefaults__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab////This container item is processed remotely\\comma\\ so it\\apos\\s not necessary to specify//crlf////tab////tab////a source here//crlf////tab////tab//sArgs=\\quot\\documentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\widget=POS Setup - Micros 3700\\quot\\//crlf////tab////tab//sArgs=sArgs \\plus\\ \\quot\\\\amp\\ContainerItemID=AspectScript\\amp\\action=initializeMicros3700DBCred\\quot\\//crlf////tab////tab//sArgs=sArgs \\plus\\ \\quot\\\\amp\\CustomerID=\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)//crlf////tab////tab//s=trim(getWidget(sArgs))//crlf////tab////tab//appendToLog(\\quot\\InitMicros3700CredDriver s=\\quot\\\\plus\\s)//crlf////crlf////tab////tab////if no result was returned\\comma\\ test again using JConnect driver.  This is because//crlf////tab////tab////an incorrect will cause java to terminate the script due to a missing dll and//crlf////tab////tab////the jconnect driver will not be tested.//crlf////tab////tab//if(len(s)=0)//crlf////tab////tab////tab//appendToLog(\\quot\\InitMicros3700CredDriver testing again using JConnect\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_Micros3700_Cred\\comma\\d\\comma\\WRITE)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\dbDriver\\quot\\\\comma\\0\\comma\\\\quot\\Adaptive Server Anywhere 9.0\\quot\\)//crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//s=trim(getWidget(sArgs))//crlf////tab////tab////tab//appendToLog(\\quot\\InitMicros3700CredDriver s=\\quot\\\\plus\\s)//crlf////tab////tab//endif//crlf////tab//endif//crlf//\\quot\\>//crlf////crlf//<table>//crlf////tab//<tr>//crlf////tab////tab//<td>//crlf////tab////tab////tab//<!-- Dialog used to edit a record -->//crlf////tab////tab////tab//<div ID=\\quot\\__salt__POS_MICROS3700_CREDDialog\\quot\\ class=\\quot\\\\quot\\ style=\\quot\\height:500px; width:auto; display:block;\\quot\\>//crlf////tab////tab////tab////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab////tab////tab////tab//<!--//tab//Note:  If a a Javascript function named initializeDialogxxx where xxx is the dialog ID is defined\\comma\\ //crlf////tab////tab////tab////tab////tab////tab//it will be called//tab//after the dialog values have been set and before the dialog is made visible.//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//An initialization function may also be specified by including it in an attribute named \\apos\\aspectinit\\apos\\//crlf////tab////tab////tab////tab////tab////tab//in the dialog div above.  Only include the function name with no parentheses or arguments.  //crlf////tab////tab////tab////tab////tab////tab//Arguments can be made//tab//available to the function by including them as attributes or by embedding //crlf////tab////tab////tab////tab////tab////tab//them in this div.  Use this method when the dialog ID is randomized to allow for multiple instances//crlf////tab////tab////tab////tab////tab////tab//in one document.//crlf////crlf////tab////tab////tab////tab////tab////tab//If an Aspect script is defined with the ID xxx_DataSubmitted where xxx is the driver ID\\comma\\ it will//crlf////tab////tab////tab////tab////tab////tab//be called whenever data is submitted due to an edit in either the table or the dialog.//crlf////tab////tab////tab////tab////tab////tab//Arguments passed to the script are in the form://crlf////crlf////tab////tab////tab////tab////tab////tab////tab//driver=xxx\\amp\\r=n\\amp\\fields=\\amp\\values=//crlf////crlf////tab////tab////tab////tab////tab////tab//where driver is the name of a system driver\\comma\\ r is the absolute record number\\comma\\//crlf////tab////tab////tab////tab////tab////tab//fields is a pipe-delimited list of field ID\\apos\\s and values is a pipe-delimited list of//crlf////tab////tab////tab////tab////tab////tab//values.  Ampersands and pipes in the values are tokenized by surrounding//crlf////tab////tab////tab////tab////tab////tab//them with two forward slashes.//crlf////tab////tab////tab////tab////tab//-->//crlf////tab////tab////tab// //crlf////tab////tab////tab////tab////tab//<!-- Create a random ID used in the tab ID\\apos\\s below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab////tab////tab////tab//If the tabs and associated divs do not have unique ID\\apos\\s\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab////tab////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\tabrandom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////crlf////tab////tab////tab////tab////tab//<h2>Micros 3700 Databse Settings</h2>//tab////tab////crlf////tab////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td>Database Name</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:__width__\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\dbName\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td>User Name</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:__width__\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\dbUser\\quot\\ TYPE=\\quot\\text\\quot\\></input><span name=\\quot\\dbUser\\quot\\></span></td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td>Password</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:__width__\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\dbPass\\quot\\ TYPE=\\quot\\text\\quot\\></input><span name=\\quot\\dbPass\\quot\\></span></td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td>Driver</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:__width__\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\dbDriver\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td>Server</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:__width__\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\dbEng\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td>Url</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:__width__\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\dbUrl\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td>Log</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:__width__\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\dbLog\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab////tab////tab//<!-- Restore defaults -->//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Restore Defaults\\quot\\ onClick=\\quot\\restoreDefaults()\\quot\\ {@htmlTooltip(\\quot\\Restores default settings and attempts to determine the correct driver.\\quot\\)}>//crlf////tab////tab////tab////tab////tab//<br>//crlf////crlf////tab////tab////tab////tab////tab//<h2>Dbase Exports</h2>//crlf////tab////tab////tab////tab////tab//<input type=\\quot\\checkbox\\quot\\ ID=\\quot\\export_dbfs\\quot\\ onChange=\\quot\\enableDbaseExports(\\apos\\{AspectHashID}\\apos\\)\\quot\\ {@if(isTaskEnabled(\\quot\\TaskScheduler\\quot\\\\comma\\\\quot\\Create Micros 3700 DBF exports\\quot\\)\\comma\\\\quot\\Checked\\quot\\\\comma\\\\quot\\\\quot\\)}> Create Dbase export files//crlf////crlf////tab////tab////tab////tab////tab//<!-- Dialog used to edit back-office preferences -->//crlf////tab////tab////tab////tab////tab//<div ID=\\quot\\ASPECT_BACKOFFICE_PREFERENCES_READDialog\\quot\\ style=\\quot\\display:block;\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td>Rollover time for export</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:80px\\quot\\ NAME=\\quot\\Aspect_BackOffice_Rollover_Time\\quot\\ TYPE=\\quot\\text\\quot\\ pattern=\\quot\\HH:mm\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab////tab//</div>//crlf////tab////tab////tab////tab//</div>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<!include type:driver;//crlf////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//driver: \\quot\\POS_MICROS3700_CRED\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0\\quot\\;//crlf////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//style: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//EditDialogID: \\quot\\__salt__POS_MICROS3700_CREDDialog\\quot\\;//crlf////tab////tab////tab////tab//DialogOnly: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab//>//crlf////crlf////crlf////tab////tab////tab//<!include type:driver;//crlf////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//driver: \\quot\\ASPECT_BACKOFFICE_PREFERENCES_READ\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0\\quot\\;//crlf////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//style: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//EditDialogID: \\quot\\ASPECT_BACKOFFICE_PREFERENCES_READDialog\\quot\\;//crlf////tab////tab////tab////tab//DialogOnly: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</td>//crlf////tab////tab//<td>//crlf////tab////tab////tab//<!-- Connection results-->//crlf////tab////tab////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab////tab////tab//<h2>//crlf////tab////tab////tab////tab////tab//Connection Results//crlf////tab////tab////tab////tab////tab//<img class=\\quot\\hyperlink\\quot\\ src=\\quot\\__RequestServer__/?network=greenlight\\amp\\id=getimage\\amp\\filename=refresh12x12.png\\quot\\ onClick=\\quot\\setInterval(\\apos\\connection_results\\apos\\\\comma\\0\\comma\\true)\\quot\\ {@htmlTooltip(\\quot\\Test the connection again using the current settings.\\quot\\)}>//crlf////tab////tab////tab////tab//</h2>//crlf////tab////tab////tab////tab//<div ID=\\quot\\connection_results\\quot\\ interval=\\quot\\-1\\quot\\ style=\\quot\\padding:0px;margin:0px;\\quot\\ url=\\quot\\__RequestServer__/?network=greenlight\\amp\\id=getWidget\\amp\\documentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\widget=POS Setup - Micros 3700\\amp\\ContainerItemID=AspectScript\\amp\\action=testDatabaseConnection\\amp\\CustomerID={AspectHashID}\\quot\\>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:false; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\POS Setup - Micros 3700\\quot\\; ContainerItemID:\\quot\\AspectScript\\quot\\; params:\\quot\\action=testDatabaseConnection~~pipe~~CustomerID={AspectHashID}\\quot\\;>//crlf////tab////tab////tab////tab//</div>//crlf////tab////tab////tab//</div>//tab////tab////crlf////tab////tab//</td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=false|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf//  <tr>//crlf//    <td><span onClick=\\quot\\showTab(this\\comma\\'290923')\\quot\\>Javascript</span></td>//crlf//    <td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>Aspect</span></td>//crlf//    <td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf//  </tr>//crlf//</table>^
ID=290923|X=1500|Y=23|W=798|H=583|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=/************************************************************************//crlf//Restores default settings.  Causes a test to be done to determine the//crlf//correct driver.//crlf//************************************************************************///crlf//function restoreDefaults(s)//crlf//{//crlf////tab//if(s) {//crlf////tab////tab////showDialog(\\quot\\msg=Restored defaults.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////applyOverlay(\\quot\\672983\\quot\\);//crlf////tab////showDialog(\\quot\\icon=true//amp//msg=Restoring defaults...\\quot\\);//crlf////tab//var sArgs=\\quot\\restoredefaults=true\\quot\\;//crlf////tab//var sFunc=\\quot\\restoreDefaults(s)\\quot\\;//crlf////tab//loadContent(\\quot\\672983\\quot\\\\comma\\sArgs\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf//function enableDbaseExports(CustomerID\\comma\\s)//crlf//{//crlf////tab//var eCheck=document.getElementById(\\quot\\export_dbfs\\quot\\);//crlf////crlf////tab//if(s) {//crlf////tab////tab//appendToLog(\\quot\\enableDbaseExports s=\\quot\\+s\\comma\\false\\comma\\true);//crlf////tab////tab//if(s.trim().equalsIgnoreCase(\\quot\\true\\quot\\)) {//crlf////tab////tab////tab//eCheck.checked=true;//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//eCheck.checked=false;//crlf////tab////tab//};//crlf////tab////tab//eCheck.disabled=false;//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//eCheck.disabled=true;//crlf////tab//var b=eCheck.checked;//crlf////tab//var sArgs=\\quot\\Action=EnableDbfExports//amp//CustomerID=\\quot\\+CustomerID+\\quot\\//amp//Enable=\\quot\\+b;//crlf////tab//var sFunc=\\quot\\enableDbaseExports(\\\quot\\\\quot\\+CustomerID+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab//loadContent(\\quot\\AspectScript\\quot\\\\comma\\sArgs\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf//function testDatabaseConnection(CustomerID\\comma\\s)//crlf//{//crlf////tab//if(s) {//crlf////tab////tab//showDialog(\\quot\\msg=\\quot\\+s.trim()+\\quot\\<br><br>//amp//fnOk=Close\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//showDialog(\\quot\\icon=true//amp//msg=Testing connection\\quot\\);//crlf////tab//var sArgs=\\quot\\Action=testDatabaseConnection//amp//CustomerID=\\quot\\+CustomerID;//crlf////tab//var sFunc=\\quot\\testDatabaseConnection(\\\quot\\\\quot\\+CustomerID+\\quot\\\\\quot\\\\comma\\s)\\quot\\;;//crlf////tab//loadContent(\\quot\\AspectScript\\quot\\\\comma\\sArgs\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf//^
ID=AspectScript|X=1500|Y=23|W=798|H=583|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\initializeMicros3700DBCred\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//======================================================================//crlf////tab//Initializes the Micros 3700 credentials   Creates the file if necessary//crlf////tab//and tries both the ianywhere and jconnect drivers.  The user name and//crlf////tab//password can be included.  This can be used to initialize the credentials//crlf////tab//with a notification.  If a user name/password are not supplied or already//crlf////tab//recorded in the driver\\comma\\ an attempt will be made to connect anyway and//crlf////tab//the error message will be examined to determine the correct driver.//crlf////crlf////tab//Params://crlf////tab////tab//CustomerID - Hash ID//crlf////tab////tab//user - user name (optional)//crlf////tab////tab//pass - password (optional)//crlf////crlf////tab//Returns \\quot\\Ok\\quot\\ or an error string//crlf////tab//======================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\initializeMicros3700DBCred\\quot\\; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Initializing Micros 3700 credentials\\quot\\)//crlf////tab////tab//driverOpen(POS_Micros3700_Cred\\comma\\d\\comma\\WRITE)//crlf////tab////tab//if(driverGetRecordCount(d\\comma\\true)=0)//crlf////tab////tab////tab//driverAddNewRecord(d)//crlf////tab////tab//endif//crlf////crlf////tab////tab////record the user name and password if one was supplied//crlf////tab////tab//if(not(startsWith(\\quot\\__user__\\quot\\\\comma\\\\quot\\__\\quot\\)))//crlf////tab////tab////tab//appendToLog(\\quot\\Set user name to __user__\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\dbUser\\quot\\\\comma\\0\\comma\\\\quot\\__user__\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//if(not(startsWith(\\quot\\__pass__\\quot\\\\comma\\\\quot\\__\\quot\\)))//crlf////tab////tab////tab//appendToLog(\\quot\\Set password\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\dbPass\\quot\\\\comma\\0\\comma\\\\quot\\__pass__\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////make sure the dbEng is defined//crlf////tab////tab//s=driverGetFieldAbsolute(d\\comma\\\\quot\\dbEng\\quot\\\\comma\\0)//crlf////tab////tab//if(len(trim(s))=0)//crlf////tab////tab////tab//s=\\quot\\sql\\quot\\+getHostName(getToken(\\quot\\internalipaddress\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\set dbEng to \\quot\\+s)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\dbEng\\quot\\\\comma\\0\\comma\\s)//crlf////tab////tab//endif//crlf////crlf////tab////tab////get the existing driver name//crlf////tab////tab//sDriver=driverGetFieldAbsolute(d\\comma\\\\quot\\dbDriver\\quot\\\\comma\\0)//crlf////tab////tab////crlf////tab////tab////if a driver is defined\\comma\\ test it//crlf////tab////tab//bDriverOk=false//crlf////tab////tab//if(len(trim(sDriver))>0)//crlf////tab////tab////tab//appendToLog(\\quot\\Testing existing driver: \\quot\\+sDriver)//crlf////tab////tab////tab//s=testDatabaseConnection(2\\comma\\\\quot\\Cred=POS_Micros3700_Cred\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Result: \\quot\\+s)//crlf////tab////tab////tab//bDriverOk=(bDriverOk) or (s=\\quot\\ok\\quot\\)//crlf////tab////tab////tab//bDriverOk=(bDriverOk) or (s=\\quot\\Connected.\\quot\\)//crlf////tab////tab////tab//bDriverOk=(bDriverOk) or (pos(\\quot\\Invalid user ID\\quot\\\\comma\\s)>=0)//crlf////tab////tab////tab//bDriverOk=(bDriverOk) or (pos(\\quot\\Login failed\\quot\\\\comma\\s)>=0)//crlf////tab////tab//else//crlf////tab////tab////tab//appendToLog(\\quot\\No existing driver specified\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////test sql anywhere driver//crlf////tab////tab//if(not(bDriverOk))//crlf////tab////tab////tab//appendToLog(\\quot\\Testing Sql Anywhere driver: SQL Anywhere 11\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\dbDriver\\quot\\\\comma\\0\\comma\\\\quot\\SQL Anywhere 11\\quot\\)//crlf////tab////tab////tab//s=testDatabaseConnection(2\\comma\\\\quot\\Cred=POS_Micros3700_Cred\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Result: \\quot\\+s)//crlf////tab////tab////tab//bDriverOk=(bDriverOk) or (s=\\quot\\ok\\quot\\)//crlf////tab////tab////tab//bDriverOk=(bDriverOk) or (s=\\quot\\Connected.\\quot\\)//crlf////tab////tab////tab//bDriverOk=(bDriverOk) or (pos(\\quot\\Invalid user ID\\quot\\\\comma\\s)>=0)//crlf////tab////tab////tab//bDriverOk=(bDriverOk) or (pos(\\quot\\Login failed\\quot\\\\comma\\s)>=0)//crlf////tab////tab//endif//crlf////crlf////tab////tab////test jconnect driver//crlf////tab////tab//if(not(bDriverOk))//crlf////tab////tab////tab//appendToLog(\\quot\\Testing JConnect driver: Adaptive Server Anywhere 9.0\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\dbDriver\\quot\\\\comma\\0\\comma\\\\quot\\Adaptive Server Anywhere 9.0\\quot\\)//crlf////tab////tab////tab//s=testDatabaseConnection(2\\comma\\\\quot\\Cred=POS_Micros3700_Cred\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Result: \\quot\\+s)//crlf////tab////tab////tab//bDriverOk=(bDriverOk) or (s=\\quot\\ok\\quot\\)//crlf////tab////tab////tab//bDriverOk=(bDriverOk) or (s=\\quot\\Connected.\\quot\\)//crlf////tab////tab////tab//bDriverOk=(bDriverOk) or (pos(\\quot\\Invalid user ID\\quot\\\\comma\\s)>=0)//crlf////tab////tab////tab//bDriverOk=(bDriverOk) or (pos(\\quot\\Login failed\\quot\\\\comma\\s)>=0)//crlf////tab////tab//endif//crlf////crlf////tab////tab////restore the original driver if connection was not established//crlf////tab////tab//if(not(bDriverOk))//crlf////tab////tab////tab//appendToLog(\\quot\\No connection was made.  Restoring original driver.\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\dbDriver\\quot\\\\comma\\0\\comma\\sDriver)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab//driverClose(d)//crlf////tab////tab//scriptSetResult(bDriverOk)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\EnableDbfExports\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//======================================================================//crlf////tab//Enables or disables dbf exports//crlf////crlf////tab//Params://crlf////tab////tab//CustomerID - Hash ID//crlf////tab////tab//Enable - true / false//crlf////crlf////tab//Returns true or false indicating the state of the task or an error message//crlf////tab//======================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\EnableDbfExports\\quot\\; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\EnableDbfExports CustomerID=__CustomerID__\\quot\\)//crlf////tab////tab//if(\\quot\\__CustomerID__\\quot\\=getToken(\\quot\\AspectHashID\\quot\\))//crlf////tab////tab////tab//sTaskName=\\quot\\Create Micros 3700 DBF exports\\quot\\//crlf////tab////tab////tab//appendToLog(if(__Enable__\\comma\\\\quot\\Enable\\quot\\\\comma\\\\quot\\Disable\\quot\\)+\\quot\\ task: \\quot\\+sTaskName)//crlf////tab////tab////tab//s=enableTask(\\quot\\TaskScheduler\\quot\\\\comma\\sTaskName\\comma\\__Enable__)//crlf////tab////tab////tab//scriptSetResult(__Enable__)//crlf////tab////tab//else//crlf////tab////tab////tab//sArgs=\\quot\\Source=__CustomerID__//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Setup - Micros 3700\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ContainerItemID=AspectScript//amp//CustomerID=__CustomerID__//amp//Enable=__Enable__\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//action=EnableDbfExports\\quot\\//crlf////tab////tab////tab//s=getWidget(sArgs)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\testDatabaseConnection\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//======================================================================//crlf////tab//Test the database connection//crlf////crlf////tab//Params: //crlf////tab////tab//CustomerID - Hash ID//crlf////crlf////tab//Returns a text string indicating the success or failure//crlf////tab//======================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\testDatabaseConnection\\quot\\; commands:\\quot\\//crlf////tab////tab//if(\\quot\\__CustomerID__\\quot\\=getToken(\\quot\\AspectHashID\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\Testing connection\\quot\\)//crlf////tab////tab////tab//s=\\quot\\Connection: \\quot\\//crlf////tab////tab////tab//sConnect=testDatabaseConnection(2\\comma\\\\quot\\Cred=POS_Micros3700_Cred\\quot\\)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\testDatabaseConnection returns \\quot\\+s)//crlf////tab////tab////tab//s=s + sConnect//crlf////tab////crlf////tab////tab////tab////if connected ok\\comma\\ try opening a table//crlf////tab////tab////tab//if((sConnect=\\quot\\ok\\quot\\) or (startsWith(sConnect\\comma\\\\quot\\connected\\quot\\)))//crlf////tab////tab////tab////tab//s=s + \\quot\\Table: \\quot\\//crlf////tab////tab////tab////tab//sHtml=databaseTableToHtml(2\\comma\\\\quot\\POS_Micros3700_Cred\\quot\\\\comma\\\\quot\\micros.job_def\\quot\\\\comma\\10)//crlf////tab////tab////tab////tab//if(startsWith(sHtml\\comma\\\\quot\\Error\\quot\\))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\testDatabaseConnection table error: \\quot\\+sHtml)//crlf////tab////tab////tab////tab////tab//s=s + sHtml+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//if(len(sHtml)<256)//crlf////tab////tab////tab////tab////tab////tab////this might be an error//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\testDatabaseConnection table result:\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(sHtml)//crlf////tab////tab////tab////tab////tab////tab//s=s + sHtml+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\testDatabaseConnection table ok len=\\quot\\+len(sHtml))//crlf////tab////tab////tab////tab////tab////tab//s=s + \\quot\\Success.\\quot\\+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//sArgs=\\quot\\Source=__CustomerID__//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Setup - Micros 3700\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ContainerItemID=AspectScript//amp//CustomerID=__CustomerID__\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//action=testDatabaseConnection\\quot\\//crlf////tab////tab////tab//s=getWidget(sArgs)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=debug_console|X=1500|Y=23|W=798|H=583|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=top_bar|X=0|Y=0|W=1025|H=34|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\top_bar\\quot\\; params:\\quot\\\\quot\\;>^
ID=left_bar|X=0|Y=22|W=121|H=49|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\left_bar\\quot\\; params:\\quot\\startpackage=__startpackage__~~pipe~~package={@\\quot\\__package__\\quot\\}~~pipe~~menu=__menu__\\quot\\;>//crlf//
</widget><widget name="POS Interface - Micros 3700" group="POS Interface" category="Micros 3700" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Micros 3700" modified="01-28-2021 00:50:11" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=05-13-2017 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=1 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(not(isServer())) and (getToken(\\quote\\AspectCoreVersion\\quote\\)\\gt\\=7.6) and (isPackageLoaded(\\quote\\POS_Micros3700\\quote\\)) and (getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\Micros3700\\quote\\) and (hour(now())\\gt\\4)" TaskConditional_Expression_Description="Executes when the Micros 3700 package is loaded, the version is 7.6 or greater and the POS type of the active store is Micros3700." TaskState_Function="if(len(getToken(\\quote\\RequiredPOSDataFiles\\quote\\))=0, now(), formatDate(now(),\\quote\\MMddyyyy HH\\quote\\) + gfs(getToken(\\quote\\homedir\\quote\\) + \\quote\\\Aspect_BackOffice\store_list.dta\\quote\\))" TaskState_Expression_Description="Executes when filespecs are undefined, when the hour changes and when the store list is modified.  Modified this to include the hour because the task occasionally did not run at midnight for an unknown reason." TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=15|toolboxy=228|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=HSI Merge.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=open_driver|X=300|Y=123|W=855|H=886|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=true|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:\\quot\\('__action__'='openDriver')\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Mic3700 openPOSDriver\\quot\\; commands:\\quot\\//crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//This script opens a driver to read pos data for the given StoreID\\comma\\ DataType and Date.  //crlf////tab////tab//The return value is a pipe-delimited string in the form Status=n~~pipe~~Driver=DriverName~~pipe~~Modified=MM-dd-yyyy HH:mm:ss~~pipe~~Size=nnn//crlf////tab////tab//Status is -1=not valid\\comma\\ 0=valid but not available\\comma\\ 1=valid and available//crlf////tab////tab////crlf////tab////tab//Params://crlf////tab////tab////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab////tab//DataType - The ID of one of the datatypes defined in the Aspect_BackOffice_POS_Data_Types collection//crlf////tab////tab////tab//Date//tab// - A single date in the form MM-dd-yyyy//crlf////tab////tab////tab//OpenDriver - If false\\comma\\ the driver will not be opened but the expression used to test for data will be returned.//crlf////tab////tab////tab////tab////tab////tab//  This is used when adding tasks to the pos synch driver.//crlf////tab////tab////tab//Debug - If true\\comma\\ outputs debugging information to the log//crlf////tab////tab////crlf////tab////tab//Returns a string in the form://crlf////tab////tab////tab//status=n~~pipe~~Driver=drivername~~pipe~~modified=mm-dd-yyyy HH:mm:ss~~pipe~~size=nnn~~pipe~~DataAvailable=Expression~~pipe~~DataState=expression//crlf////tab////tab////crlf////tab////tab//Status is 1 on success or 0 if the data is not available.  Status is -1 if the datatype is not supported for the POS.//crlf////tab////tab//Modified is the date/time the data was last modified//crlf////tab////tab//Size is the number of records available (NOT the file size)//crlf////tab////tab////crlf////tab////tab//DataAvailable is an expression returned to test whether pos data is available or not.  It is used when//crlf////tab////tab//processing the synch tasks to avoid making calls to synchronize data when the pos data is not available.//crlf////tab////tab////crlf////tab////tab//DataState is an expression used to create a state value for the pos data.  It is generally a getFileSpecState//crlf////tab////tab//function.  This is used to determine when a synch task needs to be run because the pos data has been//crlf////tab////tab//modified//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//bDebug=(true) or (\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////crlf////tab////tab//bOpenDriver=if(startsWith(\\quot\\__OpenDriver__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\false\\comma\\boolean(\\quot\\__OpenDriver__\\quot\\))//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Mic3700 - OpenDriver __datatype__ __date__ __StoreID__ OpenDriver=\\quot\\+bOpenDriver)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////get store directory//crlf////tab////tab//sStoreDir=getStoreDir(\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////get POS type//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////get business date//crlf////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////get the POSData directory//crlf////tab////tab//sPOSDataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/Mic3700/\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/\\quot\\//crlf////crlf////tab////tab////get driver ID.  This is the ID of the driver that will be returned as a system driver//crlf////tab////tab//sDriverID=lookup(POS_Micros3700_Associated_Driver_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////get name of the driver for the POS Export file.  This is the driver used to read the original POS export file//crlf////tab////tab//sPOSExportDriverName=lookup(POS_Micros3700_POS_Export_Driver_Name_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////get name of the POS Export file.  This is the name of the original dbf/bin file //crlf////tab////tab//sPOSExportFilename=sPOSDataDir+lookup(POS_Micros3700_Associated_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////get the filename used to determine if the data is available or modified.  This is the original POS export filename.//crlf////tab////tab//sDataAvailableFilename=lookup(POS_Micros3700_Associated_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////get name of the processed file//crlf////tab////tab//if(containsElement(\\quot\\id_gift_certificates\\comma\\id_tax\\quot\\\\comma\\\\quot\\__DataType__\\quot\\)>=0)//crlf////tab////tab////tab////use the micros_trackdef_record_types.bin file in the posdata\mic3700 directory//crlf////tab////tab////tab//sProcessedFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\mic3700\\\quot\\+lookup(POS_Micros3700_Processed_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//else//crlf////tab////tab////tab////use the processed file from the dated subdirectory//crlf////tab////tab////tab//sProcessedFilename=sPOSDataDir+lookup(POS_Micros3700_Processed_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if final driver is undefined//crlf////tab////tab//if(sDriverID=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Mic3700 returns \\quot\\+s+\\quot\\ because driver for datatype (__datatype__) is not defined\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if the POS export file is undefined//crlf////tab////tab//if((len(sPOSExportFilename)=0) or (pos(\\quot\\undefined\\quot\\\\comma\\sPOSExportFilename)>=0))//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Error: POS Interface - Mic3700 returns \\quot\\+s+\\quot\\ because pos export file not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////abort if the POS export driver name is undefined//crlf////tab////tab//if((len(sPOSExportDriverName)=0) or (sPOSExportDriverName=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Error: POS Interface - Mic3700 returns \\quot\\+s+\\quot\\ because pos export driver not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////abort if data available filename is not defined//crlf////tab////tab//if((len(sDataAvailableFilename)=0) or (sDataAvailableFilename=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Error: POS Interface - Mic3700 returns \\quot\\+s+\\quot\\ because data available filename not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////The data available expression also checks for the existence of processed.txt.  This file//crlf////tab////tab////is created when the original exports are processed\\comma\\ after all processing is complete.//crlf////tab////tab////This is used to ensure that the pos synch task does not start while files are still//crlf////tab////tab////being processed.  The processed.txt file is deleted at the start of processing if it//crlf////tab////tab////exists and created at the end.//crlf////tab////tab//sProcessingCompleteFilename=sPOSDataDir+\\quot\\processed.txt\\quot\\//crlf////crlf////tab////tab//if(containsElement(\\quot\\id_gift_certificates\\comma\\id_tax\\quot\\\\comma\\\\quot\\__DataType__\\quot\\)>=0)//crlf////tab////tab////tab//sDataAvailableFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\mic3700\micros_trackdef_record_types.bin\\quot\\//crlf////tab////tab//else//crlf////tab////tab////tab//sDataAvailableFilename=sPOSDataDir+sDataAvailableFilename//crlf////tab////tab//endif//crlf////tab////tab//sDataAvailableExpression=\\quot\\(fileSize(\\quot\\+quote(sProcessingCompleteFilename)+\\quot\\)\\quot\\+char(0x3E)+\\quot\\0) and (fileExists(\\quot\\+quote(sDataAvailableFilename)+\\quot\\))\\quot\\//crlf////tab////tab//sDataStateExpression=\\quot\\getFilespecState(\\quot\\+quote(sDataAvailableFilename)+\\quot\\)\\quot\\//crlf////crlf////tab////tab////Debugging Output//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Mic3700 - POS DriverID=\\quot\\+sPOSExportDriverName)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Mic3700 - POS Filename=\\quot\\+sPOSExportFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Mic3700 - Processed DriverID=\\quot\\+sDriverID)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Mic3700 - Processed Filename=\\quot\\+sProcessedFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Mic3700 - DataAvailableFilename=\\quot\\+sDataAvailableFilename)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////abort if the POS export file does not exist//crlf////tab////tab//if(containsElement(\\quot\\id_gift_certificates\\comma\\id_tax\\quot\\\\comma\\\\quot\\__DataType__\\quot\\)>=0)//crlf////tab////tab////tab//if(not(fileExists(sPOSExportFilename)))//crlf////tab////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Mic3700 - abort openDriver because \\quot\\+sPOSExportFilename+\\quot\\ not found\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab////see if the file needs to be processed.  Processing is only done when the processed filename does not //crlf////tab////tab////match the pos export filename//crlf////tab////tab//if(sPOSExportFilename<>sProcessedFilename)//crlf////tab////tab////tab////see if the file needs to be processed.  //crlf////tab////tab////tab//appendToLog(\\quot\\forceProcess=__ForceProcess__\\quot\\)//crlf////tab////tab////tab//bForceProcess=(\\quot\\__ForceProcess__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab////tab//if(bForceProcess)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Forcing process of file\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////only attempt processing if the associated pos export file exists//crlf////tab////tab////tab//if(fileExists(sPOSExportFilename))//crlf////tab////tab////tab////tab//if((bForceProcess) or (not(fileExists(sProcessedFilename))) or (fileSize(sProcessedFilename)=0) or (fileModified(sPOSExportFilename)>fileModified(sProcessedFilename)))//crlf////tab////tab////tab////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Mic3700 - Processing driver\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Interface - Micros 3700\\quot\\//crlf////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ContainerItemID=action_list//amp//ActionExec=true\\quot\\//crlf////tab////tab////tab////tab////tab//if(\\quot\\__DataType__\\quot\\=\\quot\\check_details\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=processMic3700CheckDetails\\quot\\//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=processMic3700ExportFile\\quot\\//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//POSExportDriverName=\\quot\\+sPOSExportDriverName//crlf////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//POSExportFilename=\\quot\\+sPOSExportFilename//crlf////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//AssociatedDriverName=\\quot\\+sDriverID//crlf////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ProcessedFilename=\\quot\\+sProcessedFilename//crlf////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Date=__date__\\quot\\//crlf////tab////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//DataType=__DataType__\\quot\\//crlf////tab////tab////tab////tab////tab//s=getWidget(sArgs)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Micros 3700 - File is already processed\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////just return the DataAvailable and DataState expressions if OpenDriver is false//crlf////tab////tab//if(not(bOpenDriver))//crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Micros 3700 - openDriver returns \\quot\\+s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get name of the system driver that will be returned and params to pass to the driver//crlf////tab////tab//sDriverName=\\quot\\__datatype___\\quot\\+getSalt(8)//crlf////tab////tab//sDriverParams=\\quot\\Filename=\\quot\\+sProcessedFilename+\\quot\\~~pipe~~DataType=__DataType__~~pipe~~StoreID=__StoreID__~~pipe~~date=__date__~~pipe~~POS=\\quot\\+sPOSType//crlf////crlf////tab////tab////open the driver//crlf////tab////tab//driverOpen(sDriverID\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\sDriverParams)//crlf////tab////tab//driverSetFilter(sDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////set the result//crlf////tab////tab//s=\\quot\\status=1~~pipe~~Driver=\\quot\\+sDriverName+\\quot\\~~pipe~~modified=\\quot\\+formatDate(fileModified(sProcessedFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)+\\quot\\~~pipe~~size=\\quot\\+driverGetRecordCount(sDriverName\\comma\\true)//crlf////tab////tab//s=s+\\quot\\~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab//appendToLog(\\quot\\POS Interface - Micros 3700 openDriver returns \\quot\\+s+\\quot\\ (\\quot\\+driverGetRecordCount(sDriverName)+\\quot\\ records)\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=code|X=300|Y=100|W=1200|H=20|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'743416')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>Aspect</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'open_driver')\\quot\\>Open Driver</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'dbf_export')\\quot\\>DBF Export</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'61641')\\quot\\>Trackdef Record Types</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'pos_drivers')\\quot\\>POS Drivers</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'testing')\\quot\\>Testing</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'760488')\\quot\\>Notes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'driver_include')\\quot\\>Driver Include</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=743416|X=300|Y=123|W=855|H=886|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=/********************************************************************************//crlf//Called when a driver is selected in the Test Drivers tab to display the driver.//crlf//********************************************************************************///crlf//function sybaseDriverSelected()//crlf//{//crlf////tab////abort if no driver selected//crlf////tab//var sDriver=document.getElementById(\\quot\\SelectSybaseDriver\\quot\\).value;//crlf////tab//if(sDriver==\\quot\\0\\quot\\) return;//crlf////crlf////tab////get the selected customer//crlf////tab//var sCustomerID=document.getElementById(\\quot\\left_bar_select_computer\\quot\\).value;//crlf////crlf////tab////get the filter to apply//crlf////tab//var sFilter=document.getElementById(\\quot\\DriverFilter\\quot\\).value.trim();//crlf////tab//if(sFilter.length>0) sFilter=\\quot\\~~pipe~~Filter=\\quot\\+sFilter;//crlf////crlf////tab////get the date//crlf////tab//var sDate=document.getElementById(\\quot\\FilterDate\\quot\\).value.trim();//crlf////tab//if(sDate.length>0) sDate=\\quot\\~~pipe~~Date=\\quot\\+sDate;//crlf////crlf////tab////set the url for the div.  A template is stored in the _url attribute.//crlf////tab////replace the driver ID\\comma\\ customer ID and filter//crlf////tab//var div=document.getElementById(\\quot\\SybaseDriverOutput\\quot\\);//crlf////tab//var sUrl=replaceAllSubstrings(div.getAttribute(\\quot\\_url\\quot\\)\\comma\\\\quot\\$driver$\\quot\\\\comma\\sDriver);//crlf////tab//sUrl=replaceAllSubstrings(sUrl\\comma\\\\quot\\$customerid$\\quot\\\\comma\\sCustomerID);//crlf////tab//sUrl=replaceAllSubstrings(sUrl\\comma\\\\quot\\$filter$\\quot\\\\comma\\sFilter);//crlf////tab//sUrl=replaceAllSubstrings(sUrl\\comma\\\\quot\\$date$\\quot\\\\comma\\sDate);//crlf////crlf////tab////update the div//crlf////tab//div.setAttribute(\\quot\\url\\quot\\\\comma\\sUrl);//crlf////tab//setInterval(div\\comma\\0\\comma\\true);//crlf//};//crlf//^
ID=760488|X=300|Y=123|W=855|H=886|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h1>Employee Tips</h1>//crlf////crlf//<p>Declared tips and charge tips are recorded in empsale.dbf.  Timeclock records are in //crlf//emptime.dbf.  However\\comma\\ empsale.dbf only records the total for the day.If an employee works a //crlf//double shift\\comma\\ the total tips for the day have to be recorded in one shift or the other.</p>//crlf////crlf//<h2>Check Details</h2>//crlf//<ul>//crlf////tab//<li>/micros/documentation/res/pos/reports/3700posrpts_man.pdf</li>//crlf////tab//<li>/micros/documentation/res/common/sql/3700sql_man.pdf</li>//crlf//</ul>//crlf//<br>//crlf////crlf//<u>From a conversation with Vince 6/21/2013</u>//crlf//<p>Check details can be found in trans_archive_dtl.  This is not always enabled and //crlf////tab//may require the Micros dealer to turn it on.</p>//crlf//<p>Voids are complicated.  A new record will be added pointing to the record that was voided.//crlf//An index is used to identify the voided record.  When the record is voided\\comma\\ everything is//crlf//re-indexed and a 2nd void will point to the re-indexed number of the 2nd voided record.//crlf//It sounds likeother things may be handled in a similar fashion.</p>//crlf////crlf//<div style=\\quot\\width:100px;height:100px\\quot\\></div>^
ID=debug_console|X=300|Y=123|W=855|H=886|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=855|H=886|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//=======================================================================//crlf//06-03-2013 - These scripts have been copied from the Micros E7 interface//crlf//and have not been modified for the 3700 yet.//crlf//=======================================================================//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\createMicros3700POSArchiveTask\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//=======================================================================//crlf////tab//Creates or updates the task used to archive Micros 3700 export files//crlf////tab//beneath it.  A task is created for each store using Micros 3700 that has//crlf////tab//import from pos enabled.  //crlf////crlf////tab//Params://crlf////tab////tab//None//crlf////crlf////tab//Returns://crlf////tab////tab//Ok:[message] or Error:[message] //crlf////tab//=======================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\createMicros3700POSArchiveTask\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////disable all tasks.  They will be re-enabled and any left disabled will be deleted//crlf////tab////tab//driverOpen(TaskSchedulerView\\comma\\drvTasks\\comma\\WRITE)//crlf////tab////tab//sFilter=\\quot\\(startsWith(TaskName\\quot\\+char(0x2C)+quote(\\quot\\Archive Micros 3700 Exports\\quot\\)+\\quot\\))\\quot\\//crlf////tab////tab//driverSetFilter(drvTasks\\comma\\sFilter\\comma\\true)//crlf////tab////tab//c=driverGetRecordCount(drvTasks)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//driverPutField(drvTasks\\comma\\\\quot\\TaskEnabled\\quot\\\\comma\\n\\comma\\false)//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//driverOpen(Aspect_BackOffice_Store\\comma\\drvStore\\comma\\WRITE)//crlf////tab////tab//driverSetFilter(drvStore\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//cUpdated=0//crlf////tab////tab//c=driverGetRecordCount(drvStore)//crlf////tab////tab//n=0//crlf////tab////tab//while (n<c)//crlf////tab////tab////tab//sPos=driverGetField(drvStore\\comma\\\\quot\\POS_Type\\quot\\\\comma\\n)//crlf////tab////tab////tab//if(pos(\\quot\\micros_3700\\quot\\\\comma\\sPos)>=0)//crlf////tab////tab////tab////tab//bEnablePOSImport=driverGetField(drvStore\\comma\\\\quot\\Enable_POS_Import\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(bEnablePOSImport)//crlf////tab////tab////tab////tab////tab//sStoreName=driverGetField(drvStore\\comma\\\\quot\\Store_Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//sPOSDir=addDirSlash(driverGetField(drvStore\\comma\\\\quot\\POS_Directory\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab////create/update the task//crlf////tab////tab////tab////tab////tab//sParams=\\quot\\TaskName=Archive Micros 3700 Exports - \\quot\\+sStoreName//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskAltName=\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\Category1=Aspect Back-Office\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\Category2=\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskEnabled=true\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskIntervalType=0\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskMinutesBetweenExecution=1\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskEventType=3\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\IsUserTask=true\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskState_Function=getFilespecState(\\quot\\+quote(sPOSDir+\\quot\\*.*\\quot\\)+\\quot\\)\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskConditional_Expression=\\quot\\)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\quote(\\quot\\TaskExpression=getWidget(\\quot\\+quote(\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Interface - Micros 3700//amp//ContainerItemID=AspectScript//amp//query=archiveMicros3700ExportFiles//amp//POSDir=\\quot\\+sPOSDir)+\\quot\\)\\quot\\))//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskDescription=Archive Micros 3700 export files for \\quot\\+sStoreName)//crlf////tab////tab////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\IsUserTask=true\\quot\\)//crlf////tab////tab////tab////tab////tab//setTaskParams(\\quot\\TaskScheduler\\quot\\\\comma\\\\quot\\Archive Micros 3700 Exports - \\quot\\+sStoreName\\comma\\true\\comma\\sParams)//crlf////tab////tab////tab////tab////tab//cUpdated=cUpdated+1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////tab////tab//driverClose(drvStore)//crlf////crlf////tab////tab////delete any disabled tasks//crlf////tab////tab//sFilter=\\quot\\(startsWith(TaskName\\quot\\+char(0x2C)+quote(\\quot\\Archive Micros 3700 Exports\\quot\\)+\\quot\\)) and (not(TaskEnabled))\\quot\\//crlf////tab////tab//driverSetFilter(drvTasks\\comma\\sFilter\\comma\\true)//crlf////tab////tab//cDelete=driverGetRecordCount(drvTasks)//crlf////tab////tab//if(cDelete>0)//crlf////tab////tab////tab//driverDeleteActiveRecords(drvTasks)//crlf////tab////tab////tab//enableTaskScheduler(\\quot\\TaskScheduler\\quot\\\\comma\\true)//crlf////tab////tab//endif//crlf////crlf////tab////tab//driverClose(drvTasks)//crlf////crlf////tab////tab//scriptSetResult(\\quot\\Ok.  Updated \\quot\\+cUpdated+\\quot\\ tasks.  Deleted \\quot\\+cDelete)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\archiveMicros3700ExportFiles\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//=======================================================================//crlf////tab//Copies files from the POS export directory to a dated directory //crlf////tab//beneath it.  //crlf////crlf////tab//Params://crlf////tab////tab//POSDir - The directory containing the export files//crlf////crlf////tab//Returns://crlf////tab////tab//Ok:[message] or Error:[message] //crlf////tab//=======================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\archiveMicros3700ExportFiles\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////crlf////tab////tab//sPOSDir=addDirSlash(\\quot\\__POSDir__\\quot\\)//crlf////crlf////tab////tab////abort if the pos directory does not exist//crlf////tab////tab//if(not(fileExists(sPOSDir)))//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error.  Directory does not exist: \\quot\\+sPOSDir))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if the pos directory is a file and not a directory//crlf////tab////tab//if(not(fileIsDirectory(sPOSDir)))//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error.  Directory is a file: \\quot\\+sPOSDir))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if the directory contains no files//crlf////tab////tab//arFiles=getMatchingFiles(sPOSDir+\\quot\\*.*\\quot\\)//crlf////tab////tab//if(getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)=0)//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error.  Directory contains no files: \\quot\\+sPOSDir))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get collection of files to be archived.  Only archive the ones that are imported//crlf////tab////tab////into Aspect//crlf////tab////tab//ar=getCollection(\\quot\\POS_Micros_3700_Associated_Filenames_By_Data_Type\\quot\\)//crlf////tab////tab////crlf////tab////tab////get the date for the archive folder.  (This needs to be modified to allow for //crlf////tab////tab////exporting of past data from the POS)//crlf////tab////tab//dt=fileModified(sPOSDir+\\quot\\EmployeeDefs.CSV\\quot\\)//crlf////tab////tab//sArchiveDir=addDirSlash(sPOSDir+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\))//crlf////crlf////tab////tab////create the directory//crlf////tab////tab//if(not(fileExists(sArchiveDir)))//crlf////tab////tab////tab//fileMakeDirectory(sArchiveDir)//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if the directory name is a file//crlf////tab////tab//if(not(fileIsDirectory(sArchiveDir)))//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error.  Archive directory is a file: \\quot\\+sArchiveDir))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////copy the files//crlf////tab////tab//cArchive=0//crlf////tab////tab//cError=0//crlf////tab////tab//c=getElementCount(ar\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//s=getElement(getElement(ar\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\1\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab//if(s<>\\quot\\undefined\\quot\\)//crlf////tab////tab////tab////tab//if(fileExists(sPosDir+s))//crlf////tab////tab////tab////tab////tab//fileCopy(sPosDir+s\\comma\\sArchiveDir+s)//crlf////tab////tab////tab////tab////tab//cArchive=cArchive+1//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\File does not exist \\quot\\+sPosDir+s)//crlf////tab////tab////tab////tab////tab//cError=cError+1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//scriptSetResult(appendToLog(\\quot\\Ok: Archived \\quot\\+cArchive+\\quot\\ files.  Errors: \\quot\\+cError))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf//^
ID=pos_drivers|X=300|Y=123|W=855|H=886|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<constant name:__width1__; value:300px;>//crlf////crlf//<p>Displays contents of a driver from the computer selected in the left bar.</p>//crlf////crlf//<!-- Filter//crlf//business_date BETWEEN //pound//2012/05/01 00:00:00.00//pound// AND //pound//2012/05/01 23:59:59.999//pound////crlf//-->//crlf////crlf//<form name=\\quot\\select_driver\\quot\\>//crlf////tab//<table class='form'>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Driver</td>//crlf////tab////tab////tab//<td colspan='4'>{@htmlSelect(POS_Micros3700_Sybase_Drivers\\comma\\\\quot\\Drivers\\quot\\\\comma\\\\quot\\0\\quot\\\\comma\\\\quot\\ID='SelectSybaseDriver' style='width:__width1__' onChange='sybaseDriverSelected()'\\quot\\)}</td>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Filter</td>//crlf////tab////tab////tab//<td><input type='text' ID='DriverFilter' style=\\quot\\width:__width1__\\quot\\ {@htmlTooltip(\\quot\\__tooltip_filter__\\quot\\)}></td>//crlf////tab////tab////tab//<td>Date</td>//crlf////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ ID=\\quot\\FilterDate\\quot\\ name=\\quot\\FilterDate\\quot\\ value=\\quot\\{@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}\\quot\\ style=\\quot\\width:80px\\quot\\ control='date' datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\>//amp//nbsp;//amp//nbsp;</td>//crlf////tab////tab////tab//<td><img class='hyperlink' onclick='sybaseDriverSelected()' src=\\quot\\__RequestServer__/?Network=greenlight//amp//ID=getImage//amp//filename=refresh12x12.png\\quot\\></td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf//</form>//crlf////crlf//<div //crlf////tab//ID=\\quot\\SybaseDriverOutput\\quot\\//crlf////tab//interval='-1' //crlf////tab//_url='__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab//ID=getWidget//amp////crlf////tab////tab//source=$customerid$//amp////crlf////tab////tab//DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp////crlf////tab////tab//Widget=Notification Queries//amp////crlf////tab////tab//query=includeDriver//amp////crlf////tab////tab//SourceDriverID=$driver$//amp////crlf////tab////tab//display=Default//amp////crlf////tab////tab//sort=ID//amp////crlf////tab////tab//fields=//amp////crlf////tab////tab//DriverParams=keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~metadata=posinterface3700_$driver$$filter$$date$//amp////crlf////tab////tab//KeyDescription=ID//amp////crlf////tab////tab//MaxRecords=100'//crlf//>//crlf//</div> //crlf////crlf//<div style=\\quot\\height:800px\\quot\\></div>//crlf////crlf//<constant name:__tooltip_filter__; value:\\quot\\//crlf////tab//<ul>//crlf////tab////tab//<li>Use single quotes aruond string constants</li>//crlf////tab////tab//<li>Use square brackets as quotes if needed e.g. when a field name contains a space</li>//crlf////tab////tab//<li>Surround dates with a pound symbol</li>//crlf////tab////tab//<li>Example: business_date BETWEEN //pound//2013/05/01 00:00:00.00//pound// AND //pound//2013/05/01 23:59:59.999//pound//</li>//crlf////tab////tab//<li>Example: business_date=//pound//2013/05/01//pound//</li>//crlf////tab//</ul>//crlf//\\quot\\>^
ID=top_bar|X=0|Y=0|W=1025|H=34|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\top_bar\\quot\\; params:\\quot\\\\quot\\;>^
ID=left_bar|X=0|Y=15|W=121|H=49|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\left_bar\\quot\\; params:\\quot\\startpackage=__startpackage__~~pipe~~package={@\\quot\\__package__\\quot\\}~~pipe~~menu=__menu__\\quot\\;>//crlf//^
ID=dbf_export|X=300|Y=123|W=855|H=886|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//5/2017 THIS IS A RETIRED SCRIPT.  IT HAS BEEN REPLACED BY THE//crlf//Convert Micros 3700 to DBF AGENT//crlf//--------------------------------------------------------------------------]//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\list_menuttl_files\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//==========================================================================//crlf////tab//06-30-2014 This script was used to troubleshoot a problem exporting//crlf////tab//menuttl at 0440k0m2q - Tondees//crlf////tab//==========================================================================//crlf////tab//</conditional>//crlf////tab//<!!include type:script; name:\\quot\\exportDbfFiles\\quot\\; commands:\\quot\\//crlf////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Aborting because script is already running.\\quot\\))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//sPattern=\\quot\\c:\aspect\posdata\mic3700\menuttl.dbf\\quot\\//crlf////tab////tab//arFiles=getMatchingFiles(sPattern\\comma\\true\\comma\\false)//crlf////tab////tab//s=\\quot\\\\quot\\//crlf////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sFilename=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//iSize=fileSize(sFilename)//crlf////tab////tab////tab//s=s + sFilename+\\quot\\//power//\\quot\\+iSize+\\quot\\~~pipe~~\\quot\\//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////tab////tab//scriptSetResult(htmlTable(s\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\//power//\\quot\\\\comma\\\\quot\\Name//power//Size\\quot\\))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\exportDbfFiles\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//==========================================================================//crlf////tab//Creates Micros 3700 DBF export files//crlf////tab//Params://crlf////tab////tab//From - Starting date (MM-dd-yyyy)//crlf////tab////tab//To - Ending date (MM-dd-yyyy)//crlf////tab////tab//Overwrite - If true\\comma\\ files will be overwritten if they already exist.  Optional.//crlf////tab////tab//DBFDriver - Optional.  If specified\\comma\\ only the given driver will be exported//crlf////crlf////tab//Note: If From and To are not defined\\comma\\ exports are created for the last//crlf////tab//14 days if they do not already exist.  If a From and To date are specified\\comma\\//crlf////tab//files will be created for all dates in the range.  If only a From date is//crlf////tab//specified\\comma\\ files will only be updated for that day.//crlf////crlf////tab//Returns a text string indicating the number of days updated//crlf////tab////tab////crlf////tab//==========================================================================//crlf////tab//</conditional>//crlf////tab//<!!include type:script; name:\\quot\\exportDbfFiles\\quot\\; commands:\\quot\\//crlf////tab////tab////abort if already running//crlf////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Aborting because script is already running.\\quot\\))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////turn off the token used in the conditional expression for the scheduled task//crlf////tab////tab////so it doesn't execute again.  This token is set by the systemtimer1 in //crlf////tab////tab////POS_Microse3700 and will be updated again when the timer runs//crlf////tab////tab//setToken(\\quot\\Execute_Create_Micros_3700_DBF_exports\\quot\\\\comma\\false)//crlf////crlf////tab////tab//dt=LastBusinessDay()//crlf////tab////tab//if(startsWith(\\quot\\__From__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab//dtTo=dt//crlf////tab////tab////tab//dtFrom=incrementTime(dtTo\\comma\\-13)//crlf////tab////tab//else//crlf////tab////tab////tab//dtFrom=parseTime(\\quot\\__From__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//if(startsWith(\\quot\\__To__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab////tab//dtTo=dtFrom//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//dtTo=parseTime(\\quot\\__To__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab//bOverwrite=(\\quot\\__Overwrite__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab//sAspectDir=addDirSlash(getToken(\\quot\\Aspect6AspectDirectory\\quot\\))//crlf////tab////tab//if((len(sAspectDir)>1) and (fileExists(sAspectDir)) and (fileIsDirectory(sAspectDir)))//crlf////tab////tab////tab//sExportDir=sAspectDir+\\quot\\posdata/mic3700/\\quot\\//crlf////tab////tab//else//crlf////tab////tab////tab//sExportDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/mic3700/\\quot\\//crlf////tab////tab//endif//crlf////tab////tab//fileMakeDirectory(sExportDir)//crlf////tab////tab//appendToLog(\\quot\\Create Micros 3700 DBF exports: \\quot\\+formatDate(dtFrom\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\ to \\quot\\+formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\ Overwrite=\\quot\\+bOverwrite)//crlf////tab////tab//appendToLog(\\quot\\Exporting Dbase files to \\quot\\+sExportDir)//crlf////crlf////tab////tab////delete the processed.txt file if it exists.  This is used by the data available//crlf////tab////tab////expression in the pos synch task to determine if all files have been processed.//crlf////tab////tab////This prevents the synch task from running before processing is complete//crlf////tab////tab//if(fileExists(sExportDir+\\quot\\processed.txt\\quot\\))//crlf////tab////tab////tab//fileSetLength(sExportDir+\\quot\\processed.txt\\quot\\\\comma\\0)//crlf////tab////tab////tab//appendToLog(\\quot\\Set length of \\quot\\+sExportDir+\\quot\\processed.txt\\quot\\+\\quot\\ to \\quot\\+fileSize(sExportDir+\\quot\\processed.txt\\quot\\)+\\quot\\ bytes\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////reload structures and drivers.  This is only for testing and can be removed.//crlf////tab////tab//driverOpen(Packages_View\\comma\\drvPackage\\comma\\READ)//crlf////tab////tab//r=driverFindRecordAbsolute(drvPackage\\comma\\0\\comma\\\\quot\\PackageID=\\quot\\+quote(\\quot\\POS_Micros3700\\quot\\))//crlf////tab////tab//if(r>=0) //crlf////tab////tab////tab//sPackageDir=addDirSlash(parseTokens(driverGetFieldAbsolute(drvPackage\\comma\\\\quot\\location\\quot\\\\comma\\r)))//crlf////tab////tab////tab//appendToLog(\\quot\\Loading package from \\quot\\+sPackageDir)//crlf////tab////tab////tab//reloadResource(6\\comma\\sPackageDir+\\quot\\collctn.asp\\quot\\)//crlf////tab////tab////tab//reloadResource(5\\comma\\sPackageDir+\\quot\\drivers.asp\\quot\\)//crlf////tab////tab////tab//reloadResource(4\\comma\\sPackageDir+\\quot\\struct.asp\\quot\\)//crlf////tab////tab//else//crlf////tab////tab////tab//appendToLog(\\quot\\Could not reload package\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//driverClose(drvPackage)//crlf////tab////tab////crlf////tab////tab//arDrivers=getCollection(POS_Micros3700_Sybase_Driver_By_Dbase_Driver)//crlf////tab////tab//appendToLog(\\quot\\Drivers=\\quot\\+arDrivers)//crlf////crlf////tab////tab//cExists=0//crlf////tab////tab//cExported=0//crlf////crlf////tab////tab//dt=dtFrom//crlf////tab////tab//while(dt<=dtTo)//crlf////tab////tab////tab//appendToLog(\\quot\\Creating dbf files for \\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//dtTimestamp=parseTime(formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\ 22:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)//crlf////tab////tab////tab//c=getElementCount(arDrivers\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(arDrivers\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sDbfDriver=getElement(s\\comma\\0\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\n=\\quot\\+n+\\quot\\ DbfDriver=\\quot\\+sDbfDriver)//crlf////crlf////tab////tab////tab////tab//if((startsWith(\\quot\\__DbfDriver__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (sDbfDriver=\\quot\\__DbfDriver__\\quot\\))//crlf////tab////tab////tab////tab////tab//sSybaseDriver=getElement(s\\comma\\1\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\SybaseDrive=\\quot\\+sSybaseDriver)//crlf////crlf////tab////tab////tab////tab////tab//sDir=sExportDir+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/\\quot\\//crlf////tab////tab////tab////tab////tab//if(not(fileExists(sDir)))//crlf////tab////tab////tab////tab////tab////tab//fileMakeDirectory(sDir)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//sDbfFilename=sDir+replaceSubstring(replaceSubstring(sDbfDriver\\comma\\\\quot\\POS_Micros3700_\\quot\\\\comma\\\\quot\\\\quot\\)\\comma\\\\quot\\_\\quot\\\\comma\\\\quot\\.\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab//if((not(fileExists(sDbfFilename))) or (bOverwrite))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Exporting \\quot\\+sSybaseDriver+\\quot\\ to \\quot\\+sDbfFilename)//crlf////crlf////tab////tab////tab////tab////tab////tab////open sybase driver.  The date is passed to some drivers.//crlf////tab////tab////tab////tab////tab////tab//sDriverPaeams=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if((sSybaseDriver=\\quot\\POS_Micros3700_dly_sys_ttl\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_v_R_employee_job_code\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_v_R_sys_menuitem_fam_grp\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_v_R_sys_trk\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sDriverPaeams=\\quot\\Date=\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//bOk=driverOpen(sSybaseDriver\\comma\\drvSybase\\comma\\READ\\comma\\false\\comma\\sDriverPaeams)//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Ok=\\quot\\+bOk+\\quot\\ IsValid=\\quot\\+driverIsValid(drvSybase))//crlf////crlf////tab////tab////tab////tab////tab////tab//if((bOk) and (driverIsValid(drvSybase)))//crlf////tab////tab////tab////tab////tab////tab////tab//driverSetFilter(drvSybase\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////delete the file if it exists//tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab//if(fileExists(sDbfFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//fileDelete(sDbfFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////open dbase driver//crlf////tab////tab////tab////tab////tab////tab////tab//driverOpen(sDbfDriver\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sDbfFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//arFields=driverGetFieldIDs(drvDbf\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//arFields=replaceSubstring(arFields\\comma\\\\quot\\Deleted~~pipe~~\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//arFields=replaceSubstring(arFields\\comma\\\\quot\\null~~pipe~~\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//arFields=replaceSubstring(arFields\\comma\\\\quot\\null\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//if(endsWith(arFields\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//arFields=left(arFields\\comma\\len(arFields)-1)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//tab////crlf////crlf////tab////tab////tab////tab////tab////tab////tab//arSybaseFields=driverGetFieldIDs(drvSybase\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////Field IDs in dbf are truncated.  Use alias fields to match them with the sybase field ID's//crlf////tab////tab////tab////tab////tab////tab////tab//arAlias=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//cDbfField=getElementCount(arFields\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//nDbfField=0//crlf////tab////tab////tab////tab////tab////tab////tab//while(nDbfField<cDbfField)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sDbfFieldID=getElement(arFields\\comma\\nDbfField\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(containsElement(arSybaseFields\\comma\\sDbfFieldID\\comma\\\\quot\\~~pipe~~\\quot\\)<0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////give a message if the dbf field is already defined in the alias fields//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(pos(sDbfFieldID+\\quot\\=\\quot\\\\comma\\arAlias)>=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Duplicate alias field: \\quot\\+sDbfFieldID)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//cSybaseField=getElementCount(arSybaseFields\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//nSybaseField=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//bDone=false//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//while((nSybaseField<cSybaseField) and (not(bDone)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//sSybaseFieldID=getElement(arSybaseFields\\comma\\nSybaseField\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(startsWith(sSybaseFieldID\\comma\\sDbfFieldID))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//arAlias=addElement(arAlias\\comma\\sDbfFieldID+\\quot\\=\\quot\\+sSybaseFieldID\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//bDone=true//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//nSybaseField=nSybaseField + 1//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//nDbfField=nDbfField + 1//crlf////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////When merging empsale\\comma\\ only include records for the date being processed//crlf////tab////tab////tab////tab////tab////tab////tab////This is required for Aspect6.  Also//crlf////tab////tab////tab////tab////tab////tab////tab//sSrcFilter=\\quot\\true\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//if(sDbfDriver=\\quot\\POS_Micros3700_empsale_dbf\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sSrcFilter=\\quot\\formatDate(start_time\\comma\\\\quot\\+quote(\\quot\\MMddyyyy\\quot\\)+\\quot\\)=\\quot\\+quote(formatDate(dt\\comma\\\\quot\\MMddyyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Fields=\\quot\\+arFields)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Alias=\\quot\\+arAlias)//crlf////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\SrcFilter=\\quot\\+sSrcFilter)//crlf////tab////tab////tab////tab////tab////tab////tab//s=driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSybase\\comma\\sSrcFilter\\comma\\\\quot\\ID\\quot\\\\comma\\arFields\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Merge: \\quot\\+s)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////when merging empsale\\comma\\ copy charge tips and cash tips for each employee into all//crlf////tab////tab////tab////tab////tab////tab////tab////records for the employee.  There is a problem in Aspect6 when an employee has two//crlf////tab////tab////tab////tab////tab////tab////tab////records since Aspect6 is only expecting one.  The problem occurs if the tip amount//crlf////tab////tab////tab////tab////tab////tab////tab////is not in the first record//crlf////tab////tab////tab////tab////tab////tab////tab////02-14-2014 - Added lines to clear the tips in the 2nd record.  Otherwise they//crlf////tab////tab////tab////tab////tab////tab////tab////will be duplicated in Aspect6.  May need to create a separate export for Aspect7//crlf////tab////tab////tab////tab////tab////tab////tab//if(sDbfDriver=\\quot\\POS_Micros3700_empsale_dbf\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////accumulate totals for each employee//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Writing tips for each employee.  Revised 02-14-2014\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//hashCreate(hCashTip)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//hashCreate(hChargeTip)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//hashCreate(hIndirectTip)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//c1=driverGetRecordCount(drvDbf\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab//while(n1<c1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//iEmpNum=driverGetFieldAbsolute(drvDbf\\comma\\\\quot\\employee_nu\\quot\\\\comma\\n1)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dCashTip=driverGetFieldAbsolute(drvDbf\\comma\\\\quot\\tips_decl_t\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dChargeTip=driverGetFieldAbsolute(drvDbf\\comma\\\\quot\\chgd_tips_t\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dIndirectTip=driverGetFieldAbsolute(drvDbf\\comma\\\\quot\\indirect_ti\\quot\\\\comma\\n1)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dCashTip=dCashTip + if(hashContainsKey(hCashTip\\comma\\iEmpNum)\\comma\\hashGet(hCashTip\\comma\\iEmpNum)\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dChargeTip=dChargeTip + if(hashContainsKey(hChargeTip\\comma\\iEmpNum)\\comma\\hashGet(hChargeTip\\comma\\iEmpNum)\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dIndirectTip=dIndirectTip+ if(hashContainsKey(hIndirectTip\\comma\\iEmpNum)\\comma\\hashGet(hIndirectTip\\comma\\iEmpNum)\\comma\\0)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//hashPut(hCashTip\\comma\\iEmpNum\\comma\\dCashTip)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//hashPut(hChargeTip\\comma\\iEmpNum\\comma\\dChargeTip)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//hashPut(hIndirectTip\\comma\\iEmpNum\\comma\\dIndirectTip)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//n1=n1+1//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////write the totals to the file//crlf////tab////tab////tab////tab////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab//while(n1<c1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//iEmpNum=driverGetFieldAbsolute(drvDbf\\comma\\\\quot\\employee_nu\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hCashTip\\comma\\iEmpNum))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvDbf\\comma\\\\quot\\tips_decl_t\\quot\\\\comma\\n1\\comma\\hashGet(hCashTip\\comma\\iEmpNum))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//hashPut(hCashTip\\comma\\iEmpNum\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hChargeTip\\comma\\iEmpNum))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvDbf\\comma\\\\quot\\chgd_tips_t\\quot\\\\comma\\n1\\comma\\hashGet(hChargeTip\\comma\\iEmpNum))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//hashPut(hChargeTip\\comma\\iEmpNum\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hIndirectTip\\comma\\iEmpNum))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvDbf\\comma\\\\quot\\indirect_ti\\quot\\\\comma\\n1\\comma\\hashGet(hIndirectTip\\comma\\iEmpNum))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//hashPut(hIndirectTip\\comma\\iEmpNum\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//n1=n1+1//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////get record count of dbf file.  This is used to delete the file if//crlf////tab////tab////tab////tab////tab////tab////tab////no data is exported.  //crlf////tab////tab////tab////tab////tab////tab////tab//cDbfRecords=driverGetRecordCount(drvDbf\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(sDbfFilename+\\quot\\ record count=\\quot\\+cDbfRecords)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//driverClose(drvDbf)//crlf////tab////tab////tab////tab////tab////tab////tab//driverClose(drvSybase)//crlf////tab////tab////tab////tab////tab////tab////tab//fileSetModified(sDbfFilename\\comma\\dtTimestamp)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////delete the file if no data was imported.  This is done to cause//crlf////tab////tab////tab////tab////tab////tab////tab////the file to be exported again the next time this script runs//crlf////tab////tab////tab////tab////tab////tab////tab////12-30-14 - Modified this to check all files.  Previously\\comma\\ only menuttl //crlf////tab////tab////tab////tab////tab////tab////tab////was checked//crlf////tab////tab////tab////tab////tab////tab////tab////if(pos(\\quot\\menuttl.dbf\\quot\\\\comma\\sDbfFilename)>=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(cDbfRecords=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Deleting \\quot\\+sDbfFilename+\\quot\\ because no data was imported\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//fileDelete(sDbfFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//cExported=cExported + 1//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Unable to open driver: \\quot\\+sSybaseDriver)//crlf////tab////tab////tab////tab////tab////tab////tab//driverClose(drvSybase)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\File already exists:  \\quot\\+sDbfFilename)//crlf////tab////tab////tab////tab////tab////tab//cExists=cExists + 1//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////Write the processed.txt file used by the pos synch task to determine if data //crlf////tab////tab////tab////is available//crlf////tab////tab////tab//sProcessedFilename=sExportDir+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/processed.txt\\quot\\//crlf////tab////tab////tab//fileWriteContent(sProcessedFilename\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss:SSS\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\Wrote \\quot\\+fileSize(sProcessedFilename)+\\quot\\ bytes to \\quot\\+sProcessedFilename)//crlf////crlf////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//scriptSetResult(appendToLog(\\quot\\Exported[1] \\quot\\+cExported+\\quot\\ files.  Found \\quot\\+cExists+\\quot\\ existing files.\\quot\\))//tab//\\quot\\>//crlf//</conditional>//crlf//^
ID=testing|X=300|Y=123|W=855|H=886|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\testWriteNLUNumber\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//Test writing to the NLU field in the mi_def driver//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\testWriteNLUNumber\\quot\\; commands:\\quot\\//crlf////tab////tab//sResult=appendToLog(\\quot\\Open MenuDef\\quot\\)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab//driverOpen(POS_Micros3700_mi_def\\comma\\drvMenuDef\\comma\\WRITE)//crlf////tab////tab//c=driverGetRecordCount(drvMenuDef\\comma\\true)//crlf////tab////tab//sResult=sResult + appendToLog(\\quot\\Record count=\\quot\\+c)+getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab//sResult=sResult + appendToLog(\\quot\\Read existing values\\quot\\)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<10)//crlf////tab////tab////tab//ObjNum=driverGetFieldAbsolute(drvMenuDef\\comma\\\\quot\\obj_num\\quot\\\\comma\\n)//crlf////tab////tab////tab//NluNum=driverGetFieldAbsolute(drvMenuDef\\comma\\\\quot\\nlu_num\\quot\\\\comma\\n)//crlf////tab////tab////tab//sResult=sResult + appendToLog(\\quot\\n=\\quot\\+n+\\quot\\ ObjNum=\\quot\\+ObjNum+\\quot\\ NluNum=\\quot\\+NluNum)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//sResult=sResult + appendToLog(\\quot\\Writing NLU numbers\\quot\\)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<10)//crlf////tab////tab////tab//Num=n*2//crlf////tab////tab////tab//driverPutFieldAbsolute(drvMenuDef\\comma\\\\quot\\nlu_num\\quot\\\\comma\\n\\comma\\Num)//crlf////tab////tab////tab//sResult=sResult + appendToLog(\\quot\\Writing \\quot\\+Num+\\quot\\ at record \\quot\\+n)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////tab////tab//driverClearCache(drvMenuDef)//crlf////crlf////tab////tab//sResult=sResult + appendToLog(\\quot\\Read modified values\\quot\\)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<10)//crlf////tab////tab////tab//ObjNum=driverGetFieldAbsolute(drvMenuDef\\comma\\\\quot\\obj_num\\quot\\\\comma\\n)//crlf////tab////tab////tab//NluNum=driverGetFieldAbsolute(drvMenuDef\\comma\\\\quot\\nlu_num\\quot\\\\comma\\n)//crlf////tab////tab////tab//sResult=sResult + appendToLog(\\quot\\n=\\quot\\+n+\\quot\\ ObjNum=\\quot\\+ObjNum+\\quot\\ NluNum=\\quot\\+NluNum)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//sResult=sResult + appendToLog(\\quot\\Test writing to specific record ObjNum=706080\\quot\\)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab//r=driverFindRecordAbsolute(drvMenuDef\\comma\\0\\comma\\\\quot\\obj_num=706080\\quot\\)//crlf////tab////tab//sResult=sResult + appendToLog(\\quot\\r=\\quot\\+r)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab//if(r>=0)//crlf////tab////tab////tab//ObjNum=driverGetFieldAbsolute(drvMenuDef\\comma\\\\quot\\obj_num\\quot\\\\comma\\r)//crlf////tab////tab////tab//NluNum=driverGetFieldAbsolute(drvMenuDef\\comma\\\\quot\\nlu_num\\quot\\\\comma\\r)//crlf////tab////tab////tab//sResult=sResult + appendToLog(\\quot\\Existing ObjNum=\\quot\\+ObjNum+\\quot\\ NluNum=\\quot\\+NluNum)+getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab//Num=300//crlf////tab////tab////tab//sResult=sResult + appendToLog(\\quot\\setting nlunum=\\quot\\+Num)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(drvMenuDef\\comma\\\\quot\\nlu_num\\quot\\\\comma\\r\\comma\\Num)//crlf////tab////tab////tab//driverClearCache(drvMenuDef)//crlf////crlf////tab////tab////tab//ObjNum=driverGetFieldAbsolute(drvMenuDef\\comma\\\\quot\\obj_num\\quot\\\\comma\\r)//crlf////tab////tab////tab//NluNum=driverGetFieldAbsolute(drvMenuDef\\comma\\\\quot\\nlu_num\\quot\\\\comma\\r)//crlf////tab////tab////tab//sResult=sResult + appendToLog(\\quot\\Modified ObjNum=\\quot\\+ObjNum+\\quot\\ NluNum=\\quot\\+NluNum)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////crlf////tab////tab//endif//crlf////tab////tab////crlf////crlf////tab////tab//sResult=sResult + appendToLog(\\quot\\Complete\\quot\\)+getToken(\\quot\\br\\quot\\)//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=driver_include|X=300|Y=123|W=855|H=886|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<p>This item has not been implemented yet.  Copy code from the Positouch interface//crlf//to implement it here.</p>^
ID=sensor_list|X=300|Y=123|W=855|H=886|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Micros 3700\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//POS Interface - Micros 3700\\comma\\openMicros3700CheckDetailsTrackdef\\comma\\sensor_list\\comma\\Sensor=openMicros3700CheckDetailsTrackdef\\comma\\private//crlf////tab//POS Interface - Micros 3700\\comma\\openMicros3700CheckDetailsSyscurr\\comma\\sensor_list\\comma\\Sensor=openMicros3700CheckDetailsSyscurr\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//openMicros3700CheckDetailsTrackdef//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\openMicros3700CheckDetailsTrackdef\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Opens the intermediary check details driver containing data from the trackdef//crlf////tab////tab//dbase driver.  Selected fields are read from the dbase driver and appended //crlf////tab////tab//to the intermediary file.  This driver is consolidated with the //crlf////tab////tab//POS_Micros3700_CheckDetails_Menuttl driver to create a checkdetails driver.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Filename -Optional filename//crlf////tab////tab//Date - Optional date (MM-dd-yyyy)//crlf////tab////tab//Dir - optional directory//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Name of system driver or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\openMicros3700CheckDetailsTrackdef\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab//sFilename=\\quot\\__Filename__\\quot\\//crlf////tab////tab////tab//sDir=\\quot\\__Dir__\\quot\\//crlf////tab////tab////tab//sDate=\\quot\\__Date__\\quot\\//crlf////crlf////tab////tab////tab//sParams=\\quot\\\\quot\\//crlf////tab////tab////tab//if(defined(sFilename))//crlf////tab////tab////tab////tab//sParams=\\quot\\Filename=\\quot\\+sFilename//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//if(defined(sDir))//crlf////tab////tab////tab////tab////tab//sParams=\\quot\\Dir=\\quot\\+sDir//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//if(defined(sDate))//crlf////tab////tab////tab////tab////tab////tab//sParams=\\quot\\Date=\\quot\\+sDate//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing Filename\\comma\\ date and directory //crlf////tab////tab////tab//if(len(sParams)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Need Filename\\comma\\ Date or Dir\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the Micros trackdef dbf file//crlf////tab////tab////tab//driverOpen(POS_Micros3700_trackdef_dbf\\comma\\dTrackDef\\comma\\READ\\comma\\false\\comma\\sParams)//crlf////tab////tab////tab//appendToLog(\\quot\\Open trackdef.  Params=\\quot\\+sParams+\\quot\\ Records=\\quot\\+driverGetRecordCount(dTrackDef\\comma\\true))//crlf////crlf////tab////tab////tab////open the intermediary driver//crlf////tab////tab////tab//d=getSalt(4)//crlf////tab////tab////tab//driverOpen(POS_Micros3700_CheckDetails_TrackDef\\comma\\d\\comma\\WRITE\\comma\\true\\comma\\\\quot\\Buffer=true\\quot\\)//crlf////crlf////tab////tab////tab////copy the data from the trackdef file into the intermediary driver//crlf////tab////tab////tab//n=1//crlf////tab////tab////tab//while(n<=64)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Description\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(dTrackDef\\comma\\\\quot\\ttl_name_\\quot\\+padLeft(n\\comma\\2\\comma\\\\quot\\0\\quot\\)\\comma\\0))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\driverGetFieldAbsolute(dTrackDef\\comma\\\\quot\\trk_ttl_\\quot\\+padLeft(n\\comma\\2\\comma\\\\quot\\0\\quot\\)\\comma\\0))//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(dTrackDef)//crlf////tab////tab////tab//return(d)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//openMicros3700CheckDetailsSyscurr//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\openMicros3700CheckDetailsSyscurr\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Opens the intermediary check details driver containing data from the syscurr//crlf////tab////tab//dbase driver.  Selected fields are read from the dbase driver and appended //crlf////tab////tab//to the intermediary file.  This driver is consolidated with the //crlf////tab////tab//POS_Micros3700_CheckDetails_Menuttl driver to create a checkdetails driver.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Filename -Optional filename//crlf////tab////tab//Date - Optional date (MM-dd-yyyy)//crlf////tab////tab//Dir - optional directory//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Name of system driver or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\openMicros3700CheckDetailsSyscurr\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab//sFilename=\\quot\\__Filename__\\quot\\//crlf////tab////tab////tab//sDir=\\quot\\__Dir__\\quot\\//crlf////tab////tab////tab//sDate=\\quot\\__Date__\\quot\\//crlf////crlf////tab////tab////tab//sParams=\\quot\\\\quot\\//crlf////tab////tab////tab//if(defined(sFilename))//crlf////tab////tab////tab////tab//sParams=\\quot\\Filename=\\quot\\+sFilename//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//if(defined(sDir))//crlf////tab////tab////tab////tab////tab//sParams=\\quot\\Dir=\\quot\\+sDir//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//if(defined(sDate))//crlf////tab////tab////tab////tab////tab////tab//sParams=\\quot\\Date=\\quot\\+sDate//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing Filename\\comma\\ date and directory //crlf////tab////tab////tab//if(len(sParams)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Need Filename\\comma\\ Date or Dir\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the Micros syscurr dbf file//crlf////tab////tab////tab//driverOpen(POS_Micros3700_syscurr_dbf\\comma\\dSyscurr\\comma\\READ\\comma\\false\\comma\\sParams)//crlf////tab////tab////tab//appendToLog(\\quot\\Open syscurr.  Params=\\quot\\+sParams+\\quot\\ Records=\\quot\\+driverGetRecordCount(dSyscurr\\comma\\true))//crlf////crlf////tab////tab////tab////open the intermediary driver//crlf////tab////tab////tab//d=getSalt(4)//crlf////tab////tab////tab//driverOpen(POS_Micros3700_CheckDetails_Syscurr\\comma\\d\\comma\\WRITE\\comma\\true\\comma\\\\quot\\Buffer=true\\quot\\)//crlf////crlf////tab////tab////tab////get array of fields to copy from syscurr into the intermediary driver//crlf////tab////tab////tab//arFieldID=\\quot\\net_sls_ttl~~pipe~~item_dsc_tt~~pipe~~svc_ttl~~pipe~~void_ttl~~pipe~~tax_coll_tt~~pipe~~credit_ttl~~pipe~~cancel_ttl~~pipe~~gross_rcpts~~pipe~~chgd_rcpts_~~pipe~~chgd_tips_t~~pipe~~tip_svc_ttl~~pipe~~tips_paid_t~~pipe~~tips_decl_t\\quot\\//crlf////crlf////tab////tab////tab////copy the data from the syscurr file into the intermediary driver//crlf////tab////tab////tab//c=getElementCount(arFieldID\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Adding fields from syscur.  Field count=\\quot\\+c)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFieldID=getElement(arFieldID\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//dValue=abs(driverGetFieldAbsolute(dSyscurr\\comma\\sFieldID\\comma\\0))//crlf////crlf////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Description\\quot\\\\comma\\r\\comma\\sFieldID)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\dValue)//crlf////crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(dSyscurr)//crlf////tab////tab////tab//return(d)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf//^
ID=action_list|X=300|Y=123|W=855|H=886|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Micros 3700\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//POS Interface - Micros 3700\\comma\\openMicros3700MenuCategories\\comma\\action_list\\comma\\Action=openMicros3700MenuCategories\\comma\\private//crlf////tab//POS Interface - Micros 3700\\comma\\setMicros3700Filespecs\\comma\\action_list\\comma\\Action=setMicros3700Filespecs\\comma\\private//crlf////tab//POS Interface - Micros 3700\\comma\\importTrackDef\\comma\\action_list\\comma\\Action=importTrackDef\\comma\\private//crlf////tab//POS Interface - Micros 3700\\comma\\processMic3700CheckDetails\\comma\\action_list\\comma\\Action=processMic3700CheckDetails\\comma\\private//crlf////tab//POS Interface - Micros 3700\\comma\\processMic3700ExportFile\\comma\\action_list\\comma\\Action=processMic3700ExportFile\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//openMicros3700MenuCategories//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\openMicros3700MenuCategories\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Script used to open the POS_Micros3700_Menu_Category driver.  This driver creates a list //crlf////tab////tab//of menu categories from the menudef file\\comma\\ making sure there is a unique category for every //crlf////tab////tab//category/department combination.  This is done because it is possible for a category to //crlf////tab////tab//be associated with more than one department.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - Optional date in MM-dd-yyyy format.  //crlf////tab////tab//Dir - Optional directory name in which menudef file is located.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//The name of system driver created//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\openMicros3700MenuCategories\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////get the directory from which menudef will be opened//crlf////tab////tab////tab//sDir=\\quot\\\\quot\\//crlf////tab////tab////tab//if(defined(\\quot\\__date__\\quot\\))//crlf////tab////tab////tab////tab//sDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\mic3700\\\quot\\+formatDate(\\quot\\__Date__\\quot\\\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab//elseif(defined(\\quot\\__dir__\\quot\\))//crlf////tab////tab////tab////tab//sDir=\\quot\\__dir__\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\mic3700\\\quot\\+formatDate(LastBusinessDay()\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//sDir=addDirSlash(sDir)//crlf////tab////tab////tab////crlf////tab////tab////tab////abort if menudef file does not exist//crlf////tab////tab////tab//sMenuDefFilename=sDir+\\quot\\menudef.dbf\\quot\\//crlf////tab////tab////tab//if(not(fileExists(sMenuDefFilename)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: File not found: \\quot\\+sMenuDefFilename)//crlf////tab////tab////tab//endif //crlf////tab////tab////tab////crlf////tab////tab////tab////open the POS_Micros3700_Menu_Category driver as a system driver//crlf////tab////tab////tab//appendToLog(\\quot\\driverOpen(POS_Micros3700_Menu_Category\\quot\\)//crlf////tab////tab////tab//drvMenuCategory=getSalt(4)//crlf////tab////tab////tab//driverOpen(POS_Micros3700_Menu_Category\\comma\\drvMenuCategory\\comma\\WRITE\\comma\\true\\comma\\\\quot\\opening=true\\quot\\)//crlf////crlf////tab////tab////tab////open the menudef file//crlf////tab////tab////tab//driverOpen(\\quot\\POS Micros3700 menudef_dbf_Including_Inactive_Items\\quot\\\\comma\\drvMenuDef\\comma\\READ\\comma\\false\\comma\\\\quot\\dir=\\quot\\+sDir)//crlf////tab////tab////tab////crlf////tab////tab////tab////initialize hashtable used to count number of departments a category is assigned to.  If a category is //crlf////tab////tab////tab////assigned to more than one department\\comma\\ the department name will be added to the category name.  The key //crlf////tab////tab////tab////is the family group number and the value is a comma delimited list of major groups to which the fanukt//crlf////tab////tab////tab////group is assigned//crlf////tab////tab////tab//hashCreate(hCountDeptAssignments)//crlf////tab////tab////tab////crlf////tab////tab////tab////initialize hashtable used to record menu categories that have been added to the system driver.  The key is //crlf////tab////tab////tab////the alternate pos ID for the category which contains both the department and category ID.  The value is the //crlf////tab////tab////tab////family group number.  This is used to lookup the department a category is assigned to using the hCountDeptAssignments//crlf////tab////tab////tab////hashtable.//crlf////tab////tab////tab//hashCreate(hMenuCategory)//crlf////tab////tab////tab////crlf////tab////tab////tab//driverSetFilter(drvMenuDef\\comma\\\\quot\\fam_num*maj_num\\quot\\+char(0x3E)+\\quot\\0\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvMenuDef)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//nFamDef=driverGetField(drvMenuDef\\comma\\\\quot\\fam_num\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//nMajDef=driverGetField(drvMenuDef\\comma\\\\quot\\maj_num\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sNewPosID=driverGetField(drvMenuDef\\comma\\\\quot\\CategoryID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(not(hashContainsKey(hMenuCategory\\comma\\sNewPosID)))//crlf////tab////tab////tab////tab////tab//sFamDefName=driverGetField(drvMenuDef\\comma\\\\quot\\Category_Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//sMajDefName=driverGetField(drvMenuDef\\comma\\\\quot\\Department_Name\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////tab////add the category to the system driver//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(drvMenuCategory)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvMenuCategory\\comma\\\\quot\\Number\\quot\\\\comma\\r\\comma\\sNewPosID)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvMenuCategory\\comma\\\\quot\\name\\quot\\\\comma\\r\\comma\\sFamDefName+char(255)+sMajDefName)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvMenuCategory\\comma\\\\quot\\Department\\quot\\\\comma\\r\\comma\\nMajDef)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////update the departments that the family group is assigned so//crlf////tab////tab////tab////tab////tab//if(hashContainsKey(hCountDeptAssignments\\comma\\nFamDef))//crlf////tab////tab////tab////tab////tab////tab//s=hashGet(hCountDeptAssignments\\comma\\nFamDef)//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\s1=\\quot\\+s)//crlf////tab////tab////tab////tab////tab////tab//if(containsElement(s\\comma\\nMajDef)<0)//crlf////tab////tab////tab////tab////tab////tab////tab//s=addElement(s\\comma\\nMajDef)//crlf////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\put1: \\quot\\+s)//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(hCountDeptAssignments\\comma\\nFamDef\\comma\\s)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\put2: \\quot\\+nMajDef)//crlf////tab////tab////tab////tab////tab////tab//hashPut(hCountDeptAssignments\\comma\\nFamDef\\comma\\nMajDef)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////add the ID to the list of ID's in the system driver//crlf////tab////tab////tab////tab////tab//hashPut(hMenuCategory\\comma\\sNewPosID\\comma\\nFamDef)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////remove department name from records containing categories that are only assigned//crlf////tab////tab////tab////to a single department//crlf////tab////tab////tab//c=driverGetRecordCount(drvMenuCategory\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sAltID=driverGetFieldAbsolute(drvMenuCategory\\comma\\\\quot\\Number\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sCategoryName=driverGetFieldAbsolute(drvMenuCategory\\comma\\\\quot\\Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//nFamDef=hashGet(hMenuCategory\\comma\\sAltID)//crlf////tab////tab////tab////tab//sDepartmentAssignments=hashGet(hCountDeptAssignments\\comma\\nFamDef)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\sDepartmentAssignments=\\quot\\+sDepartmentAssignments)//crlf////tab////tab////tab////tab//if(getElementCount(sDepartmentAssignments)>1)//crlf////tab////tab////tab////tab////tab////category is assigned to multiple departments\\comma\\ so leave the department in the name//crlf////tab////tab////tab////tab////tab//sCategoryName=replaceSubstring(sCategoryName\\comma\\char(255)\\comma\\\\quot\\ - \\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////category is only assigned to one department so remove the department from the name//crlf////tab////tab////tab////tab////tab//sCategoryName=getElement(sCategoryName\\comma\\0\\comma\\char(255))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(drvMenuCategory\\comma\\\\quot\\Name\\quot\\\\comma\\n\\comma\\sCategoryName)//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(drvMenuDef)//crlf////tab////tab////tab//return(drvMenuCategory)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//setMicros3700Filespecs//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\setMicros3700Filespecs\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Sets tokens containing filespecs pointing to data in the homedir\posdata directories.  Tokens are://crlf////tab////tab//-------------------------------------------------------------------------------------//crlf////tab////tab//POSExportDirs - Empty string.  There is no POS export directory for Micros 3700//crlf////tab////tab//RequiredPOSExportFiles - Empty string.  //crlf////tab////tab//POSDataDirs - List of directories under [homedir]\posdata//crlf////tab////tab//RequiredPOSDataFiles - List of all files under [homedir]\posdata for the synch period//crlf////tab////tab//-------------------------------------------------------------------------------------//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\setMicros3700Filespecs\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////This script requires that tokens have been set by the POS Interface agent//crlf////tab////tab////tab////indicating the pos type\\comma\\ pos directory and number of synch days//crlf////crlf////tab////tab////tab////abort if pos type is not Micros3700//crlf////tab////tab////tab//if(getToken(\\quot\\POSInterface_PosType\\quot\\)<>\\quot\\Micros3700\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: POS type is not Micros3700\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if synch days is not valid//crlf////tab////tab////tab//iSynchDays=value(getToken(\\quot\\POSInterface_SynchDays\\quot\\))//crlf////tab////tab////tab//if(iSynchDays=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Number of days to synch is invalid: \\quot\\+iSynchDays)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get start/end dates//crlf////tab////tab////tab//dt2=LastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab//dt1=incrementTime(dt2\\comma\\-(iSynchDays-1))//crlf////tab////crlf////tab////tab////tab////Clear the POSExportDirs token//crlf////tab////tab////tab//setToken(\\quot\\POSExportDirs\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////get set of directories under [homedir]posdata//crlf////tab////tab////tab//arDate=getSetTime(dt1\\comma\\dt2\\comma\\1440*60\\comma\\\\quot\\yyyyMMdd\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\$e$\*.*\\quot\\\\comma\\char(0x2C))//crlf////tab////tab////tab//arDir=getSetFor(getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\mic3700\\\quot\\\\comma\\arDate)//crlf////tab////tab////tab//arDir=replaceSubstring(replaceSubstring(arDir\\comma\\char(0x2C)\\comma\\char(0x3B))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab//setToken(\\quot\\POSDataDirs\\quot\\\\comma\\arDir)//crlf////crlf////tab////tab////tab////clear the RequiredPOSExportFiles token//crlf////tab////tab////tab//setToken(\\quot\\RequiredPOSExportFiles\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////get set of files under [homedir]posdata//crlf////tab////tab////tab//arRequired=getCollection(\\quot\\POS_Micros3700_Required_Files\\quot\\\\comma\\true\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\Key\\quot\\)//crlf////tab////tab////tab//arDate=getSetTime(dt1\\comma\\dt2\\comma\\1440*60\\comma\\\\quot\\yyyyMMdd\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\$e$\\\quot\\\\comma\\char(0x2C))//crlf////tab////tab////tab//arFiles=getSetFor(getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/Mic3700/\\quot\\\\comma\\arDate\\comma\\arRequired)//crlf////tab////tab////tab//arFiles=replaceSubstring(replaceSubstring(arFiles\\comma\\char(0x2C)\\comma\\char(0x3B))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab//setToken(\\quot\\RequiredPOSDataFiles\\quot\\\\comma\\arFiles)//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importTrackDef//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importTrackDef\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports tracking definitions from the POSData directory to the //crlf////tab////tab//POS_Mic3700_TrackDef_Record_Types driver for a given store.  The imported //crlf////tab////tab//driver is used to allow the user to assign record types to each //crlf////tab////tab//field in the tracking definitions.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\importTrackDef\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////appendToLog(\\quot\\importTrackDef started StoreID=__StoreID__\\quot\\)//crlf////crlf////tab////tab////tab////open the Micros tracking definitions and the major group definitions//crlf////tab////tab////tab//sDbfFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\mic3700\\\quot\\ + formatDate(LastBusinessDay()\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\\trackdef.dbf\\quot\\//crlf////tab////tab////tab//if(not(fileExists(sDbfFilename)))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Cannot locate \\quot\\+sDbfFilename)//crlf////tab////tab////tab////tab//sDbfFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\mic3700\\\quot\\ + formatDate(incrementTime(LastBusinessDay()\\comma\\-1)\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\\trackdef.dbf\\quot\\//crlf////tab////tab////tab////tab//if(not(fileExists(sDbfFilename)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Cannot locate \\quot\\+sDbfFilename)//crlf////tab////tab////tab////tab////tab//return(\\quot\\Error: Cannot locate trackdef file\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Opening tracking definitions from \\quot\\+sDbfFilename)//crlf////tab////tab////tab//driverOpen(POS_Micros3700_trackdef_dbf\\comma\\drvDbf\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sDbfFilename)//crlf////crlf////tab////tab////tab////get array of Major group names.  This array is used to set the record type to Department //crlf////tab////tab////tab////when adding new fields from the tracking definitions.  If a name in the major groups matches//crlf////tab////tab////tab////the name of the field in the tracking definitions\\comma\\ the record type is set to Department.//crlf////tab////tab////tab//arMajGrpName=getCollection(POS_Micros3700_Lookup_MajGrp_Name_By_Number\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\filename=\\quot\\+fileDrive(sDbfFilename)+fileDir(sDbfFilename)+\\quot\\majdef.dbf\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\value\\quot\\)//crlf////crlf////tab////tab////tab////open the driver containing the record types//crlf////tab////tab////tab//driverOpen(POS_Mic3700_TrackDef_Record_Types\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Nodepend\\quot\\)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////make a hashtable of names contained in the file.  The name of the tracking field is the //crlf////tab////tab////tab////key and the absolute record number is the value//crlf////tab////tab////tab//hashCreate(hashName)//crlf////tab////tab////tab//c=driverGetRecordCount(d)//crlf////tab////tab////tab////appendToLog(\\quot\\Existing file contains \\quot\\+c+\\quot\\ records\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sName=driverGetField(d\\comma\\\\quot\\Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//r=driverGetAbsoluteIndex(d\\comma\\n)//crlf////tab////tab////tab////tab//hashPut(hashName\\comma\\sName\\comma\\r)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\added name to hashtable: \\quot\\+sName+\\quot\\ record=\\quot\\+r)//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab////read the fields in the tracking definition and add to the driver//crlf////tab////tab////tab//n=1//crlf////tab////tab////tab//while(n<=64)//crlf////tab////tab////tab////tab//sName=driverGetFieldAbsolute(drvDbf\\comma\\\\quot\\ttl_name_\\quot\\+padLeft(n\\comma\\2\\comma\\\\quot\\0\\quot\\)\\comma\\0)//crlf////tab////tab////tab////tab//if(len(trim(sName))>0)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\trackdef field \\quot\\+n+\\quot\\ name=\\quot\\+sName)//crlf////tab////tab////tab////tab////tab//if(not(hashContainsKey(hashName\\comma\\sName)))//crlf////tab////tab////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Name\\quot\\\\comma\\r\\comma\\sName)//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////set record type to department if there is a major group with the same name//crlf////tab////tab////tab////tab////tab////tab//if(containsElement(arMajGrpName\\comma\\sName)>=0)//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Trackdef_Record_Type\\quot\\\\comma\\r\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//hashPut(hashName\\comma\\sName\\comma\\r)//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\added: \\quot\\+sName+\\quot\\ \\quot\\+r)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(drvDbf)//crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//processMic3700CheckDetails//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\processMic3700CheckDetails\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Creates a processed check detail file//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//POSExportDriverName - ID of driver used to open the POS export file//crlf////tab////tab//POSExportFilename - Full filename of the pos export file//crlf////tab////tab//AssociatedDriverName - ID of driver used to open the processed file//crlf////tab////tab//ProcessedFilename - Full filename of the processed file//crlf////tab////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//DataType - The data type being processed//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//OK or ERROR//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\processMic3700CheckDetails\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////open the Mic3700 export file//crlf////tab////tab////tab//appendToLog(\\quot\\processMic3700CheckDetails: Opening Mic3700 export file: __POSExportDriverName__ Filename=__POSExportFilename__\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\__POSExportDriverName__\\quot\\\\comma\\drvMic3700Export\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__POSExportFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvMic3700Export\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////open the processed file.  Delete it first if it exists//crlf////tab////tab////tab//if(fileExists(\\quot\\__ProcessedFilename__\\quot\\))//crlf////tab////tab////tab////tab//fileDelete(\\quot\\__ProcessedFilename__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//driverOpen(\\quot\\__AssociatedDriverName__\\quot\\\\comma\\drvProcessed\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__ProcessedFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvProcessed\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////get fields to merge//crlf////tab////tab////tab//arFieldID=driverGetFieldIDs(drvProcessed\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab////Use alias fields to address case-sensitivity.  Fields in the dbf structures need to //crlf////tab////tab////tab////remain lowercase for the merge to work when creating the dbf's from the micros database.  The same//crlf////tab////tab////tab////Fields need to have a different case when merging the dbf's into the processed files//crlf////tab////tab////tab////used for the pos import//crlf////tab////tab////tab//arAliasFields=\\quot\\Name=name~~pipe~~Last_Name=last_name~~pipe~~First_Name=first_name\\quot\\//crlf////crlf////tab////tab////tab////merge the drivers//crlf////tab////tab////tab//appendToLog(\\quot\\processMic3700CheckDetails: Merging driver.  Fields=\\quot\\+arFieldID)//crlf////tab////tab////tab//appendToLog(\\quot\\processMic3700CheckDetails: Records in source driver=\\quot\\+driverGetRecordCount(drvMic3700Export))//crlf////tab////tab////tab////s=driverMerge(true\\comma\\drvProcessed\\comma\\drvMic3700Export\\comma\\\\quot\\ID\\quot\\\\comma\\arFieldID\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//s=driverMerge(true\\comma\\drvProcessed\\comma\\\\quot\\\\quot\\\\comma\\drvMic3700Export\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID\\quot\\\\comma\\arFieldID\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////crlf////tab////tab////tab//driverClose(drvMic3700Export)//crlf////tab////tab////tab//driverClose(drvProcessed)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\processMic3700CheckDetails: Process __DataType__: \\quot\\+s)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//processMic3700ExportFile//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\processMic3700ExportFile\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Creates a processed file from a Mic3700 export file //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//POSExportDriverName - ID of driver used to open the POS export file//crlf////tab////tab//POSExportFilename - Full filename of the pos export file//crlf////tab////tab//AssociatedDriverName - ID of driver used to open the processed file//crlf////tab////tab//ProcessedFilename - Full filename of the processed file//crlf////tab////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//DataType - The data type being processed//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//OK or ERROR//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\processMic3700ExportFile\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////open the Mic3700 export file//crlf////tab////tab////tab//appendToLog(\\quot\\processMic3700ExportFile: Opening Mic3700 export file: __POSExportDriverName__ Filename=__POSExportFilename__\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\__POSExportDriverName__\\quot\\\\comma\\drvMic3700Export\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__POSExportFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvMic3700Export\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////open the processed file.  Delete it first if it exists//crlf////tab////tab////tab//if(fileExists(\\quot\\__ProcessedFilename__\\quot\\))//crlf////tab////tab////tab////tab//fileDelete(\\quot\\__ProcessedFilename__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//driverOpen(\\quot\\__AssociatedDriverName__\\quot\\\\comma\\drvProcessed\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__ProcessedFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab////tab//driverSetFilter(drvProcessed\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////get fields to merge//crlf////tab////tab////tab//arFieldID=driverGetFieldIDs(drvProcessed\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\processMic3700ExportFile: Fields in Processed Driver: \\quot\\+arFieldID)//crlf////tab////tab////tab//arFieldID1=driverGetFieldIDs(drvMic3700Export\\comma\\0\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\processMic3700ExportFile: Fields in Source Driver: \\quot\\+arFieldID)//crlf////tab////tab////tab//arFieldID=subset(arFieldID\\comma\\arFieldID1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab////Use alias fields to address case-sensitivity.  Fields in the dbf structures need to //crlf////tab////tab////tab////remain lowercase for the merge to work when creating the dbf's from the micros database.  The same//crlf////tab////tab////tab////Fields need to have a different case when merging the dbf's into the processed files//crlf////tab////tab////tab////used for the pos import//crlf////tab////tab////tab//arAliasFields=\\quot\\Name=name~~pipe~~Last_Name=last_name~~pipe~~First_Name=first_name\\quot\\//crlf////crlf////tab////tab////tab//if(\\quot\\__DataType__\\quot\\=\\quot\\id_tender\\quot\\)//crlf////tab////tab////tab////tab////open transposed trackdef file//crlf////tab////tab////tab////tab//driverOpen(POS_Mic3700_TrackDef_Record_Types\\comma\\dTrackDef\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+getStoreDir(\\quot\\__StoreDir__\\quot\\)+\\quot\\micros_trackdef_record_types.bin\\quot\\)//crlf////tab////tab////tab////tab//driverSetFilter(dTrackDef\\comma\\\\quot\\Record_Type=8\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////merge the drivers//crlf////tab////tab////tab////tab//appendToLog(\\quot\\processMic3700ExportFile: Merging driver.  Fields=\\quot\\+arFieldID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\processMic3700ExportFile: Records in source driver=\\quot\\+driverGetRecordCount(dTrackDef))//crlf////tab////tab////tab////tab//s=driverMerge(true\\comma\\drvProcessed\\comma\\\\quot\\\\quot\\\\comma\\dTrackDef\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID\\quot\\\\comma\\arFieldID\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab////merge the drivers//crlf////tab////tab////tab////tab//appendToLog(\\quot\\processMic3700ExportFile: Merging driver.  Fields=\\quot\\+arFieldID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\processMic3700ExportFile: Records in source driver=\\quot\\+driverGetRecordCount(drvMic3700Export))//crlf////tab////tab////tab////tab////s=driverMerge(true\\comma\\drvProcessed\\comma\\drvMic3700Export\\comma\\\\quot\\ID\\quot\\\\comma\\arFieldID\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//s=driverMerge(true\\comma\\drvProcessed\\comma\\\\quot\\\\quot\\\\comma\\drvMic3700Export\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID\\quot\\\\comma\\arFieldID\\comma\\arAliasFields\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab//driverClose(drvMic3700Export)//crlf////tab////tab////tab//driverClose(drvProcessed)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\processMic3700ExportFile: Process __DataType__: \\quot\\+s)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>^
ID=AgentStart|X=122|Y=38|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=23684|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=onchange|AgentReportTo=getToken(\\quot\\AspectServerHashID\\quot\\)|^
ID=801972|X=183|Y=395|W=119|H=47|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Success|AgentNodeTermType=0|^
ID=AgentTabs|X=122|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=122|Y=38|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_POS Interface - Micros 3700\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Micros 3700\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 05-22-2017 08:28:38//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Micros 3700\\comma\\AgentAction\\comma\\23684\\comma\\0\\comma\\Set tokens defining filespecs for posdata files//crlf////crlf////tab////tab////Set tokens defining filespecs for posdata files//crlf////tab////tab//Result=execAgentAction(\\quot\\setMicros3700Filespecs\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Micros 3700\\comma\\AgentTerminate\\comma\\801972\\comma\\0\\comma\\Success//crlf////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Micros 3700\\quot\\\\comma\\\\quot\\801972\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Success\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart))//crlf////tab////tab//scriptSetResult(Result)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=122|Y=38|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;05222017//amp//nbsp;082838//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Micros//amp//nbsp;3700\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;05-22-2017//amp//nbsp;08:28:38</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Set//amp//nbsp;tokens//amp//nbsp;defining//amp//nbsp;filespecs//amp//nbsp;for//amp//nbsp;posdata//amp//nbsp;files</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\setMicros3700Filespecs\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Micros//amp//nbsp;3700\\quot\\\\comma\\\\quot\\801972\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Success\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=122|Y=38|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=122|Y=38|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<p>Values in conditional expression:</p>//crlf//<table>//crlf////tab//<tr><td>isServer()</td><td>{@isServer()}</td></tr>//crlf////tab//<tr><td>getToken(\\quot\\AspectCoreVersion\\quot\\)</td><td>{AspectCoreVersion}</td></tr>//crlf////tab//<tr><td>isPackageLoaded(\\quot\\POS_Micros3700\\quot\\)</td><td>{@isPackageLoaded(\\quot\\POS_Micros3700\\quot\\)}</td></tr>//crlf////tab//<tr><td>getToken(\\quot\\POSInterface_PosType\\quot\\)</td><td>{@getToken(\\quot\\POSInterface_PosType\\quot\\)}</td></tr>//crlf//</table>//crlf//<br>//crlf////crlf//Required POS Files.  This is the value of the RequiredPOSDataFiles token<br>//crlf//<include type:script; commands:\\quot\\//crlf////tab//if(isTokenDefined(\\quot\\RequiredPOSDataFiles\\quot\\))//crlf////tab////tab//return(htmlTable(getToken(\\quot\\RequiredPOSDataFiles\\quot\\)\\comma\\char(0x3B)\\comma\\\\quot\\=\\quot\\))//crlf////tab//endif//crlf////crlf////tab//return(\\quot\\The token RequiredPOSDataFiles is not defined\\quot\\)//crlf//\\quot\\>//crlf//<br>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Directory Listings//crlf//--------------------------------------------------------------------------]//crlf//<include type:expression; expression:htmlConstant(\\quot\\posdatadir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\posdata\\\quot\\+replaceSubstring(getToken(\\quot\\POSInterface_PosType\\quot\\)\\comma\\\\quot\\micros3700\\quot\\\\comma\\\\quot\\mic3700\\quot\\))>//crlf////crlf//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir1'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of {HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\0)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir1\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec={HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\0)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir2'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of {HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-1)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir2\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec={HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-1)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir3'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of {HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-2)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir3\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec={HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-2)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir4'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of {HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-3)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir4\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec={HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-3)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf//^
ID=AgentChart|X=122|Y=38|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>05222017 082838</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart23684\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\137\\quot\\ style=\\quot\\width: 120px; height: 137px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>POS Interface - Micros 3700</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: onchange<br>Report To: getToken(\\quot\\AspectServerHashID\\quot\\)<br>Name Params: </div></div><div id=\\quot\\chart801972\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 323px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Success<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart23684\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart801972\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\108\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Set tokens defining filespecs for posdata files<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>setMicros3700Filespecs<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div>^
ID=61641|X=300|Y=123|W=855|H=886|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(true) or (\\quot\\__getcontent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!-- Dialog used to edit a record -->//crlf////tab//<div ID=\\quot\\POS_MIC3700_TRACKDEF_RECORD_TYPESDialog\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:300px; display:none;\\quot\\>//crlf////tab////tab//<div style=\\quot\\padding:5px;width:100\\percent\\\\quot\\>//crlf////tab////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////crlf////tab////tab////tab//<!--//tab//Note:  If a a Javascript function named initializeDialogxxx where xxx is the dialog ID is defined\\comma\\ //crlf////tab////tab////tab////tab//it will be called//tab//after the dialog values have been set and before the dialog is made visible.//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//An initialization function may also be specified by including it in an attribute named 'aspectinit'//crlf////tab////tab////tab////tab//in the dialog div above.  Only include the function name with no parentheses or arguments.  //crlf////tab////tab////tab////tab//Arguments can be made//tab//available to the function by including them as attributes or by embedding //crlf////tab////tab////tab////tab//them in this div.  Use this method when the dialog ID is randomized to allow for multiple instances//crlf////tab////tab////tab////tab//in one document.//crlf////crlf////tab////tab////tab////tab//If an Aspect script is defined with the ID xxx_DataSubmitted where xxx is the driver ID\\comma\\ it will//crlf////tab////tab////tab////tab//be called whenever data is submitted due to an edit in either the table or the dialog.//crlf////tab////tab////tab////tab//Arguments passed to the script are in the form://crlf////crlf////tab////tab////tab////tab////tab//driver=xxx//amp//r=n//amp//fields=//amp//values=//crlf////crlf////tab////tab////tab////tab//where driver is the name of a system driver\\comma\\ r is the absolute record number\\comma\\//crlf////tab////tab////tab////tab//fields is a pipe-delimited list of field ID's and values is a pipe-delimited list of//crlf////tab////tab////tab////tab//values.  Ampersands and pipes in the values are tokenized by surrounding//crlf////tab////tab////tab////tab//them with two forward slashes.//crlf////tab////tab////tab//-->//crlf////tab// //crlf////tab////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\TextFieldWidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\300px\\quot\\)>//crlf////tab////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\NumberFieldWidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\150px\\quot\\)>//crlf////crlf////tab////tab////tab//<!-- The TableEditDialogTabsContainerExclusive and TableEditDialogSelectContainerExclusive//crlf////tab////tab////tab////tab//classes are used to make either the tabs or the select box visible\\comma\\ depending on the//crlf////tab////tab////tab////tab//size of the browser.  If only one or two tabs are to be included\\comma\\ the //crlf////tab////tab////tab////tab//TableEditDialogTabsContainer class can be used for the tabs and the select box can//crlf////tab////tab////tab////tab//be ommitted.//crlf////tab////tab////tab//-->//crlf////tab////tab////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__Tracking_Definition')\\quot\\>Tracking Definition</span></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//tab////crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab//<select onChange=\\quot\\showTab(this);this.blur();\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab////tab//<option value='__salt__Tracking_Definition'>Tracking Definition</option>//crlf////tab////tab////tab////tab//</select>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<!-- Tracking Definition -->//crlf////tab////tab////tab//<div ID=\\quot\\__salt__Tracking_Definition\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Record Type</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\POS_Micros3700_Track_Def_Record_Types\\quot\\\\comma\\\\quot\\Trackdef_Record_Type\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:100\\percent\\;max-width:__TextFieldWidth__\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\))></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Is_Cash_Tender\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> This is a cash tender</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\POS_MIC3700_TRACKDEF_RECORD_TYPES\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_MIC3700_TRACKDEF_RECORD_TYPES\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\300\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab//InsertPosition: \\quot\\top\\quot\\;//crlf////tab////tab//RefreshOnDataSubmit: \\quot\\true\\quot\\;//crlf////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\POS_MIC3700_TRACKDEF_RECORD_TYPESDialog\\quot\\;//crlf////tab////tab//_EditDialogID: \\quot\\DocumentID~~pipe~~Widget~~pipe~~Item~~pipe~~POS_MIC3700_TRACKDEF_RECORD_TYPES~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=23684|X=183|Y=248|W=149|H=94|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=801972|AgentChildNoNode=|AgentSensor=|AgentAction=setMicros3700Filespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Set tokens defining filespecs for posdata files|AgentNodeTermType=|
</widget><widget name="Aspect Tables" group="Back-Office" category="" description="The widget called by the Aspect6 Support menu option.  Was originally intended to display a various Aspect6 tables (employees, inventory, etc.)  Now used to retrieve store files to the local computer." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Aspect Tables" modified="05-22-2015 16:22:36" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=01-18-2015 19:25:44:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=978|toolboxy=192|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=450|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Inventory Setup.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=901|H=14|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:h0BE4ziTlLytqKxtWLMy5CVY; widget:Backoffice Home; containerItemID:\\quot\\top_bar\\quot\\; params:\\quot\\\\quot\\;>
^
ID=left_bar|X=0|Y=22|W=176|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:h0BE4ziTlLytqKxtWLMy5CVY; widget:Backoffice Home; containerItemID:\\quot\\left_bar\\quot\\; params:\\quot\\startpackage=__startpackage__~~pipe~~package={@\\quot\\__package__\\quot\\}~~pipe~~menu=__menu__~~pipe~~LeftBarCompany=__LeftBarCompany__~~pipe~~SelectLeftBarCompany=__SelectLeftBarCompany__~~pipe~~SelectLeftBarComputer=__SelectLeftBarComputer__~~pipe~~LeftBarComputer=__LeftBarComputer__\\quot\\;>//crlf//
^
ID=menus|X=183|Y=44|W=379|H=812|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs|AttachLeft=|AlignLeft=tabs|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<ul class='dmenu' onMouseover=\\quot\\document.getElementById('menus').style.height='800px';\\quot\\ onMouseout=\\quot\\document.getElementById('menus').style.height='20px';\\quot\\>//crlf////tab//<li class='dmenu' style=\\quot\\width:40px\\quot\\>//crlf////tab////tab//<a class='dmenu' href='//pound//' onclick=\\quot\\menuOpen('menuFile')\\quot\\ onmouseover=\\quot\\menuOpen('menuFile')\\quot\\ onmouseout=\\quot\\menuSetTimeout()\\quot\\>File</a>//crlf////tab////tab//<div class='dmenu' id='menuFile' onmouseover=\\quot\\menuCancelTimeout()\\quot\\ onmouseout=\\quot\\menuSetTimeout()\\quot\\ isMenu='true'>//crlf////tab////tab//</div>//crlf////tab//</li>//crlf////tab//<li class='dmenu' style=\\quot\\width:50px\\quot\\>//crlf////tab////tab//<a class='dmenu' href='//pound//' onclick=\\quot\\menuOpen('menuPayroll')\\quot\\ onmouseover=\\quot\\menuOpen('menuPayroll')\\quot\\ onmouseout=\\quot\\menuSetTimeout()\\quot\\>Payroll</a>//crlf////tab////tab//<div class='dmenu' id='menuPayroll' onmouseover=\\quot\\menuCancelTimeout()\\quot\\ onmouseout=\\quot\\menuSetTimeout()\\quot\\ isMenu='true'>//crlf////tab////tab//</div>//crlf////tab//</li>//crlf////tab//<li class='dmenu' style=\\quot\\width:40px\\quot\\>//crlf////tab////tab//<a class='dmenu' href='//pound//' onclick=\\quot\\menuOpen('menuSales')\\quot\\ onmouseover=\\quot\\menuOpen('menuSales')\\quot\\ onmouseout=\\quot\\menuSetTimeout()\\quot\\>Sales</a>//crlf////tab////tab//<div class='dmenu' id='menuSales' onmouseover=\\quot\\menuCancelTimeout()\\quot\\ onmouseout=\\quot\\menuSetTimeout()\\quot\\ isMenu='true'>//crlf////tab////tab//</div>//crlf////tab//</li>//crlf////tab//<li class='dmenu'>//crlf////tab////tab//<a class='dmenu' href='//pound//' onclick=\\quot\\menuOpen('menuInventory')\\quot\\ onmouseover=\\quot\\menuOpen('menuInventory')\\quot\\ onmouseout=\\quot\\menuSetTimeout()\\quot\\>Inventory</a>//crlf////tab////tab//<div class='dmenu' id='menuInventory' onmouseover=\\quot\\menuCancelTimeout()\\quot\\ onmouseout=\\quot\\menuSetTimeout()\\quot\\ isMenu='true'>//crlf////tab////tab//</div>//crlf////tab//</li>//crlf////tab//<li class='dmenu'>//crlf////tab////tab//<a class='dmenu' href='//pound//' onclick=\\quot\\menuOpen('menuSettings')\\quot\\ onmouseover=\\quot\\menuOpen('menuSettings')\\quot\\ onmouseout=\\quot\\menuSetTimeout()\\quot\\>Settings</a>//crlf////tab////tab//<div class='dmenu' id='menuSettings' onmouseover=\\quot\\menuCancelTimeout()\\quot\\ onmouseout=\\quot\\menuSetTimeout()\\quot\\ isMenu='true'>//crlf//s</span>//crlf////tab////tab//</div>//crlf////tab//</li>//crlf//</ul>//crlf////crlf//<input type=\\quot\\checkbox\\quot\\ checked=\\quot\\checked\\quot\\ onChange=\\quot\\createMenu(this.checked)\\quot\\>Enabled items only
^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'604992')\\quot\\>JS</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'js_menuitems')\\quot\\>JS-Menu Items</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>Aspect</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'tables')\\quot\\>Tables</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'template')\\quot\\>Template</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=604992|X=300|Y=122|W=792|H=686|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//crlf///*********************************************************************//crlf//Backs up store files on a remote or local computer.  The backup file//crlf//can be retrieved and extracted to a local store//crlf////crlf//Params://crlf////crlf//HashID//tab//- ID of the computer on which files will be backed up//crlf//FormID//tab//- ID of the form containing the backup options//crlf//Step //tab////tab//- Indicates the current step being processed.  The steps include//crlf////tab////tab////tab////tab////tab////tab//Undefined//tab////tab//: No action taken yet//crlf////tab////tab////tab////tab////tab////tab//RetrieveFile: Request a copy of the file from the remote computer//crlf////tab////tab////tab////tab////tab////tab//ExtractFile//tab//: Extract the file to a local store//crlf////tab////tab////tab////tab////tab////tab//Complete//tab////tab//: The process is complete.//crlf//Results - Results of the previous step//crlf////crlf//*********************************************************************///crlf//var BackupInProgress=false;//crlf//var Organization=\\quot\\\\quot\\;//crlf////crlf//function localMenuSelected(MenuOption\\comma\\t)//crlf//{//crlf////tab//if(t) {//crlf////tab////tab//var e=document.getElementById(\\quot\\elapsed_time\\quot\\);//crlf////tab////tab//e.innerHTML=(new Date().getTime()-t);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//menuCloseAll();//crlf////crlf////tab////abort if store not selected//crlf////tab//var eStore=document.getElementById(\\quot\\Aspect6_Store_Codes\\quot\\);//crlf////tab//if(!eStore) return;//crlf////crlf////tab//if(eStore.value==\\quot\\0\\quot\\) {//crlf////tab////tab//showDialog(\\quot\\msg=No store selected.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////get selected store.  The value will be store\\comma\\ID or group\\comma\\ID1\\comma\\ID2...//crlf////tab//var s=eStore.value;//crlf////tab//var sStoreID=s.substring(s.indexOf(\\quot\\\\comma\\\\quot\\)+1);//crlf////tab//var sStoreName=getOptionName(eStore);//crlf////crlf////tab//var sDate1=document.forms[\\quot\\select_dates\\quot\\].date1.value;//crlf////tab//var sDate2=document.forms[\\quot\\select_dates\\quot\\].date2.value;//crlf////crlf////tab//var sCustomerID=\\quot\\__LeftBarComputer__\\quot\\;//crlf////tab//if(sCustomerID.startsWith(\\quot\\__\\quot\\)) sCustomerID=\\quot\\{AspectHashID}\\quot\\;//crlf////tab//sArgs=\\quot\\CustomerID=\\quot\\+sCustomerID+\\quot\\//amp//content=\\quot\\+MenuOption+\\quot\\//amp//storeID=\\quot\\+sStoreID+\\quot\\//amp//StoreName=\\quot\\+sStoreName;//crlf////tab//sArgs+=\\quot\\//amp//Date1=\\quot\\+sDate1+\\quot\\//amp//Date2=\\quot\\+sDate2;//crlf////tab//appendToLog(\\quot\\args=\\quot\\+sArgs\\comma\\false\\comma\\true);//crlf////tab//sFunc=\\quot\\localMenuSelected(\\\quot\\\\quot\\+MenuOption+\\quot\\\\\quot\\\\comma\\\\quot\\+new Date().getTime()+\\quot\\)\\quot\\;//crlf////tab//loadContent(\\quot\\content\\quot\\\\comma\\sArgs\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf//function backupFiles(HashID\\comma\\FormID\\comma\\Step\\comma\\Results)//crlf//{//crlf////tab////------------------------------------------------//crlf////tab////abort if just starting and a backup is already in progress//crlf////tab////------------------------------------------------//crlf////tab//if((!Step) //amp////amp// (BackupInProgress)) {//crlf////tab////tab//alert(\\quot\\A backup is already in progress\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//BackupInProgress=true;//crlf////tab//var f=document.forms[FormID];//crlf////crlf////tab////------------------------------------------------//crlf////tab////check for complete//crlf////tab////------------------------------------------------//crlf////tab//if((Step) //amp////amp// (Step.equalsIgnoreCase(\\quot\\complete\\quot\\))) {//crlf////tab////tab//showDialog(\\quot\\msg=Ok.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//BackupInProgress=false;//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////------------------------------------------------//crlf////tab////check for complete because CopyToThisComputer not enabled//crlf////tab////------------------------------------------------//crlf////tab//if((Step) //amp////amp// (Step.equalsIgnoreCase(\\quot\\RetrieveFile\\quot\\)) //amp////amp// (!f.CopyToThisComputer.checked)) {//crlf////tab////tab//if(Results.trim().toUpperCase().startsWith(\\quot\\OK\\quot\\)) {//crlf////tab////tab////tab//var a=getSubStringArray(Results.trim()\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\true);//crlf////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+a[3]+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+Results+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//};//crlf////tab////tab//BackupInProgress=false;//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////------------------------------------------------//crlf////tab////check for retrieve file//crlf////tab////------------------------------------------------//crlf////tab//if((Step) //amp////amp// (Step.equalsIgnoreCase(\\quot\\RetrieveFile\\quot\\))) {//crlf////tab////tab////results from BackupStoreFiles will be//crlf////tab////tab////\\quot\\ok~~pipe~~Filename~~pipe~~Organization~~pipe~~Message\\quot\\ on success //crlf////tab////tab////\\quot\\Error: error message\\quot\\ if an error occurs//crlf////crlf////tab////tab////abort if no results were returned//crlf////tab////tab//if(Results.trim().length==0) {//crlf////tab////tab////tab//showDialog(\\quot\\msg=An error occurred.  No result was returned confirming the backup.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab//BackupInProgress=false;//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////abort if an error occurred//crlf////tab////tab//var s=Results.trim().toUpperCase();//crlf////tab////tab//if(s.startsWith(\\quot\\OK\\quot\\)==false) {//crlf////tab////tab////tab//showDialog(\\quot\\msg=An error occurred: \\quot\\+Results.trim()+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab//BackupInProgress=false;//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////abort if the results are not formatted properly//crlf////tab////tab//var a=getSubStringArray(Results.trim()\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\true);//crlf////tab////tab//if(a.length!=4) {//crlf////tab////tab////tab//showDialog(\\quot\\msg=An error occurred.  Invalid result - \\quot\\+Results.trim()+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab//BackupInProgress=false;//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////save the organization name//crlf////tab////tab//Organization=a[2];//crlf////crlf////tab////tab////retrieve the file//crlf////tab////tab//var sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect Tables\\quot\\;//crlf////tab////tab//sArgs +=\\quot\\//amp//ContainerItemID=AspectScript\\quot\\;//crlf////tab////tab//sArgs +=\\quot\\//amp//action=retrieveBackupFile\\quot\\;//crlf////tab////tab//sArgs +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sArgs +=\\quot\\//amp//Filename=\\quot\\+a[1];//crlf////crlf////tab////tab//showDialog(\\quot\\icon=true//amp//msg=Requesting backup from \\quot\\+HashID);//crlf////tab////tab//sFunc=\\quot\\backupFiles(\\\quot\\\\quot\\+HashID+\\quot\\\\\quot\\\\comma\\\\\quot\\\\quot\\+FormID+\\quot\\\\\quot\\\\comma\\\\\quot\\ExtractFile\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab//appendToLog(\\quot\\Args=\\quot\\+sArgs\\comma\\false\\comma\\true);//crlf////tab////tab//loadContent(\\quot\\AspectScript\\quot\\\\comma\\sArgs\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////------------------------------------------------//crlf////tab////check for extract file//crlf////tab////------------------------------------------------//crlf////tab//if((Step) //amp////amp// (Step.equalsIgnoreCase(\\quot\\ExtractFile\\quot\\))) //crlf////tab//{//crlf////tab////tab////results from retrieveBackFile will be//crlf////tab////tab//////tab//\\quot\\OK~~pipe~~Local Filename\\quot\\ on success//crlf////tab////tab//////tab//\\quot\\Error: Message\\quot\\ on error//crlf////crlf////tab////tab////abort if no results were returned//crlf////tab////tab//if(Results.trim().length==0) {//crlf////tab////tab////tab//showDialog(\\quot\\msg=An error occurred.  No result was returned confirming the transfer.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab//BackupInProgress=false;//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////abort if an error occurred//crlf////tab////tab//var s=Results.trim().toUpperCase();//crlf////tab////tab//if(s.startsWith(\\quot\\OK\\quot\\)==false) {//crlf////tab////tab////tab//showDialog(\\quot\\msg=An error occurred: \\quot\\+Results.trim()+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab//BackupInProgress=false;//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////abort if the results are not formatted properly//crlf////tab////tab//var a=getSubStringArray(Results.trim()\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\true);//crlf////tab////tab//if(a.length!=2) {//crlf////tab////tab////tab//showDialog(\\quot\\msg=An error occurred.  Invalid result - \\quot\\+Results.trim()+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab//BackupInProgress=false;//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab////extract the file//crlf////tab////tab//var sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect Tables\\quot\\;//crlf////tab////tab//sArgs +=\\quot\\//amp//ContainerItemID=AspectScript\\quot\\;//crlf////tab////tab//sArgs +=\\quot\\//amp//action=ExtractBackup\\quot\\;//crlf////tab////tab//sArgs +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab////tab//sArgs +=\\quot\\//amp//Filename=\\quot\\+a[1];//crlf////tab////tab//sArgs +=\\quot\\//amp//Organization=\\quot\\+Organization;//crlf////crlf////tab////tab//showDialog(\\quot\\icon=true//amp//msg=Extracing backup to local store\\quot\\);//crlf////tab////tab//sFunc=\\quot\\backupFiles(\\\quot\\\\quot\\+HashID+\\quot\\\\\quot\\\\comma\\\\\quot\\\\quot\\+FormID+\\quot\\\\\quot\\\\comma\\\\\quot\\Complete\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab//appendToLog(\\quot\\Args=\\quot\\+sArgs\\comma\\false\\comma\\true);//crlf////tab////tab//loadContent(\\quot\\AspectScript\\quot\\\\comma\\sArgs\\comma\\sFunc\\comma\\sFunc);//crlf////crlf////tab////tab//return;//crlf////tab//};//crlf////tab////crlf////tab////------------------------------------------------//crlf////tab////just starting out so backup the file//crlf////tab////------------------------------------------------//crlf////tab//var sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect Tables\\quot\\;//crlf////tab//sArgs +=\\quot\\//amp//ContainerItemID=AspectScript\\quot\\;//crlf////tab//sArgs +=\\quot\\//amp//action=BackupStoreFiles\\quot\\;//crlf////tab//sArgs +=\\quot\\//amp//StoreDir=\\quot\\+f.StoreDir.value;//crlf////tab//sArgs +=\\quot\\//amp//CustomerID=\\quot\\+HashID;//crlf////tab//if(f.BackupDays.value.equalsIgnoreCase(\\quot\\range\\quot\\)) {//crlf////tab////tab//sArgs +=\\quot\\//amp//From=\\quot\\+f.BackupFrom.value;//crlf////tab////tab//sArgs +=\\quot\\//amp//To=\\quot\\+f.BackupTo.value;//crlf////tab//}//crlf////tab//else {//crlf////tab////tab//sArgs +=\\quot\\//amp//Days=\\quot\\+f.BackupDays.value;//crlf////tab//};//crlf////tab//sArgs +=\\quot\\//amp//LocalCopy=\\quot\\+f.CopyToThisComputer.checked;//crlf////crlf////tab//showDialog(\\quot\\//amp//icon=true//amp//msg=Creating backup on \\quot\\+HashID);//crlf////tab//sFunc=\\quot\\backupFiles(\\\quot\\\\quot\\+HashID+\\quot\\\\\quot\\\\comma\\\\\quot\\\\quot\\+FormID+\\quot\\\\\quot\\\\comma\\\\\quot\\RetrieveFile\\\quot\\\\comma\\s)\\quot\\;//crlf////tab//appendToLog(\\quot\\Args=\\quot\\+sArgs\\comma\\false\\comma\\true);//crlf////tab//loadContent(\\quot\\AspectScript\\quot\\\\comma\\sArgs\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf//
^
ID=AspectScript|X=300|Y=122|W=792|H=686|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\ExtractBackup\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================//crlf////tab//Extracts files from a backup retrieved from a customer.  A store is//crlf////tab//created in Aspect6 and a directory is created if necessary.//crlf////crlf////tab//Params://crlf////tab////tab//CustomerID//tab//- HashID of the customer //crlf////tab////tab//Filename//tab////tab//- Full name of the local backup file//crlf////tab////tab//Organization- Name used for store name in Aspect6//crlf////tab//===================================================================//crlf////tab//</conditional>//crlf////crlf////tab//<!include type:script; name:\\quot\\ExtractBackup\\quot\\; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\ExtractBackup CustomerID=__CustomerID__ Filename=__Filename__ Organization=__Organization__\\quot\\)//crlf////crlf////tab////tab////abort if the file does not exist//tab////crlf////tab////tab//sFilename=\\quot\\__Filename__\\quot\\//crlf////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: File not found - \\quot\\+sFilename))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if customer ID not defined//crlf////tab////tab//sCustomerID=\\quot\\__CustomerID__\\quot\\//crlf////tab////tab//if((startsWith(sCustomerID\\comma\\\\quot\\__\\quot\\)) or (len(sCustomerID)=0))//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: Missing customer ID - __CustomerID__\\quot\\))//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get Aspect directory.  Abort if invalid//crlf////tab////tab//sAspectDir=getToken(\\quot\\Aspect6AspectDirectory\\quot\\)//crlf////tab////tab//if((not(fileExists(sAspectDir))) or (len(sAspectDir)=0))//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: Invalid Aspect directory - \\quot\\+sAspectDir)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get Start-in directory.  Abort if invalid//crlf////tab////tab//sStartInDir=getToken(\\quot\\Aspect6StartInDirectory\\quot\\)//crlf////tab////tab//if((not(fileExists(sStartInDir))) or (len(sStartInDir)=0))//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: Invalid start-in directory - \\quot\\+sStartInDir)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////create a directory if necessary//crlf////tab////tab//sStoreDir=replaceSubstring(sAspectDir+\\quot\\customer\\\quot\\+left(sCustomerID\\comma\\8)+\\quot\\\\\quot\\\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab//if(not(fileExists(sStoreDir)))//crlf////tab////tab////tab//appendToLog(\\quot\\Creating directory - \\quot\\+sStoreDir)//crlf////tab////tab////tab//fileMakeDirectory(sStoreDir)//crlf////tab////tab//else//crlf////tab////tab////tab//if(not(fileIsDirectory(sStoreDir)))//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: A file named \\quot\\+sStoreDir+\\quot\\ exists and the directory cannot be created\\quot\\))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//appendToLog(\\quot\\Found existing directory - \\quot\\+sStoreDir)//crlf////tab////tab//endif//crlf////crlf////tab////tab////extract the files//crlf////tab////tab//arFiles=getZipContents(sFilename)//crlf////tab////tab//cFiles=getElementCount(arFiles)//crlf////tab////tab//appendToLog(\\quot\\Extracting \\quot\\+cFiles+\\quot\\ files.\\quot\\)//crlf////tab////tab//nFiles=0//crlf////tab////tab//while(nFiles<cFiles)//crlf////tab////tab////tab//fileCopy(sFilename+\\quot\\/\\quot\\+getElement(arFiles\\comma\\nFiles)\\comma\\sStoreDir)//crlf////tab////tab////tab//nFiles=nFiles+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab////get store name//crlf////tab////tab//sOrganization=\\quot\\__Organization__\\quot\\//crlf////tab////tab//if((len(trim(sOrganization))=0) or (startsWith(sOrganization\\comma\\\\quot\\__\\quot\\)))//crlf////tab////tab////tab//sOrganization=sCustomerID//crlf////tab////tab//endif//crlf////crlf////tab////tab////Add a store if necessary//crlf////tab////tab//driverOpen(Aspect6_Driver_Store_Settings_By_Filename\\comma\\drvStore\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sStartInDir+\\quot\\stores.dta\\quot\\)//crlf////tab////tab//sFilter=\\quot\\replaceSubstring(addDirSlash(ID_TSTOREREC_ASPECT_DIR)\\comma\\\\quot\\+quote(\\quot\\/\\quot\\)+\\quot\\\\comma\\\\quot\\+quote(\\quot\\\\\quot\\)+\\quot\\)=\\quot\\+quote(sStoreDir)//crlf////tab////tab//r=driverFindRecordAbsolute(drvStore\\comma\\0\\comma\\sFilter)//crlf////tab////tab//if(r<0) //crlf////tab////tab////tab//appendToLog(\\quot\\Existing store not found.  Filter=\\quot\\+sFilter)//crlf////tab////tab////tab//appendToLog(\\quot\\Adding store named \\quot\\+sOrganization)//crlf////tab////tab////tab//r=driverAddNewRecord(drvStore)//crlf////tab////tab////tab//driverPutFieldAbsolute(drvStore\\comma\\\\quot\\ID_TSTOREREC_NAME\\quot\\\\comma\\r\\comma\\left(sOrganization\\comma\\20))//crlf////tab////tab////tab//driverPutFieldAbsolute(drvStore\\comma\\\\quot\\ID_TSTOREREC_ASPECT_DIR\\quot\\\\comma\\r\\comma\\sStoreDir)//crlf////tab////tab////tab//driverPutFieldAbsolute(drvStore\\comma\\\\quot\\ID_TSTOREREC_CODE\\quot\\\\comma\\r\\comma\\left(sCustomerID\\comma\\5))//crlf////tab////tab//else//crlf////tab////tab////tab//appendToLog(\\quot\\Found store record for \\quot\\+sStoreDir+\\quot\\ Name is \\quot\\+driverGetFieldAbsolute(drvStore\\comma\\\\quot\\ID_TSTOREREC_NAME\\quot\\\\comma\\r))//crlf////tab////tab//endif//crlf////tab////tab//driverClose(drvStore)//crlf////tab////tab////crlf////tab////tab//scriptSetResult(appendToLog(\\quot\\ok\\quot\\))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\retrieveBackupFile\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================//crlf////tab//Retrieves a backup file from a remote computer and stores it in //crlf////tab//the temporary_files folder.  //crlf////crlf////tab//Params://crlf////tab////tab//CustomerID- The HashID of the computer from which to retrieve the file//crlf////tab////tab//Filename //tab//- The full name of the file on the remote computer//crlf////crlf////tab//Returns://crlf////tab////tab//\\quot\\OK~~pipe~~Local Filename\\quot\\ on success//crlf////tab////tab//\\quot\\Error: Message\\quot\\ on error//crlf////tab//===================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\retrieveBackupFile\\quot\\; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\retrieveBackupFile CustomerID=__CustomerID__ Filename=__Filename__\\quot\\)//crlf////crlf////tab////tab//sRemoteFilespec=\\quot\\__Filename__\\quot\\//crlf////tab////tab//sLocalFilespec=getToken(\\quot\\temporary_files\\quot\\)+fileName(sRemoteFilespec)+fileExt(sRemoteFilespec)//crlf////crlf////tab////tab////delete the local file if it exists//crlf////tab////tab//if(fileExists(sLocalFilespec))//crlf////tab////tab////tab//fileDelete(sLocalFilespec)//crlf////tab////tab//endif//crlf////crlf////tab////tab////get the file//crlf////tab////tab//appendToLog(\\quot\\Retrieving \\quot\\+sRemoteFilespec+\\quot\\ from __CustomerID__ as \\quot\\+sLocalFilespec)//crlf////tab////tab//synchFiles(\\quot\\__CustomerID__\\quot\\\\comma\\sLocalFilespec\\comma\\sRemoteFilespec)//crlf////tab////crlf////tab////tab////wait for the file transfer//crlf////tab////tab//n=0//crlf////tab////tab//while((n<120) and (not(fileExists(sLocalFilespec))))//crlf////tab////tab////tab//scriptSleep(1000)//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab////abort if the file was not retrieved//crlf////tab////tab//if(fileExists(sLocalFilespec))//crlf////tab////tab////tab//appendToLog(\\quot\\Retrieved \\quot\\+sLocalFilespec+\\quot\\ (\\quot\\+fileSize(sLocalFilespec)+\\quot\\ bytes)\\quot\\)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Ok~~pipe~~\\quot\\+sLocalFilespec)//crlf////tab////tab//else//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: Failed to retrieve remote backup\\quot\\))//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\BackupStoreFiles\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================//crlf////tab//Backs up all .dta and dated files.  The file is created in the backup //crlf////tab//directory beneath the store directory and named backupyyyy_mm_dd.zip.//crlf////crlf////tab//Params://crlf////tab////tab//CustomerID- The HashID of the customer to process the backup.  If omitted//crlf////tab////tab////tab////tab////tab////tab////tab////tab//or blank\\comma\\ the local computer does the backup//crlf////tab////tab//StoreDir//tab//- Store directory.  If a directory is not specified\\comma\\ the//crlf////tab////tab////tab////tab////tab////tab////tab////tab//directory of the active store is used//crlf////tab////tab//Days //tab////tab////tab//- The number of days to include in the backup.  The default//crlf////tab////tab////tab////tab////tab////tab////tab////tab//is thirty if no days are specified.  If Days is 'all'\\comma\\ then//crlf////tab////tab////tab////tab////tab////tab////tab////tab//all days will be backed up.//crlf////tab////tab//From//tab////tab////tab//-//tab//Optional starting date.  Overrides Days.//crlf////tab////tab//To//tab////tab////tab////tab//- Optional ending date.  Otherwise today's date is used.//crlf////crlf////tab//Returns://crlf////tab////tab////crlf////tab////tab////tab//\\quot\\ok~~pipe~~Filename~~pipe~~Organization~~pipe~~Message\\quot\\ on success //crlf////tab////tab////tab//\\quot\\Error: error message\\quot\\ if an error occurs//crlf////tab//===================================================================//crlf////tab//</conditional>//crlf////crlf////tab//<!include type:script; name:\\quot\\BackupStoreFiles\\quot\\; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\BackupStoreFiles CustomerID=__CustomerID__ StoreDir=__StoreDir__ Days=__Days__ From=__From__ To=__To__\\quot\\)//crlf////crlf////tab////tab////if the request is for another computer\\comma\\ execute the script on that computer//crlf////tab////tab//if((not(startsWith(\\quot\\__CustomerID__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (\\quot\\__CustomerID__\\quot\\<>getToken(\\quot\\AspectHashID\\quot\\)))//crlf////tab////tab////tab//appendToLog(\\quot\\Making request to __CustomerID__ to backup files\\quot\\)//crlf////tab////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect Tables\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ContainerItemID=AspectScript//amp//action=BackupStoreFiles\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Source=__CustomerID__\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//CustomerID=__CustomerID__\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//StoreDir=__StoreDir__\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Days=__Days__\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//From=__From__\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//To=__To__\\quot\\//crlf////tab////tab////tab//s=getWidget(sArgs)//crlf////tab////tab////tab//appendToLog(\\quot\\Backup result: \\quot\\+s)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get directory to backup//crlf////tab////tab//if((startsWith(\\quot\\__StoreDir__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (len(\\quot\\__StoreDir__\\quot\\)=0))//crlf////tab////tab////tab//sStoreDir=addDirSlash(lookup(Aspect6_Store_Directories_By_Code\\comma\\getToken(Aspect6ActiveStoreCode)))//crlf////tab////tab//else//crlf////tab////tab////tab//sStoreDir=\\quot\\__StoreDir__\\quot\\//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if directory doesn't exist//crlf////tab////tab//if((not(fileExists(sStoreDir))) or (not(fileIsDirectory(sStoreDir))))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error:  Invalid directory - \\quot\\+sStoreDir)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////calc starting/ending dates//crlf////tab////tab//t1=now()//crlf////tab////tab//t2=now()//crlf////tab////tab//iDays=30//crlf////tab////tab//if(\\quot\\__Days__\\quot\\=\\quot\\all\\quot\\)//crlf////tab////tab////tab//a=getMatchingFiles(sStoreDir+\\quot\\??-??-??.*\\quot\\\\comma\\false\\comma\\false)//crlf////tab////tab////tab//c=getElementCount(a\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//t=parseTime(fileName(getElement(a\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\))\\comma\\\\quot\\MM-dd-yy\\quot\\)//crlf////tab////tab////tab////tab//if((year(t)>1900) and (t<t1))//crlf////tab////tab////tab////tab////tab//t1=t//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab//else//crlf////tab////tab////tab//if(not(startsWith(\\quot\\__Days__\\quot\\\\comma\\\\quot\\__\\quot\\)))//crlf////tab////tab////tab////tab//iDays=__Days__//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//t1=incrementTime(t2\\comma\\-iDays)//crlf////crlf////tab////tab////tab////increment the ending date to include any schedules//crlf////tab////tab////tab//t2=incrementTime(t2\\comma\\14)//crlf////tab////tab//endif//crlf////crlf////tab////tab//if((not(startsWith(\\quot\\__From__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (len(\\quot\\__From__\\quot\\)>0))//crlf////tab////tab////tab//t1=parseTime(\\quot\\__From__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//if((not(startsWith(\\quot\\__To__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (len(\\quot\\__To__\\quot\\)>0))//crlf////tab////tab////tab//t2=parseTime(\\quot\\__To__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////t1=parseTime(\\quot\\03011997\\quot\\\\comma\\\\quot\\MMddyyyy\\quot\\)//crlf////tab////tab////t2=parseTime(\\quot\\03311997\\quot\\\\comma\\\\quot\\MMddyyyy\\quot\\)//crlf////crlf////tab////tab//appendToLog(\\quot\\Backing up files in \\quot\\+sStoreDir+\\quot\\ from \\quot\\+formatDate(t1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\ to \\quot\\+formatDate(t2\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////get list of files to be backed up//crlf////tab////tab//appendToLog(\\quot\\dir=\\quot\\+sStoreDir)//crlf////tab////tab//arFiles=getMatchingFiles(sStoreDir+\\quot\\*.dta\\quot\\\\comma\\false\\comma\\false)//crlf////tab////tab//arFiles=addElement(arFiles\\comma\\sStoreDir+\\quot\\employee.def\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab//arExt=\\quot\\lbr\\comma\\mix\\comma\\dtl\\comma\\usg\\comma\\cnt\\comma\\pay\\comma\\ckh\\comma\\ckd\\quot\\//crlf////tab////tab//cExt=getElementCount(arExt)//crlf////tab////tab//while(t1<t2)//crlf////tab////tab////tab//sDate=formatDate(t1\\comma\\\\quot\\MM-dd-yy\\quot\\)//crlf////tab////tab////tab//nExt=0//crlf////tab////tab////tab//while(nExt<cExt)//crlf////tab////tab////tab////tab//sFilespec=sStoreDir+sDate+\\quot\\.\\quot\\+getElement(arExt\\comma\\nExt)//crlf////tab////tab////tab////tab//sFiles=getMatchingFiles(sFilespec\\comma\\false\\comma\\false)//crlf////tab////tab////tab////tab//if(len(sFiles)>0)//crlf////tab////tab////tab////tab////tab//arFiles=addElement(arFiles\\comma\\sFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nExt=nExt+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//t1=incrementTime(t1\\comma\\1)//crlf////tab////tab//endwhile//crlf////crlf////tab////tab////add any pos files//crlf////tab////tab//arExt=\\quot\\dbf\\comma\\tbl\\comma\\dat\\comma\\csv\\comma\\txt\\comma\\~??\\quot\\//crlf////tab////tab//cExt=getElementCount(arExt)//crlf////tab////tab//nExt=0//crlf////tab////tab//while(nExt<cExt)//crlf////tab////tab////tab//sFilespec=sStoreDir+\\quot\\*.\\quot\\+getElement(arExt\\comma\\nExt)//crlf////tab////tab////tab//sFiles=getMatchingFiles(sFilespec\\comma\\false\\comma\\false)//crlf////tab////tab////tab//if(len(sFiles)>0)//crlf////tab////tab////tab////tab//arFiles=addElement(arFiles\\comma\\sFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//nExt=nExt+1//crlf////tab////tab//endwhile//crlf////tab////tab////crlf////tab////tab////abort if there are no files found//crlf////tab////tab//cFiles=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//if(cFiles=0)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error:  No files found in \\quot\\+sStoerDir)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////forElements(arFiles\\comma\\\\quot\\init(n\\comma\\0)~~pipe~~appendToLog('['+n+'] '+args)~~pipe~~n=n+1\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////zip the files//crlf////tab////tab//if(not(fileExists(sStoreDir+\\quot\\backup\\quot\\)))//crlf////tab////tab////tab//fileMakeDirectory(sStoreDir+\\quot\\backup\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//sZipFilename=sStoreDir+\\quot\\backup/\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)+\\quot\\_\\quot\\+formatDate(now()\\comma\\\\quot\\yyyy-MM-dd\\quot\\)+\\quot\\.zip\\quot\\//crlf////tab////tab//if(fileExists(sZipFilename))//crlf////tab////tab////tab//fileDelete(sZipFilename)//crlf////tab////tab//endif//crlf////tab////tab//s=zipFile(sZipFilename\\comma\\replaceSubstring(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\)\\comma\\false)//crlf////crlf////tab////tab////confirm the zip//crlf////tab////tab//c=getElementCount(getZipContents(sZipFilename))//crlf////tab////tab//if(c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab//s=\\quot\\Added \\quot\\+c+\\quot\\ files to \\quot\\+sZipFilename//crlf////tab////tab////tab//appendToLog(s)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Ok~~pipe~~\\quot\\+sZipFilename+\\quot\\~~pipe~~\\quot\\+getToken(\\quot\\AspectOrganizationName\\quot\\)+\\quot\\~~pipe~~\\quot\\+s)//crlf////tab////tab//else//crlf////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error:  Zip file is not valid.\\quot\\))//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>
^
ID=select_store|X=563|Y=44|W=178|H=34|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs|AttachLeft=menus|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=LeftBarComputer|DefaultSource=true|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlSelect(Aspect_BackOffice_Stores_And_Groups\\comma\\\\quot\\Aspect6_Store_Codes\\quot\\\\comma\\\\quot\\{Aspect6ActiveStoreCode}\\quot\\\\comma\\\\quot\\ID=\\quot\\+quote(\\quot\\Aspect6_Store_Codes\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\\\quot\\));>//crlf//<img class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\activateSelection(true)\\quot\\ src=\\quot\\__requestserver__/?network=greenlight//amp//id=getimage//amp//filename=refresh12x12.png\\quot\\>//crlf//
^
ID=debug_console|X=300|Y=122|W=792|H=686|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=template|X=300|Y=122|W=792|H=686|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=text|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//=============================================================================//crlf//This template is used to create a table for a given set of stores and driver ID.//crlf//A driver is opened for each store and they are all consolidated vertically into//crlf//a single driver.//crlf////crlf//Processing is done either locally or remotely based on the CustomerID passed.//crlf//If the customer ID is the local machine\\comma\\ processing is done locally.  Otherwise\\comma\\//crlf//a call is made to load this item from a remote computer//crlf////crlf//Params://crlf////tab//CustomerID//tab////tab////tab//- The HashID of the computer to process the item//crlf////tab//StoreID//tab////tab////tab////tab////tab//- A comma-delimited list of Aspect7 store ID's//crlf////tab//StoreName//tab////tab////tab////tab//-//tab//The name of the store or group selected//crlf////tab//DriverID//tab////tab////tab////tab//-//tab//The DriverID to be included//crlf////tab//ConsolidateDays//tab//-//tab//If true\\comma\\ drivers will be opened for Date1 - Date2 //crlf////tab//Date1//tab////tab////tab////tab////tab////tab//-//tab//Starting date (MM-dd-yyyy)//crlf////tab//Date2//tab////tab////tab////tab////tab////tab//-//tab//Ending date (MM-dd-yyyy)//crlf////tab//KeyExpression//tab////tab//-//tab//Key expression//crlf////tab//KeyDescription//tab//-//tab//Key description//crlf////tab//Dialog//tab////tab////tab////tab////tab//-//tab//Dialog used to edit a record in the table//crlf////tab//Display//tab////tab////tab////tab////tab//-//tab//Default display//crlf////tab//MaxRecords//tab////tab////tab//-//tab//Maximum number of records to display//crlf//=============================================================================//crlf//</conditional>//crlf////crlf//<conditional expression:(not(startsWith(\\quot\\__CustomerID__\\quot\\\\comma\\\\quot\\__\\quot\\)))>//crlf////tab//<conditional expression:not(\\quot\\__CustomerID__\\quot\\=getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab//<!!include type:script; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Making remote call to process template\\quot\\)//crlf////tab////tab////tab//s=\\quot\\Source=__CustomerID__//amp//DocumentID=__ParentD__//amp//widget=__ParentW__//amp//ContainerItemID=template\\quot\\//crlf////tab////tab////tab//s=s + \\quot\\//amp//CustomerID=__CustomerID__//amp//StoreID=__StoreID__//amp//StoreName=__StoreName__\\quot\\//crlf////tab////tab////tab//s=s + \\quot\\//amp//DriverID=__DriverID__//amp//KeyExpression=__KeyExpression__//amp//KeyDescription=__KeyDescription__\\quot\\//crlf////tab////tab////tab//s=s + \\quot\\//amp//Dialog=__Dialog__//amp//Display=__Display__//amp//MaxRecords=__MaxRecords__\\quot\\//crlf////tab////tab////tab//scriptSetResult(getWidget(s))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(\\quot\\__CustomerID__\\quot\\=getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//=============================================================================//crlf////tab////tab//Create a set of store codes from the store ID's passed to this item//crlf////tab////tab//These are used when opening Aspect6 drivers in the driver include//tab//below.//crlf////tab////tab//=============================================================================//crlf////tab////tab//</conditional>//crlf////tab////tab//<!include type:script; name:\\quot\\AspectTablesLookupStoreCodes\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\process template locally\\quot\\)//crlf////tab////tab////tab//arStoreCode=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sCode=lookup(Aspect_BackOffice_Store_Code_By_ID\\comma\\getElement(\\quot\\__StoreID__\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//arStoreCode=addElement(arStoreCode\\comma\\sCode)//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//scriptSetResult(htmlConstant(\\quot\\StoreCode\\quot\\\\comma\\\\quot\\__StoreCode__\\quot\\\\comma\\arStoreCode))//crlf////tab////tab//\\quot\\>//crlf////tab////tab////crlf////tab////tab//<h2>__StoreName__ (Elapsed time: <span ID=\\quot\\elapsed_time\\quot\\></span> ms)<h2>//crlf////crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf////tab////tab//<!!!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\//crlf////tab////tab////tab////tab//<!!include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab////tab//if(\\quot\\__ConsolidateDays__\\quot\\=\\quot\\true\\quot\\) //crlf////tab////tab////tab////tab////tab////tab//t1=parseTime(\\quot\\__Date1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//t2=parseTime(\\quot\\__Date2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//setDate=setWrap(getSetTime(t1\\comma\\t2)\\comma\\\\quot\\~~pipe~~Date=\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//setStore=setWrap(\\quot\\__StoreCode__\\quot\\\\comma\\\\quot\\~~pipe~~Code=\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//setAll=getSetFor(setStore\\comma\\setDate)//crlf////tab////tab////tab////tab////tab////tab//sParams=\\quot\\$e$\\quot\\//crlf////tab////tab////tab////tab////tab////tab//setDriver=getSetDriver(\\quot\\__DriverID__\\quot\\\\comma\\setAll\\comma\\WRITE\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab//s=getSetConsolidate(\\quot\\v\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\__KeyExpression__\\quot\\\\comma\\setDriver)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//sParams=\\quot\\~~pipe~~Code=$e$\\quot\\//crlf////tab////tab////tab////tab////tab////tab//sParams=sParams + \\quot\\~~pipe~~Date1=__Date1__~~pipe~~Date2=__Date2__\\quot\\//crlf////tab////tab////tab////tab////tab////tab//set1=getSetDriver(\\quot\\__DriverID__\\quot\\\\comma\\\\quot\\__StoreCode__\\quot\\\\comma\\WRITE\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab//s=getSetConsolidate(\\quot\\v\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\__KeyExpression__\\quot\\\\comma\\set1)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab////tab//\\quot\\>//crlf////tab////tab////tab//\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//_params: \\quot\\keyexpression=__KeyExpression__~~pipe~~CacheTtl=0~~pipe~~MetaData=AspectTables___DriverID__~~pipe~~Code=__StoreCode__\\quot\\;//crlf////tab////tab////tab//params: \\quot\\CacheTtl=0~~pipe~~MetaData=AspectTables___DriverID__\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\__KeyDescription__\\quot\\;//crlf////tab////tab////tab//display: \\quot\\<!!include type:expression; expression:if(startsWith(\\quot\\__Display__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\__Display__\\quot\\)>\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\<!!include type:expression; expression:if(startsWith(\\quot\\__MaxRecords__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\300\\comma\\__MaxRecords__)>\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Driver Dialogs~~pipe~~__Dialog__~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab//>//crlf////crlf////tab////tab//<div style=\\quot\\width:100px;height:600px\\quot\\></div>//crlf////tab//</conditional>//crlf//</conditional>
^
ID=general|X=183|Y=44|W=792|H=686|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs|AttachLeft=|AlignLeft=tabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=white|Source=LeftBarComputer|DefaultSource=true|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false -->//crlf//<include type:script; commands:\\quot\\//crlf////tab//s=\\quot\\\\quot\\//crlf////tab//s=s \\plus\\ htmlConstant(\\quot\\AspectDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\replaceSubstring(getToken(Aspect6AspectDirectory)\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\~~backslash~~\\quot\\))//crlf////tab//s=s \\plus\\ htmlConstant(\\quot\\StartInDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\replaceSubstring(getToken(Aspect6StartInDirectory)\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\~~backslash~~\\quot\\))//crlf////tab//s=s \\plus\\ htmlConstant(\\quot\\ActiveStoreCode\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getToken(Aspect6ActiveStoreCode))//crlf////tab//s=s \\plus\\ htmlConstant(\\quot\\ActiveStoreDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\replaceSubstring(addDirSlash(lookup(Aspect6_Store_Directories_By_Code\\comma\\getToken(Aspect6ActiveStoreCode)))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\~~backslash~~\\quot\\))//crlf////tab//s=s \\plus\\ htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))//crlf////tab//scriptSetResult(s)//crlf//\\quot\\>//crlf////crlf//<h2>Settings</h2>//crlf//<hr>//crlf//<table>//crlf////tab//<tr><td>Customer ID<?td><td>{AspectHashID}</td></tr>//crlf////tab//<tr><td>Aspect Directory<?td><td>__AspectDir__</td></tr>//crlf////tab//<tr><td>Active Store<?td><td>__ActiveStoreCode__</td></tr>//crlf////tab//<tr><td>Store Directory<?td><td>__ActiveStoreDir__</td></tr>//crlf////tab//<tr><td>Start-In Directory<?td><td>__StartInDir__</td></tr>//crlf//</table>//crlf//<hr>//crlf//<br>//crlf////crlf//<h2>Backup</h2>//crlf//<hr>//crlf//<form name=\\quot\\__salt__\\quot\\>//crlf////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>Days</td>//crlf////tab////tab////tab//<td>//crlf////tab////tab////tab////tab//<select name=\\quot\\BackupDays\\quot\\>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\all\\quot\\>All Days</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\range\\quot\\>Specific Days</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\7\\quot\\>7 Days</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\14\\quot\\>14 Days</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\30\\quot\\ Selected=\\quot\\Selected\\quot\\>30 Days</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\45\\quot\\>45 Days</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\60\\quot\\>60 Days</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\90\\quot\\>90 Days</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\180\\quot\\>180 Days</option>//crlf////tab////tab////tab////tab////tab//<option value=\\quot\\365\\quot\\>365 Days</option>//crlf////tab////tab////tab////tab//</select>//crlf////tab////tab////tab//</td>//crlf////tab////tab////tab//<td>From</td>//crlf////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ style=\\quot\\width:80px\\quot\\ name=\\quot\\BackupFrom\\quot\\ datatype=\\quot\\time\\quot\\ control=\\quot\\date\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ value={@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}></td>//crlf////tab////tab////tab//<td>To</td>//crlf////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ style=\\quot\\width:80px\\quot\\ name=\\quot\\BackupTo\\quot\\ datatype=\\quot\\time\\quot\\ control=\\quot\\date\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ value={@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}></td>//crlf////tab////tab////tab//<td><input type=\\quot\\checkbox\\quot\\ name=\\quot\\CopyToThisComputer\\quot\\>Copy to this computer<br></td>//crlf////tab////tab////tab//<td><input type=\\quot\\button\\quot\\ value=\\quot\\backup\\quot\\ onClick=\\quot\\backupFiles(\\apos\\{AspectHashID}\\apos\\\\comma\\\\apos\\__salt__\\apos\\)\\quot\\><br></td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\StoreDir\\quot\\ value=\\quot\\__ActiveStoreDir__\\quot\\>//crlf//</form>//crlf//<hr>//crlf//<br>//crlf////crlf//<h2>Log</h2>//crlf//<hr>//crlf//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible(\\apos\\Aspect6Log\\apos\\\\comma\\0\\comma\\true\\comma\\\\apos\\\\apos\\)\\quot\\>Aspect6 Log</span></h2>//crlf//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\Aspect6Log\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight\\amp\\ID=getWidget\\amp\\Source{AspectHashID}\\amp\\documentID=K4Ui6j3Y1rwlvukPkOqn25Em\\amp\\widget=Notification Queries\\amp\\query=includeDriver\\amp\\SourceDriverID=Aspect6_Activity_Log\\amp\\DriverParams=KeyExpression=ID\\amp\\KeyDescription=Description\\amp\\display=none\\amp\\SelectDisplay=false\\amp\\EditDisplay=false\\amp\\Fields=Line\\comma\\Time\\comma\\Message\\amp\\Sort=-Time\\comma\\-Line\\amp\\CanEdit=false\\amp\\MaxRecords=512\\quot\\></div>//crlf//<hr>//crlf//<br>//crlf////crlf//<h2>Files</h2>//crlf//<hr>//crlf////crlf//<!-- Aspect Directory *.* -->//crlf//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible(\\apos\\AspectDirectory\\apos\\\\comma\\0\\comma\\true\\comma\\\\apos\\\\apos\\)\\quot\\>{Aspect6AspectDirectory}*.*</span></h2>//crlf//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\AspectDirectory\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight\\amp\\ID=getWidget\\amp\\Source={AspectHashID}\\amp\\documentID=K4Ui6j3Y1rwlvukPkOqn25Em\\amp\\widget=Notification Queries\\amp\\query=getDirectoryListing\\amp\\Filespec={Aspect6AspectDirectory}*.*\\amp\\Recurse=false\\amp\\MaxDir=0\\amp\\canEdit=true\\amp\\SelectDisplay=false\\amp\\EditDisplay=false\\quot\\></div>//crlf////crlf//<!-- Aspect Directory *.bat -->//crlf//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible(\\apos\\AspectDirectory_Bat\\apos\\\\comma\\0\\comma\\true\\comma\\\\apos\\\\apos\\)\\quot\\>{Aspect6AspectDirectory}*.bat</span></h2>//crlf//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\AspectDirectory_Bat\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight\\amp\\ID=getWidget\\amp\\Source={AspectHashID}\\amp\\documentID=K4Ui6j3Y1rwlvukPkOqn25Em\\amp\\widget=Notification Queries\\amp\\query=getDirectoryListing\\amp\\Filespec={Aspect6AspectDirectory}*.bat\\amp\\Recurse=false\\amp\\MaxDir=0\\amp\\canEdit=true\\amp\\SelectDisplay=false\\amp\\EditDisplay=false\\amp\\Display=none\\amp\\Filter=not(RemoteIsDirectory)\\amp\\ExternalFilter=false\\quot\\></div>//crlf////crlf//<!-- POSData Directory -->//crlf//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible(\\apos\\POSDataDirectory\\apos\\\\comma\\0\\comma\\true\\comma\\\\apos\\\\apos\\)\\quot\\>{Aspect6AspectDirectory}PosData/*.*</span></h2>//crlf//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\POSDataDirectory\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight\\amp\\ID=getWidget\\amp\\Source={AspectHashID}\\amp\\documentID=K4Ui6j3Y1rwlvukPkOqn25Em\\amp\\widget=Notification Queries\\amp\\query=getDirectoryListing\\amp\\Filespec={Aspect6AspectDirectory}PosData/*.*\\amp\\Recurse=false\\amp\\MaxDir=0\\amp\\canEdit=true\\amp\\SelectDisplay=false\\amp\\EditDisplay=false\\quot\\></div>//crlf////crlf//<!-- Start-In Directory -->//crlf//<conditional expression:(not(getToken(\\quot\\Aspect6StartInDirectory\\quot\\)=getToken(\\quot\\Aspect6AspectDirectory\\quot\\)))>//crlf////tab//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible(\\apos\\StartInDirectory\\apos\\\\comma\\0\\comma\\true\\comma\\\\apos\\\\apos\\)\\quot\\>{Aspect6StartInDirectory}*.*</span></h2>//crlf////tab//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\StartInDirectory\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight\\amp\\ID=getWidget\\amp\\Source={AspectHashID}\\amp\\documentID=K4Ui6j3Y1rwlvukPkOqn25Em\\amp\\widget=Notification Queries\\amp\\query=getDirectoryListing\\amp\\Filespec={Aspect6StartInDirectory}*.*\\amp\\Recurse=false\\amp\\MaxDir=0\\amp\\canEdit=true\\amp\\SelectDisplay=false\\amp\\EditDisplay=false\\quot\\></div>//crlf////crlf////tab//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible(\\apos\\StartInDirectory_Bat\\apos\\\\comma\\0\\comma\\true\\comma\\\\apos\\\\apos\\)\\quot\\>{Aspect6StartInDirectory}*.bat</span></h2>//crlf////tab//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\StartInDirectory_Bat\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight\\amp\\ID=getWidget\\amp\\Source={AspectHashID}\\amp\\documentID=K4Ui6j3Y1rwlvukPkOqn25Em\\amp\\widget=Notification Queries\\amp\\query=getDirectoryListing\\amp\\Filespec={Aspect6StartInDirectory}*.bat\\amp\\Recurse=false\\amp\\MaxDir=0\\amp\\canEdit=true\\amp\\SelectDisplay=false\\amp\\EditDisplay=false\\amp\\Display=none\\amp\\Filter=not(RemoteIsDirectory)\\amp\\ExternalFilter=false\\quot\\></div>//crlf//</conditional>//crlf////crlf//<!-- POS Directory -->//crlf//<_include type:expression; expression:htmlConstant(\\quot\\POSDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\addDirSlash(getSensorValue(\\quot\\Get POS Directory\\quot\\)))>//crlf//<!conditional expression:startsWith(\\quot\\__POSDir__\\quot\\\\comma\\\\quot\\error\\quot\\)>//crlf////tab//<h2>Cannot determine POS directory: __POSDir__</h2>//crlf//</conditional>//crlf//<!conditional expression:not(startsWith(\\quot\\__POSDir__\\quot\\\\comma\\\\quot\\error\\quot\\))>//crlf////tab//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible(\\apos\\POSDirectory\\apos\\\\comma\\0\\comma\\true\\comma\\\\apos\\\\apos\\)\\quot\\>__POSDir__*.*</span></h2>//crlf////tab//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\POSDirectory\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight\\amp\\ID=getWidget\\amp\\Source={AspectHashID}\\amp\\documentID=K4Ui6j3Y1rwlvukPkOqn25Em\\amp\\widget=Notification Queries\\amp\\query=getDirectoryListing\\amp\\Filespec=__POSDir__*.*\\amp\\Recurse=false\\amp\\MaxDir=0\\amp\\canEdit=true\\amp\\SelectDisplay=false\\amp\\EditDisplay=false\\quot\\></div>//crlf//</conditional>//crlf////crlf//<!-- Store Directory -->//crlf//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible(\\apos\\StoreDirectory\\apos\\\\comma\\0\\comma\\true\\comma\\\\apos\\\\apos\\)\\quot\\>__ActiveStoreDir__*.*</span></h2>//crlf//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\StoreDirectory\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight\\amp\\ID=getWidget\\amp\\Source={AspectHashID}\\amp\\documentID=K4Ui6j3Y1rwlvukPkOqn25Em\\amp\\widget=Notification Queries\\amp\\query=getDirectoryListing\\amp\\Filespec=__ActiveStoreDir__*.*\\amp\\Recurse=false\\amp\\MaxDir=0\\amp\\canEdit=true\\amp\\SelectDisplay=false\\amp\\EditDisplay=false\\amp\\Display=none\\quot\\></div>//crlf////crlf//<!-- Store Directory - Files for current month -->//crlf//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible(\\apos\\StoreDirectory_CurrentMonth\\apos\\\\comma\\0\\comma\\true\\comma\\\\apos\\\\apos\\)\\quot\\>__ActiveStoreDir__{@formatDate(now()\\comma\\\\quot\\MM\\quot\\)}-??-{@formatDate(now()\\comma\\\\quot\\yy\\quot\\)}.*</span></h2>//crlf//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\StoreDirectory_CurrentMonth\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight\\amp\\ID=getWidget\\amp\\Source={AspectHashID}\\amp\\documentID=K4Ui6j3Y1rwlvukPkOqn25Em\\amp\\widget=Notification Queries\\amp\\query=getDirectoryListing\\amp\\Filespec=__ActiveStoreDir__{@formatDate(now()\\comma\\\\quot\\MM\\quot\\)}-??-{@formatDate(now()\\comma\\\\quot\\yy\\quot\\)}.*\\amp\\Recurse=false\\amp\\MaxDir=0\\amp\\canEdit=true\\amp\\SelectDisplay=false\\amp\\EditDisplay=false\\amp\\Display=none\\amp\\Filter=not(RemoteIsDirectory)\\amp\\ExternalFilter=false\\quot\\></div>//crlf////crlf//<!-- Backup directory under store directory -->//crlf//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible(\\apos\\StoreBackupDirectory\\apos\\\\comma\\0\\comma\\true\\comma\\\\apos\\\\apos\\)\\quot\\>__ActiveStoreDir__backup</span></h2>//crlf//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\StoreBackupDirectory\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight\\amp\\ID=getWidget\\amp\\Source={AspectHashID}\\amp\\documentID=K4Ui6j3Y1rwlvukPkOqn25Em\\amp\\widget=Notification Queries\\amp\\query=getDirectoryListing\\amp\\Filespec=__ActiveStoreDir__backup/*.*\\amp\\Recurse=false\\amp\\MaxDir=0\\amp\\canEdit=true\\amp\\SelectDisplay=false\\amp\\EditDisplay=false\\amp\\Display=none\\quot\\></div>//crlf//<hr>//crlf////crlf//__servertimerresults__
^
ID=tables|X=300|Y=122|W=792|H=686|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__content__\\quot\\=\\quot\\store_settings\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\DriverID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Aspect6_Driver_Store_Settings\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\KeyExpression\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\KeyDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Dialog\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Aspect_BackOffice_Store~~pipe~~Aspect7Store\\quot\\)>//crlf////tab//$include:template$//crlf////tab//<div style=\\quot\\width:100;height:10px\\quot\\></div>//crlf//</conditional>
^
ID=content|X=183|Y=65|W=1023|H=3479|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=menus|AttachLeft=|AlignLeft=menus|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=true-->//crlf//<!----------------------------------------------------------------//crlf//This item displays a table when a menu option is selected from the//crlf//pull-down menu.  A set of constants are defined based on the menu//crlf//option selected and a template is included that uses these constants//crlf//to process the appropriate driver and create the table.//crlf////crlf//Params://crlf////tab//CustomerID//tab//- HashID of the computer that will process the request//crlf////tab//Content//tab////tab////tab//- The value associated with the selected menu option//crlf////tab//StoreID//tab////tab////tab//- A comma-delimited list of Aspect7 store ID's//crlf////tab//StoreName//tab////tab//-//tab//The name of the store or group selected//crlf////tab//Date1//tab////tab////tab////tab//-//tab//Starting date (MM-dd-yyyy)//crlf////tab//Date2//tab////tab////tab////tab//-//tab//Ending date (MM-dd-yyyy)//crlf//------------------------------------------------------------------>//crlf////crlf//<!----------------------------------------------------------------//crlf//The template contains the driver include that creates the table.  //crlf//It is  included as a template so that other widgets can use the //crlf//template as well.  For example\\comma\\ any menu option in this widget could //crlf//be added as a menu item in the left bar.//crlf////crlf//The sections below defines tokens used by the template.  These include://crlf////crlf////tab//ConsolidateDays//tab//-//tab//If true\\comma\\ drivers will be opened for Date1 - Date2 //crlf////tab//DriverID//tab////tab////tab////tab//-//tab//The DriverID to be included//crlf////tab//KeyExpression//tab////tab//-//tab//Key expression//crlf////tab//KeyDescription//tab//-//tab//Key description//crlf////tab//Dialog//tab////tab////tab////tab////tab//-//tab//Dialog used to edit a record in the table//crlf////tab//Display//tab////tab////tab////tab////tab//-//tab//Default display//crlf////tab//MaxRecords//tab////tab////tab//-//tab//Maximum number of records to display//crlf////crlf//The template also uses these params://crlf////tab//CustomerID//tab////tab////tab//- The HashID of the computer to process the item//crlf////tab//StoreID//tab////tab////tab////tab////tab//- A comma-delimited list of Aspect7 store ID's//crlf////tab//StoreName//tab////tab////tab////tab//-//tab//The name of the store or group selected//crlf////tab//Date1//tab////tab////tab////tab////tab////tab//-//tab//Starting date (MM-dd-yyyy)//crlf////tab//Date2//tab////tab////tab////tab////tab////tab//-//tab//Ending date (MM-dd-yyyy)//crlf//------------------------------------------------------------------>//crlf//$include:template$//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//Sales//crlf//===============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__content__\\quot\\=\\quot\\Sales_Summary_Report\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\DriverID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ASPECT6_TDAILYSALESREC\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyExpression\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Dialog\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ConsolidateDays\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\true\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\MaxRecords\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\50\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Display\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//Payroll//crlf//===============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__content__\\quot\\=\\quot\\edit_employee_records\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\DriverID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Aspect6_Employee_Records_By_Filename\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyExpression\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Name_Last_First\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Dialog\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Employees~~pipe~~ASPECT6_DRIVER_EMPLOYEES\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__content__\\quot\\=\\quot\\Edit_Daily_Labor\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\DriverID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Aspect6_Driver_Daily_Labor_Details\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyExpression\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Dialog\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\ConsolidateDays\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\true\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\MaxRecords\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\50\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\_Display\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\test - job code total hours by day\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Display\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Labor By Store / Date / Job Code\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//Settings - General//crlf//===============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__content__\\quot\\=\\quot\\store_settings\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\DriverID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Aspect6_Driver_Store_Settings\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyExpression\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Dialog\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Aspect_BackOffice_Store~~pipe~~Aspect7Store\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__content__\\quot\\=\\quot\\job_codes\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\DriverID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Aspect6_Driver_Job_Codes_By_Filename\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyExpression\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Dialog\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\job_codes~~pipe~~ASPECT6_DRIVER_JOB_CODES\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Display\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Job Codes By Store / Number / Name\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\MaxRecords\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\50\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//Settings - Payroll//crlf//===============================================================================//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//Settings - Inventory//crlf//===============================================================================//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__content__\\quot\\=\\quot\\sizes\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\DriverID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ASPECT6_DRIVER_INVENTORY_SIZES\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyExpression\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_TINVSIZEREC_DESCRIPTION\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Dialog\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\sizes~~pipe~~Sizes\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__content__\\quot\\=\\quot\\vendors\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\DriverID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ASPECT6_DRIVER_VENDORS\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyExpression\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_TVENDORREC_NAME\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Dialog\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Aspect6_Driver_Vendors~~pipe~~ASPECT6_DRIVER_VENDORS\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__content__\\quot\\=\\quot\\areas\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\DriverID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ASPECT6_AREA_NAMES\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyExpression\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_TAREAREC_NAME\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Dialog\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\AreaNames~~pipe~~AreaNames\\quot\\)>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//Inventory//crlf//===============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__content__\\quot\\=\\quot\\edit_inventory_items\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\DriverID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Aspect6_Driver_Inventory_Items_By_Filename\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyExpression\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\KeyDescription\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\ID_TINGREDIENTREC_NAME\\quot\\)>//crlf////tab//<!include type:expression; expression:htmlConstant(\\quot\\Dialog\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\Aspect6_Driver_Inventory_Items~~pipe~~InventoryItems\\quot\\)>//crlf//</conditional>//crlf////crlf////crlf//__servertimerresults__//crlf////crlf//<div style=\\quot\\width:900px;height:800px\\quot\\></div>//crlf//
^
ID=js_menuitems|X=300|Y=122|W=792|H=686|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=var arMenuitem=[\\quot\\File\\comma\\FALSE\\comma\\Activity Log\\quot\\\\comma\\//crlf//\\quot\\File\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\File\\comma\\FALSE\\comma\\Export Store\\quot\\\\comma\\//crlf//\\quot\\File\\comma\\FALSE\\comma\\Import Store\\quot\\\\comma\\//crlf//\\quot\\File\\comma\\FALSE\\comma\\Import POS Files\\quot\\\\comma\\//crlf//\\quot\\Payroll\\comma\\TRUE\\comma\\Edit Employee Records\\quot\\\\comma\\//crlf//\\quot\\Payroll\\comma\\TRUE\\comma\\Edit Daily Labor\\quot\\\\comma\\//crlf//\\quot\\Payroll\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Payroll\\comma\\FALSE\\comma\\Edit Schedule Requests\\quot\\\\comma\\//crlf//\\quot\\Payroll\\comma\\FALSE\\comma\\Edit Weekly Schedule\\quot\\\\comma\\//crlf//\\quot\\Payroll\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Payroll\\comma\\FALSE\\comma\\<strike>Labor Detail Report</strike>\\quot\\\\comma\\//crlf//\\quot\\Payroll\\comma\\FALSE\\comma\\Labor Summary Report\\quot\\\\comma\\//crlf//\\quot\\Payroll\\comma\\FALSE\\comma\\Projected Hours Report\\quot\\\\comma\\//crlf//\\quot\\Payroll\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Payroll\\comma\\FALSE\\comma\\Export Schedule\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\FALSE\\comma\\Edit Daily Sales\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\true\\comma\\Sales Summary Report\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\FALSE\\comma\\Sales Mix Summary Report\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\FALSE\\comma\\Sales Mix Detail Report\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\FALSE\\comma\\Time Period Sales Report\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\FALSE\\comma\\Check Header Report\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\FALSE\\comma\\Check Detail Report\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\FALSE\\comma\\Payments By Type Report\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\FALSE\\comma\\Payments By Account Report\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\FALSE\\comma\\Payments By Room Report\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\FALSE\\comma\\Comps  Discounts Report\\quot\\\\comma\\//crlf//\\quot\\Sales\\comma\\FALSE\\comma\\Voids Report\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\Edit Inventory Count\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\Edit Suggested Orders\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\Edit Purchase Orders\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\Edit Invoices\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\Edit Sales Mix\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\TRUE\\comma\\Edit Inventory Items\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\Edit Recipes\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\Cost Of Sales Report\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\Inventory Extensions Report\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\Invoice Detail Report\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\Menu Profit Report\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\Inventory Item Usage Projections Report\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\Menu Item Sales Projections Report\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Inventory\\comma\\FALSE\\comma\\Update Perpetual\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\TRUE\\comma\\Store Settings\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\System Settings\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Applications\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Scripts\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\POS Definitions\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Master Password\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Protected Routines\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\User Passwords\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Payroll Settings\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\TRUE\\comma\\Job Codes\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Race Codes\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Termination Codes\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Shift Descriptions\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Schedule Names\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Schedule Positions\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\POPUP Sales Setup\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Sales Record Setup\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Sales Input Setup\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Sales Print Setup\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Custom Input Setup\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Income Expense Setup\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Time Periods\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Point-Of-Sale Lists\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Inventory Setup\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Inventory Settings\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Recipe Groups\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Inventory Groups\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Count Groups\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\TRUE\\comma\\Sizes\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\TRUE\\comma\\Areas\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\TRUE\\comma\\Vendors\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\-----------------------------\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Pack Records\\quot\\\\comma\\//crlf//\\quot\\Settings\\comma\\FALSE\\comma\\Pack Invoices\\quot\\];//crlf////crlf//createMenu(true);//crlf////crlf//function createMenu(bEnabled)//crlf//{//crlf////tab////wait for the menu to be displayed//crlf////tab//if(!document.getElementById(\\quot\\menuFile\\quot\\)) {//crlf////tab////tab//setTimeout(\\quot\\createMenu(\\quot\\+bEnabled+\\quot\\)\\comma\\500\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////clear existing selections//crlf////tab//document.getElementById(\\quot\\menuFile\\quot\\).innerHTML=\\quot\\\\quot\\;//crlf////tab//document.getElementById(\\quot\\menuPayroll\\quot\\).innerHTML=\\quot\\\\quot\\;//crlf////tab//document.getElementById(\\quot\\menuSales\\quot\\).innerHTML=\\quot\\\\quot\\;//crlf////tab//document.getElementById(\\quot\\menuInventory\\quot\\).innerHTML=\\quot\\\\quot\\;//crlf////tab//document.getElementById(\\quot\\menuSettings\\quot\\).innerHTML=\\quot\\\\quot\\;//crlf////crlf////tab//for(var i=0;i<arMenuitem.length;i++) {//crlf////tab////tab//a=getSubStringArray(arMenuitem[i]\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\true);//crlf////tab////tab//var m=document.getElementById(\\quot\\menu\\quot\\+a[0]);//crlf////tab////tab//var span=document.createElement(\\quot\\span\\quot\\);//crlf////crlf////tab////tab////set the class//crlf////tab////tab//if((!bEnabled) ~~pipe~~~~pipe~~ ((bEnabled) //amp////amp// (a[1].equalsIgnoreCase(\\quot\\TRUE\\quot\\)))) //crlf////tab////tab//{//crlf////tab////tab////tab//if(a[1].equalsIgnoreCase(\\quot\\TRUE\\quot\\)) {//crlf////tab////tab////tab////tab//span.setAttribute(\\quot\\class\\quot\\\\comma\\\\quot\\dmenuitem\\quot\\);//crlf////tab////crlf////tab////tab////tab////tab////set the onclick function//crlf////tab////tab////tab////tab//var s=replaceAllSubstrings(a[2]\\comma\\\\quot\\ \\quot\\\\comma\\\\quot\\_\\quot\\).toLowerCase();//crlf////tab////tab////tab////tab//var sFunc=\\quot\\localMenuSelected('\\quot\\+s+\\quot\\')\\quot\\;//crlf////tab////tab////tab////tab//span.setAttribute(\\quot\\onclick\\quot\\\\comma\\sFunc);//crlf////tab////tab////tab////tab//span.onclick=Function(sFunc);//crlf////tab////tab////tab////tab//}//crlf////tab////tab////tab//else {//crlf////tab////tab////tab////tab//span.setAttribute(\\quot\\class\\quot\\\\comma\\\\quot\\dmenuitemdisabled\\quot\\);//crlf////tab////tab////tab//};//crlf////tab////crlf////tab////tab////tab////set the text//crlf////tab////tab////tab//span.innerHTML=a[2];//crlf////tab////crlf////tab////tab////tab////append the menu item//crlf////tab////tab////tab//m.appendChild(span);//crlf////tab////tab//};//crlf////tab//};//crlf//};//crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf//
^
ID=select_dates|X=590|Y=44|W=396|H=34|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs|AttachLeft=select_store|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<form name=\\quot\\select_dates\\quot\\ style=\\quot\\padding-left:10px\\quot\\>//crlf////tab//Period <input type=\\quot\\text\\quot\\ style=\\quot\\width:80px\\quot\\ control=\\quot\\date\\quot\\ datatype=\\quot\\time\\quot\\ name=\\quot\\date1\\quot\\ value=\\quot\\{@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}\\quot\\>//amp//nbsp;//crlf////tab//- <input type=\\quot\\text\\quot\\ style=\\quot\\width:80px\\quot\\ control=\\quot\\date\\quot\\ datatype=\\quot\\time\\quot\\ name=\\quot\\date2\\quot\\ value=\\quot\\{@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}\\quot\\>//crlf//</form>//crlf////crlf//
^
ID=tabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'general')\\quot\\>Support</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'inspect')\\quot\\>Inspect</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'menus~~pipe~~content~~pipe~~select_store~~pipe~~select_dates')\\quot\\>Tables</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=inspect|X=183|Y=44|W=798|H=616|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs|AttachLeft=|AlignLeft=tabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf//<div interval=\\quot\\0\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=M2HDPGX49Sct3l6etItu5n1J//amp//Widget=Business Metrics - Client Side//amp//ContainerItemID=Inspect_Customer//amp//CustomerID=__LeftBarComputer__//amp//NoDrag=true\\quot\\>//crlf////tab//<img src=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif\\quot\\>//crlf//</div>//crlf//
</widget><widget name="Validate Micros E7 Interface Setup" group="POS Interface" category="Micros E7" description="Checks whether setup requirements are met for interfacing with a Micros E7 POS system." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Validate Micros E7 Interface Setup" modified="04-13-2014 12:11:18" modifiedby="Keith-Dell2" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-02-2014 18:40:24:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=1150|toolboxy=148|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=750|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Validate Micros E7 Interface Setup.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=left_bar|X=0|Y=23|W=125|H=509|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=top_bar|X=0|Y=1|W=1158|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStart|X=183|Y=45|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=162071|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=true|
^
ID=AgentTabs|X=183|Y=23|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=AgentScript|X=183|Y=45|W=996|H=745|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>
//crlf////tab//<!include type:script; name:\\quot\\agent_Validate Micros E7 Interface Setup\\quot\\; commands:\\quot\\
//crlf//
//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\
//crlf////tab////tab////Created 03-11-2014 20:18:27
//crlf//
//crlf////tab////tab////Force reporting when the agent is executed manually
//crlf////tab////tab//bForceReport=(\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)
//crlf//
//crlf//
//crlf////tab////tab////Get the POS directory
//crlf////tab////tab//POSDir=getSensorValue(\\quot\\Get POS Directory\\quot\\)
//crlf////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: Decision:Get POS Directory ()=\\quot\\\\plus\\left(POSDir\\comma\\20))
//crlf////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: (not(startsWith(POSDir\\comma\\\\apos\\error\\apos\\)))=\\quot\\\\plus\\(not(startsWith(POSDir\\comma\\\\quot\\error\\quot\\))))
//crlf////tab////tab//if(not(startsWith(POSDir\\comma\\\\quot\\error\\quot\\)))
//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentAction\\comma\\551194\\comma\\0\\comma\\Open the task scheduler driver
//crlf//
//crlf////tab////tab////tab////Open the task scheduler driver
//crlf////tab////tab////tab//driverOpen(TaskSchedulerView\\comma\\dTasks\\comma\\WRITE)
//crlf////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: Expression (driverOpen(TaskSchedulerView\\comma\\dTasks\\comma\\WRITE))\\quot\\)
//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentDecision\\comma\\894496\\comma\\0\\comma\\Does the task exist?
//crlf//
//crlf////tab////tab////tab////Does the task exist?
//crlf////tab////tab////tab//r=driverFindRecordAbsolute(dTasks\\comma\\0\\comma\\\\quot\\TaskName=\\quot\\\\plus\\quote(\\quot\\Archive Micros E7 Exports\\quot\\))
//crlf////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: Decision:Expression (driverFindRecordAbsolute(dTasks\\comma\\0\\comma\\\\apos\\TaskName=\\apos\\\\plus\\quote(\\apos\\Archive Micros E7 Exports\\apos\\)))=\\quot\\\\plus\\left(r\\comma\\20))
//crlf////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: (r\\apos\\\\plus\\char(0x3e)\\plus\\\\apos\\=0)=\\quot\\\\plus\\(r>=0))
//crlf////tab////tab////tab//if(r>=0)
//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentDecision\\comma\\574435\\comma\\0\\comma\\Is the task set to the correct POS directory?
//crlf//
//crlf////tab////tab////tab////tab////Is the task set to the correct POS directory?
//crlf////tab////tab////tab////tab//Result=pos(\\quot\\POSDir=\\quot\\\\plus\\replaceSubstring(PosDir\\comma\\\\quot\\\\\quot\\\\comma\\\\quot\\/\\quot\\)\\comma\\driverGetFieldAbsolute(dTasks\\comma\\\\quot\\TaskExpression\\quot\\\\comma\\r))
//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: Decision:Expression (pos(\\apos\\POSDir=\\apos\\\\plus\\replaceSubstring(PosDir\\comma\\\\apos\\\\\apos\\\\comma\\\\apos\\/\\apos\\)\\comma\\driverGetFieldAbsolute(dTasks\\comma\\\\apos\\TaskExpression\\apos\\\\comma\\r)))=\\quot\\\\plus\\left(Result\\comma\\20))
//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: (result\\apos\\\\plus\\char(0x3e)\\plus\\\\apos\\=0)=\\quot\\\\plus\\(result>=0))
//crlf////tab////tab////tab////tab//if(result>=0)
//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentDecision\\comma\\958901\\comma\\0\\comma\\Is the task enabled?
//crlf//
//crlf////tab////tab////tab////tab////tab////Is the task enabled?
//crlf////tab////tab////tab////tab////tab//Result=driverGetFieldAbsolute(dTasks\\comma\\\\quot\\TaskEnabled\\quot\\\\comma\\r)
//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: Decision:Expression (driverGetFieldAbsolute(dTasks\\comma\\\\apos\\TaskEnabled\\apos\\\\comma\\r))=\\quot\\\\plus\\left(Result\\comma\\20))
//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: (result)=\\quot\\\\plus\\(result))
//crlf////tab////tab////tab////tab////tab//if(result)
//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentAction\\comma\\807455\\comma\\0\\comma\\Close the task scheduler
//crlf//
//crlf////tab////tab////tab////tab////tab////tab////Close the task scheduler
//crlf////tab////tab////tab////tab////tab////tab//driverClose(dTasks)
//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: Expression (driverClose(dTasks))\\quot\\)
//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentTerminate\\comma\\241291\\comma\\0\\comma\\Ok: The Micros E7 pos interface is valid
//crlf////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\quot\\\\comma\\\\quot\\241291\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok: The Micros E7 pos interface is valid\\quot\\\\comma\\\\quot\\Ok\\quot\\\\comma\\bForceReport)
//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok\\quot\\)
//crlf////tab////tab////tab////tab////tab//else
//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentAction\\comma\\693331\\comma\\0\\comma\\Close the task scheduler
//crlf//
//crlf////tab////tab////tab////tab////tab////tab////Close the task scheduler
//crlf////tab////tab////tab////tab////tab////tab//driverClose(dTasks)
//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: Expression (driverClose(dTasks))\\quot\\)
//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentDecision\\comma\\386956\\comma\\0\\comma\\Create the task
//crlf//
//crlf////tab////tab////tab////tab////tab////tab////Create the task
//crlf////tab////tab////tab////tab////tab////tab//sCreateTaskResult=gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\POS Interface - Micros E7\\quot\\\\comma\\\\quot\\AspectScript\\quot\\\\comma\\\\quot\\query=createMicrosE7POSArchiveTask\\quot\\)
//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: Decision:Expression (gw(\\apos\\h0BE4ziTlLytqKxtWLMy5CVY\\apos\\\\comma\\\\apos\\POS Interface - Micros E7\\apos\\\\comma\\\\apos\\AspectScript\\apos\\\\comma\\\\apos\\query=createMicrosE7POSArchiveTask\\apos\\))=\\quot\\\\plus\\left(sCreateTaskResult\\comma\\20))
//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: (startsWith(result\\comma\\\\apos\\ok\\apos\\))=\\quot\\\\plus\\(startsWith(result\\comma\\\\quot\\ok\\quot\\)))
//crlf////tab////tab////tab////tab////tab////tab//if(startsWith(result\\comma\\\\quot\\ok\\quot\\))
//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentTerminate\\comma\\5525\\comma\\0\\comma\\Ok: Task was not enabled.  Updated the task.
//crlf////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\quot\\\\comma\\\\quot\\5525\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok: Task was not enabled.  Updated the task.\\quot\\\\comma\\\\quot\\Ok: \\quot\\\\plus\\Result\\comma\\bForceReport)
//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: \\quot\\\\plus\\Result)
//crlf////tab////tab////tab////tab////tab////tab//else
//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentTerminate\\comma\\171187\\comma\\1\\comma\\Error: Task was disabled.  Unable to create a new task.
//crlf////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\quot\\\\comma\\\\quot\\171187\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error: Task was disabled.  Unable to create a new task.\\quot\\\\comma\\\\quot\\Error: \\quot\\\\plus\\result\\comma\\bForceReport)
//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: \\quot\\\\plus\\result)
//crlf////tab////tab////tab////tab////tab////tab//endif
//crlf////tab////tab////tab////tab////tab//endif
//crlf////tab////tab////tab////tab//else
//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentAction\\comma\\64273\\comma\\0\\comma\\Close the task scheduler
//crlf//
//crlf////tab////tab////tab////tab////tab////Close the task scheduler
//crlf////tab////tab////tab////tab////tab//driverClose(dTasks)
//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: Expression (driverClose(dTasks))\\quot\\)
//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentDecision\\comma\\834610\\comma\\0\\comma\\Create the task
//crlf//
//crlf////tab////tab////tab////tab////tab////Create the task
//crlf////tab////tab////tab////tab////tab//Result=gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\POS Interface - Micros E7\\quot\\\\comma\\\\quot\\AspectScript\\quot\\\\comma\\\\quot\\query=createMicrosE7POSArchiveTask\\quot\\)
//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: Decision:Expression (gw(\\apos\\h0BE4ziTlLytqKxtWLMy5CVY\\apos\\\\comma\\\\apos\\POS Interface - Micros E7\\apos\\\\comma\\\\apos\\AspectScript\\apos\\\\comma\\\\apos\\query=createMicrosE7POSArchiveTask\\apos\\))=\\quot\\\\plus\\left(Result\\comma\\20))
//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: (startsWith(result\\comma\\\\apos\\ok\\apos\\))=\\quot\\\\plus\\(startsWith(result\\comma\\\\quot\\ok\\quot\\)))
//crlf////tab////tab////tab////tab////tab//if(startsWith(result\\comma\\\\quot\\ok\\quot\\))
//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentTerminate\\comma\\246822\\comma\\0\\comma\\Ok: Updated task to correct POS directory
//crlf////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\quot\\\\comma\\\\quot\\246822\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok: Updated task to correct POS directory\\quot\\\\comma\\\\quot\\Ok: \\quot\\\\plus\\Result\\comma\\bForceReport)
//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: \\quot\\\\plus\\Result)
//crlf////tab////tab////tab////tab////tab//else
//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentTerminate\\comma\\113727\\comma\\1\\comma\\Error: Could not update task to correct POS directory.
//crlf////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\quot\\\\comma\\\\quot\\113727\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error: Could not update task to correct POS directory.\\quot\\\\comma\\\\quot\\Error: \\quot\\\\plus\\result\\comma\\bForceReport)
//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: \\quot\\\\plus\\result)
//crlf////tab////tab////tab////tab////tab//endif
//crlf////tab////tab////tab////tab//endif
//crlf////tab////tab////tab//else
//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentAction\\comma\\396903\\comma\\0\\comma\\Close the task scheduler
//crlf//
//crlf////tab////tab////tab////tab////Close the task scheduler
//crlf////tab////tab////tab////tab//driverClose(dTasks)
//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: Expression (driverClose(dTasks))\\quot\\)
//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentDecision\\comma\\343358\\comma\\0\\comma\\Create the task
//crlf//
//crlf////tab////tab////tab////tab////Create the task
//crlf////tab////tab////tab////tab//Result=gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\POS Interface - Micros E7\\quot\\\\comma\\\\quot\\AspectScript\\quot\\\\comma\\\\quot\\query=createMicrosE7POSArchiveTask\\quot\\)
//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: Decision:Expression (gw(\\apos\\h0BE4ziTlLytqKxtWLMy5CVY\\apos\\\\comma\\\\apos\\POS Interface - Micros E7\\apos\\\\comma\\\\apos\\AspectScript\\apos\\\\comma\\\\apos\\query=createMicrosE7POSArchiveTask\\apos\\))=\\quot\\\\plus\\left(Result\\comma\\20))
//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Validate Micros E7 Interface Setup: (startsWith(result\\comma\\\\apos\\ok\\apos\\))=\\quot\\\\plus\\(startsWith(result\\comma\\\\quot\\ok\\quot\\)))
//crlf////tab////tab////tab////tab//if(startsWith(result\\comma\\\\quot\\ok\\quot\\))
//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentTerminate\\comma\\819689\\comma\\0\\comma\\Ok: Created a new task to archive the Micros E7 exports in a dated directory
//crlf////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\quot\\\\comma\\\\quot\\819689\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok: Created a new task to archive the Micros E7 exports in a dated directory\\quot\\\\comma\\\\quot\\Ok: \\quot\\\\plus\\Result\\comma\\bForceReport)
//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: \\quot\\\\plus\\Result)
//crlf////tab////tab////tab////tab//else
//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentTerminate\\comma\\228616\\comma\\1\\comma\\Error: Could not create a new task to archive the Micros E7 pos exports
//crlf////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\quot\\\\comma\\\\quot\\228616\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error: Could not create a new task to archive the Micros E7 pos exports\\quot\\\\comma\\\\quot\\Error: \\quot\\\\plus\\result\\comma\\bForceReport)
//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: \\quot\\\\plus\\result)
//crlf////tab////tab////tab////tab//endif
//crlf////tab////tab////tab//endif
//crlf////tab////tab//else
//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\comma\\AgentTerminate\\comma\\568054\\comma\\1\\comma\\Error: Could not determine POS directory of active store
//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Micros E7 Interface Setup\\quot\\\\comma\\\\quot\\568054\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error: Could not determine POS directory of active store\\quot\\\\comma\\POSDir\\comma\\bForceReport)
//crlf////tab////tab////tab//scriptSetResult(POSDir)
//crlf////tab////tab//endif
//crlf////tab//\\quot\\>
//crlf//</conditional>
^
ID=ScriptText|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;03112014//amp//nbsp;201827//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;03-11-2014//amp//nbsp;20:18:27</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=(\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Get//amp//nbsp;the//amp//nbsp;POS//amp//nbsp;directory</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;POSDir=<span class='keyword'>getSensorValue</span>(\\quot\\Get//amp//nbsp;POS//amp//nbsp;Directory\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Decision:Get//amp//nbsp;POS//amp//nbsp;Directory//amp//nbsp;()=\\quot\\\\plus\\<span class='keyword'>left</span>(POSDir\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSDir\\comma\\\\apos\\error\\apos\\)))=\\quot\\\\plus\\(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSDir\\comma\\\\quot\\error\\quot\\))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSDir\\comma\\\\quot\\error\\quot\\)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Open//amp//nbsp;the//amp//nbsp;task//amp//nbsp;scheduler//amp//nbsp;driver</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>driverOpen</span>(TaskSchedulerView\\comma\\dTasks\\comma\\WRITE)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Expression//amp//nbsp;(<span class='keyword'>driverOpen</span>(TaskSchedulerView\\comma\\dTasks\\comma\\WRITE))\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Does//amp//nbsp;the//amp//nbsp;task//amp//nbsp;exist?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;r=<span class='keyword'>driverFindRecordAbsolute</span>(dTasks\\comma\\0\\comma\\\\quot\\TaskName=\\quot\\\\plus\\<span class='keyword'>quote</span>(\\quot\\Archive//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Exports\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Decision:Expression//amp//nbsp;(<span class='keyword'>driverFindRecordAbsolute</span>(dTasks\\comma\\0\\comma\\\\apos\\TaskName=\\apos\\\\plus\\<span class='keyword'>quote</span>(\\apos\\Archive//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Exports\\apos\\)))=\\quot\\\\plus\\<span class='keyword'>left</span>(r\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;(r\\apos\\\\plus\\<span class='keyword'>char</span>(0x3e)\\plus\\\\apos\\=0)=\\quot\\\\plus\\(r//amp//gt;=0))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(r//amp//gt;=0)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;task//amp//nbsp;set//amp//nbsp;to//amp//nbsp;the//amp//nbsp;correct//amp//nbsp;POS//amp//nbsp;directory?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>pos</span>(\\quot\\POSDir=\\quot\\\\plus\\<span class='keyword'>replaceSubstring</span>(PosDir\\comma\\\\quot\\\\\quot\\\\comma\\\\quot\\/\\quot\\)\\comma\\<span class='keyword'>driverGetFieldAbsolute</span>(dTasks\\comma\\\\quot\\TaskExpression\\quot\\\\comma\\r))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Decision:Expression//amp//nbsp;(<span class='keyword'>pos</span>(\\apos\\POSDir=\\apos\\\\plus\\<span class='keyword'>replaceSubstring</span>(PosDir\\comma\\\\apos\\\\\apos\\\\comma\\\\apos\\/\\apos\\)\\comma\\<span class='keyword'>driverGetFieldAbsolute</span>(dTasks\\comma\\\\apos\\TaskExpression\\apos\\\\comma\\r)))=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;(result\\apos\\\\plus\\<span class='keyword'>char</span>(0x3e)\\plus\\\\apos\\=0)=\\quot\\\\plus\\(result//amp//gt;=0))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(result//amp//gt;=0)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;task//amp//nbsp;enabled?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>driverGetFieldAbsolute</span>(dTasks\\comma\\\\quot\\TaskEnabled\\quot\\\\comma\\r)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Decision:Expression//amp//nbsp;(<span class='keyword'>driverGetFieldAbsolute</span>(dTasks\\comma\\\\apos\\TaskEnabled\\apos\\\\comma\\r))=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;(result)=\\quot\\\\plus\\(result))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(result)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Close//amp//nbsp;the//amp//nbsp;task//amp//nbsp;scheduler</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>driverClose</span>(dTasks)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Expression//amp//nbsp;(<span class='keyword'>driverClose</span>(dTasks))\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\241291\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok://amp//nbsp;The//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;pos//amp//nbsp;interface//amp//nbsp;is//amp//nbsp;valid\\quot\\\\comma\\\\quot\\Ok\\quot\\\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Close//amp//nbsp;the//amp//nbsp;task//amp//nbsp;scheduler</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>driverClose</span>(dTasks)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Expression//amp//nbsp;(<span class='keyword'>driverClose</span>(dTasks))\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Create//amp//nbsp;the//amp//nbsp;task</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;sCreateTaskResult=<span class='keyword'>gw</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Micros//amp//nbsp;E7\\quot\\\\comma\\\\quot\\AspectScript\\quot\\\\comma\\\\quot\\query=createMicrosE7POSArchiveTask\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Decision:Expression//amp//nbsp;(<span class='keyword'>gw</span>(\\apos\\h0BE4ziTlLytqKxtWLMy5CVY\\apos\\\\comma\\\\apos\\POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Micros//amp//nbsp;E7\\apos\\\\comma\\\\apos\\AspectScript\\apos\\\\comma\\\\apos\\query=createMicrosE7POSArchiveTask\\apos\\))=\\quot\\\\plus\\<span class='keyword'>left</span>(sCreateTaskResult\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;(<span class='keyword'>startsWith</span>(result\\comma\\\\apos\\ok\\apos\\))=\\quot\\\\plus\\(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\5525\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok://amp//nbsp;Task//amp//nbsp;was//amp//nbsp;not//amp//nbsp;enabled.//amp//nbsp;//amp//nbsp;Updated//amp//nbsp;the//amp//nbsp;task.\\quot\\\\comma\\\\quot\\Ok://amp//nbsp;\\quot\\\\plus\\Result\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok://amp//nbsp;\\quot\\\\plus\\Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\171187\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error://amp//nbsp;Task//amp//nbsp;was//amp//nbsp;disabled.//amp//nbsp;//amp//nbsp;Unable//amp//nbsp;to//amp//nbsp;create//amp//nbsp;a//amp//nbsp;new//amp//nbsp;task.\\quot\\\\comma\\\\quot\\Error://amp//nbsp;\\quot\\\\plus\\result\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;\\quot\\\\plus\\result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Close//amp//nbsp;the//amp//nbsp;task//amp//nbsp;scheduler</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>driverClose</span>(dTasks)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Expression//amp//nbsp;(<span class='keyword'>driverClose</span>(dTasks))\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Create//amp//nbsp;the//amp//nbsp;task</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>gw</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Micros//amp//nbsp;E7\\quot\\\\comma\\\\quot\\AspectScript\\quot\\\\comma\\\\quot\\query=createMicrosE7POSArchiveTask\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Decision:Expression//amp//nbsp;(<span class='keyword'>gw</span>(\\apos\\h0BE4ziTlLytqKxtWLMy5CVY\\apos\\\\comma\\\\apos\\POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Micros//amp//nbsp;E7\\apos\\\\comma\\\\apos\\AspectScript\\apos\\\\comma\\\\apos\\query=createMicrosE7POSArchiveTask\\apos\\))=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;(<span class='keyword'>startsWith</span>(result\\comma\\\\apos\\ok\\apos\\))=\\quot\\\\plus\\(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\246822\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok://amp//nbsp;Updated//amp//nbsp;task//amp//nbsp;to//amp//nbsp;correct//amp//nbsp;POS//amp//nbsp;directory\\quot\\\\comma\\\\quot\\Ok://amp//nbsp;\\quot\\\\plus\\Result\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok://amp//nbsp;\\quot\\\\plus\\Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\113727\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;update//amp//nbsp;task//amp//nbsp;to//amp//nbsp;correct//amp//nbsp;POS//amp//nbsp;directory.\\quot\\\\comma\\\\quot\\Error://amp//nbsp;\\quot\\\\plus\\result\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;\\quot\\\\plus\\result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Close//amp//nbsp;the//amp//nbsp;task//amp//nbsp;scheduler</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>driverClose</span>(dTasks)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Expression//amp//nbsp;(<span class='keyword'>driverClose</span>(dTasks))\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Create//amp//nbsp;the//amp//nbsp;task</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>gw</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Micros//amp//nbsp;E7\\quot\\\\comma\\\\quot\\AspectScript\\quot\\\\comma\\\\quot\\query=createMicrosE7POSArchiveTask\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Decision:Expression//amp//nbsp;(<span class='keyword'>gw</span>(\\apos\\h0BE4ziTlLytqKxtWLMy5CVY\\apos\\\\comma\\\\apos\\POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Micros//amp//nbsp;E7\\apos\\\\comma\\\\apos\\AspectScript\\apos\\\\comma\\\\apos\\query=createMicrosE7POSArchiveTask\\apos\\))=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;(<span class='keyword'>startsWith</span>(result\\comma\\\\apos\\ok\\apos\\))=\\quot\\\\plus\\(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\819689\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok://amp//nbsp;Created//amp//nbsp;a//amp//nbsp;new//amp//nbsp;task//amp//nbsp;to//amp//nbsp;archive//amp//nbsp;the//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;exports//amp//nbsp;in//amp//nbsp;a//amp//nbsp;dated//amp//nbsp;directory\\quot\\\\comma\\\\quot\\Ok://amp//nbsp;\\quot\\\\plus\\Result\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok://amp//nbsp;\\quot\\\\plus\\Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\228616\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;create//amp//nbsp;a//amp//nbsp;new//amp//nbsp;task//amp//nbsp;to//amp//nbsp;archive//amp//nbsp;the//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;pos//amp//nbsp;exports\\quot\\\\comma\\\\quot\\Error://amp//nbsp;\\quot\\\\plus\\result\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;\\quot\\\\plus\\result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\568054\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;determine//amp//nbsp;POS//amp//nbsp;directory//amp//nbsp;of//amp//nbsp;active//amp//nbsp;store\\quot\\\\comma\\POSDir\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(POSDir)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>
^
ID=AgentDescription|X=183|Y=45|W=718|H=663|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:800px\\quot\\//crlf////tab//<p>This agent checks to ensure that a task has been created to copy //crlf////crlf////tab//<p>This agent should be called as a sub-agent after another higher-level agent has//crlf////tab//checked to ensure that a store is defined with Micros E7 as the POS system and that//crlf////tab//the pos directory is valid.</p>//crlf//</div>
^
ID=AgentStatus|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<div style=\\quot\\width:700px\\quot\\>//crlf////crlf////tab//<h2>Stores</h2>//crlf////tab//<!-- Table of stores -->//crlf////tab//<div style=\\quot\\position:relative;top:0px;left:0px;\\quot\\>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT_BACKOFFICE_STORE\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_STORE\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\Stores By Name\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\10\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Driver Dialogs~~pipe~~Aspect_BackOffice_Store~~pipe~~Aspect7Store~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<h2>Tasks</h2>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\TASKSCHEDULERVIEW\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\none\\quot\\;//crlf////tab////tab//fields: \\quot\\TaskEnabled\\comma\\TaskName\\comma\\TaskLastExecuted\\comma\\TaskLastResultMessage\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\startsWith(TaskName\\comma\\'Archive Micros E7 Exports')\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\TASKSCHEDULERVIEWDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf//</div>
^
ID=AgentChart|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>03112014 201827</state>
//crlf//<canvas height=\\quot\\100\\quot\\ width=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\ id=\\quot\\agent_doc_canvas\\quot\\></canvas><div agentchildyesnode=\\quot\\chart162071\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chartAgentStart\\quot\\><canvas height=\\quot\\124\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 124px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Validate Micros E7 Interface Setup</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: true<br>Report To: <br>Name Params: </div></div><div agentchildnonode=\\quot\\chart568054\\quot\\ agentchildyesnode=\\quot\\chart551194\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart162071\\quot\\><canvas height=\\quot\\0\\quot\\ width=\\quot\\0\\quot\\ style=\\quot\\width: 0px; height: 0px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Get the POS directory<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Get//amp//nbsp;POS//amp//nbsp;Directory<br></td></tr></tbody></table></div></div><div agentchildyesnode=\\quot\\chart894496\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 292px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart551194\\quot\\><canvas height=\\quot\\95\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Open the task scheduler driver<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td></td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart396903\\quot\\ agentchildyesnode=\\quot\\chart574435\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 439px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart894496\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Does the task exist?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart693331\\quot\\ agentchildyesnode=\\quot\\chart807455\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 684px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart958901\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the task enabled?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart228616\\quot\\ agentchildyesnode=\\quot\\chart819689\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 573px; left: 890px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart343358\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Create the task<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart171187\\quot\\ agentchildyesnode=\\quot\\chart5525\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 818px; left: 190px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart386956\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Create the task<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div agentchildyesnode=\\quot\\chart241291\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 800px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart807455\\quot\\><canvas height=\\quot\\95\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Close the task scheduler<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td></td></tr></tbody></table></div></div><div agentchildyesnode=\\quot\\chart386956\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 684px; left: 190px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart693331\\quot\\><canvas height=\\quot\\95\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Close the task scheduler<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td></td></tr></tbody></table></div></div><div agentchildyesnode=\\quot\\chart343358\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 439px; left: 890px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart396903\\quot\\><canvas height=\\quot\\95\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Close the task scheduler<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 689px; left: 890px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart819689\\quot\\><canvas height=\\quot\\123\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 123px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok: Created a new task to archive the Micros E7 exports in a dated directory<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 934px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart5525\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok: Task was not enabled.  Updated the task.<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 818px; left: 380px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart171187\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Task was disabled.  Unable to create a new task.<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 573px; left: 1080px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart228616\\quot\\><canvas height=\\quot\\123\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 123px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Could not create a new task to archive the Micros E7 pos exports<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart64273\\quot\\ agentchildyesnode=\\quot\\chart958901\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 555px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart574435\\quot\\><canvas height=\\quot\\90\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the task set to the correct POS directory?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 805px; left: 540px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart246822\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok: Updated task to correct POS directory<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div agentchildyesnode=\\quot\\chart834610\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 555px; left: 540px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart64273\\quot\\><canvas height=\\quot\\95\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Close the task scheduler<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td></td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart113727\\quot\\ agentchildyesnode=\\quot\\chart246822\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 689px; left: 540px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart834610\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Create the task<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 689px; left: 730px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart113727\\quot\\><canvas height=\\quot\\123\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 123px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Could not update task to correct POS directory.<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart568054\\quot\\><canvas height=\\quot\\123\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 123px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Could not determine POS directory of active store<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 934px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart241291\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok: The Micros E7 pos interface is valid<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div>
^
ID=162071|X=183|Y=221|W=149|H=63|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=551194|AgentChildNoNode=568054|AgentSensor=Get POS Directory|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=not(startsWith(POSDir//comma//\\quot\\error\\quot\\))|AgentNodeActionReturnValue=POSDir|AgentNodeComment=Get the POS directory|AgentNodeTermType=1|
^
ID=551194|X=183|Y=337|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=894496|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=driverOpen(TaskSchedulerView//comma//dTasks//comma//WRITE)|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Open the task scheduler driver|AgentNodeTermType=1|
^
ID=894496|X=183|Y=484|W=149|H=65|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=574435|AgentChildNoNode=396903|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=driverFindRecordAbsolute(dTasks//comma//0//comma//\\quot\\TaskName\equals\\\quot\\//plus//quote(\\quot\\Archive Micros E7 Exports\\quot\\))|AgentNodeExpression=r>\equals\0|AgentNodeActionReturnValue=r|AgentNodeComment=Does the task exist?|AgentNodeTermType=1|
^
ID=958901|X=183|Y=729|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=807455|AgentChildNoNode=693331|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=driverGetFieldAbsolute(dTasks//comma//\\quot\\TaskEnabled\\quot\\//comma//r)|AgentNodeExpression=result|AgentNodeActionReturnValue=|AgentNodeComment=Is the task enabled?|AgentNodeTermType=1|
^
ID=343358|X=1073|Y=618|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=819689|AgentChildNoNode=228616|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\//comma//\\quot\\POS Interface - Micros E7\\quot\\//comma//\\quot\\AspectScript\\quot\\//comma//\\quot\\query\equals\createMicrosE7POSArchiveTask\\quot\\)|AgentNodeExpression=startsWith(result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Create the task|AgentNodeTermType=1|
^
ID=386956|X=373|Y=863|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=5525|AgentChildNoNode=171187|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\//comma//\\quot\\POS Interface - Micros E7\\quot\\//comma//\\quot\\AspectScript\\quot\\//comma//\\quot\\query\equals\createMicrosE7POSArchiveTask\\quot\\)|AgentNodeExpression=startsWith(result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=sCreateTaskResult|AgentNodeComment=Create the task|AgentNodeTermType=1|
^
ID=807455|X=183|Y=845|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=241291|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=driverClose(dTasks)|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Close the task scheduler|AgentNodeTermType=1|
^
ID=693331|X=373|Y=729|W=149|H=83|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=386956|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=driverClose(dTasks)|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Close the task scheduler|AgentNodeTermType=1|
^
ID=396903|X=1073|Y=484|W=149|H=57|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=343358|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=driverClose(dTasks)|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Close the task scheduler|AgentNodeTermType=1|
^
ID=819689|X=1073|Y=734|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Ok: \\quot\\//plus//Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok: Created a new task to archive the Micros E7 exports in a dated directory|AgentNodeTermType=0|
^
ID=5525|X=373|Y=979|W=119|H=47|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Ok: \\quot\\//plus//Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok: Task was not enabled.  Updated the task.|AgentNodeTermType=0|
^
ID=171187|X=563|Y=863|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: \\quot\\//plus//result|AgentNodeActionReturnValue=|AgentNodeComment=Error: Task was disabled.  Unable to create a new task.|AgentNodeTermType=1|
^
ID=228616|X=1263|Y=618|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: \\quot\\//plus//result|AgentNodeActionReturnValue=|AgentNodeComment=Error: Could not create a new task to archive the Micros E7 pos exports|AgentNodeTermType=1|
^
ID=574435|X=183|Y=600|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=958901|AgentChildNoNode=64273|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=pos(\\quot\\POSDir\equals\\\quot\\//plus//replaceSubstring(PosDir//comma//\\quot\\\\\quot\\//comma//\\quot\\/\\quot\\)//comma//driverGetFieldAbsolute(dTasks//comma//\\quot\\TaskExpression\\quot\\//comma//r))|AgentNodeExpression=result>\equals\0|AgentNodeActionReturnValue=|AgentNodeComment=Is the task set to the correct POS directory?|AgentNodeTermType=1|
^
ID=246822|X=723|Y=850|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Ok: \\quot\\//plus//Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok: Updated task to correct POS directory|AgentNodeTermType=0|
^
ID=64273|X=723|Y=600|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=834610|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=driverClose(dTasks)|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Close the task scheduler|AgentNodeTermType=1|
^
ID=834610|X=723|Y=734|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=246822|AgentChildNoNode=113727|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\//comma//\\quot\\POS Interface - Micros E7\\quot\\//comma//\\quot\\AspectScript\\quot\\//comma//\\quot\\query\equals\createMicrosE7POSArchiveTask\\quot\\)|AgentNodeExpression=startsWith(result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Create the task|AgentNodeTermType=1|
^
ID=113727|X=913|Y=734|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: \\quot\\//plus//result|AgentNodeActionReturnValue=|AgentNodeComment=Error: Could not update task to correct POS directory.|AgentNodeTermType=1|
^
ID=568054|X=373|Y=221|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get POS Directory|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=POSDir|AgentNodeActionReturnValue=|AgentNodeComment=Error: Could not determine POS directory of active store|AgentNodeTermType=1|
^
ID=241291|X=183|Y=979|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Ok\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Ok: The Micros E7 pos interface is valid|AgentNodeTermType=0|
</widget><widget name="Verify Micros E7 POS Export" group="POS Interface" category="Micros E7" description="Checks that export files have been created by the Micros E7 POS system." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Verify Micros E7 Pos Export" modified="04-13-2014 12:24:46" modifiedby="Keith-Dell2" TaskEnabled=false IsAgent=true ContainsAgentSensors=true ContainsAgentActions=false TaskInitialStartTime=04-02-2014 18:40:24:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=1101|toolboxy=117|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=750|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Verify Micros E7 POS Export.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=left_bar|X=0|Y=23|W=125|H=509|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=top_bar|X=0|Y=1|W=1158|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStart|X=183|Y=45|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=398440|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=true|
^
ID=AgentTabs|X=183|Y=23|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=AgentScript|X=183|Y=45|W=1009|H=816|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Verify Micros E7 POS Export\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 03-11-2014 17:21:56//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=(\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\comma\\AgentDecision\\comma\\398440\\comma\\0\\comma\\Is store setup valid?//crlf////crlf////tab////tab////Is store setup valid?//crlf////tab////tab//Result=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Validate Aspect7 Store Setup\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab//appendToLog(\\quot\\Verify Micros E7 POS Export: Decision:Expression (execAgent('h0BE4ziTlLytqKxtWLMy5CVY'\\comma\\'Validate Aspect7 Store Setup'\\comma\\''\\comma\\'')//crlf//)=\\quot\\+left(Result\\comma\\20))//crlf////tab////tab//appendToLog(\\quot\\Verify Micros E7 POS Export: (not(startsWith(Result\\comma\\'error')))=\\quot\\+(not(startsWith(Result\\comma\\\\quot\\error\\quot\\))))//crlf////tab////tab//if(not(startsWith(Result\\comma\\\\quot\\error\\quot\\)))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\comma\\AgentDecision\\comma\\640835\\comma\\0\\comma\\Is the POS interface setup valid?//crlf////crlf////tab////tab////tab////Is the POS interface setup valid?//crlf////tab////tab////tab//Result=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\//tab//Validate POS Interface Setup\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Verify Micros E7 POS Export: Decision:Expression (execAgent('h0BE4ziTlLytqKxtWLMy5CVY'\\comma\\'//tab//Validate POS Interface Setup'\\comma\\''\\comma\\''))=\\quot\\+left(Result\\comma\\20))//crlf////tab////tab////tab//appendToLog(\\quot\\Verify Micros E7 POS Export: (startsWith(Result\\comma\\'ok'))=\\quot\\+(startsWith(Result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////crlf////tab////tab////tab////tab////Get the POS directory of the active store//crlf////tab////tab////tab////tab//POSDir=getSensorValue(\\quot\\Get POS Directory\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Verify Micros E7 POS Export: Decision:Get POS Directory ()=\\quot\\+left(POSDir\\comma\\20))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Verify Micros E7 POS Export: (not(startsWith(POSDir\\comma\\'error')))=\\quot\\+(not(startsWith(POSDir\\comma\\\\quot\\error\\quot\\))))//crlf////tab////tab////tab////tab//if(not(startsWith(POSDir\\comma\\\\quot\\error\\quot\\)))//crlf////crlf////tab////tab////tab////tab////tab////Does a system totals file exist with a valid date//crlf////tab////tab////tab////tab////tab//ExportDate=getSensorValue(\\quot\\Micros E7 - Get Export Date\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Verify Micros E7 POS Export: Decision:Micros E7 - Get Export Date ()=\\quot\\+left(ExportDate\\comma\\20))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Verify Micros E7 POS Export: (not(startsWith(ExportDate\\comma\\'error')))=\\quot\\+(not(startsWith(ExportDate\\comma\\\\quot\\error\\quot\\))))//crlf////tab////tab////tab////tab////tab//if(not(startsWith(ExportDate\\comma\\\\quot\\error\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\comma\\AgentAction\\comma\\371093\\comma\\0\\comma\\Get the last business date//crlf////crlf////tab////tab////tab////tab////tab////tab////Get the last business date//crlf////tab////tab////tab////tab////tab////tab//BusinessDate=formatDate(LastBusinessDay(\\quot\\23:00\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Verify Micros E7 POS Export: Expression (formatDate(LastBusinessDay('23:00')\\comma\\'MM-dd-yyyy'))=\\quot\\+left(BusinessDate\\comma\\20))//crlf////crlf////tab////tab////tab////tab////tab////tab////Is the date of the export files current?//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Verify Micros E7 POS Export: (BusinessDate=ExportDate)=\\quot\\+(BusinessDate=ExportDate))//crlf////tab////tab////tab////tab////tab////tab//if(BusinessDate=ExportDate)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////Are the export files all present and from the same batch?//crlf////tab////tab////tab////tab////tab////tab////tab//Result=getSensorValue(\\quot\\Micros E7 - Validate Export Files\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Verify Micros E7 POS Export: Decision:Micros E7 - Validate Export Files ()=\\quot\\+left(Result\\comma\\20))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Verify Micros E7 POS Export: (not(startsWith(result\\comma\\'error')))=\\quot\\+(not(startsWith(result\\comma\\\\quot\\error\\quot\\))))//crlf////tab////tab////tab////tab////tab////tab////tab//if(not(startsWith(result\\comma\\\\quot\\error\\quot\\)))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////Are the archive files present?//crlf////tab////tab////tab////tab////tab////tab////tab////tab//Result=getSensorValue(\\quot\\Micros E7 - Validate Archive Files\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Verify Micros E7 POS Export: Decision:Micros E7 - Validate Archive Files ()=\\quot\\+left(Result\\comma\\20))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Verify Micros E7 POS Export: (not(startsWith(result\\comma\\'error')))=\\quot\\+(not(startsWith(result\\comma\\\\quot\\error\\quot\\))))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(not(startsWith(result\\comma\\\\quot\\error\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\comma\\AgentTerminate\\comma\\727321\\comma\\0\\comma\\Ok: The Micros E7 export files and archive files are valid.//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\quot\\\\comma\\\\quot\\727321\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)+\\quot\\~~pipe~~\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok: The Micros E7 export files and archive files are valid.\\quot\\\\comma\\result\\comma\\bForceReport)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\comma\\AgentTerminate\\comma\\797403\\comma\\1\\comma\\Error: Archive files in the dated subfolder are missing//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\quot\\\\comma\\\\quot\\797403\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)+\\quot\\~~pipe~~\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error: Archive files in the dated subfolder are missing\\quot\\\\comma\\result\\comma\\bForceReport)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\comma\\AgentTerminate\\comma\\581291\\comma\\1\\comma\\Error: Micros E7 exports are missing or invalid//crlf////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\quot\\\\comma\\\\quot\\581291\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)+\\quot\\~~pipe~~\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error: Micros E7 exports are missing or invalid\\quot\\\\comma\\Result\\comma\\bForceReport)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\comma\\AgentTerminate\\comma\\825071\\comma\\1\\comma\\Error: Export files are not from the current business date.//crlf////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\quot\\\\comma\\\\quot\\825071\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)+\\quot\\~~pipe~~\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error: Export files are not from the current business date.\\quot\\\\comma\\\\quot\\Error: Export files are not from the current business date.  Business date: \\quot\\+BusinessDate+\\quot\\ Export date: \\quot\\+ExportDate\\comma\\bForceReport)//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Export files are not from the current business date.  Business date: \\quot\\+BusinessDate+\\quot\\ Export date: \\quot\\+ExportDate)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\comma\\AgentTerminate\\comma\\273389\\comma\\1\\comma\\Error: Cannot get date from System Totals//crlf////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\quot\\\\comma\\\\quot\\273389\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)+\\quot\\~~pipe~~\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error: Cannot get date from System Totals\\quot\\\\comma\\ExportDate\\comma\\bForceReport)//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(ExportDate)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\comma\\AgentTerminate\\comma\\168245\\comma\\1\\comma\\Error: Could not get POS directory of active store//crlf////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\quot\\\\comma\\\\quot\\168245\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)+\\quot\\~~pipe~~\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error: Could not get POS directory of active store\\quot\\\\comma\\POSDir\\comma\\bForceReport)//crlf////tab////tab////tab////tab////tab//scriptSetResult(POSDir)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\comma\\AgentTerminate\\comma\\360432\\comma\\1\\comma\\Error: POS interface setup is not valid//crlf////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\quot\\\\comma\\\\quot\\360432\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)+\\quot\\~~pipe~~\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error: POS interface setup is not valid\\quot\\\\comma\\Result\\comma\\bForceReport)//crlf////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\comma\\AgentTerminate\\comma\\378053\\comma\\1\\comma\\Error: Store setup is not valid//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export\\quot\\\\comma\\\\quot\\378053\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)+\\quot\\~~pipe~~\\quot\\+getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error: Store setup is not valid\\quot\\\\comma\\Result\\comma\\bForceReport)//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>
^
ID=ScriptText|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;03112014//amp//nbsp;172156//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;03-11-2014//amp//nbsp;17:21:56</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=(\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;store//amp//nbsp;setup//amp//nbsp;valid?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgent</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Validate//amp//nbsp;Aspect7//amp//nbsp;Store//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export://amp//nbsp;Decision:Expression//amp//nbsp;(<span class='keyword'>execAgent</span>('h0BE4ziTlLytqKxtWLMy5CVY'\\comma\\'Validate//amp//nbsp;Aspect7//amp//nbsp;Store//amp//nbsp;Setup'\\comma\\''\\comma\\'')<br>)=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export://amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(Result\\comma\\'error')))=\\quot\\+(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\error\\quot\\))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\error\\quot\\)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;POS//amp//nbsp;interface//amp//nbsp;setup//amp//nbsp;valid?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgent</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export://amp//nbsp;Decision:Expression//amp//nbsp;(<span class='keyword'>execAgent</span>('h0BE4ziTlLytqKxtWLMy5CVY'\\comma\\'//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup'\\comma\\''\\comma\\''))=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export://amp//nbsp;(<span class='keyword'>startsWith</span>(Result\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Get//amp//nbsp;the//amp//nbsp;POS//amp//nbsp;directory//amp//nbsp;of//amp//nbsp;the//amp//nbsp;active//amp//nbsp;store</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;POSDir=<span class='keyword'>getSensorValue</span>(\\quot\\Get//amp//nbsp;POS//amp//nbsp;Directory\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export://amp//nbsp;Decision:Get//amp//nbsp;POS//amp//nbsp;Directory//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(POSDir\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export://amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSDir\\comma\\'error')))=\\quot\\+(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSDir\\comma\\\\quot\\error\\quot\\))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSDir\\comma\\\\quot\\error\\quot\\)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Does//amp//nbsp;a//amp//nbsp;system//amp//nbsp;totals//amp//nbsp;file//amp//nbsp;exist//amp//nbsp;with//amp//nbsp;a//amp//nbsp;valid//amp//nbsp;date</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;ExportDate=<span class='keyword'>getSensorValue</span>(\\quot\\Micros//amp//nbsp;E7//amp//nbsp;-//amp//nbsp;Get//amp//nbsp;Export//amp//nbsp;Date\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export://amp//nbsp;Decision:Micros//amp//nbsp;E7//amp//nbsp;-//amp//nbsp;Get//amp//nbsp;Export//amp//nbsp;Date//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(ExportDate\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export://amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(ExportDate\\comma\\'error')))=\\quot\\+(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(ExportDate\\comma\\\\quot\\error\\quot\\))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(ExportDate\\comma\\\\quot\\error\\quot\\)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Get//amp//nbsp;the//amp//nbsp;last//amp//nbsp;business//amp//nbsp;date</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;BusinessDate=<span class='keyword'>formatDate</span>(<span class='keyword'>LastBusinessDay</span>(\\quot\\23:00\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export://amp//nbsp;Expression//amp//nbsp;(<span class='keyword'>formatDate</span>(<span class='keyword'>LastBusinessDay</span>('23:00')\\comma\\'MM-dd-yyyy'))=\\quot\\+<span class='keyword'>left</span>(BusinessDate\\comma\\20))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;date//amp//nbsp;of//amp//nbsp;the//amp//nbsp;export//amp//nbsp;files//amp//nbsp;current?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export://amp//nbsp;(BusinessDate=ExportDate)=\\quot\\+(BusinessDate=ExportDate))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(BusinessDate=ExportDate)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Are//amp//nbsp;the//amp//nbsp;export//amp//nbsp;files//amp//nbsp;all//amp//nbsp;present//amp//nbsp;and//amp//nbsp;from//amp//nbsp;the//amp//nbsp;same//amp//nbsp;batch?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getSensorValue</span>(\\quot\\Micros//amp//nbsp;E7//amp//nbsp;-//amp//nbsp;Validate//amp//nbsp;Export//amp//nbsp;Files\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export://amp//nbsp;Decision:Micros//amp//nbsp;E7//amp//nbsp;-//amp//nbsp;Validate//amp//nbsp;Export//amp//nbsp;Files//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export://amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(result\\comma\\'error')))=\\quot\\+(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\error\\quot\\))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\error\\quot\\)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Are//amp//nbsp;the//amp//nbsp;archive//amp//nbsp;files//amp//nbsp;present?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getSensorValue</span>(\\quot\\Micros//amp//nbsp;E7//amp//nbsp;-//amp//nbsp;Validate//amp//nbsp;Archive//amp//nbsp;Files\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export://amp//nbsp;Decision:Micros//amp//nbsp;E7//amp//nbsp;-//amp//nbsp;Validate//amp//nbsp;Archive//amp//nbsp;Files//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export://amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(result\\comma\\'error')))=\\quot\\+(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\error\\quot\\))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\error\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export\\quot\\\\comma\\\\quot\\727321\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)+\\quot\\~~pipe~~\\quot\\+<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok://amp//nbsp;The//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;export//amp//nbsp;files//amp//nbsp;and//amp//nbsp;archive//amp//nbsp;files//amp//nbsp;are//amp//nbsp;valid.\\quot\\\\comma\\result\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export\\quot\\\\comma\\\\quot\\797403\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)+\\quot\\~~pipe~~\\quot\\+<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error://amp//nbsp;Archive//amp//nbsp;files//amp//nbsp;in//amp//nbsp;the//amp//nbsp;dated//amp//nbsp;subfolder//amp//nbsp;are//amp//nbsp;missing\\quot\\\\comma\\result\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export\\quot\\\\comma\\\\quot\\581291\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)+\\quot\\~~pipe~~\\quot\\+<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error://amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;exports//amp//nbsp;are//amp//nbsp;missing//amp//nbsp;or//amp//nbsp;invalid\\quot\\\\comma\\Result\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export\\quot\\\\comma\\\\quot\\825071\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)+\\quot\\~~pipe~~\\quot\\+<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error://amp//nbsp;Export//amp//nbsp;files//amp//nbsp;are//amp//nbsp;not//amp//nbsp;from//amp//nbsp;the//amp//nbsp;current//amp//nbsp;business//amp//nbsp;date.\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Export//amp//nbsp;files//amp//nbsp;are//amp//nbsp;not//amp//nbsp;from//amp//nbsp;the//amp//nbsp;current//amp//nbsp;business//amp//nbsp;date.//amp//nbsp;//amp//nbsp;Business//amp//nbsp;date://amp//nbsp;\\quot\\+BusinessDate+\\quot\\//amp//nbsp;Export//amp//nbsp;date://amp//nbsp;\\quot\\+ExportDate\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Export//amp//nbsp;files//amp//nbsp;are//amp//nbsp;not//amp//nbsp;from//amp//nbsp;the//amp//nbsp;current//amp//nbsp;business//amp//nbsp;date.//amp//nbsp;//amp//nbsp;Business//amp//nbsp;date://amp//nbsp;\\quot\\+BusinessDate+\\quot\\//amp//nbsp;Export//amp//nbsp;date://amp//nbsp;\\quot\\+ExportDate)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export\\quot\\\\comma\\\\quot\\273389\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)+\\quot\\~~pipe~~\\quot\\+<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error://amp//nbsp;Cannot//amp//nbsp;get//amp//nbsp;date//amp//nbsp;from//amp//nbsp;System//amp//nbsp;Totals\\quot\\\\comma\\ExportDate\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(ExportDate)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export\\quot\\\\comma\\\\quot\\168245\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)+\\quot\\~~pipe~~\\quot\\+<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;get//amp//nbsp;POS//amp//nbsp;directory//amp//nbsp;of//amp//nbsp;active//amp//nbsp;store\\quot\\\\comma\\POSDir\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(POSDir)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export\\quot\\\\comma\\\\quot\\360432\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)+\\quot\\~~pipe~~\\quot\\+<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error://amp//nbsp;POS//amp//nbsp;interface//amp//nbsp;setup//amp//nbsp;is//amp//nbsp;not//amp//nbsp;valid\\quot\\\\comma\\Result\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Verify//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Export\\quot\\\\comma\\\\quot\\378053\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)+\\quot\\~~pipe~~\\quot\\+<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error://amp//nbsp;Store//amp//nbsp;setup//amp//nbsp;is//amp//nbsp;not//amp//nbsp;valid\\quot\\\\comma\\Result\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>
^
ID=AgentDescription|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<div style=\\quot\\width:800px\\quot\\>//crlf////tab//<h1>Setup</h1>//crlf////tab////crlf////tab//<p>When setting the Micros E7 interface\\comma\\ an Aspect7 store must be created with Micros E7//crlf////tab//as the POS type and a pos directory indicating where the pos export files are located.</p>//crlf////tab////crlf////tab//<p>Whenever an Aspect7 store record is modified by editing it\\comma\\ a script is called in the//crlf////tab//POS Interface - Micros E7 container to create a task that is called to copy the exports to//crlf////tab//a dated subfolder whenever the contents of the pos export directory are modified.  This task//crlf////tab//is named \\quot\\Archive Micros E7 Exports - [store name]\\quot\\ and it checks for changes every minute.</p>//crlf////crlf////crlf//</div>//crlf////crlf//
^
ID=AgentStatus|X=183|Y=45|W=905|H=741|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<_include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf//<_include type:expression; expression:htmlConstant(\\quot\\POSDirectory\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSensorValue(\\quot\\Get POS Directory\\quot\\))>//crlf//<_include type:expression; expression:htmlConstant(\\quot\\StoreDirectory\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSensorValue(\\quot\\Get Store Directory\\quot\\))>//crlf////crlf//<div style=\\quot\\width:700px\\quot\\>//crlf////crlf////tab//<h2>Setup</h2>//crlf////tab//POS Directory: __POSDirectory__<br>//crlf////tab//Store Directory: __StoreDirectory__<br>//crlf////tab//<br>//crlf////crlf////tab//<h2>Stores</h2>//crlf////tab//<!-- Table of stores -->//crlf////tab//<div style=\\quot\\position:relative;top:0px;left:0px;\\quot\\>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT_BACKOFFICE_STORE\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_STORE\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\Stores By Name\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\10\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Driver Dialogs~~pipe~~Aspect_BackOffice_Store~~pipe~~Aspect7Store~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf////crlf////tab//<h2>Tasks</h2>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\TASKSCHEDULERVIEW\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\none\\quot\\;//crlf////tab////tab//fields: \\quot\\TaskEnabled\\comma\\TaskName\\comma\\TaskLastExecuted\\comma\\TaskLastResultMessage\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\startsWith(TaskName\\comma\\'Archive Micros E7 Exports')\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\TASKSCHEDULERVIEWDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf////crlf////tab//<conditional expression:not(startsWith(\\quot\\__POSDirectory__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//sParams=\\quot\\query=getDirectoryListing//amp//driverparams=filespec=__POSDirectory__~~pipe~~recurse=false~~pipe~~maxdir=0\\quot\\//crlf////tab////tab////tab//s=gw(\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\\\comma\\\\quot\\Notification Queries\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sParams)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</div>
^
ID=AgentChart|X=183|Y=45|W=775|H=798|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>03112014 172157</state>//crlf//<canvas height=\\quot\\100\\quot\\ width=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\ id=\\quot\\agent_doc_canvas\\quot\\></canvas><div agentchildyesnode=\\quot\\chart398440\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chartAgentStart\\quot\\><canvas height=\\quot\\111\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 111px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Verify Micros E7 POS Export</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: true<br>Report To: <br>Name Params: </div></div><div agentchildnonode=\\quot\\chart168245\\quot\\ agentchildyesnode=\\quot\\chart627912\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 408px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart909313\\quot\\><canvas height=\\quot\\90\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Get the POS directory of the active store<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Get//amp//nbsp;POS//amp//nbsp;Directory<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 408px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart168245\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Could not get POS directory of active store<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart273389\\quot\\ agentchildyesnode=\\quot\\chart371093\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 537px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart627912\\quot\\><canvas height=\\quot\\90\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Does a system totals file exist with a valid date<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Micros//amp//nbsp;E7//amp//nbsp;-//amp//nbsp;Get//amp//nbsp;Export//amp//nbsp;Date<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 537px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart273389\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Cannot get date from System Totals<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart581291\\quot\\ agentchildyesnode=\\quot\\chart596475\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 942px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart103716\\quot\\><canvas height=\\quot\\90\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 90px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Are the export files all present and from the same batch?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Micros//amp//nbsp;E7//amp//nbsp;-//amp//nbsp;Validate//amp//nbsp;Export//amp//nbsp;Files<br></td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart378053\\quot\\ agentchildyesnode=\\quot\\chart640835\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 163px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart398440\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is store setup valid?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 163px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart378053\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Store setup is not valid<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart360432\\quot\\ agentchildyesnode=\\quot\\chart909313\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 279px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart640835\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the POS interface setup valid?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 279px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart360432\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: POS interface setup is not valid<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart797403\\quot\\ agentchildyesnode=\\quot\\chart727321\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 1084px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart596475\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Are the archive files present?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Micros//amp//nbsp;E7//amp//nbsp;-//amp//nbsp;Validate//amp//nbsp;Archive//amp//nbsp;Files<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 942px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart581291\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Micros E7 exports are missing or invalid<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1213px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart727321\\quot\\><canvas height=\\quot\\123\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 123px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok: The Micros E7 export files and archive files are valid.<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1084px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart797403\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Archive files in the dated subfolder are missing<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildyesnode=\\quot\\chart510938\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 666px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart371093\\quot\\><canvas height=\\quot\\95\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Get the current business date<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td>BusinessDate</td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart825071\\quot\\ agentchildyesnode=\\quot\\chart103716\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 813px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart510938\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the date of the export files current?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 813px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart825071\\quot\\><canvas height=\\quot\\123\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 123px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Export files are not from the current business date.<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>
^
ID=909313|X=183|Y=453|W=149|H=78|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=627912|AgentChildNoNode=168245|AgentSensor=Get POS Directory|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=not(startsWith(POSDir//comma//\\quot\\error\\quot\\))|AgentNodeActionReturnValue=POSDir|AgentNodeComment=Get the POS directory of the active store|AgentNodeTermType=1|
^
ID=168245|X=373|Y=453|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=POSDir|AgentNodeActionReturnValue=|AgentNodeComment=Error: Could not get POS directory of active store|AgentNodeTermType=1|
^
ID=627912|X=183|Y=582|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=371093|AgentChildNoNode=273389|AgentSensor=Micros E7 - Get Export Date|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=not(startsWith(ExportDate//comma//\\quot\\error\\quot\\))|AgentNodeActionReturnValue=ExportDate|AgentNodeComment=Does a system totals file exist with a valid date|AgentNodeTermType=1|
^
ID=273389|X=373|Y=582|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ExportDate|AgentNodeActionReturnValue=|AgentNodeComment=Error: Cannot get date from System Totals|AgentNodeTermType=1|
^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'548158')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'567615')\\quot\\>Notes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=548158|X=300|Y=122|W=757|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AspectScript|X=300|Y=122|W=757|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\check_pos_files\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab////tab//Params://crlf////tab////tab////tab//POSDir - Directory containing the pos files//crlf////crlf////tab//</conditional>//crlf////crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Checking pos files in __POSDir__\\quot\\)//crlf////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//tab////tab////crlf////tab//\\quot\\>//crlf//</conditional>
^
ID=567615|X=300|Y=122|W=757|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=Notes
^
ID=debug_console|X=300|Y=122|W=757|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=103716|X=183|Y=987|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=596475|AgentChildNoNode=581291|AgentSensor=Micros E7 - Validate Export Files|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=not(startsWith(result//comma//\\quot\\error\\quot\\))|AgentNodeActionReturnValue=|AgentNodeComment=Are the export files all present and from the same batch?|AgentNodeTermType=0|
^
ID=398440|X=183|Y=208|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=640835|AgentChildNoNode=378053|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\//comma//\\quot\\Validate Aspect7 Store Setup\\quot\\//comma//\\quot\\\\quot\\//comma//\\quot\\\\quot\\)//crlf//|AgentNodeExpression=not(startsWith(Result//comma//\\quot\\error\\quot\\))|AgentNodeActionReturnValue=|AgentNodeComment=Is store setup valid?|AgentNodeTermType=1|
^
ID=378053|X=373|Y=208|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error: Store setup is not valid|AgentNodeTermType=1|
^
ID=640835|X=183|Y=324|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=909313|AgentChildNoNode=360432|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\//comma//\\quot\\//tab//Validate POS Interface Setup\\quot\\//comma//\\quot\\\\quot\\//comma//\\quot\\\\quot\\)|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Is the POS interface setup valid?|AgentNodeTermType=1|
^
ID=360432|X=373|Y=324|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error: POS interface setup is not valid|AgentNodeTermType=1|
^
ID=sensor_list|X=300|Y=122|W=757|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__sensor__//crlf////tab//__sensor_list__//crlf////tab//__SensorDescription__//crlf////tab//__SensorParams__//crlf////tab//__SensorReturns__//crlf////tab//__SensorExec__//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Verify Micros E7 POS Export.html\\quot\\)}//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice/store_list.dta\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:false>//crlf////tab//This is a list of sensors formatted as://crlf////crlf////tab//Group\\comma\\Name\\comma\\Container Item ID\\comma\\Params//crlf////crlf////tab//Multiple container items can be used to group code for sensors//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//Sensor List//crlf//===============================================================================//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//POS Micros E7\\comma\\Micros E7 - Get Export Date\\comma\\sensor_list\\comma\\sensor=getExportDate\\comma\\private//crlf////tab//POS Micros E7\\comma\\Micros E7 - Validate Export Files\\comma\\sensor_list\\comma\\sensor=validateExportFiles\\comma\\private//crlf////tab//POS Micros E7\\comma\\Micros E7 - Validate Archive Files\\comma\\sensor_list\\comma\\sensor=validateArchiveFiles\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//getExportDate//crlf//===============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getExportDate\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Gets the date of the POS export files by looking at the date inside of //crlf////tab////tab//System Totals.csv//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//none//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date in the form \\quot\\MM-dd-yyyy\\quot\\ or an error message starting with \\quot\\Error: \\quot\\//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////get the POS directory and name of the system totals file//crlf////tab////tab////tab//sPOSDir=getSensorValue(\\quot\\Get POS Directory\\quot\\)//crlf////tab////tab////tab//sFilename=sPOSDir\\plus\\\\quot\\System Totals.CSV\\quot\\//crlf////crlf////tab////tab////tab////abort if the file does not exist//crlf////tab////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: File not found - \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the file and read the date//crlf////tab////tab////tab//driverOpen(POS_Micros_E7_System_Totals\\comma\\drvSysTotal\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//dt=parseTime(driverGetFieldAbsolute(drvSysTotal\\comma\\\\quot\\StartBusinessDate\\quot\\\\comma\\1)\\comma\\\\quot\\MM/dd/yyyy\\quot\\)//crlf////tab////tab////tab//driverClose(drvSysTotal)//crlf////crlf////tab////tab////tab////return an error if the date is not valid//crlf////tab////tab////tab//if((year(dt)<2000) or (year(dt)>2099))//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: Could not read business date from \\quot\\\\plus\\sFilename))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////tab////return the date//crlf////tab////tab////tab//scriptSetResult(formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//validateExportFiles//crlf//===============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\validateExportFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Checks to see if all Micros E7 export files have been created for the most recent//crlf////tab////tab//business date and that the files were all exported at the same time//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//none//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//\\quot\\Ok\\quot\\ or an error message starting with \\quot\\Error: \\quot\\//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////get the POS directory and name of the system totals file//crlf////tab////tab////tab//sPOSDir=getSensorValue(\\quot\\Get POS Directory\\quot\\)//crlf////tab////tab////tab//sFilename=sPOSDir\\plus\\\\quot\\System Totals.CSV\\quot\\//crlf////crlf////tab////tab////tab////abort if the file does not exist//crlf////tab////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: File not found - \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the file and read the date//crlf////tab////tab////tab//driverOpen(POS_Micros_E7_System_Totals\\comma\\drvSysTotal\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//dt=parseTime(driverGetFieldAbsolute(drvSysTotal\\comma\\\\quot\\StartBusinessDate\\quot\\\\comma\\1)\\comma\\\\quot\\MM/dd/yyyy\\quot\\)//crlf////tab////tab////tab//driverClose(drvSysTotal)//crlf////crlf////tab////tab////tab////return an error if the date is not valid//crlf////tab////tab////tab//if((year(dt)<2000) or (year(dt)>2099))//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: Could not read business date from \\quot\\\\plus\\sFilename))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get collection of export files//crlf////tab////tab////tab//arFiles=getToken(\\quot\\POS_Micros_E7_Export_Files\\quot\\)//crlf////tab////tab////tab////crlf////tab////tab////tab////check that all files are present and from the same time//crlf////tab////tab////tab//cMissing=0//crlf////tab////tab////tab//cInvalidTime=0//crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//if(fileExists(sPosDir\\plus\\s))//crlf////tab////tab////tab////tab////tab////the file exists\\comma\\ so check the timestamp//crlf////tab////tab////tab////tab////tab//dtDiff=abs(dateNumber(dt)-dateNumber(fileModified(sPOSDir\\plus\\s)))//crlf////tab////tab////tab////tab////tab//if(dtDiff>1000*60*60)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\File is out of date: \\quot\\\\plus\\sPosDir\\plus\\s)//crlf////tab////tab////tab////tab////tab////tab//cInvalidTime=cInvalidTime\\plus\\1//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\File not found: \\quot\\\\plus\\sPosDir\\plus\\s)//crlf////tab////tab////tab////tab////tab//cMissing=cMissing\\plus\\1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////return Ok if all files are present and from the same time//tab////crlf////tab////tab////tab//if((cMissing=0) and (cInvalidTime=0))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////return an error message//crlf////tab////tab////tab//sResult=\\quot\\Error: \\quot\\//crlf////tab////tab////tab//if(cMissing>0)//crlf////tab////tab////tab////tab//sResult=sResult\\plus\\\\quot\\Missing \\quot\\\\plus\\cMissing\\plus\\\\quot\\ files \\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//if(cInvalidTime>0)//crlf////tab////tab////tab////tab//sResult=sResult\\plus\\\\quot\\Invalid timestamp for \\quot\\\\plus\\cInvalidTime\\plus\\\\quot\\ files\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//scriptSetResult(sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//validateArchiveFiles//crlf//===============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\validateArchiveFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Checks to see if all Micros E7 export files have been copied to a dated subfolder//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//none//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date of the archive in \\quot\\MM-dd-yyyy\\quot\\ format or an error message starting with \\quot\\Error: \\quot\\//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////get the POS directory and name of the system totals file//crlf////tab////tab////tab//sPOSDir=getSensorValue(\\quot\\Get POS Directory\\quot\\)//crlf////tab////tab////tab//sFilename=sPOSDir\\plus\\\\quot\\System Totals.CSV\\quot\\//crlf////crlf////tab////tab////tab////abort if the file does not exist//crlf////tab////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: File not found - \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the file and read the date//crlf////tab////tab////tab//driverOpen(POS_Micros_E7_System_Totals\\comma\\drvSysTotal\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//dt=parseTime(driverGetFieldAbsolute(drvSysTotal\\comma\\\\quot\\StartBusinessDate\\quot\\\\comma\\1)\\comma\\\\quot\\MM/dd/yyyy\\quot\\)//crlf////tab////tab////tab//driverClose(drvSysTotal)//crlf////crlf////tab////tab////tab////return an error if the date is not valid//crlf////tab////tab////tab//if((year(dt)<2000) or (year(dt)>2099))//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: Could not read business date from \\quot\\\\plus\\sFilename))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get collection of export files//crlf////tab////tab////tab//arFiles=getToken(\\quot\\POS_Micros_E7_Export_Files\\quot\\)//crlf////tab////tab////tab////crlf////tab////tab////tab////get the name of the archive directory//crlf////tab////tab////tab//sArchiveDir=addDirSlash(sPOSDir\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\))//crlf////crlf////tab////tab////tab////check that all files have been copied to a dated subfolder//crlf////tab////tab////tab//cMissing=0//crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//if(fileExists(sArchiveDir\\plus\\s))//crlf////tab////tab////tab////tab////tab////the file exists\\comma\\ so compare the file to the original pos export//crlf////tab////tab////tab////tab////tab//if(fileExists(sPosDir\\plus\\s))//crlf////tab////tab////tab////tab////tab////tab//CkSum1=fileGetChecksum(sPosDir\\plus\\s)//crlf////tab////tab////tab////tab////tab////tab//CkSum2=fileGetChecksum(sArchiveDir\\plus\\s)//crlf////tab////tab////tab////tab////tab////tab//if(CkSum1=CkSum2)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Archive file matches POS export file: \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Archive does not match current export:  \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Cannot compare file: \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\File not found: \\quot\\\\plus\\sArchiveDir\\plus\\s)//crlf////tab////tab////tab////tab////tab//cMissing=cMissing\\plus\\1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////return Ok if all files are present and from the same time//tab////crlf////tab////tab////tab//if(cMissing=0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////return an error message//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing \\quot\\\\plus\\cMissing\\plus\\\\quot\\ files\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//
^
ID=596475|X=183|Y=1129|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=727321|AgentChildNoNode=797403|AgentSensor=Micros E7 - Validate Archive Files|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=not(startsWith(result//comma//\\quot\\error\\quot\\))|AgentNodeActionReturnValue=|AgentNodeComment=Are the archive files present?|AgentNodeTermType=1|
^
ID=581291|X=373|Y=987|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Micros E7 - Validate Export Files|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error: Micros E7 exports are missing or invalid|AgentNodeTermType=1|
^
ID=727321|X=183|Y=1258|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Micros E7 - Validate Archive Files|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=result|AgentNodeActionReturnValue=|AgentNodeComment=Ok: The Micros E7 export files and archive files are valid.|AgentNodeTermType=0|
^
ID=797403|X=373|Y=1129|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Micros E7 - Validate Archive Files|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=result|AgentNodeActionReturnValue=|AgentNodeComment=Error: Archive files in the dated subfolder are missing|AgentNodeTermType=1|
^
ID=371093|X=183|Y=711|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=510938|AgentChildNoNode=|AgentSensor=Micros E7 - Validate Archive Files|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\equals\formatDate(LastBusinessDay(\\quot\\23:00\\quot\\)//comma//\\quot\\MM-dd-yyyy\\quot\\)|AgentNodeExpression=result|AgentNodeActionReturnValue=BusinessDate|AgentNodeComment=Get the last business date|AgentNodeTermType=0|
^
ID=510938|X=183|Y=858|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=103716|AgentChildNoNode=825071|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=BusinessDate\equals\ExportDate|AgentNodeActionReturnValue=|AgentNodeComment=Is the date of the export files current?|AgentNodeTermType=0|
^
ID=825071|X=373|Y=858|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Micros E7 - Validate Archive Files|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Export files are not from the current business date.  Business date: \\quot\\//plus//BusinessDate//plus//\\quot\\ Export date: \\quot\\//plus//ExportDate|AgentNodeActionReturnValue=|AgentNodeComment=Error: Export files are not from the current business date.|AgentNodeTermType=1|
</widget><widget name="Validate POS Interface Setup" group="POS Interface" category="" description="Ensures that any setup requirements are met for importing from the POS system." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Validate Pos Interface Setup" modified="04-13-2014 12:25:31" modifiedby="Keith-Dell2" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-02-2014 18:40:24:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=945|toolboxy=22|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=750|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Validate POS Interface Setup.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=left_bar|X=0|Y=23|W=125|H=509|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=top_bar|X=0|Y=1|W=1158|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStart|X=183|Y=45|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=308144|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=true|
^
ID=AgentTabs|X=183|Y=23|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=AgentScript|X=183|Y=45|W=1021|H=732|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>
//crlf////tab//<!include type:script; name:\\quot\\agent_Validate POS Interface Setup\\quot\\; commands:\\quot\\
//crlf//
//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\
//crlf////tab////tab////Created 03-11-2014 14:45:46
//crlf//
//crlf////tab////tab////Force reporting when the agent is executed manually
//crlf////tab////tab//bForceReport=(\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)
//crlf//
//crlf//
//crlf////tab////tab////Get the POS type
//crlf////tab////tab//POSType=getSensorValue(\\quot\\Get POS Type\\quot\\)
//crlf////tab////tab//appendToLog(\\quot\\Validate POS Interface Setup: Decision:Get POS Type ()=\\quot\\\\plus\\left(POSType\\comma\\20))
//crlf////tab////tab//appendToLog(\\quot\\Validate POS Interface Setup: (not(startsWith(POSType\\comma\\\\apos\\error\\apos\\)))=\\quot\\\\plus\\(not(startsWith(POSType\\comma\\\\quot\\error\\quot\\))))
//crlf////tab////tab//if(not(startsWith(POSType\\comma\\\\quot\\error\\quot\\)))
//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\comma\\AgentDecision\\comma\\221778\\comma\\0\\comma\\Is the POS type Micros E7
//crlf//
//crlf////tab////tab////tab////Is the POS type Micros E7
//crlf////tab////tab////tab//Result=POSType=\\quot\\Micros_E7\\quot\\
//crlf////tab////tab////tab//appendToLog(\\quot\\Validate POS Interface Setup: Decision:Expression (POSType=\\apos\\Micros_E7\\apos\\)=\\quot\\\\plus\\left(Result\\comma\\20))
//crlf////tab////tab////tab//appendToLog(\\quot\\Validate POS Interface Setup: (Result)=\\quot\\\\plus\\(Result))
//crlf////tab////tab////tab//if(Result)
//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\comma\\AgentDecision\\comma\\764050\\comma\\0\\comma\\Call the \\apos\\Validate Micros E7 Interface Setup\\apos\\ agent to check the remainder of the setup
//crlf//
//crlf////tab////tab////tab////tab////Call the \\apos\\Validate Micros E7 Interface Setup\\apos\\ agent to check the remainder of the setup
//crlf////tab////tab////tab////tab//Result=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Validate Micros E7 Interface Setup\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf//
//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Validate POS Interface Setup: Decision:Expression (execAgent(\\apos\\h0BE4ziTlLytqKxtWLMy5CVY\\apos\\\\comma\\\\apos\\Validate Micros E7 Interface Setup\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\)//crlf//)=\\quot\\\\plus\\left(Result\\comma\\20))
//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Validate POS Interface Setup: (startsWith(result\\comma\\\\apos\\OK\\apos\\))=\\quot\\\\plus\\(startsWith(result\\comma\\\\quot\\OK\\quot\\)))
//crlf////tab////tab////tab////tab//if(startsWith(result\\comma\\\\quot\\OK\\quot\\))
//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\comma\\AgentTerminate\\comma\\134098\\comma\\0\\comma\\Ok: POS interface setup is valid
//crlf////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\quot\\\\comma\\\\quot\\134098\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok: POS interface setup is valid\\quot\\\\comma\\\\quot\\Ok: \\quot\\\\plus\\Result\\comma\\bForceReport)
//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: \\quot\\\\plus\\Result)
//crlf////tab////tab////tab////tab//else
//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\comma\\AgentTerminate\\comma\\561329\\comma\\1\\comma\\Error: Invalid Micros E7 POS Interface Setup
//crlf////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\quot\\\\comma\\\\quot\\561329\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error: Invalid Micros E7 POS Interface Setup\\quot\\\\comma\\\\quot\\Error: \\quot\\\\plus\\Result\\comma\\bForceReport)
//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: \\quot\\\\plus\\Result)
//crlf////tab////tab////tab////tab//endif
//crlf////tab////tab////tab//else
//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\comma\\AgentDecision\\comma\\571887\\comma\\0\\comma\\Is the POS type Aloha?
//crlf//
//crlf////tab////tab////tab////tab////Is the POS type Aloha?
//crlf////tab////tab////tab////tab//Result=POSType=\\quot\\Aloha\\quot\\
//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Validate POS Interface Setup: Decision:Expression (POSType=\\apos\\Aloha\\apos\\)=\\quot\\\\plus\\left(Result\\comma\\20))
//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Validate POS Interface Setup: (result)=\\quot\\\\plus\\(result))
//crlf////tab////tab////tab////tab//if(result)
//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\comma\\AgentTerminate\\comma\\742088\\comma\\0\\comma\\Ok
//crlf////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\quot\\\\comma\\\\quot\\742088\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\\\quot\\Ok: \\quot\\\\plus\\Result\\comma\\bForceReport)
//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: \\quot\\\\plus\\Result)
//crlf////tab////tab////tab////tab//else
//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\comma\\AgentDecision\\comma\\500434\\comma\\0\\comma\\Is the POS type Softtouch?
//crlf//
//crlf////tab////tab////tab////tab////tab////Is the POS type Softtouch?
//crlf////tab////tab////tab////tab////tab//Result=POSType=\\quot\\SoftTouch\\quot\\
//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Validate POS Interface Setup: Decision:Expression (POSType=\\apos\\SoftTouch\\apos\\)=\\quot\\\\plus\\left(Result\\comma\\20))
//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Validate POS Interface Setup: (result)=\\quot\\\\plus\\(result))
//crlf////tab////tab////tab////tab////tab//if(result)
//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\comma\\AgentTerminate\\comma\\118352\\comma\\0\\comma\\Ok
//crlf////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\quot\\\\comma\\\\quot\\118352\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\\\quot\\Ok: \\quot\\\\plus\\Result\\comma\\bForceReport)
//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: \\quot\\\\plus\\Result)
//crlf////tab////tab////tab////tab////tab//else
//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\comma\\AgentDecision\\comma\\268395\\comma\\0\\comma\\Is the POS type Micros 3700?
//crlf//
//crlf////tab////tab////tab////tab////tab////tab////Is the POS type Micros 3700?
//crlf////tab////tab////tab////tab////tab////tab//Result=POSType=\\quot\\Micros3700\\quot\\
//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Validate POS Interface Setup: Decision:Expression (POSType=\\apos\\Micros3700\\apos\\)=\\quot\\\\plus\\left(Result\\comma\\20))
//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Validate POS Interface Setup: (result)=\\quot\\\\plus\\(result))
//crlf////tab////tab////tab////tab////tab////tab//if(result)
//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\comma\\AgentTerminate\\comma\\906628\\comma\\0\\comma\\Ok
//crlf////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\quot\\\\comma\\\\quot\\906628\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\\\quot\\Ok: \\quot\\\\plus\\Result\\comma\\bForceReport)
//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: \\quot\\\\plus\\Result)
//crlf////tab////tab////tab////tab////tab////tab//else
//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\comma\\AgentTerminate\\comma\\624788\\comma\\0\\comma\\Ok
//crlf////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\quot\\\\comma\\\\quot\\624788\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\\\quot\\Ok\\quot\\\\comma\\bForceReport)
//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok\\quot\\)
//crlf////tab////tab////tab////tab////tab////tab//endif
//crlf////tab////tab////tab////tab////tab//endif
//crlf////tab////tab////tab////tab//endif
//crlf////tab////tab////tab//endif
//crlf////tab////tab//else
//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\comma\\AgentTerminate\\comma\\957497\\comma\\1\\comma\\Error: Could not get POS type of active stoer
//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Interface Setup\\quot\\\\comma\\\\quot\\957497\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error: Could not get POS type of active stoer\\quot\\\\comma\\\\quot\\Error: \\quot\\\\plus\\POSType\\comma\\bForceReport)
//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: \\quot\\\\plus\\POSType)
//crlf////tab////tab//endif
//crlf////tab//\\quot\\>
//crlf//</conditional>
^
ID=ScriptText|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;03112014//amp//nbsp;144546//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;03-11-2014//amp//nbsp;14:45:46</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=(\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Get//amp//nbsp;the//amp//nbsp;POS//amp//nbsp;type</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;POSType=<span class='keyword'>getSensorValue</span>(\\quot\\Get//amp//nbsp;POS//amp//nbsp;Type\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Decision:Get//amp//nbsp;POS//amp//nbsp;Type//amp//nbsp;()=\\quot\\\\plus\\<span class='keyword'>left</span>(POSType\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSType\\comma\\\\apos\\error\\apos\\)))=\\quot\\\\plus\\(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSType\\comma\\\\quot\\error\\quot\\))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSType\\comma\\\\quot\\error\\quot\\)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;POS//amp//nbsp;type//amp//nbsp;Micros//amp//nbsp;E7</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=POSType=\\quot\\Micros_E7\\quot\\<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Decision:Expression//amp//nbsp;(POSType=\\apos\\Micros_E7\\apos\\)=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;(Result)=\\quot\\\\plus\\(Result))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(Result)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Call//amp//nbsp;the//amp//nbsp;\\apos\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup\\apos\\//amp//nbsp;agent//amp//nbsp;to//amp//nbsp;check//amp//nbsp;the//amp//nbsp;remainder//amp//nbsp;of//amp//nbsp;the//amp//nbsp;setup</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgent</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Decision:Expression//amp//nbsp;(<span class='keyword'>execAgent</span>(\\apos\\h0BE4ziTlLytqKxtWLMy5CVY\\apos\\\\comma\\\\apos\\Validate//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;Interface//amp//nbsp;Setup\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\apos\\)<br>)=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;(<span class='keyword'>startsWith</span>(result\\comma\\\\apos\\OK\\apos\\))=\\quot\\\\plus\\(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\OK\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(result\\comma\\\\quot\\OK\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\134098\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok://amp//nbsp;POS//amp//nbsp;interface//amp//nbsp;setup//amp//nbsp;is//amp//nbsp;valid\\quot\\\\comma\\\\quot\\Ok://amp//nbsp;\\quot\\\\plus\\Result\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok://amp//nbsp;\\quot\\\\plus\\Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\561329\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error://amp//nbsp;Invalid//amp//nbsp;Micros//amp//nbsp;E7//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\Error://amp//nbsp;\\quot\\\\plus\\Result\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;\\quot\\\\plus\\Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;POS//amp//nbsp;type//amp//nbsp;Aloha?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=POSType=\\quot\\Aloha\\quot\\<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Decision:Expression//amp//nbsp;(POSType=\\apos\\Aloha\\apos\\)=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;(result)=\\quot\\\\plus\\(result))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\742088\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\\\quot\\Ok://amp//nbsp;\\quot\\\\plus\\Result\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok://amp//nbsp;\\quot\\\\plus\\Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;POS//amp//nbsp;type//amp//nbsp;Softtouch?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=POSType=\\quot\\SoftTouch\\quot\\<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Decision:Expression//amp//nbsp;(POSType=\\apos\\SoftTouch\\apos\\)=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;(result)=\\quot\\\\plus\\(result))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\118352\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\\\quot\\Ok://amp//nbsp;\\quot\\\\plus\\Result\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok://amp//nbsp;\\quot\\\\plus\\Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;POS//amp//nbsp;type//amp//nbsp;Micros//amp//nbsp;3700?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=POSType=\\quot\\Micros3700\\quot\\<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;Decision:Expression//amp//nbsp;(POSType=\\apos\\Micros3700\\apos\\)=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\20))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup://amp//nbsp;(result)=\\quot\\\\plus\\(result))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\906628\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\\\quot\\Ok://amp//nbsp;\\quot\\\\plus\\Result\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok://amp//nbsp;\\quot\\\\plus\\Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\624788\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\\\quot\\Ok\\quot\\\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;POS//amp//nbsp;Interface//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\957497\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;get//amp//nbsp;POS//amp//nbsp;type//amp//nbsp;of//amp//nbsp;active//amp//nbsp;stoer\\quot\\\\comma\\\\quot\\Error://amp//nbsp;\\quot\\\\plus\\POSType\\comma\\bForceReport)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;\\quot\\\\plus\\POSType)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>
^
ID=AgentDescription|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStatus|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentChart|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>03112014 144546</state>
//crlf//<canvas height=\\quot\\100\\quot\\ width=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\ id=\\quot\\agent_doc_canvas\\quot\\></canvas><div agentchildyesnode=\\quot\\chart308144\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chartAgentStart\\quot\\><canvas height=\\quot\\111\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 111px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Validate POS Interface Setup</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: true<br>Report To: <br>Name Params: </div></div><div agentchildnonode=\\quot\\chart571887\\quot\\ agentchildyesnode=\\quot\\chart764050\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 295px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart221778\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the POS type Micros E7<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart500434\\quot\\ agentchildyesnode=\\quot\\chart742088\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 295px; left: 350px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart571887\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the POS type Aloha?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 411px; left: 350px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart742088\\quot\\><canvas height=\\quot\\84\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div agentchildnonode=\\quot\\chart268395\\quot\\ agentchildyesnode=\\quot\\chart118352\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 295px; left: 540px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart500434\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the POS type Softtouch?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 424px; left: 540px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart118352\\quot\\><canvas height=\\quot\\84\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div agentchildnonode=\\quot\\chart624788\\quot\\ agentchildyesnode=\\quot\\chart906628\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 295px; left: 730px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart268395\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the POS type Micros 3700?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 424px; left: 730px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart906628\\quot\\><canvas height=\\quot\\84\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 295px; left: 920px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart624788\\quot\\><canvas height=\\quot\\84\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div agentchildnonode=\\quot\\chart561329\\quot\\ agentchildyesnode=\\quot\\chart134098\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 411px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart764050\\quot\\><canvas height=\\quot\\116\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 103px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Call the \\quot\\Validate Micros E7 Interface Setup\\quot\\ agent to check the remainder of the setup<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 411px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart561329\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Invalid Micros E7 POS Interface Setup<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart957497\\quot\\ agentchildyesnode=\\quot\\chart221778\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 163px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart308144\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Get the POS type<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Get//amp//nbsp;POS//amp//nbsp;Type<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 566px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart134098\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok: POS interface setup is valid<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 163px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart957497\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Could not get POS type of active stoer<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>
^
ID=221778|X=183|Y=340|W=149|H=63|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=764050|AgentChildNoNode=571887|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=POSType\equals\\\quot\\Micros_E7\\quot\\|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Is the POS type Micros E7|AgentNodeTermType=1|
^
ID=571887|X=533|Y=340|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=742088|AgentChildNoNode=500434|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=POSType\equals\\\quot\\Aloha\\quot\\|AgentNodeExpression=result|AgentNodeActionReturnValue=|AgentNodeComment=Is the POS type Aloha?|AgentNodeTermType=1|
^
ID=742088|X=533|Y=456|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Ok: \\quot\\//plus//Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|
^
ID=500434|X=723|Y=340|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=118352|AgentChildNoNode=268395|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=POSType\equals\\\quot\\SoftTouch\\quot\\|AgentNodeExpression=result|AgentNodeActionReturnValue=|AgentNodeComment=Is the POS type Softtouch?|AgentNodeTermType=1|
^
ID=118352|X=723|Y=469|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Ok: \\quot\\//plus//Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|
^
ID=268395|X=913|Y=340|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=906628|AgentChildNoNode=624788|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=POSType\equals\\\quot\\Micros3700\\quot\\|AgentNodeExpression=result|AgentNodeActionReturnValue=|AgentNodeComment=Is the POS type Micros 3700?|AgentNodeTermType=1|
^
ID=906628|X=913|Y=469|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Ok: \\quot\\//plus//Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|
^
ID=624788|X=1103|Y=340|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Ok\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|
^
ID=764050|X=183|Y=456|W=149|H=104|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=134098|AgentChildNoNode=561329|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\//comma//\\quot\\Validate Micros E7 Interface Setup\\quot\\//comma//\\quot\\\\quot\\//comma//\\quot\\\\quot\\)//crlf//|AgentNodeExpression=startsWith(result//comma//\\quot\\OK\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Call the \\quot\\Validate Micros E7 Interface Setup\\quot\\ agent to check the remainder of the setup|AgentNodeTermType=0|
^
ID=561329|X=373|Y=456|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: \\quot\\//plus//Result|AgentNodeActionReturnValue=|AgentNodeComment=Error: Invalid Micros E7 POS Interface Setup|AgentNodeTermType=1|
^
ID=308144|X=183|Y=208|W=149|H=81|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=221778|AgentChildNoNode=957497|AgentSensor=Get POS Type|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=not(startsWith(POSType//comma//\\quot\\error\\quot\\))|AgentNodeActionReturnValue=POSType|AgentNodeComment=Get the POS type|AgentNodeTermType=0|
^
ID=134098|X=183|Y=611|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Ok: \\quot\\//plus//Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok: POS interface setup is valid|AgentNodeTermType=0|
^
ID=957497|X=373|Y=208|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get POS Type|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: \\quot\\//plus//POSType|AgentNodeActionReturnValue=|AgentNodeComment=Error: Could not get POS type of active stoer|AgentNodeTermType=1|
</widget><widget name="Validate Aspect7 Store Setup" group="Setup" category="" description="Checks to ensure that a single store exists with the Import from POS option enabled, that the store and POS directories are valid and that a POS type is selected." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Validate Aspect7 Store Setup" modified="06-30-2017 23:04:46" modifiedby="Thnikpad2" TaskEnabled=false IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=06-18-2017 21:15:45:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=48|toolboxy=170|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=750|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Validate Aspect7 Store Setup.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=left_bar|X=0|Y=23|W=125|H=509|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=top_bar|X=0|Y=1|W=1158|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=126|Y=46|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=924530|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=never|^
ID=AgentTabs|X=126|Y=23|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=126|Y=46|W=1021|H=732|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Validate Aspect7 Store Setup\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Aspect7 Store Setup\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 05-17-2017 22:21:56//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Aspect7 Store Setup\\comma\\AgentAction\\comma\\924530\\comma\\0\\comma\\verifyStoreRecords//crlf////tab////tab//Result=execAgentAction(\\quot\\verifyStoreRecords\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\verifyStoreRecords ()=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Aspect7 Store Setup\\comma\\AgentTerminate\\comma\\17982\\comma\\0\\comma\\Ok//crlf////tab////tab//scriptSetResult(Result)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=126|Y=46|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;05172017//amp//nbsp;222156//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Validate//amp//nbsp;Aspect7//amp//nbsp;Store//amp//nbsp;Setup\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;05-17-2017//amp//nbsp;22:21:56</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\verifyStoreRecords\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\verifyStoreRecords//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=126|Y=46|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<div style=\\quot\\width:700px\\quot\\>//crlf////tab//<h1>Description</h1>//crlf//</div>^
ID=AgentStatus|X=126|Y=46|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<div style=\\quot\\width:700px\\quot\\>//crlf////crlf////tab//<h2>Stores</h2>//crlf////tab//<!-- Table of stores -->//crlf////tab//<div style=\\quot\\position:relative;top:0px;left:0px;\\quot\\>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT_BACKOFFICE_STORE\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_STORE\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\Stores By Name\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\10\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Driver Dialogs~~pipe~~Aspect_BackOffice_Store~~pipe~~Aspect7Store~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf//</div>^
ID=AgentChart|X=126|Y=46|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>05172017 222156</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart924530\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\124\\quot\\ style=\\quot\\width: 120px; height: 124px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Validate Aspect7 Store Setup</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart924530\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart17982\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\56\\quot\\ style=\\quot\\width: 150px; height: 56px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>verifyStoreRecords<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart17982\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 284px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\46\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div>^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'340295')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'294585')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=340295|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=debug_console|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=294585|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__sensor__//crlf////tab//__sensor_list__//crlf////tab//__SensorDescription__//crlf////tab//__SensorParams__//crlf////tab//__SensorReturns__//crlf////tab//__SensorExec__//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Validate Aspect7 Store Setup.html\\quot\\)}//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)+\\quot\\Aspect_BackOffice/store_list.dta\\quot\\)}//crlf////tab//1//crlf//</state>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//Sensor List//crlf//===============================================================================//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Back-Office\\comma\\Verify Aspect7 Store Setup\\comma\\sensor_list\\comma\\sensor=verifyAspect7StoreSetup\\comma\\shared//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//Verify Aspect7 Store Setup//crlf//===============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\verifyAspect7StoreSetup\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Executes an agent to verify that there is one store set up to import from//crlf////tab////tab//a pos system and that a pos system is selected.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//\\quot\\Ok\\quot\\ or an error message beginning with \\quot\\Error\\quot\\//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//scriptSetResult(execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Validate Aspect7 Store Setup\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=924530|X=183|Y=222|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=17982|AgentChildNoNode=|AgentSensor=0|AgentAction=verifyStoreRecords|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=|AgentNodeTermType=|^
ID=action_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__Action__//crlf////tab//__Action_list__//crlf////tab//__ActionDescription__//crlf////tab//__ActionParams__//crlf////tab//__ActionReturns__//crlf////tab//__ActionExec__//crlf////tab//1.0//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Validate Aspect7 Store Setup\\comma\\verifyStoreRecords\\comma\\action_list\\comma\\Action=verifyStoreRecords\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//verifyStoreRecords//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\verifyStoreRecords\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Creates a store if no stores exist//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\verifyStoreRecords\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////get the installed POS type//crlf////tab////tab////tab//s=execAgentAction(\\quot\\getInstalledPOSType\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//sInstalledPOSType=\\quot\\\\quot\\//crlf////tab////tab////tab//sInstalledPOSDir=\\quot\\\\quot\\//crlf////tab////tab////tab//if(getElementCount(s\\comma\\\\quot\\~~pipe~~\\quot\\)>1)//crlf////tab////tab////tab////tab//sInstalledPOSType=getElement(s\\comma\\0\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sInstalledPOSDir=getElement(s\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open store driver//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Store\\comma\\drvStore\\comma\\WRITE)//crlf////tab////tab////tab//driverSetFilter(drvStore\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////create store if no stores exist//crlf////tab////tab////tab//if(driverGetRecordCount(drvStore)=0)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(drvStore)//crlf////tab////tab////tab////tab//if(len(trim(sInstalledPOSType))>0)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvStore\\comma\\POS_Type\\comma\\r\\comma\\sInstalledPOSType)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvStore\\comma\\POS_Directory\\comma\\r\\comma\\sInstalledPOSDir)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvStore\\comma\\Enable_POS_Import\\comma\\r\\comma\\true)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Added new store with POS type=\\quot\\\\plus\\sInstalledPOSType)//crlf////tab////tab////tab////tab//driverSetFilter(drvStore\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////verify store directory for each store//crlf////tab////tab////tab//c=driverGetRecordCount(drvStore)//crlf////tab////tab////tab//appendToLog(\\quot\\Verifying store directories for \\quot\\\\plus\\c\\plus\\\\quot\\ stores\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sStoreDir=driverGetField(drvStore\\comma\\\\quot\\Store_Directory\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(len(trim(sStoreDir))=0)//crlf////tab////tab////tab////tab////tab//sStoreID=driverGetField(drvStore\\comma\\\\quot\\ID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//sStoreDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\stores~~backslash~~\\quot\\\\plus\\left(sStoreID\\comma\\8)//crlf////tab////tab////tab////tab////tab//driverPutField(drvStore\\comma\\\\quot\\Store_Directory\\quot\\\\comma\\n\\comma\\sStoreDir)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Set store directory to \\quot\\\\plus\\sStoreDir)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab////verify there is only one store with pos synch enabled//crlf////tab////tab////tab//driverSetFilter(drvStore\\comma\\Enable_POS_Import\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvStore)//crlf////tab////tab////tab//if(c>1)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Disabling pos synch for \\quot\\\\plus\\c\\plus\\\\quot\\ stores\\quot\\)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//driverPutField(drvStore\\comma\\\\quot\\Enable_POS_Import\\quot\\\\comma\\n\\comma\\false)//crlf////tab////tab////tab////tab////tab//sStoreName=driverGetField(drvStore\\comma\\Store_Name\\comma\\n)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Disabling pos import for \\quot\\\\plus\\sStoreName)//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\There are \\quot\\\\plus\\c\\plus\\\\quot\\ stores with POS synch enabled\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////set the POS type//crlf////tab////tab////tab//appendToLog(\\quot\\Installed POS type: \\quot\\\\plus\\sInstalledPOSType)//crlf////tab////tab////tab//if(len(sInstalledPOSType)>0) //crlf////tab////tab////tab////tab//driverSetFilter(drvStore\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//c=driverGetRecordCount(drvStore)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Checking POS type for \\quot\\\\plus\\c\\plus\\\\quot\\ stores\\quot\\)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//sStorePOSType=driverGetField(drvStore\\comma\\\\quot\\POS_Type\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//if((sStorePOSType=\\quot\\0\\quot\\) or (len(sStorePOSType)=0))//crlf////tab////tab////tab////tab////tab////tab//sStoreName=driverGetField(drvStore\\comma\\Store_Name\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//driverPutField(drvStore\\comma\\POS_Type\\comma\\n\\comma\\sInstalledPOSType)//crlf////tab////tab////tab////tab////tab////tab//driverPutField(drvStore\\comma\\POS_Directory\\comma\\n\\comma\\sInstalledPOSDir)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Set POS type to \\quot\\\\plus\\sInstalledPOSType\\plus\\\\quot\\ for \\quot\\\\plus\\sStoreName)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverClose(drvStore)//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=17982|X=183|Y=330|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|
</widget><widget name="Pack Aspect6 Inventory Files" group="Utilities" category="" description="Utility to pack Aspect6 inventory files.  Purges deleted inventory item and menu item records.  To run this agent, inspect the agent and edit the preferences in the status tab, then run the agent." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pack Aspect6 Inventory Files" modified="05-30-2016 00:12:37" modifiedby="Thnikpad" TaskEnabled=false IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=03-09-2016 22:20:08:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=153|toolboxy=228|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=750|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Pack Aspect6 Inventory Files.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=2|H=22|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\top_bar\\quot\\; params:\\quot\\\\quot\\;>
^
ID=left_bar|X=0|Y=22|W=121|H=49|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\left_bar\\quot\\; params:\\quot\\startpackage=__startpackage__~~pipe~~package={@\\quot\\__package__\\quot\\}~~pipe~~menu=__menu__\\quot\\;>//crlf//
^
ID=code|X=300|Y=100|W=967|H=716|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'231737')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'233306')\\quot\\>Notes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'preferences_dialog')\\quot\\>Preferences</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'322539')\\quot\\>Pack Company</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'inventory_items_table')\\quot\\>Inventory Items</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'recipes_table')\\quot\\>Recipes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'recp_ingr_table')\\quot\\>Recp Ingr</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=231737|X=300|Y=120|W=967|H=716|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=/*******************************************************************************//crlf//Called when a store is selected in the preferences dialog.  Refreshes the //crlf//inventory item and recipe tables//crlf//*******************************************************************************///crlf//function markItemsToDelete(CustomerID\\comma\\s)//crlf//{//crlf////tab//if(s) {//crlf////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//updateInventoryItemTable();//crlf////tab////tab//updateRecipeTable();//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//showDialog(\\quot\\icon=true//amp//msg=Marking items to delete...\\quot\\);//crlf////tab//var sParams=\\quot\\query=markItemsToDelete//amp//CustomerID=\\quot\\+CustomerID;//crlf////tab//var sFunc=\\quot\\markItemsToDelete(\\\quot\\\\quot\\+CustomerID+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab//loadContent(AspectScript\\comma\\sParams\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf///*******************************************************************************//crlf//Called when a store is selected in the preferences dialog.  Refreshes the //crlf//inventory item and recipe tables//crlf//*******************************************************************************///crlf//function storeSelected()//crlf//{//crlf////tab//updateInventoryItemTable()//crlf////tab//updateRecipeTable()//crlf//};//crlf////crlf//function updateInventoryItemTable()//crlf//{//crlf////tab//var sStoreDir=document.getElementById(\\quot\\select_pack_store\\quot\\).value;//crlf////tab//if(sStoreDir!=\\quot\\0\\quot\\) {//crlf////tab////tab//var d=document.getElementById(\\quot\\InventoryItemDiv\\quot\\);//crlf////tab////tab//var sUrl=d.getAttribute(\\quot\\_url\\quot\\);//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreDir=\\quot\\+sStoreDir;//crlf////tab////tab//d.setAttribute(\\quot\\url\\quot\\\\comma\\sUrl);//crlf////tab////tab//setInterval(d\\comma\\0\\comma\\true);//crlf////tab//};//crlf//};//crlf////crlf//function updateRecipeTable()//crlf//{//crlf////tab//var sStoreDir=document.getElementById(\\quot\\select_pack_store\\quot\\).value;//crlf////tab//if(sStoreDir!=\\quot\\0\\quot\\) {//crlf////tab////tab//var d=document.getElementById(\\quot\\RecipeDiv\\quot\\);//crlf////tab////tab//var sUrl=d.getAttribute(\\quot\\_url\\quot\\);//crlf////tab////tab//sUrl +=\\quot\\//amp//StoreDir=\\quot\\+sStoreDir;//crlf////tab////tab//d.setAttribute(\\quot\\url\\quot\\\\comma\\sUrl);//crlf////tab////tab//setInterval(d\\comma\\0\\comma\\true);//crlf////tab//};//crlf//};//crlf//
^
ID=AspectScript|X=300|Y=120|W=967|H=716|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//=====================================================================//crlf//Called by the \\quot\\Mark items to delete\\quot\\ button on the preferences page.//crlf//Sets the Active and Pack flags for all inventory items and recipes//crlf////crlf//Params://crlf////tab//CustomerID - HashID of the computer on which processing will be done//crlf//=====================================================================//tab////crlf//</conditional>//crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\markItemsToDelete\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////abort if customer ID not supplied//crlf////tab////tab//if(startsWith(\\quot\\__CustomerID__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing customer ID in markItemsToDelete\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//s=execAgentAction(\\quot\\flagRecordsToPack\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\__CustomerID__\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>
^
ID=debug_console|X=300|Y=120|W=967|H=716|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=233306|X=300|Y=120|W=967|H=716|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStart|X=183|Y=42|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=486672|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=always|
^
ID=AgentTabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=AgentScript|X=183|Y=42|W=888|H=734|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Pack Aspect6 Inventory Files\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 11-24-2015 22:11:39//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////crlf////tab////tab////Is there only one instance of the agent executing?//crlf////tab////tab//appendToLog(\\quot\\(scriptCount(this)=1)=\\quot\\+(scriptCount(this)=1))//crlf////tab////tab//if(scriptCount(this)=1)//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentAction\\comma\\806114\\comma\\0\\comma\\Open preferences driver//crlf////crlf////tab////tab////tab////Open preferences driver//crlf////tab////tab////tab//driverOpen(ASPECT6_PREFERENCES\\comma\\drvPref\\comma\\WRITE)//crlf////tab////tab////tab//appendToLog(\\quot\\Expression (driverOpen(ASPECT6_PREFERENCES\\comma\\drvPref\\comma\\WRITE))\\quot\\)//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentDecision\\comma\\4258\\comma\\0\\comma\\Get the directory containing the files to be packed//crlf////crlf////tab////tab////tab////Get the directory containing the files to be packed//crlf////tab////tab////tab//StoreDir=driverGetFieldAbsolute(drvPref\\comma\\\\quot\\Pack_Records_Store_Directory\\quot\\\\comma\\0)//crlf////tab////tab////tab//appendToLog(\\quot\\Decision:Expression (driverGetFieldAbsolute(drvPref\\comma\\'Pack_Records_Store_Directory'\\comma\\0))=\\quot\\+left(StoreDir\\comma\\128))//crlf////tab////tab////tab//appendToLog(\\quot\\((len(StoreDir)'+char(0x3e)+'0) and (dirExists(StoreDir)))=\\quot\\+((len(StoreDir)>0) and (dirExists(StoreDir))))//crlf////tab////tab////tab//if((len(StoreDir)>0) and (dirExists(StoreDir)))//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentDecision\\comma\\685489\\comma\\0\\comma\\Are the required files present in the directory to be packed?//crlf////crlf////tab////tab////tab////tab////Are the required files present in the directory to be packed?//crlf////tab////tab////tab////tab//Result=getSensorValue(\\quot\\filesPresent\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\+StoreDir)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Decision:filesPresent ('StoreDir='+StoreDir)=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(result\\comma\\'ok'))=\\quot\\+(startsWith(result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab//if(startsWith(result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentDecision\\comma\\307190\\comma\\0\\comma\\Is the starting date valid?//crlf////crlf////tab////tab////tab////tab////tab////Is the starting date valid?//crlf////tab////tab////tab////tab////tab//dtStart=driverGetFieldAbsolute(drvPref\\comma\\\\quot\\Pack_Records_Start_Date\\quot\\\\comma\\0)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:Expression (driverGetFieldAbsolute(drvPref\\comma\\'Pack_Records_Start_Date'\\comma\\0))=\\quot\\+left(dtStart\\comma\\128))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\(((year(dtStart)'+char(0x3e)+'=1980) and (year(dtStart)'+char(0x3c)+'=year(now()))))=\\quot\\+(((year(dtStart)>=1980) and (year(dtStart)<=year(now())))))//crlf////tab////tab////tab////tab////tab//if(((year(dtStart)>=1980) and (year(dtStart)<=year(now()))))//crlf////crlf////tab////tab////tab////tab////tab////tab////Action=PackRecords?//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(('__Action__'='PackRecords'))=\\quot\\+((\\quot\\__Action__\\quot\\=\\quot\\PackRecords\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab//if((\\quot\\__Action__\\quot\\=\\quot\\PackRecords\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////Is Aspect6 package up to date?//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(value(getToken('Aspect6CoreVersion'))'+char(0x3e)+'=1)=\\quot\\+(value(getToken(\\quot\\Aspect6CoreVersion\\quot\\))>=1))//crlf////tab////tab////tab////tab////tab////tab////tab//if(value(getToken(\\quot\\Aspect6CoreVersion\\quot\\))>=1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentDecision\\comma\\899666\\comma\\0\\comma\\Get a pipe-delimited list of all files that will be affected//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////Get a pipe-delimited list of all files that will be affected//crlf////tab////tab////tab////tab////tab////tab////tab////tab//arFileList=getSensorValue(\\quot\\getFileList\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\+StoreDir+\\quot\\//amp//StartDate=\\quot\\+dtStart)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:getFileList ('StoreDir='+StoreDir+'//amp//StartDate='+dtStart)=\\quot\\+left(arFileList\\comma\\128))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(not(startsWith(arFileList\\comma\\'error')))=\\quot\\+(not(startsWith(arFileList\\comma\\\\quot\\error\\quot\\))))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(not(startsWith(arFileList\\comma\\\\quot\\error\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentDecision\\comma\\813680\\comma\\0\\comma\\Is the read-only attribute disabled for all files to be processed//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////Is the read-only attribute disabled for all files to be processed//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//Result=getSensorValue(\\quot\\checkReadOnlyFiles\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\+StoreDir+\\quot\\//amp//FileList=\\quot\\+arFileList)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:checkReadOnlyFiles ('StoreDir='+StoreDir+'//amp//FileList='+arFileList)=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(result\\comma\\'ok'))=\\quot\\+(startsWith(result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(startsWith(result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentDecision\\comma\\186672\\comma\\0\\comma\\Delete any temporary files that may exist from a previous execution of this agent that was interrupted//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Delete any temporary files that may exist from a previous execution of this agent that was interrupted//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//Result=getSensorValue(\\quot\\deleteTempFiles\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\ + StoreDir)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:deleteTempFiles ('StoreDir=' + StoreDir)=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(not(startsWith(result\\comma\\'error')))=\\quot\\+(not(startsWith(result\\comma\\\\quot\\error\\quot\\))))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(not(startsWith(result\\comma\\\\quot\\error\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentDecision\\comma\\825265\\comma\\0\\comma\\Copy all files that will be affected to a temporary directory//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Copy all files that will be affected to a temporary directory//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//Result=getSensorValue(\\quot\\copyFiles\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\+StoreDir+\\quot\\//amp//FileList=\\quot\\+arFileList)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:copyFiles ('StoreDir='+StoreDir+'//amp//FileList='+arFileList)=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(not(startsWith(result\\comma\\'error')))=\\quot\\+(not(startsWith(result\\comma\\\\quot\\error\\quot\\))))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(not(startsWith(result\\comma\\\\quot\\error\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentAction\\comma\\281648\\comma\\0\\comma\\Set the full name of the archive that will be used to back up the files//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Set the full name of the archive that will be used to back up the files//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//ArchiveName=addDirSlash(StoreDir)+\\quot\\backup/pack_inventory_\\quot\\+formatDate(now()\\comma\\\\quot\\yyyyMMdd_HHmmss\\quot\\)+\\quot\\.zip\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Expression (addDirSlash(StoreDir)+'backup/pack_inventory_'+formatDate(now()\\comma\\'yyyyMMdd_HHmmss')+'.zip')=\\quot\\+left(ArchiveName\\comma\\128))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentDecision\\comma\\346257\\comma\\0\\comma\\Make a zip backup of all files that will be affected//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Make a zip backup of all files that will be affected//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//Result=getSensorValue(\\quot\\backupFiles\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\+StoreDir+ \\quot\\//amp//ArchiveName=\\quot\\+ArchiveName)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:backupFiles ('StoreDir='+StoreDir+ '//amp//ArchiveName='+ArchiveName)=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(result\\comma\\'ok'))=\\quot\\+(startsWith(result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(startsWith(result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentAction\\comma\\810749\\comma\\0\\comma\\Export Cost Of Sales//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Export Cost Of Sales//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//COSChecksum1=execAgentAction(\\quot\\exportCostOfSales\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\+StoreDir+\\quot\\//amp//msg=prepack\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\exportCostOfSales ('StoreDir='+StoreDir+'//amp//msg=prepack')=\\quot\\+left(COSChecksum1\\comma\\128))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Was the cost of sales exported successfully?//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(COSChecksum1\\comma\\'ok'))=\\quot\\+(startsWith(COSChecksum1\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(startsWith(COSChecksum1\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentAction\\comma\\109937\\comma\\0\\comma\\Pack the files//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Pack the files//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//Result=execAgentAction(\\quot\\packFiles\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\ + StoreDir)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\packFiles ('StoreDir=' + StoreDir)=\\quot\\+left(Result\\comma\\128))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Were the records packed successfully?//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(Result\\comma\\'ok'))=\\quot\\+(startsWith(Result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentAction\\comma\\914235\\comma\\0\\comma\\Update all files to reflect new record numbers for inventory items and recipes//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Update all files to reflect new record numbers for inventory items and recipes//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//Result=execAgentAction(\\quot\\updateRecordNumbers\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\ + StoreDir +  \\quot\\//amp//StartDate=\\quot\\ + dtStart)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\updateRecordNumbers ('StoreDir=' + StoreDir +  '//amp//StartDate=' + dtStart)=\\quot\\+left(Result\\comma\\128))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Were record numbers updated?//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(Result\\comma\\'ok'))=\\quot\\+(startsWith(Result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\197138\\comma\\0\\comma\\Ok//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\197138\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentDecision\\comma\\48723\\comma\\0\\comma\\Restore the backup//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Restore the backup//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//Result=getSensorValue(\\quot\\restoreZipFiles\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\ + StoreDir + \\quot\\//amp//ArchiveName=\\quot\\ + ArchiveName)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:restoreZipFiles ('StoreDir=' + StoreDir + '//amp//ArchiveName=' + ArchiveName)=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(Result\\comma\\'ok'))=\\quot\\+(startsWith(Result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\157252\\comma\\1\\comma\\An error occurred while updating record numbers//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\157252\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\An error occurred while updating record numbers\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\713822\\comma\\1\\comma\\An error occurred and files were not restored//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\713822\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\An error occurred and files were not restored\\quot\\\\comma\\\\quot\\An error occurred and files were not restored\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\An error occurred and files were not restored\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\665881\\comma\\1\\comma\\An error occurred packing records//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\665881\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\An error occurred packing records\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\207633\\comma\\1\\comma\\Could not create cost of sales export//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\207633\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Could not create cost of sales export\\quot\\\\comma\\COSChecksum1\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(COSChecksum1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\797867\\comma\\1\\comma\\Could not back up files//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\797867\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Could not back up files\\quot\\\\comma\\\\quot\\Error: Could not back up files: \\quot\\+result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Could not back up files: \\quot\\+result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\306860\\comma\\1\\comma\\Could not create a temporary set of files for processing//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\306860\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Could not create a temporary set of files for processing\\quot\\\\comma\\\\quot\\Error: Could not create a temporary set of files for processing: \\quot\\+result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Could not create a temporary set of files for processing: \\quot\\+result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\422799\\comma\\1\\comma\\Error: Could not delete previous temp files://crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\422799\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error: Could not delete previous temp files:\\quot\\\\comma\\\\quot\\Error: Could not delete previous temp files: \\quot\\+result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Could not delete previous temp files: \\quot\\+result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\482406\\comma\\1\\comma\\Read-only attribute is set for one or more files//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\482406\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Read-only attribute is set for one or more files\\quot\\\\comma\\\\quot\\Error: \\quot\\+result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: \\quot\\+result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\254412\\comma\\1\\comma\\Could not get a list of files to be packed//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\254412\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Could not get a list of files to be packed\\quot\\\\comma\\\\quot\\Error: Could not get a list of files to be packed: \\quot\\+result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Could not get a list of files to be packed: \\quot\\+result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\170521\\comma\\1\\comma\\Aspect6 package is not up to date.//crlf////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\170521\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Aspect6 package is not up to date.\\quot\\\\comma\\\\quot\\Error: Aspect6 package is not up to date.  Version=\\quot\\+getToken(\\quot\\Aspect6CoreVersion\\quot\\)\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Aspect6 package is not up to date.  Version=\\quot\\+getToken(\\quot\\Aspect6CoreVersion\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//else//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////Action=FlagRecords?//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(('__Action__'='FlagRecords'))=\\quot\\+((\\quot\\__Action__\\quot\\=\\quot\\FlagRecords\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab//if((\\quot\\__Action__\\quot\\=\\quot\\FlagRecords\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentAction\\comma\\974768\\comma\\0\\comma\\Flag items to be packed//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////Flag items to be packed//crlf////tab////tab////tab////tab////tab////tab////tab////tab//Result=execAgentAction(\\quot\\flagRecordsToPack\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\flagRecordsToPack ()=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\950791\\comma\\0\\comma\\Ok//crlf////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\950791\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////Action=ExportCostOfSales//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(('__Action__'='ExportCostOfSales'))=\\quot\\+((\\quot\\__Action__\\quot\\=\\quot\\ExportCostOfSales\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if((\\quot\\__Action__\\quot\\=\\quot\\ExportCostOfSales\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentAction\\comma\\245686\\comma\\0\\comma\\Export Cost Of Sales//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////Export Cost Of Sales//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//Result=execAgentAction(\\quot\\exportCostOfSales\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\+StoreDir+\\quot\\//amp//msg=manual\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\exportCostOfSales ('StoreDir='+StoreDir+'//amp//msg=manual')=\\quot\\+left(Result\\comma\\128))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////Was the export created successfully?//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(Result\\comma\\'ok'))=\\quot\\+(startsWith(Result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\421685\\comma\\0\\comma\\Exported cost of sales//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\421685\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Exported cost of sales\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\242045\\comma\\1\\comma\\Unable to export cost of sales//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\242045\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Unable to export cost of sales\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////Action=ClearRecords//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(('__Action__'='clearRecords'))=\\quot\\+((\\quot\\__Action__\\quot\\=\\quot\\clearRecords\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if((\\quot\\__Action__\\quot\\=\\quot\\clearRecords\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentAction\\comma\\424790\\comma\\0\\comma\\No action specified//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////No action specified//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//Result=execAgentAction(\\quot\\clearRecordsToPack\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\clearRecordsToPack ()=\\quot\\+left(Result\\comma\\128))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Success?//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(Result\\comma\\'ok'))=\\quot\\+(startsWith(Result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\540415\\comma\\0\\comma\\Ok//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\540415\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\617682\\comma\\1\\comma\\Error//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\617682\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\422910\\comma\\1\\comma\\Error: No action specified//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\422910\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error: No action specified\\quot\\\\comma\\\\quot\\Error: No action specified\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: No action specified\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\222348\\comma\\1\\comma\\Invalid starting date//crlf////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\222348\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Invalid starting date\\quot\\\\comma\\\\quot\\Error: Invalid starting date: \\quot\\+dtStart\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid starting date: \\quot\\+dtStart)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\443932\\comma\\1\\comma\\One or more required files is not present in the directory//crlf////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\443932\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\One or more required files is not present in the directory\\quot\\\\comma\\\\quot\\Error: \\quot\\+Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: \\quot\\+Result)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\465899\\comma\\1\\comma\\Invalid store diretory//crlf////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\465899\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Invalid store diretory\\quot\\\\comma\\\\quot\\Error: Invalid store directory: \\quot\\+SStoreDir\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid store directory: \\quot\\+SStoreDir)//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\comma\\AgentTerminate\\comma\\819851\\comma\\1\\comma\\Already executing//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files\\quot\\\\comma\\\\quot\\819851\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Already executing\\quot\\\\comma\\\\quot\\Error: Aborted because an instance is already running\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Aborted because an instance is already running\\quot\\)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>
^
ID=ScriptText|X=183|Y=42|W=801|H=691|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;11242015//amp//nbsp;221139//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;11-24-2015//amp//nbsp;22:11:39</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;there//amp//nbsp;only//amp//nbsp;one//amp//nbsp;instance//amp//nbsp;of//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;executing?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>scriptCount</span>(this)=1)=\\quot\\+(<span class='keyword'>scriptCount</span>(this)=1))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>scriptCount</span>(this)=1)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Open//amp//nbsp;preferences//amp//nbsp;driver</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>driverOpen</span>(ASPECT6_PREFERENCES\\comma\\drvPref\\comma\\WRITE)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Expression//amp//nbsp;(<span class='keyword'>driverOpen</span>(ASPECT6_PREFERENCES\\comma\\drvPref\\comma\\WRITE))\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Get//amp//nbsp;the//amp//nbsp;directory//amp//nbsp;containing//amp//nbsp;the//amp//nbsp;files//amp//nbsp;to//amp//nbsp;be//amp//nbsp;packed</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;StoreDir=<span class='keyword'>driverGetFieldAbsolute</span>(drvPref\\comma\\\\quot\\Pack_Records_Store_Directory\\quot\\\\comma\\0)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:Expression//amp//nbsp;(<span class='keyword'>driverGetFieldAbsolute</span>(drvPref\\comma\\'Pack_Records_Store_Directory'\\comma\\0))=\\quot\\+<span class='keyword'>left</span>(StoreDir\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\((<span class='keyword'>len</span>(StoreDir)'+<span class='keyword'>char</span>(0x3e)+'0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>dirExists</span>(StoreDir)))=\\quot\\+((<span class='keyword'>len</span>(StoreDir)//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>dirExists</span>(StoreDir))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>len</span>(StoreDir)//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>dirExists</span>(StoreDir)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Are//amp//nbsp;the//amp//nbsp;required//amp//nbsp;files//amp//nbsp;present//amp//nbsp;in//amp//nbsp;the//amp//nbsp;directory//amp//nbsp;to//amp//nbsp;be//amp//nbsp;packed?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getSensorValue</span>(\\quot\\filesPresent\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\+StoreDir)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:filesPresent//amp//nbsp;('StoreDir='+StoreDir)=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(result\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;date//amp//nbsp;valid?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;dtStart=<span class='keyword'>driverGetFieldAbsolute</span>(drvPref\\comma\\\\quot\\Pack_Records_Start_Date\\quot\\\\comma\\0)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:Expression//amp//nbsp;(<span class='keyword'>driverGetFieldAbsolute</span>(drvPref\\comma\\'Pack_Records_Start_Date'\\comma\\0))=\\quot\\+<span class='keyword'>left</span>(dtStart\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(((<span class='keyword'>year</span>(dtStart)'+<span class='keyword'>char</span>(0x3e)+'=1980)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>year</span>(dtStart)'+<span class='keyword'>char</span>(0x3c)+'=<span class='keyword'>year</span>(<span class='keyword'>now</span>()))))=\\quot\\+(((<span class='keyword'>year</span>(dtStart)//amp//gt;=1980)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>year</span>(dtStart)//amp//lt;=<span class='keyword'>year</span>(<span class='keyword'>now</span>())))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>((<span class='keyword'>year</span>(dtStart)//amp//gt;=1980)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>year</span>(dtStart)//amp//lt;=<span class='keyword'>year</span>(<span class='keyword'>now</span>()))))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Action=PackRecords?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(('__Action__'='PackRecords'))=\\quot\\+((\\quot\\__Action__\\quot\\=\\quot\\PackRecords\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(\\quot\\__Action__\\quot\\=\\quot\\PackRecords\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;Aspect6//amp//nbsp;package//amp//nbsp;up//amp//nbsp;to//amp//nbsp;date?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>value</span>(<span class='keyword'>getToken</span>('Aspect6CoreVersion'))'+<span class='keyword'>char</span>(0x3e)+'=1)=\\quot\\+(<span class='keyword'>value</span>(<span class='keyword'>getToken</span>(\\quot\\Aspect6CoreVersion\\quot\\))//amp//gt;=1))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>value</span>(<span class='keyword'>getToken</span>(\\quot\\Aspect6CoreVersion\\quot\\))//amp//gt;=1)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Get//amp//nbsp;a//amp//nbsp;pipe-delimited//amp//nbsp;list//amp//nbsp;of//amp//nbsp;all//amp//nbsp;files//amp//nbsp;that//amp//nbsp;will//amp//nbsp;be//amp//nbsp;affected</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;arFileList=<span class='keyword'>getSensorValue</span>(\\quot\\getFileList\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\+StoreDir+\\quot\\//amp//StartDate=\\quot\\+dtStart)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:getFileList//amp//nbsp;('StoreDir='+StoreDir+'//amp//StartDate='+dtStart)=\\quot\\+<span class='keyword'>left</span>(arFileList\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(arFileList\\comma\\'error')))=\\quot\\+(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(arFileList\\comma\\\\quot\\error\\quot\\))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(arFileList\\comma\\\\quot\\error\\quot\\)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;read-only//amp//nbsp;attribute//amp//nbsp;disabled//amp//nbsp;for//amp//nbsp;all//amp//nbsp;files//amp//nbsp;to//amp//nbsp;be//amp//nbsp;processed</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getSensorValue</span>(\\quot\\checkReadOnlyFiles\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\+StoreDir+\\quot\\//amp//FileList=\\quot\\+arFileList)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:checkReadOnlyFiles//amp//nbsp;('StoreDir='+StoreDir+'//amp//FileList='+arFileList)=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(result\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Delete//amp//nbsp;any//amp//nbsp;temporary//amp//nbsp;files//amp//nbsp;that//amp//nbsp;may//amp//nbsp;exist//amp//nbsp;from//amp//nbsp;a//amp//nbsp;previous//amp//nbsp;execution//amp//nbsp;of//amp//nbsp;this//amp//nbsp;agent//amp//nbsp;that//amp//nbsp;was//amp//nbsp;interrupted</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getSensorValue</span>(\\quot\\deleteTempFiles\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\//amp//nbsp;+//amp//nbsp;StoreDir)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:deleteTempFiles//amp//nbsp;('StoreDir='//amp//nbsp;+//amp//nbsp;StoreDir)=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(result\\comma\\'error')))=\\quot\\+(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\error\\quot\\))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\error\\quot\\)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Copy//amp//nbsp;all//amp//nbsp;files//amp//nbsp;that//amp//nbsp;will//amp//nbsp;be//amp//nbsp;affected//amp//nbsp;to//amp//nbsp;a//amp//nbsp;temporary//amp//nbsp;directory</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getSensorValue</span>(\\quot\\copyFiles\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\+StoreDir+\\quot\\//amp//FileList=\\quot\\+arFileList)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:copyFiles//amp//nbsp;('StoreDir='+StoreDir+'//amp//FileList='+arFileList)=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(result\\comma\\'error')))=\\quot\\+(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\error\\quot\\))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\error\\quot\\)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Set//amp//nbsp;the//amp//nbsp;full//amp//nbsp;name//amp//nbsp;of//amp//nbsp;the//amp//nbsp;archive//amp//nbsp;that//amp//nbsp;will//amp//nbsp;be//amp//nbsp;used//amp//nbsp;to//amp//nbsp;back//amp//nbsp;up//amp//nbsp;the//amp//nbsp;files</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;ArchiveName=<span class='keyword'>addDirSlash</span>(StoreDir)+\\quot\\backup/pack_inventory_\\quot\\+<span class='keyword'>formatDate</span>(<span class='keyword'>now</span>()\\comma\\\\quot\\yyyyMMdd_HHmmss\\quot\\)+\\quot\\.zip\\quot\\<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Expression//amp//nbsp;(<span class='keyword'>addDirSlash</span>(StoreDir)+'backup/pack_inventory_'+<span class='keyword'>formatDate</span>(<span class='keyword'>now</span>()\\comma\\'yyyyMMdd_HHmmss')+'.zip')=\\quot\\+<span class='keyword'>left</span>(ArchiveName\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Make//amp//nbsp;a//amp//nbsp;zip//amp//nbsp;backup//amp//nbsp;of//amp//nbsp;all//amp//nbsp;files//amp//nbsp;that//amp//nbsp;will//amp//nbsp;be//amp//nbsp;affected</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getSensorValue</span>(\\quot\\backupFiles\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\+StoreDir+//amp//nbsp;\\quot\\//amp//ArchiveName=\\quot\\+ArchiveName)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:backupFiles//amp//nbsp;('StoreDir='+StoreDir+//amp//nbsp;'//amp//ArchiveName='+ArchiveName)=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(result\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Export//amp//nbsp;Cost//amp//nbsp;Of//amp//nbsp;Sales</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;COSChecksum1=<span class='keyword'>execAgentAction</span>(\\quot\\exportCostOfSales\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\+StoreDir+\\quot\\//amp//msg=prepack\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\exportCostOfSales//amp//nbsp;('StoreDir='+StoreDir+'//amp//msg=prepack')=\\quot\\+<span class='keyword'>left</span>(COSChecksum1\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Was//amp//nbsp;the//amp//nbsp;cost//amp//nbsp;of//amp//nbsp;sales//amp//nbsp;exported//amp//nbsp;successfully?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(COSChecksum1\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(COSChecksum1\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(COSChecksum1\\comma\\\\quot\\ok\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Pack//amp//nbsp;the//amp//nbsp;files</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\packFiles\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\//amp//nbsp;+//amp//nbsp;StoreDir)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\packFiles//amp//nbsp;('StoreDir='//amp//nbsp;+//amp//nbsp;StoreDir)=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Were//amp//nbsp;the//amp//nbsp;records//amp//nbsp;packed//amp//nbsp;successfully?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(Result\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Update//amp//nbsp;all//amp//nbsp;files//amp//nbsp;to//amp//nbsp;reflect//amp//nbsp;new//amp//nbsp;record//amp//nbsp;numbers//amp//nbsp;for//amp//nbsp;inventory//amp//nbsp;items//amp//nbsp;and//amp//nbsp;recipes</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\updateRecordNumbers\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\//amp//nbsp;+//amp//nbsp;StoreDir//amp//nbsp;+//amp//nbsp;//amp//nbsp;\\quot\\//amp//StartDate=\\quot\\//amp//nbsp;+//amp//nbsp;dtStart)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\updateRecordNumbers//amp//nbsp;('StoreDir='//amp//nbsp;+//amp//nbsp;StoreDir//amp//nbsp;+//amp//nbsp;//amp//nbsp;'//amp//StartDate='//amp//nbsp;+//amp//nbsp;dtStart)=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Were//amp//nbsp;record//amp//nbsp;numbers//amp//nbsp;updated?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(Result\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\197138\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Restore//amp//nbsp;the//amp//nbsp;backup</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getSensorValue</span>(\\quot\\restoreZipFiles\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\//amp//nbsp;+//amp//nbsp;StoreDir//amp//nbsp;+//amp//nbsp;\\quot\\//amp//ArchiveName=\\quot\\//amp//nbsp;+//amp//nbsp;ArchiveName)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:restoreZipFiles//amp//nbsp;('StoreDir='//amp//nbsp;+//amp//nbsp;StoreDir//amp//nbsp;+//amp//nbsp;'//amp//ArchiveName='//amp//nbsp;+//amp//nbsp;ArchiveName)=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(Result\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\157252\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\An//amp//nbsp;error//amp//nbsp;occurred//amp//nbsp;<span class='flowcontrol'>while</span>//amp//nbsp;updating//amp//nbsp;record//amp//nbsp;numbers\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\713822\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\An//amp//nbsp;error//amp//nbsp;occurred//amp//nbsp;and//amp//nbsp;files//amp//nbsp;were//amp//nbsp;not//amp//nbsp;restored\\quot\\\\comma\\\\quot\\An//amp//nbsp;error//amp//nbsp;occurred//amp//nbsp;and//amp//nbsp;files//amp//nbsp;were//amp//nbsp;not//amp//nbsp;restored\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\An//amp//nbsp;error//amp//nbsp;occurred//amp//nbsp;and//amp//nbsp;files//amp//nbsp;were//amp//nbsp;not//amp//nbsp;restored\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\665881\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\An//amp//nbsp;error//amp//nbsp;occurred//amp//nbsp;packing//amp//nbsp;records\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\207633\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Could//amp//nbsp;not//amp//nbsp;create//amp//nbsp;cost//amp//nbsp;of//amp//nbsp;sales//amp//nbsp;export\\quot\\\\comma\\COSChecksum1\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(COSChecksum1)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\797867\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Could//amp//nbsp;not//amp//nbsp;back//amp//nbsp;up//amp//nbsp;files\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;back//amp//nbsp;up//amp//nbsp;files://amp//nbsp;\\quot\\+result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;back//amp//nbsp;up//amp//nbsp;files://amp//nbsp;\\quot\\+result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\306860\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Could//amp//nbsp;not//amp//nbsp;create//amp//nbsp;a//amp//nbsp;temporary//amp//nbsp;set//amp//nbsp;of//amp//nbsp;files//amp//nbsp;for//amp//nbsp;processing\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;create//amp//nbsp;a//amp//nbsp;temporary//amp//nbsp;set//amp//nbsp;of//amp//nbsp;files//amp//nbsp;for//amp//nbsp;processing://amp//nbsp;\\quot\\+result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;create//amp//nbsp;a//amp//nbsp;temporary//amp//nbsp;set//amp//nbsp;of//amp//nbsp;files//amp//nbsp;for//amp//nbsp;processing://amp//nbsp;\\quot\\+result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\422799\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;delete//amp//nbsp;previous//amp//nbsp;temp//amp//nbsp;files:\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;delete//amp//nbsp;previous//amp//nbsp;temp//amp//nbsp;files://amp//nbsp;\\quot\\+result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;delete//amp//nbsp;previous//amp//nbsp;temp//amp//nbsp;files://amp//nbsp;\\quot\\+result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\482406\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Read-only//amp//nbsp;attribute//amp//nbsp;is//amp//nbsp;set//amp//nbsp;for//amp//nbsp;one//amp//nbsp;or//amp//nbsp;more//amp//nbsp;files\\quot\\\\comma\\\\quot\\Error://amp//nbsp;\\quot\\+result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;\\quot\\+result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\254412\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Could//amp//nbsp;not//amp//nbsp;get//amp//nbsp;a//amp//nbsp;list//amp//nbsp;of//amp//nbsp;files//amp//nbsp;to//amp//nbsp;be//amp//nbsp;packed\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;get//amp//nbsp;a//amp//nbsp;list//amp//nbsp;of//amp//nbsp;files//amp//nbsp;to//amp//nbsp;be//amp//nbsp;packed://amp//nbsp;\\quot\\+result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;get//amp//nbsp;a//amp//nbsp;list//amp//nbsp;of//amp//nbsp;files//amp//nbsp;to//amp//nbsp;be//amp//nbsp;packed://amp//nbsp;\\quot\\+result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\170521\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Aspect6//amp//nbsp;package//amp//nbsp;is//amp//nbsp;not//amp//nbsp;up//amp//nbsp;to//amp//nbsp;date.\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Aspect6//amp//nbsp;package//amp//nbsp;is//amp//nbsp;not//amp//nbsp;up//amp//nbsp;to//amp//nbsp;date.//amp//nbsp;//amp//nbsp;Version=\\quot\\+<span class='keyword'>getToken</span>(\\quot\\Aspect6CoreVersion\\quot\\)\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Aspect6//amp//nbsp;package//amp//nbsp;is//amp//nbsp;not//amp//nbsp;up//amp//nbsp;to//amp//nbsp;date.//amp//nbsp;//amp//nbsp;Version=\\quot\\+<span class='keyword'>getToken</span>(\\quot\\Aspect6CoreVersion\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Action=FlagRecords?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(('__Action__'='FlagRecords'))=\\quot\\+((\\quot\\__Action__\\quot\\=\\quot\\FlagRecords\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(\\quot\\__Action__\\quot\\=\\quot\\FlagRecords\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Flag//amp//nbsp;items//amp//nbsp;to//amp//nbsp;be//amp//nbsp;packed</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\flagRecordsToPack\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\flagRecordsToPack//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\950791\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Action=ExportCostOfSales</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(('__Action__'='ExportCostOfSales'))=\\quot\\+((\\quot\\__Action__\\quot\\=\\quot\\ExportCostOfSales\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(\\quot\\__Action__\\quot\\=\\quot\\ExportCostOfSales\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Export//amp//nbsp;Cost//amp//nbsp;Of//amp//nbsp;Sales</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\exportCostOfSales\\quot\\\\comma\\\\quot\\StoreDir=\\quot\\+StoreDir+\\quot\\//amp//msg=manual\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\exportCostOfSales//amp//nbsp;('StoreDir='+StoreDir+'//amp//msg=manual')=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Was//amp//nbsp;the//amp//nbsp;export//amp//nbsp;created//amp//nbsp;successfully?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(Result\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\421685\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Exported//amp//nbsp;cost//amp//nbsp;of//amp//nbsp;sales\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\242045\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Unable//amp//nbsp;to//amp//nbsp;export//amp//nbsp;cost//amp//nbsp;of//amp//nbsp;sales\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Action=ClearRecords</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(('__Action__'='clearRecords'))=\\quot\\+((\\quot\\__Action__\\quot\\=\\quot\\clearRecords\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(\\quot\\__Action__\\quot\\=\\quot\\clearRecords\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//No//amp//nbsp;action//amp//nbsp;specified</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\clearRecordsToPack\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\clearRecordsToPack//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(Result\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\540415\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\617682\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\422910\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error://amp//nbsp;No//amp//nbsp;action//amp//nbsp;specified\\quot\\\\comma\\\\quot\\Error://amp//nbsp;No//amp//nbsp;action//amp//nbsp;specified\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;No//amp//nbsp;action//amp//nbsp;specified\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\222348\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Invalid//amp//nbsp;starting//amp//nbsp;date\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Invalid//amp//nbsp;starting//amp//nbsp;date://amp//nbsp;\\quot\\+dtStart\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Invalid//amp//nbsp;starting//amp//nbsp;date://amp//nbsp;\\quot\\+dtStart)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\443932\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\One//amp//nbsp;or//amp//nbsp;more//amp//nbsp;required//amp//nbsp;files//amp//nbsp;is//amp//nbsp;not//amp//nbsp;present//amp//nbsp;in//amp//nbsp;the//amp//nbsp;directory\\quot\\\\comma\\\\quot\\Error://amp//nbsp;\\quot\\+Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;\\quot\\+Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\465899\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Invalid//amp//nbsp;store//amp//nbsp;diretory\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Invalid//amp//nbsp;store//amp//nbsp;directory://amp//nbsp;\\quot\\+SStoreDir\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Invalid//amp//nbsp;store//amp//nbsp;directory://amp//nbsp;\\quot\\+SStoreDir)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Pack//amp//nbsp;Aspect6//amp//nbsp;Inventory//amp//nbsp;Files\\quot\\\\comma\\\\quot\\819851\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Already//amp//nbsp;executing\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Aborted//amp//nbsp;because//amp//nbsp;an//amp//nbsp;instance//amp//nbsp;is//amp//nbsp;already//amp//nbsp;running\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Aborted//amp//nbsp;because//amp//nbsp;an//amp//nbsp;instance//amp//nbsp;is//amp//nbsp;already//amp//nbsp;running\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>
^
ID=AgentDescription|X=183|Y=42|W=845|H=677|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h2>Description</h2>
^
ID=AgentStatus|X=183|Y=42|W=1016|H=657|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<_include type:script; commands:\\quot\\//crlf////tab//driverOpen(ASPECT6_PREFERENCES\\comma\\d\\comma\\WRITE)//crlf////tab//if(driverGetRecordCount(d\\comma\\true)=0)//crlf////tab////tab//r=driverAddNewRecord(d)//crlf////tab//else//crlf////tab////tab//sStoreDir=driverGetFieldAbsolute(d\\comma\\\\quot\\Pack_Records_Store_Directory\\quot\\\\comma\\0)//crlf////tab////tab//if((len(sStoreDir)>0) and (sStoreDir<>\\quot\\0\\quot\\) and (dirExists(sStoreDir)))//crlf////tab////tab////tab//scriptSetResult(htmlConstant(\\quot\\storedir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sStoreDir))//crlf////tab////tab//endif//crlf////tab//endif//crlf////tab//driverClose(d)//crlf//\\quot\\>//crlf////crlf//<conditional expression:true>//crlf////tab//<div style=\\quot\\width:100\\percent\\\\quot\\>//crlf////tab////tab//<h2>Pack Files</h2>//crlf////crlf////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'preferences')\\quot\\>Preferences</span></td>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ingr.dta');setVisible('InventoryItemDiv'\\comma\\true\\comma\\0)\\quot\\>Inventory Items</span></td>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'recipe.dta');setVisible('RecipeDiv'\\comma\\true\\comma\\0)\\quot\\>Recipes</span></td>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'recpingr.dta');setVisible('RecpIngrDiv'\\comma\\true\\comma\\0)\\quot\\>Recipe Ingredients</span></td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////crlf////tab////tab//<!-- Preferences -->//crlf////tab////tab//<div ID=\\quot\\preferences\\quot\\ interval=\\quot\\0\\quot\\ url=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getWidget//amp//Source=__LeftBarComputer__//crlf////tab////tab////tab////tab////amp//DocumentID=__d__//amp//Widget=__w__//amp//ContainerItemID=preferences_dialog\\quot\\>//crlf////tab////tab////tab//{@img(\\quot\\StatusActive01.gif\\quot\\)}//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Inventory Items -->//crlf////tab////tab//<div ID=\\quot\\ingr.dta\\quot\\>//crlf////tab////tab////tab//<div ID=\\quot\\InventoryItemDiv\\quot\\ interval=\\quot\\-1\\quot\\ //crlf////tab////tab////tab////tab////tab//url=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getWidget//amp//Source=__LeftBarComputer__//crlf////tab////tab////tab////tab////tab////tab////amp//DocumentID=__d__//amp//Widget=__w__//amp//ContainerItemID=inventory_items_table//crlf////tab////tab////tab////tab////tab////tab////amp//StoreDir=__StoreDir__\\quot\\//crlf////tab////tab////tab////tab////tab//_url=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getWidget//amp//Source=__LeftBarComputer__//crlf////tab////tab////tab////tab////tab////tab////amp//DocumentID=__d__//amp//Widget=__w__//amp//ContainerItemID=inventory_items_table\\quot\\//crlf////tab////tab////tab//>//crlf////tab////tab////tab////tab//{@img(\\quot\\StatusActive01.gif\\quot\\)}//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab////tab////crlf////tab////tab//<!-- Recipes -->//crlf////tab////tab//<div ID=\\quot\\recipe.dta\\quot\\>//crlf////tab////tab////tab//<div ID=\\quot\\RecipeDiv\\quot\\ interval=\\quot\\-1\\quot\\ //crlf////tab////tab////tab////tab////tab//url=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getWidget//amp//Source=__LeftBarComputer__//crlf////tab////tab////tab////tab////tab////tab////amp//DocumentID=__d__//amp//Widget=__w__//amp//ContainerItemID=recipes_table//crlf////tab////tab////tab////tab////tab////tab////amp//StoreDir=__StoreDir__\\quot\\//crlf////tab////tab////tab////tab////tab//_url=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getWidget//amp//Source=__LeftBarComputer__//crlf////tab////tab////tab////tab////tab////tab////amp//DocumentID=__d__//amp//Widget=__w__//amp//ContainerItemID=recipes_table\\quot\\//crlf////tab////tab////tab//>//crlf////tab////tab////tab////tab//{@img(\\quot\\StatusActive01.gif\\quot\\)}//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Recipe Ingredients -->//crlf////tab////tab//<div ID=\\quot\\recpingr.dta\\quot\\>//crlf////tab////tab////tab//<div ID=\\quot\\RecpIngrDiv\\quot\\ interval=\\quot\\-1\\quot\\ //crlf////tab////tab////tab////tab////tab//url=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getWidget//amp//Source=__LeftBarComputer__//crlf////tab////tab////tab////tab////tab////tab////amp//DocumentID=__d__//amp//Widget=__w__//amp//ContainerItemID=recp_ingr_table//crlf////tab////tab////tab////tab////tab////tab////amp//StoreDir=__StoreDir__\\quot\\//crlf////tab////tab////tab////tab////tab//_url=\\quot\\__RequestServer__/?Network=Greenlight//amp//ID=getWidget//amp//Source=__LeftBarComputer__//crlf////tab////tab////tab////tab////tab////tab////amp//DocumentID=__d__//amp//Widget=__w__//amp//ContainerItemID=recp_ingr_table\\quot\\//crlf////tab////tab////tab//>//crlf////tab////tab////tab////tab//{@img(\\quot\\StatusActive01.gif\\quot\\)}//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//
^
ID=AgentChart|X=183|Y=42|W=831|H=668|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>11242015 221139</state>//crlf//<canvas height=\\quot\\100\\quot\\ width=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\ id=\\quot\\agent_doc_canvas\\quot\\></canvas><div agentchildyesnode=\\quot\\chart486672\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chartAgentStart\\quot\\><canvas height=\\quot\\124\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 124px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Pack Aspect6 Inventory Files</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: always<br>Report To: <br>Name Params: </div></div><div agentchildyesnode=\\quot\\chart4258\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 305px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart806114\\quot\\><canvas height=\\quot\\95\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Open preferences driver<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td></td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart222348\\quot\\ agentchildyesnode=\\quot\\chart645204\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 723px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart307190\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the starting date valid?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 723px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart222348\\quot\\><canvas height=\\quot\\84\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Invalid starting date<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart306860\\quot\\ agentchildyesnode=\\quot\\chart281648\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 1536px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart825265\\quot\\><canvas height=\\quot\\90\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 90px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Copy all files that will be affected to a temporary directory<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>copyFiles<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1536px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart306860\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Could not create a temporary set of files for processing<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildyesnode=\\quot\\chart293118\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 2230px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart109937\\quot\\><canvas height=\\quot\\82\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Pack the files<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>packFiles<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div agentchildyesnode=\\quot\\chart534212\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 2493px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart914235\\quot\\><canvas height=\\quot\\134\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 121px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Update all files to reflect new record numbers for inventory items and recipes<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>updateRecordNumbers<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart563988\\quot\\ agentchildyesnode=\\quot\\chart41225\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 2815px; left: 572px; width: 150px; height: 92px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart330053\\quot\\><canvas height=\\quot\\90\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 90px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Copy the processed files back to the original directory<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>copyProcessedFiles<br></td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart910545\\quot\\ agentchildyesnode=\\quot\\chart991704\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 3220px; left: 572px; width: 150px; height: 105px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart326444\\quot\\><canvas height=\\quot\\103\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 103px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Delete any files in the original directory containing data prior to the start date<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>deleteFilesPriorToStartDate<br></td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart407628\\quot\\ agentchildyesnode=\\quot\\chart704470\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 3375px; left: 572px; width: 150px; height: 79px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart991704\\quot\\><canvas height=\\quot\\103\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Delete the temporary files created during processing<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>deleteTempFiles<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 2931px; left: 762px; width: 120px; height: 125px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart983179\\quot\\><canvas height=\\quot\\123\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 123px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Could not copy processed files back to the store directory<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart422799\\quot\\ agentchildyesnode=\\quot\\chart825265\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 1368px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart186672\\quot\\><canvas height=\\quot\\129\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 103px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Delete any temporary files that may exist from a previous execution of this agent that was interrupted<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>deleteTempFiles<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1368px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart422799\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Could not delete previous temp files:<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart600332\\quot\\ agentchildyesnode=\\quot\\chart330053\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 2686px; left: 572px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart117934\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Close Aspect6 if it is running<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>closeAspect6<br></td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart465899\\quot\\ agentchildyesnode=\\quot\\chart685489\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 439px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart4258\\quot\\><canvas height=\\quot\\90\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 90px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Get the directory containing the files to be packed<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 439px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart465899\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Invalid store diretory<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart443932\\quot\\ agentchildyesnode=\\quot\\chart307190\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 581px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart685489\\quot\\><canvas height=\\quot\\103\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 90px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Are the required files present in the directory to be packed?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>filesPresent<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 581px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart443932\\quot\\><canvas height=\\quot\\123\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 123px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>One or more required files is not present in the directory<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart797867\\quot\\ agentchildyesnode=\\quot\\chart810749\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 1838px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart346257\\quot\\><canvas height=\\quot\\90\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Make a zip backup of all files that will be affected<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>backupFiles<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1838px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart797867\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Could not back up files<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart254412\\quot\\ agentchildyesnode=\\quot\\chart813680\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 1084px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart899666\\quot\\><canvas height=\\quot\\90\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 90px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Get a pipe-delimited list of all files that will be affected<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>getFileList<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1084px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart254412\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Could not get a list of files to be packed<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildyesnode=\\quot\\chart950791\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 968px; left: 350px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart974768\\quot\\><canvas height=\\quot\\95\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Flag items to be packed<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>flagRecordsToPack<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 2686px; left: 762px; width: 120px; height: 99px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart600332\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Could not close Aspect6<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 3220px; left: 762px; width: 120px; height: 112px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart910545\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Could not delete files prior to starting date<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 3375px; left: 762px; width: 120px; height: 112px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart407628\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Could not delete temp files after processing<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildyesnode=\\quot\\chart346257\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 1678px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart281648\\quot\\><canvas height=\\quot\\121\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 108px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Set the full name of the archive that will be used to back up the files<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td>ArchiveName</td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart764537\\quot\\ agentchildyesnode=\\quot\\chart983179\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 2815px; left: 762px; width: 150px; height: 66px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart563988\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Restore the backup<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>restoreZipFiles<br></td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart482406\\quot\\ agentchildyesnode=\\quot\\chart186672\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 1226px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart813680\\quot\\><canvas height=\\quot\\103\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 90px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the read-only attribute disabled for all files to be processed<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>checkReadOnlyFiles<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1226px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart482406\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Read-only attribute is set for one or more files<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart665881\\quot\\ agentchildyesnode=\\quot\\chart914235\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 2364px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart293118\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Were the records packed successfully?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 2364px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart665881\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>An error occurred packing records<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart48723\\quot\\ agentchildyesnode=\\quot\\chart197138\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 2666px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart534212\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Were record numbers updated?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 2774px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart157252\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>An error occurred while updating record numbers<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart819851\\quot\\ agentchildyesnode=\\quot\\chart806114\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart486672\\quot\\><canvas height=\\quot\\90\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is there only one instance of the agent executing?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart819851\\quot\\><canvas height=\\quot\\84\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Already executing<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart416556\\quot\\ agentchildyesnode=\\quot\\chart214973\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 839px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart645204\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Action=PackRecords?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart637010\\quot\\ agentchildyesnode=\\quot\\chart974768\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 839px; left: 350px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart416556\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Action=FlagRecords?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1102px; left: 350px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart950791\\quot\\><canvas height=\\quot\\84\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1218px; left: 540px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart421685\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Exported cost of sales<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div agentchildyesnode=\\quot\\chart794498\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 1967px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart810749\\quot\\><canvas height=\\quot\\82\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Export Cost Of Sales<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>exportCostOfSales<br></td></tr><tr><td><u>Return</u></td><td>COSChecksum1</td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 3504px; left: 572px; width: 120px; height: 86px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart704470\\quot\\><canvas height=\\quot\\84\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div agentchildnonode=\\quot\\chart207633\\quot\\ agentchildyesnode=\\quot\\chart109937\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 2101px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart794498\\quot\\><canvas height=\\quot\\90\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Was the cost of sales exported successfully?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 2101px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart207633\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Could not create cost of sales export<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildyesnode=\\quot\\chart891762\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 2957px; left: 572px; width: 150px; height: 84px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart41225\\quot\\><canvas height=\\quot\\95\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Export a 2nd cost of sales<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>exportCostOfSales<br></td></tr><tr><td><u>Return</u></td><td>COSChecksum2</td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart58249\\quot\\ agentchildyesnode=\\quot\\chart326444\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 3091px; left: 572px; width: 150px; height: 79px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart891762\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Do the cost of sales exports match?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart657678\\quot\\ agentchildyesnode=\\quot\\chart931225\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 3091px; left: 922px; width: 150px; height: 66px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart58249\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Restore the backup<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>restoreZipFiles<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 3207px; left: 922px; width: 120px; height: 112px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart931225\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Cost of sales did not match.  Backup restored.<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 2815px; left: 952px; width: 120px; height: 138px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart764537\\quot\\><canvas height=\\quot\\136\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 136px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Could not copy processed files to store directory and could not restore backup<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 3091px; left: 1112px; width: 120px; height: 99px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart657678\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Could not restore backup<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart303772\\quot\\ agentchildyesnode=\\quot\\chart245686\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 839px; left: 540px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart637010\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Action=ExportCostOfSales<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div agentchildyesnode=\\quot\\chart644049\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 955px; left: 540px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart245686\\quot\\><canvas height=\\quot\\82\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Export Cost Of Sales<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>exportCostOfSales<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart242045\\quot\\ agentchildyesnode=\\quot\\chart421685\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 1089px; left: 540px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart644049\\quot\\><canvas height=\\quot\\90\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Was the export created successfully?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1089px; left: 730px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart242045\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Unable to export cost of sales<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart170521\\quot\\ agentchildyesnode=\\quot\\chart899666\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 955px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart214973\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is Aspect6 package up to date?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 955px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart170521\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Aspect6 package is not up to date.<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildyesnode=\\quot\\chart216377\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 955px; left: 890px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart424790\\quot\\><canvas height=\\quot\\82\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>No action specified<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>clearRecordsToPack<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart422910\\quot\\ agentchildyesnode=\\quot\\chart424790\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 839px; left: 890px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart303772\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Action=ClearRecords<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 839px; left: 1080px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart422910\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: No action specified<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1205px; left: 890px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart540415\\quot\\><canvas height=\\quot\\84\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div agentchildnonode=\\quot\\chart617682\\quot\\ agentchildyesnode=\\quot\\chart540415\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 1089px; left: 890px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart216377\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1089px; left: 1080px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart617682\\quot\\><canvas height=\\quot\\84\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 2795px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart197138\\quot\\><canvas height=\\quot\\84\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div agentchildnonode=\\quot\\chart713822\\quot\\ agentchildyesnode=\\quot\\chart157252\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 2666px; left: 190px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart48723\\quot\\><canvas height=\\quot\\56\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 56px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td><br></td></tr><tr><td><u>Return</u></td><td></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 2666px; left: 380px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart713822\\quot\\><canvas height=\\quot\\46\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div>
^
ID=806114|X=183|Y=347|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=4258|AgentChildNoNode=|AgentSensor=0|AgentAction=1|AgentNodeNotes=|AgentNodeParams=driverOpen(ASPECT6_PREFERENCES//comma//drvPref//comma//WRITE)|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Open preferences driver|AgentNodeTermType=0|
^
ID=307190|X=183|Y=765|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=645204|AgentChildNoNode=222348|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=driverGetFieldAbsolute(drvPref//comma//\\quot\\Pack_Records_Start_Date\\quot\\//comma//0)|AgentNodeExpression=((year(dtStart)>\equals\1980) and (year(dtStart)<\equals\year(now())))|AgentNodeActionReturnValue=dtStart|AgentNodeComment=Is the starting date valid?|AgentNodeTermType=0|
^
ID=222348|X=373|Y=765|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Invalid starting date: \\quot\\//plus//dtStart|AgentNodeActionReturnValue=|AgentNodeComment=Invalid starting date|AgentNodeTermType=1|
^
ID=825265|X=183|Y=1578|W=149|H=89|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=281648|AgentChildNoNode=306860|AgentSensor=copyFiles|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\//plus//StoreDir//plus//\\quot\\\\amp\\FileList\equals\\\quot\\//plus//arFileList|AgentNodeExpression=not(startsWith(result//comma//\\quot\\error\\quot\\))|AgentNodeActionReturnValue=|AgentNodeComment=Copy all files that will be affected to a temporary directory|AgentNodeTermType=0|
^
ID=306860|X=373|Y=1578|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Could not create a temporary set of files for processing: \\quot\\//plus//result|AgentNodeActionReturnValue=|AgentNodeComment=Could not create a temporary set of files for processing|AgentNodeTermType=1|
^
ID=109937|X=183|Y=2272|W=149|H=65|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=293118|AgentChildNoNode=|AgentSensor=0|AgentAction=packFiles|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\ //plus// StoreDir|AgentNodeExpression=startsWith(result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=Result|AgentNodeComment=Pack the files|AgentNodeTermType=0|
^
ID=914235|X=183|Y=2535|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=534212|AgentChildNoNode=|AgentSensor=1|AgentAction=updateRecordNumbers|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\ //plus// StoreDir //plus//  \\quot\\\\amp\\StartDate\equals\\\quot\\ //plus// dtStart|AgentNodeExpression=startsWith(result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=Result|AgentNodeComment=Update all files to reflect new record numbers for inventory items and recipes|AgentNodeTermType=0|
^
ID=330053|X=755|Y=2857|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=41225|AgentChildNoNode=563988|AgentSensor=copyProcessedFiles|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\ //plus// StoreDir|AgentNodeExpression=not(startsWith(result//comma//\\quot\\error\\quot\\))|AgentNodeActionReturnValue=|AgentNodeComment=Copy the processed files back to the original directory|AgentNodeTermType=0|
^
ID=326444|X=755|Y=3262|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=991704|AgentChildNoNode=910545|AgentSensor=deleteFilesPriorToStartDate|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\ //plus// StoreDir|AgentNodeExpression=startsWith(result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Delete any files in the original directory containing data prior to the start date|AgentNodeTermType=0|
^
ID=991704|X=755|Y=3417|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=704470|AgentChildNoNode=407628|AgentSensor=deleteTempFiles|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\//plus//StoreDir|AgentNodeExpression=startsWith(result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Delete the temporary files created during processing|AgentNodeTermType=0|
^
ID=983179|X=945|Y=2973|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Could not copy processed files back to the store directory.  Backup was restored.\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Could not copy processed files back to the store directory|AgentNodeTermType=1|
^
ID=186672|X=183|Y=1410|W=149|H=117|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=825265|AgentChildNoNode=422799|AgentSensor=deleteTempFiles|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\ //plus// StoreDir|AgentNodeExpression=not(startsWith(result//comma//\\quot\\error\\quot\\))|AgentNodeActionReturnValue=|AgentNodeComment=Delete any temporary files that may exist from a previous execution of this agent that was interrupted|AgentNodeTermType=0|
^
ID=422799|X=373|Y=1410|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Could not delete previous temp files: \\quot\\//plus//result|AgentNodeActionReturnValue=|AgentNodeComment=Error: Could not delete previous temp files:|AgentNodeTermType=1|
^
ID=117934|X=755|Y=2728|W=149|H=78|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=330053|AgentChildNoNode=600332|AgentSensor=closeAspect6|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Close Aspect6 if it is running|AgentNodeTermType=0|
^
ID=4258|X=183|Y=481|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=685489|AgentChildNoNode=465899|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=driverGetFieldAbsolute(drvPref//comma//\\quot\\Pack_Records_Store_Directory\\quot\\//comma//0)|AgentNodeExpression=(len(StoreDir)>0) and (dirExists(StoreDir))|AgentNodeActionReturnValue=StoreDir|AgentNodeComment=Get the directory containing the files to be packed|AgentNodeTermType=0|
^
ID=465899|X=373|Y=481|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Invalid store directory: \\quot\\//plus//SStoreDir|AgentNodeActionReturnValue=|AgentNodeComment=Invalid store diretory|AgentNodeTermType=1|
^
ID=685489|X=183|Y=623|W=149|H=89|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=307190|AgentChildNoNode=443932|AgentSensor=filesPresent|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\//plus//StoreDir|AgentNodeExpression=startsWith(result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Are the required files present in the directory to be packed?|AgentNodeTermType=0|
^
ID=443932|X=373|Y=623|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: \\quot\\//plus//Result|AgentNodeActionReturnValue=|AgentNodeComment=One or more required files is not present in the directory|AgentNodeTermType=1|
^
ID=346257|X=183|Y=1880|W=149|H=78|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=810749|AgentChildNoNode=797867|AgentSensor=backupFiles|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\//plus//StoreDir//plus// \\quot\\\\amp\\ArchiveName\equals\\\quot\\//plus//ArchiveName|AgentNodeExpression=startsWith(result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Make a zip backup of all files that will be affected|AgentNodeTermType=0|
^
ID=797867|X=373|Y=1880|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=0|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Could not back up files: \\quot\\//plus//result|AgentNodeActionReturnValue=|AgentNodeComment=Could not back up files|AgentNodeTermType=1|
^
ID=899666|X=183|Y=1126|W=149|H=91|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=813680|AgentChildNoNode=254412|AgentSensor=getFileList|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\//plus//StoreDir//plus//\\quot\\\\amp\\StartDate\equals\\\quot\\//plus//dtStart|AgentNodeExpression=not(startsWith(arFileList//comma//\\quot\\error\\quot\\))|AgentNodeActionReturnValue=arFileList|AgentNodeComment=Get a pipe-delimited list of all files that will be affected|AgentNodeTermType=0|
^
ID=254412|X=373|Y=1126|W=0|H=0|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=0|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Could not get a list of files to be packed: \\quot\\//plus//result|AgentNodeActionReturnValue=|AgentNodeComment=Could not get a list of files to be packed|AgentNodeTermType=1|
^
ID=preferences_dialog|X=300|Y=120|W=967|H=716|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf//<include type:expressoin; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\)>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\getPreferences\\quot\\)>//crlf////tab//<div _url=\\quot\\/?Network=GreenLight\\amp\\ID=getWidget\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Pack Aspect6 Inventory Files\\amp\\ContainerItemID=preferences_dialog\\amp\\action=getPreferences\\amp\\source={AspectHashID}\\quot\\>//crlf////crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//=====================================================================================//crlf////tab////tab//Header//crlf////tab////tab//=====================================================================================//crlf////tab////tab//</conditional>//crlf////tab////tab//<h1>{AspectHashID}: {@lookup(Aspect_BackOffice_Computer_Names_By_ID\\comma\\getToken(\\quot\\AspectHashID\\quot\\))}</h1>//crlf////tab////tab//<table>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<th>Aspect7</th>//crlf////tab////tab////tab////tab//<th>Back-Office</th>//crlf////tab////tab////tab////tab//<th>Aspect6</th>//crlf////tab////tab////tab////tab//<th>Pack Files</th>//crlf////tab////tab////tab////tab//<th>Aspect7 Update</th>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>{AspectCoreVersion}</td>//crlf////tab////tab////tab////tab//<td>{AspectBackOfficeVersion}</td>//crlf////tab////tab////tab////tab//<td>{Aspect6CoreVersion}</td>//crlf////tab////tab////tab////tab//<td>3.80</td>//crlf////tab////tab////tab////tab//<td>{@formatDate(fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect7Update.jar\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////tab////tab//<br>//crlf////crlf////tab////tab//<!-- Dialog used to edit a record -->//crlf////tab////tab//<div ID=\\quot\\__salt__ASPECT6_PREFERENCESDialog\\quot\\ style=\\quot\\height:auto; width:auto; display:none;\\quot\\>//crlf////tab////tab////tab//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab////tab////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab////tab////tab//<img onclick=\\quot\\closeTableEditDialog(this)\\quot\\ style=\\quot\\float:right;display:none\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight\\amp\\ID=getImage\\amp\\filename=close20x20.png\\quot\\>//crlf////crlf////tab////tab////tab////tab//<!--//tab//Note:  If a a Javascript function named initializeDialogxxx where xxx is the dialog ID is defined\\comma\\ //crlf////tab////tab////tab////tab////tab//it will be called//tab//after the dialog values have been set and before the dialog is made visible.//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//An initialization function may also be specified by including it in an attribute named \\apos\\aspectinit\\apos\\//crlf////tab////tab////tab////tab////tab//in the dialog div above.  Only include the function name with no parentheses or arguments.  //crlf////tab////tab////tab////tab////tab//Arguments can be made//tab//available to the function by including them as attributes or by embedding //crlf////tab////tab////tab////tab////tab//them in this div.  Use this method when the dialog ID is randomized to allow for multiple instances//crlf////tab////tab////tab////tab////tab//in one document.//crlf////crlf////tab////tab////tab////tab////tab//If an Aspect script is defined with the ID xxx_DataSubmitted where xxx is the driver ID\\comma\\ it will//crlf////tab////tab////tab////tab////tab//be called whenever data is submitted due to an edit in either the table or the dialog.//crlf////tab////tab////tab////tab////tab//Arguments passed to the script are in the form://crlf////crlf////tab////tab////tab////tab////tab////tab//driver=xxx\\amp\\r=n\\amp\\fields=\\amp\\values=//crlf////crlf////tab////tab////tab////tab////tab//where driver is the name of a system driver\\comma\\ r is the absolute record number\\comma\\//crlf////tab////tab////tab////tab////tab//fields is a pipe-delimited list of field ID\\apos\\s and values is a pipe-delimited list of//crlf////tab////tab////tab////tab////tab//values.  Ampersands and pipes in the values are tokenized by surrounding//crlf////tab////tab////tab////tab////tab//them with two forward slashes.//crlf////tab////tab////tab////tab//-->//crlf////tab////tab// //crlf////tab////tab////tab////tab//<!-- Create a random ID used in the tab ID\\apos\\s below.  This is necessary when the table is included several times in one container.  //crlf////tab////tab////tab////tab////tab//If the tabs and associated divs do not have unique ID\\apos\\s\\comma\\ they will not be shown/hidden properly. -->//crlf////tab////tab////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\tabrandom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(8))>//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//<form name=\\quot\\preferences\\quot\\>//crlf////tab////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td>Store</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect6_Store_Directories_With_Select\\quot\\\\comma\\\\quot\\Pack_Records_Store_Directory\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\\\plus\\quote(\\quot\\width:auto\\quot\\)\\plus\\\\quot\\ ID=\\quot\\\\plus\\quote(\\quot\\select_pack_store\\quot\\)\\plus\\\\quot\\ onChange=\\quot\\\\plus\\quote(\\quot\\submitDialogCell(this)\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\storeSelected()\\quot\\))></td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td>Start Date</td>//crlf////tab////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\null;width:80px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Pack_Records_Start_Date\\quot\\ TYPE=\\quot\\text\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ datatype=\\quot\\time\\quot\\ control=\\quot\\date\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input CHECKED=\\quot\\checked\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\true\\quot\\ NAME=\\quot\\Pack_Deleted_Inventory_Items\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Pack Deleted Inventory Items</td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\>\\amp\\nbsp;\\amp\\nbsp;\\amp\\nbsp;\\amp\\nbsp;<input CHECKED=\\quot\\checked\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\true\\quot\\ NAME=\\quot\\Do_Not_Pack_Active_Inventory_Items\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Do Not Pack Active Inventory Items</td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input CHECKED=\\quot\\checked\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\true\\quot\\ NAME=\\quot\\Pack_Deleted_Recipes\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Pack Deleted Recipes</td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\>\\amp\\nbsp;\\amp\\nbsp;\\amp\\nbsp;\\amp\\nbsp;<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Do_Not_Pack_Active_Recipes\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Do Not Pack Active Recipes</td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Pack_InActive_Inventory_Items\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Pack Inactive Inventory Items</td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Pack_InActive_Recipes\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Pack Inactive Recipes</td>//crlf////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab//</form>//crlf////tab////tab////tab////tab//<br>//crlf////crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Mark items to delete\\quot\\ onClick=\\quot\\markItemsToDelete(\\apos\\{AspectHashID}\\apos\\)\\quot\\>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Create the file if necessary -->//crlf////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab//driverOpen(ASPECT6_PREFERENCES\\comma\\d\\comma\\WRITE)//crlf////tab////tab////tab//if(driverGetRecordCount(d\\comma\\true)=0)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////if no store is selected\\comma\\ set the store and the checkboxes//crlf////tab////tab////tab//StoreDir=driverGetFieldAbsolute(d\\comma\\\\quot\\Pack_Records_Store_Directory\\quot\\\\comma\\0)//crlf////tab////tab////tab//if((len(StoreDir)=0) or (StoreDir=\\quot\\0\\quot\\))//crlf////tab////tab////tab////tab//StoreDir=replaceSubstring(lookup(Aspect6_Store_Directories_By_Code\\comma\\getToken(\\quot\\Aspect6ActiveStoreCode\\quot\\))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Pack_Records_Store_Directory\\quot\\\\comma\\0\\comma\\StoreDir)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Pack_Records_Start_Date\\quot\\\\comma\\0\\comma\\parseTime(\\quot\\01012010\\quot\\\\comma\\\\quot\\MMddyyyy\\quot\\))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Pack_Deleted_Inventory_Items\\quot\\\\comma\\0\\comma\\true)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Do_Not_Pack_Active_Inventory_Items\\quot\\\\comma\\0\\comma\\true)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Pack_Deleted_Recipes\\quot\\\\comma\\0\\comma\\true)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Do_Not_Pack_Active_Recipes\\quot\\\\comma\\0\\comma\\true)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Pack_InActive_Recipes\\quot\\\\comma\\0\\comma\\true)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Pack_InActive_Inventory_Items\\quot\\\\comma\\0\\comma\\true)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab//\\quot\\>//crlf////crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////get store from preferences//crlf////tab////tab////tab//driverOpen(Aspect6_Preferences\\comma\\dPref\\comma\\READ)//crlf////tab////tab////tab//sStoreDir=driverGetFieldAbsolute(dPref\\comma\\\\quot\\Pack_Records_Store_Directory\\quot\\\\comma\\0)//crlf////tab////tab////tab//driverClose(dPref)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Aspect6 Preferences store directory: \\quot\\\\plus\\sStoreDir)//crlf////crlf////tab////tab////tab//if((not(fileExists(sStoreDir))) or (not(fileIsDirectory(sStoreDir))))//crlf////tab////tab////tab////tab//s=htmlConstant(\\quot\\TtlIngrRecords\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\N/A\\quot\\)//crlf////tab////tab////tab////tab//s=s\\plus\\htmlConstant(\\quot\\IngrToPack\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\N/A\\quot\\)//crlf////tab////tab////tab////tab//s=s\\plus\\htmlConstant(\\quot\\TtlRecipeRecords\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\N/A\\quot\\)//crlf////tab////tab////tab////tab//s=s\\plus\\htmlConstant(\\quot\\RecipeToPack\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\N/A\\quot\\)//crlf////tab////tab////tab////tab//s=s\\plus\\htmlConstant(\\quot\\IngrFilename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\N/A\\quot\\)//crlf////tab////tab////tab////tab//s=s\\plus\\htmlConstant(\\quot\\IngrFilesize\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\N/A\\quot\\)//crlf////tab////tab////tab////tab//s=s\\plus\\htmlConstant(\\quot\\RecipeFilename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\N/A\\quot\\)//crlf////tab////tab////tab////tab//s=s\\plus\\htmlConstant(\\quot\\RecipeFilesize\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\N/A\\quot\\)//crlf////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get file names and sizes//crlf////tab////tab////tab//sIngrFilename=addDirSlash(sStoreDir)\\plus\\\\quot\\ingr.dta\\quot\\//crlf////tab////tab////tab//sRecipeFilename=addDirSlash(sStoreDir)\\plus\\\\quot\\recipe.dta\\quot\\//crlf////crlf////tab////tab////tab//s=htmlConstant(\\quot\\IngrFilename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sIngrFilename)//crlf////tab////tab////tab//s=s\\plus\\htmlConstant(\\quot\\IngrFilesize\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\fileSize(sIngrFilename))//crlf////tab////tab////tab//s=s\\plus\\htmlConstant(\\quot\\RecipeFilename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sRecipeFilename)//crlf////tab////tab////tab//s=s\\plus\\htmlConstant(\\quot\\RecipeFilesize\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\fileSize(sRecipeFilename))//crlf////crlf////tab////tab////tab////get inventory item stats//crlf////tab////tab////tab//driverOpen(ASPECT6_DRIVER_INVENTORY_ITEMS_BY_FILENAME\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sIngrFilename)//crlf////crlf////tab////tab////tab////total number of records//crlf////tab////tab////tab//s=s\\plus\\htmlConstant(\\quot\\TtlIngrRecords\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\driverGetRecordCount(d\\comma\\true))//crlf////tab////tab////tab////crlf////tab////tab////tab////records to pack//crlf////tab////tab////tab//c=driverRangeCount(d\\comma\\\\quot\\Pack\\quot\\\\comma\\true\\comma\\\\quot\\Pack\\quot\\)//crlf////tab////tab////tab//s=s \\plus\\ htmlConstant(\\quot\\IngrToPack\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\c)//crlf////crlf////tab////tab////tab////remaining records//crlf////tab////tab////tab//s=s \\plus\\ htmlConstant(\\quot\\IngrRemain\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\(driverGetRecordCount(d\\comma\\true)-c))//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab////get recipe stats//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Recipes\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sRecipeFilename)//crlf////crlf////tab////tab////tab////total number of records//crlf////tab////tab////tab//s=s\\plus\\htmlConstant(\\quot\\TtlRecipeRecords\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\driverGetRecordCount(d\\comma\\true))//crlf////tab////tab////tab////crlf////tab////tab////tab////records to pack//crlf////tab////tab////tab//c=driverRangeCount(d\\comma\\\\quot\\Pack\\quot\\\\comma\\true\\comma\\\\quot\\Pack\\quot\\)//crlf////tab////tab////tab//s=s \\plus\\ htmlConstant(\\quot\\RecipeToPack\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\c)//crlf////crlf////tab////tab////tab////remaining records//crlf////tab////tab////tab//s=s \\plus\\ htmlConstant(\\quot\\RecipeRemain\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\(driverGetRecordCount(d\\comma\\true)-c))//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab//\\quot\\>//crlf////crlf////tab////tab//<table>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<th align=\\apos\\left\\apos\\>File Name</th>//crlf////tab////tab////tab////tab//<th align=\\apos\\left\\apos\\>File Size</th>//crlf////tab////tab////tab////tab//<th align=\\apos\\left\\apos\\>Record Count</th>//crlf////tab////tab////tab////tab//<th align=\\apos\\left\\apos\\>Records To Pack</th>//crlf////tab////tab////tab////tab//<th align=\\apos\\left\\apos\\>Records To Keep</th>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>__IngrFilename__</td>//crlf////tab////tab////tab////tab//<td>__IngrFilesize__</td>//crlf////tab////tab////tab////tab//<td>__TtlIngrRecords__</td>//crlf////tab////tab////tab////tab//<td>__IngrToPack__</td>//crlf////tab////tab////tab////tab//<td>__IngrRemain__</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab//<td>__RecipeFilename__</td>//crlf////tab////tab////tab////tab//<td>__RecipeFilesize__</td>//crlf////tab////tab////tab////tab//<td>__TtlRecipeRecords__</td>//crlf////tab////tab////tab////tab//<td>__RecipeToPack__</td>//crlf////tab////tab////tab////tab//<td>__RecipeRemain__</td>//crlf////tab////tab////tab//</tr>//crlf////tab////tab//</table>//crlf////tab////tab//<br>//crlf////crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT6_PREFERENCES\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT6_PREFERENCES\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\__salt__ASPECT6_PREFERENCESDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\false\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab////tab//<br>//crlf////crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\IsPacking\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\if(scriptCount(\\quot\\agent_Pack Aspect6 Inventory Files\\quot\\)=0\\comma\\false\\comma\\true))>//crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\IsSettingFlags\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\if(scriptCount(\\quot\\flagRecordsToPack\\quot\\)=0\\comma\\false\\comma\\true))>//crlf////crlf////tab////tab//<conditional expression:(\\quot\\__IsPacking__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//Packing records...//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(\\quot\\__IsSettingFlags__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//Calculating records to pack//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(not(\\quot\\__IsPacking__\\quot\\=\\quot\\true\\quot\\)) and (not(\\quot\\__IsSettingFlags__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab//<conditional expression:false>//crlf////tab////tab////tab//=====================================================================================//crlf////tab////tab////tab//Javascript used to execute the agent//crlf////tab////tab////tab//=====================================================================================//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<script ID=\\quot\\PackRecordsPref\\quot\\>//crlf////tab////tab////tab////tab//function execPackRecordsAgent(salt\\comma\\Action\\comma\\HashID) {//crlf////tab////tab////tab////tab////tab////disable buttons//crlf////tab////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\BtnFlagRecords\\quot\\).disabled=true;//crlf////tab////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\BtnClearRecords\\quot\\).disabled=true;//crlf////tab////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\BtnPackRecords\\quot\\).disabled=true;//crlf////tab////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\BtnExportCOS\\quot\\).disabled=true;//crlf////tab////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\BtnRestart\\quot\\).disabled=true;//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////show the agent output div//crlf////tab////tab////tab////tab////tab//var eOutput=document.getElementById(salt\\plus\\\\quot\\AgentOutput\\quot\\);//crlf////tab////tab////tab////tab////tab//setVisible(eOutput\\comma\\true);//crlf////tab////tab////tab////tab////tab//eOutput.innerHTML=\\quot\\Agent output... (May take 2-3 minutes)\\quot\\;//crlf////crlf////tab////tab////tab////tab////tab////execute the agent//crlf////tab////tab////tab////tab////tab//var Params=getServer()\\plus\\\\quot\\/?Network=GreenLight\\amp\\ID=execAgent\\quot\\;//crlf////tab////tab////tab////tab////tab//Params \\plus\\=\\quot\\\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Pack Aspect6 Inventory Files\\quot\\;//crlf////tab////tab////tab////tab////tab//Params \\plus\\=\\quot\\\\amp\\Action=\\quot\\\\plus\\Action\\plus\\\\quot\\\\amp\\source=\\quot\\\\plus\\HashID;//crlf////tab////tab////tab////tab////tab//sFunc=\\quot\\execAgentComplete(\\\quot\\\\quot\\\\plus\\salt\\plus\\\\quot\\\\\quot\\)\\quot\\;//crlf////tab////tab////tab////tab////tab//asynchInclude(eOutput\\comma\\Params\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//function execAgentComplete(salt) {//crlf////tab////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\BtnFlagRecords\\quot\\).disabled=false;//crlf////tab////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\BtnClearRecords\\quot\\).disabled=false;//crlf////tab////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\BtnPackRecords\\quot\\).disabled=false;//crlf////tab////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\BtnExportCOS\\quot\\).disabled=false;//crlf////tab////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\BtnRestart\\quot\\).disabled=false;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//function updateAndRestartAspect(salt\\comma\\HashID) {//crlf////tab////tab////tab////tab////tab////disable buttons//crlf////tab////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\BtnFlagRecords\\quot\\).disabled=true;//crlf////tab////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\BtnPackRecords\\quot\\).disabled=true;//crlf////tab////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\BtnExportCOS\\quot\\).disabled=true;//crlf////tab////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\BtnRestart\\quot\\).disabled=true;//crlf////crlf////tab////tab////tab////tab////tab////show the output div//crlf////tab////tab////tab////tab////tab//var eOutput=document.getElementById(salt\\plus\\\\quot\\AgentOutput\\quot\\);//crlf////tab////tab////tab////tab////tab//setVisible(eOutput\\comma\\true);//crlf////tab////tab////tab////tab////tab//eOutput.innerHTML=\\quot\\Aspect is restarting.\\quot\\;//crlf////crlf////tab////tab////tab////tab////tab////execute the script//crlf////tab////tab////tab////tab////tab//var Params=getServer()\\plus\\\\quot\\/?Network=GreenLight\\amp\\ID=getWidget\\quot\\;//crlf////tab////tab////tab////tab////tab//Params \\plus\\=\\quot\\\\amp\\DocumentID=K4Ui6j3Y1rwlvukPkOqn25Em\\amp\\Widget=Notification Container\\quot\\;//crlf////tab////tab////tab////tab////tab//Params \\plus\\=\\quot\\\\amp\\ContainerItemID=992019\\amp\\Action=downloadUpdateAndRestart\\amp\\source=\\quot\\\\plus\\HashID;//crlf////tab////tab////tab////tab////tab//asynchInclude(eOutput\\comma\\Params\\comma\\null\\comma\\null);//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//</script>//crlf////crlf////tab////tab////tab//<conditional expression:false>//crlf////tab////tab////tab//=====================================================================================//crlf////tab////tab////tab//buttons used to flag and pack records//crlf////tab////tab////tab//=====================================================================================//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<div style=\\quot\\float:right\\quot\\>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Pack Records\\quot\\ ID=\\quot\\__salt__BtnPackRecords\\quot\\ //crlf////tab////tab////tab////tab////tab//onClick=\\quot\\execPackRecordsAgent(\\apos\\__salt__\\apos\\\\comma\\\\apos\\PackRecords\\apos\\\\comma\\\\apos\\{AspectHashID}\\apos\\);\\quot\\//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Set Records to Pack\\quot\\ ID=\\quot\\__salt__BtnFlagRecords\\quot\\ //crlf////tab////tab////tab////tab//onClick=\\quot\\execPackRecordsAgent(\\apos\\__salt__\\apos\\\\comma\\\\apos\\FlagRecords\\apos\\\\comma\\\\apos\\{AspectHashID}\\apos\\);\\quot\\//crlf////tab////tab////tab//>//crlf////tab////tab////tab//\\amp\\nbsp;//crlf////crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Clear Records to Pack\\quot\\ ID=\\quot\\__salt__BtnClearRecords\\quot\\ //crlf////tab////tab////tab////tab//onClick=\\quot\\execPackRecordsAgent(\\apos\\__salt__\\apos\\\\comma\\\\apos\\ClearRecords\\apos\\\\comma\\\\apos\\{AspectHashID}\\apos\\);\\quot\\//crlf////tab////tab////tab//>//crlf////tab////tab////tab//\\amp\\nbsp;//crlf////crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Export Cost of Sales\\quot\\ ID=\\quot\\__salt__BtnExportCOS\\quot\\ //crlf////tab////tab////tab////tab//onClick=\\quot\\execPackRecordsAgent(\\apos\\__salt__\\apos\\\\comma\\\\apos\\exportCostOfSales\\apos\\\\comma\\\\apos\\{AspectHashID}\\apos\\);\\quot\\//crlf////tab////tab////tab//>//crlf////tab////tab////tab//\\amp\\nbsp;//crlf////crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Download Aspect7 Update\\quot\\ ID=\\quot\\__salt__BtnRestart\\quot\\ //crlf////tab////tab////tab////tab//onClick=\\quot\\updateAndRestartAspect(\\apos\\__salt__\\apos\\\\comma\\\\apos\\{AspectHashID}\\apos\\);\\quot\\//crlf////tab////tab////tab//>//crlf////crlf////tab////tab////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////crlf////tab////tab////tab//<conditional expression:false>//crlf////tab////tab////tab//=====================================================================================//crlf////tab////tab////tab//div used to display agent output//crlf////tab////tab////tab//=====================================================================================//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<div ID=\\quot\\__salt__AgentOutput\\quot\\ style=\\quot\\display:none;padding:10px 0px\\quot\\></div>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<h1 style=\\quot\\cursor:pointer;text-decoration:underline\\quot\\ onClick=\\quot\\toggleVisible(\\apos\\__salt__StatusLog\\apos\\)\\quot\\>Agent Status Log</h1>//crlf////tab////tab//<div ID=\\quot\\__salt__StatusLog\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab////tab////tab//<!include type:driver;//crlf////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//driver: \\quot\\ASPECT_AGENT_STATUS_LOG\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_AGENT_STATUS_LOG\\quot\\;//crlf////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\Time\\comma\\Widget\\comma\\Terminate_Type\\comma\\Node_Comment\\comma\\Node_Data\\quot\\;//crlf////tab////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\-Time\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\(Widget=\\apos\\Pack Aspect6 Inventory Files\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab////tab//_height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//EditDialogID: \\quot\\ASPECT_AGENT_STATUS_LOGDialog\\quot\\;//crlf////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//
^
ID=inventory_items_table|X=300|Y=120|W=967|H=716|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- include type:expression; expression:htmlConstant(\\quot\\storedir\\quot\\\\comma\\\\quot\\__storedir__\\quot\\\\comma\\\\quot\\C:\aspect\customer\9b1ftk29\\\quot\\)-->//crlf//<conditional expression:(startsWith(\\quot\\__StoreDir__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////tab//No store directory specified//crlf//</conditional>//crlf////crlf//<conditional expression:not(startsWith(\\quot\\__StoreDir__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////tab//<h2>Inventory Items</h2>//crlf////crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//driverOpen(ASPECT6_DRIVER_INVENTORY_ITEMS_BY_FILENAME\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+addDirSlash(\\quot\\__StoreDir__\\quot\\)+\\quot\\ingr.dta\\quot\\)//crlf////crlf////tab////tab////total number of records//crlf////tab////tab//s=htmlConstant(\\quot\\IngrRecords\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\driverGetRecordCount(d\\comma\\true))//crlf////tab////tab////crlf////tab////tab////used records//crlf////tab////tab//c=driverRangeCount(d\\comma\\\\quot\\ID_RESERVED_USED\\quot\\\\comma\\true\\comma\\\\quot\\ID_RESERVED_USED\\quot\\)//crlf////tab////tab//s=s + htmlConstant(\\quot\\IngrUsed\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\c)//crlf////crlf////tab////tab////deleted records//crlf////tab////tab//c=driverRangeCount(d\\comma\\\\quot\\ID_RESERVED_USED\\quot\\\\comma\\true\\comma\\\\quot\\ID_TINGREDIENTREC_DELETED\\quot\\)//crlf////tab////tab//s=s + htmlConstant(\\quot\\IngrDeleted\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\c)//crlf////crlf////tab////tab////recipe records//crlf////tab////tab//c=driverRangeCount(d\\comma\\\\quot\\ID_RESERVED_USED\\quot\\\\comma\\true\\comma\\\\quot\\ID_TRECIPEINFOREC_ISRECIPE\\quot\\)//crlf////tab////tab//s=s + htmlConstant(\\quot\\IngrIsRecipe\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\c)//crlf////crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sTable=\\quot\\\\quot\\//crlf////tab////tab//s=fileGetContent(\\quot\\__StoreDir__ingrkeys.csv\\quot\\)//crlf////tab////tab//s=replaceSubstring(s\\comma\\char(13)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//s1=getElement(s\\comma\\n\\comma\\char(10))//crlf////tab////tab////tab//NewIndex=getElement(s1\\comma\\0)//crlf////tab////tab////tab//OldIndex=getElement(s1\\comma\\1)//crlf////crlf////tab////tab////tab//if((OldIndex=5338) or (OldIndex=5398) or (OldIndex=5348) or (OldIndex=5409) or (OldIndex=5559) or (OldIndex=5826) or (OldIndex=5278))//crlf////tab////tab////tab////tab//sTable=sTable+OldIndex+char(0x2c)+NewIndex+char(10)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//scriptSetResult(htmlTable(sTable\\comma\\char(10)\\comma\\char(0x2c)\\comma\\\\quot\\Old Index\\comma\\New Index\\quot\\)+getToken(\\quot\\br\\quot\\))//crlf////tab//\\quot\\>//crlf////crlf////tab//<b>__StoreDir__ingr.dta</b>//crlf////crlf////tab//<table>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<th>Records</th>//crlf////tab////tab////tab//<th>Used</th>//crlf////tab////tab////tab//<th>Deleted</th>//crlf////tab////tab////tab//<th>Recipes</th>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td align='center'>__IngrRecords__</td>//crlf////tab////tab////tab//<td align='center'>__IngrUsed__</td>//crlf////tab////tab////tab//<td align='center'>__IngrDeleted__</td>//crlf////tab////tab////tab//<td align='center'>__IngrIsRecipe__</td>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf////crlf////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\ParamIngrStoreDir\\quot\\ value=\\quot\\__StoreDir__\\quot\\ param=\\quot\\StoreDir=$value$\\quot\\>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\inventory_item_table\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT6_DRIVER_INVENTORY_ITEMS_BY_FILENAME\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=DiskIndex~~pipe~~CacheTtl=0~~pipe~~filename=__StoreDir__ingr.dta~~pipe~~Metadata=ASPECT6_DRIVER_INVENTORY_ITEMS_BY_FILENAME\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\DiskIndex\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\2500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\ParamIngrStoreDir\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//
^
ID=recipes_table|X=300|Y=120|W=967|H=716|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(startsWith(\\quot\\__StoreDir__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////tab//No store directory specified//crlf//</conditional>//crlf////crlf//<conditional expression:not(startsWith(\\quot\\__StoreDir__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////tab//<h2>Recipes</h2>//crlf////crlf////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\ParamRecipeStoreDir\\quot\\ value=\\quot\\__StoreDir__\\quot\\ param=\\quot\\StoreDir=$value$\\quot\\>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\recipe_table\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT6_DRIVER_RECIPES_BY_FILENAME\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=DiskIndex~~pipe~~CacheTtl=0~~pipe~~filename=__StoreDir__recipe.dta~~pipe~~Metadata=ASPECT6_DRIVER_RECIPES_BY_FILENAME\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\DiskIndex\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT6_DRIVER_RECIPES_BY_FILENAMEDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\ParamRecipeStoreDir\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//
^
ID=974768|X=533|Y=1010|W=149|H=83|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=950791|AgentChildNoNode=|AgentSensor=0|AgentAction=flagRecordsToPack|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=not(startsWith(result//comma//\\quot\\error\\quot\\))|AgentNodeActionReturnValue=Result|AgentNodeComment=Flag items to be packed|AgentNodeTermType=1|
^
ID=600332|X=945|Y=2728|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Could not close Aspect6: \\quot\\//plus//result|AgentNodeActionReturnValue=|AgentNodeComment=Could not close Aspect6|AgentNodeTermType=1|
^
ID=910545|X=945|Y=3262|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=0|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Could not delete files prior to starting date: \\quot\\//plus//result|AgentNodeActionReturnValue=|AgentNodeComment=Could not delete files prior to starting date|AgentNodeTermType=1|
^
ID=407628|X=945|Y=3417|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=0|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Could not delete temp files after processing: \\quot\\//plus//result|AgentNodeActionReturnValue=|AgentNodeComment=Could not delete temp files after processing|AgentNodeTermType=1|
^
ID=281648|X=183|Y=1720|W=149|H=107|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=346257|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\equals\addDirSlash(StoreDir)//plus//\\quot\\backup/pack_inventory_\\quot\\//plus//formatDate(now()//comma//\\quot\\yyyyMMdd_HHmmss\\quot\\)//plus//\\quot\\.zip\\quot\\|AgentNodeExpression=|AgentNodeActionReturnValue=ArchiveName|AgentNodeComment=Set the full name of the archive that will be used to back up the files|AgentNodeTermType=0|
^
ID=563988|X=945|Y=2857|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=983179|AgentChildNoNode=764537|AgentSensor=restoreZipFiles|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\ //plus// StoreDir //plus// \\quot\\\\amp\\ArchiveName\equals\\\quot\\ //plus// ArchiveName|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Restore the backup|AgentNodeTermType=0|
^
ID=813680|X=183|Y=1268|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=186672|AgentChildNoNode=482406|AgentSensor=checkReadOnlyFiles|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\//plus//StoreDir//plus//\\quot\\\\amp\\FileList\equals\\\quot\\//plus//arFileList|AgentNodeExpression=startsWith(result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Is the read-only attribute disabled for all files to be processed|AgentNodeTermType=0|
^
ID=482406|X=373|Y=1268|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: \\quot\\//plus//result|AgentNodeActionReturnValue=|AgentNodeComment=Read-only attribute is set for one or more files|AgentNodeTermType=1|
^
ID=sensor_list|X=300|Y=120|W=967|H=716|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//1.02//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Pack Inventory Files\\comma\\getOriginalExtensionsExport\\comma\\sensor_list\\comma\\Sensor=getOriginalExtensionsExport\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\getOriginalCostOfSalesExport\\comma\\sensor_list\\comma\\Sensor=getOriginalCostOfSalesExport\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\getActiveRecords\\comma\\sensor_list\\comma\\Sensor=getActiveRecords\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\filesPresent\\comma\\sensor_list\\comma\\sensor=filesPresent\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\getFileList\\comma\\sensor_list\\comma\\sensor=getFileList\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\checkReadOnlyFiles\\comma\\sensor_list\\comma\\sensor=checkReadOnlyFiles\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\deleteTempFiles\\comma\\sensor_list\\comma\\sensor=deleteTempFiles\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\copyFiles\\comma\\sensor_list\\comma\\sensor=copyFiles\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\backupFiles\\comma\\sensor_list\\comma\\sensor=backupFiles\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\copyProcessedFiles\\comma\\sensor_list\\comma\\sensor=copyProcessedFiles\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\restoreZipFiles\\comma\\sensor_list\\comma\\sensor=restoreZipFiles\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\deleteFilesPriorToStartDate\\comma\\sensor_list\\comma\\sensor=deleteFilesPriorToStartDate\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\closeAspect6\\comma\\sensor_list\\comma\\sensor=closeAspect6\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//getOriginalExtensionsExport//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getOriginalExtensionsExport\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//gets the contents of the original inventory extensions export//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//none//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Content of file or error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getOriginalExtensionsExport\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////get store from preferences//crlf////tab////tab////tab//driverOpen(Aspect6_Preferences\\comma\\dPref\\comma\\READ)//crlf////tab////tab////tab//StoreDir=driverGetFieldAbsolute(dPref\\comma\\\\quot\\Pack_Records_Store_Directory\\quot\\\\comma\\0)//crlf////tab////tab////tab//driverClose(dPref)//crlf////crlf////tab////tab////tab//if((not(fileExists(StoreDir))) or (not(fileIsDirectory(StoreDir))))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: invalid directory: \\quot\\+StoreDir)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get original extensions export//crlf////tab////tab////tab//Filename=StoreDir+\\quot\\backup\extensions_original.csv\\quot\\//crlf////tab////tab////tab//if(fileExists(Filename))//crlf////tab////tab////tab////tab//s=fileGetContent(Filename)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//s=\\quot\\Error: file not found: \\quot\\+Filename//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//getOriginalCostOfSalesExport//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getOriginalCostOfSalesExport\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//gets the contents of the original cost of sales export//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//none//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Content of file or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getOriginalCostOfSalesExport\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////get store from preferences//crlf////tab////tab////tab//driverOpen(Aspect6_Preferences\\comma\\dPref\\comma\\READ)//crlf////tab////tab////tab//StoreDir=driverGetFieldAbsolute(dPref\\comma\\\\quot\\Pack_Records_Store_Directory\\quot\\\\comma\\0)//crlf////tab////tab////tab//driverClose(dPref)//crlf////crlf////tab////tab////tab//if((not(fileExists(StoreDir))) or (not(fileIsDirectory(StoreDir))))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: invalid directory: \\quot\\+StoreDir)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get original cost of sales//crlf////tab////tab////tab//Filename=StoreDir+\\quot\\backup\costofsales_original.csv\\quot\\//crlf////tab////tab////tab//if(fileExists(Filename))//crlf////tab////tab////tab////tab//s=fileGetContent(Filename)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//s=\\quot\\Error: file not found: \\quot\\+Filename//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//getActiveRecords//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getActiveRecords\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Gets an array of active inventory items and active recipe records.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Error or three lines formatted as//crlf////tab////tab////tab//Ok//tab////crlf////tab////tab////tab//Comma-delimited array of inventory item record numbers//crlf////tab////tab////tab//Comma-delimited array of recipe record numbers//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getActiveRecords\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////get store from preferences//crlf////tab////tab////tab//driverOpen(Aspect6_Preferences\\comma\\dPref\\comma\\READ)//crlf////tab////tab////tab//sStoreDir=driverGetFieldAbsolute(dPref\\comma\\\\quot\\Pack_Records_Store_Directory\\quot\\\\comma\\0)//crlf////tab////tab////tab//driverClose(dPref)//crlf////crlf////tab////tab////tab//if((not(fileExists(sStoreDir))) or (not(fileIsDirectory(sStoreDir))))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: invalid directory: \\quot\\+sStoreDir)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get active inventory items//crlf////tab////tab////tab//sIngrFilename=addDirSlash(sStoreDir)+\\quot\\ingr.dta\\quot\\//crlf////tab////tab////tab//driverOpen(ASPECT6_DRIVER_INVENTORY_ITEMS_BY_FILENAME\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sIngrFilename)//crlf////tab////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab////tab//arInventoryItems=\\quot\\\\quot\\//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//if(driverGetFieldAbsolute(d\\comma\\\\quot\\Active\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//arInventoryItems=addElement(arInventoryItems\\comma\\n)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(d)//tab////tab////tab////crlf////crlf////tab////tab////tab////get active recipe records//crlf////tab////tab////tab//sRecipeFilename=addDirSlash(sStoreDir)+\\quot\\recipe.dta\\quot\\//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Recipes\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sRecipeFilename)//crlf////tab////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab////tab//arRecipes=\\quot\\\\quot\\//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//if(driverGetFieldAbsolute(d\\comma\\\\quot\\Active\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//arRecipes=addElement(arRecipes\\comma\\n)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//s=\\quot\\Ok Items: \\quot\\+getElementCount(arInventoryItems)+\\quot\\ Recipes: \\quot\\+getElementCount(arRecipes)+char(13)+char(10)//crlf////tab////tab////tab//s=s+arInventoryItems+char(13)+char(10)+arRecipes//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//============================================================================//crlf//filesPresent//crlf//============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\filesPresent\\quot\\)>//crlf//    <conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Checks to ensure that all required files are present in the store directory//crlf//    </conditional>//crlf//    <conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//StoreDir - The directory to check//crlf//    </conditional>//crlf//    <conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf//    </conditional>//crlf//    <conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////abort if store directory is missing or invalid//crlf////tab////tab////tab//if((startsWith(\\quot\\__storedir__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (not(dirExists(\\quot\\__storedir__\\quot\\))))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid store directory: __StoreDir__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//StoreDir=addDirSlash(\\quot\\__StoreDir__\\quot\\)//crlf////crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//a=\\quot\\ingr.dta\\comma\\recipe.dta\\comma\\recpingr.dta\\quot\\//crlf////tab////tab////tab//c=getElementCount(a)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFilename=StoreDir+getElement(a\\comma\\n)//crlf////tab////tab////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Missing file: \\quot\\+sFilename)//crlf////tab////tab////tab////tab////tab//cError=cError+1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(cError>0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing one or more file.  See the log.\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//============================================================================//crlf//getFileList//crlf//============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getFileList\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Returns a list of all files that will be packed\\comma\\ including the inventory//crlf////tab////tab//item and recipe files and all dated files (counts\\comma\\ invoices\\comma\\ sales mix)//crlf////tab////tab//from the starting date forward.  Does not include the directory in the name//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreDir - Directory containing files//crlf////tab////tab//StartDate - Starting date of files that will be packed in MM-dd-yyyy format//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Comma-delimited list of all files that will be packed or affected//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////abort if store directory is missing or invalid//crlf////tab////tab////tab//if((startsWith(\\quot\\__storedir__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (not(dirExists(\\quot\\__storedir__\\quot\\))))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid store directory: __StoreDir__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//StoreDir=addDirSlash(\\quot\\__StoreDir__\\quot\\)//crlf////crlf////tab////tab////tab////abort if starting date is missing//crlf////tab////tab////tab//if(startsWith(\\quot\\__startdate__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing start date\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//a=\\quot\\ingr.dta\\comma\\recipe.dta\\comma\\recpingr.dta\\quot\\//crlf////tab////tab////tab//dt1=parseTime(\\quot\\__StartDate__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt2=now()//crlf////tab////tab////tab//appendToLog(\\quot\\Adding files to list from \\quot\\+formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//while(dt1<=dt2)//crlf////tab////tab////tab////tab//s=formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)//crlf////tab////tab////tab////tab//if(fileExists(StoreDir+s+\\quot\\.mix\\quot\\))//crlf////tab////tab////tab////tab////tab//a=addElement(a\\comma\\s+\\quot\\.mix\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//if(fileExists(StoreDir+s+\\quot\\.pay\\quot\\))//crlf////tab////tab////tab////tab////tab//a=addElement(a\\comma\\s+\\quot\\.pay\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//if(fileExists(StoreDir+s+\\quot\\.cnt\\quot\\))//crlf////tab////tab////tab////tab////tab//a=addElement(a\\comma\\s+\\quot\\.cnt\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//if(fileExists(StoreDir+s+\\quot\\.usg\\quot\\))//crlf////tab////tab////tab////tab////tab//a=addElement(a\\comma\\s+\\quot\\.usg\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//scriptSetResult(a)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//============================================================================//crlf//checkReadOnlyFiles//crlf//============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\checkReadOnlyFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//Checks to see if any files to be affected are read-only//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//StoreDir - Directory containing files//crlf////tab////tab////tab//FileList - Comma-delimited list of files to be packed\\comma\\ not including directory name//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab////abort if store directory is missing or invalid//crlf////tab////tab////tab////tab//if((startsWith(\\quot\\__storedir__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (not(dirExists(\\quot\\__storedir__\\quot\\))))//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid store directory: __StoreDir__\\quot\\)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//StoreDir=addDirSlash(\\quot\\__StoreDir__\\quot\\)//crlf////crlf////tab////tab////tab////tab////abort if no filelist specified//crlf////tab////tab////tab////tab//if(startsWith(\\quot\\__FileList__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: No file list specified\\quot\\)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//cError=0//crlf////tab////tab////tab////tab//c=getElementCount(\\quot\\__FileList__\\quot\\)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//sFilename=StoreDir+getElement(\\quot\\__FileList__\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab////tab//if(fileReadOnly(sFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\File is read-only: \\quot\\+sFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//cError=cError+1//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Cannot locate \\quot\\+sFilename)//crlf////tab////tab////tab////tab////tab////tab//cError=cError+1//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//if(cError=0)//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: One or more files is missing or read-only.  See the log.\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//============================================================================//crlf//deleteTempFiles//crlf//============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\deleteTempFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Deletes all files in the [storedir]pack directory.  There should not be any//crlf////tab////tab//unless a pack operation was interrupted before the files could be deleted//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreDir - Directory containing files//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////abort if store directory is missing or invalid//crlf////tab////tab////tab//if((startsWith(\\quot\\__storedir__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (not(dirExists(\\quot\\__storedir__\\quot\\))))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid store directory: __StoreDir__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//PackDir=addDirSlash(\\quot\\__StoreDir__\\quot\\)+\\quot\\pack/\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////if the directory does not exist\\comma\\ then nothing to do//crlf////tab////tab////tab//if(not(dirExists(PackDir)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok.  No files found to delete\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get a list of files in the directory//crlf////tab////tab////tab//a=getMatchingFiles(PackDir+\\quot\\*.*\\quot\\\\comma\\false\\comma\\false)//crlf////tab////tab////tab//c=getElementCount(a\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(a\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Deleting \\quot\\+s)//crlf////tab////tab////tab////tab//fileDelete(s)//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//a=getMatchingFiles(PackDir+\\quot\\*.*\\quot\\\\comma\\false\\comma\\false)//crlf////tab////tab////tab//if(len(a)=0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error.  Could not delete \\quot\\+a)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//============================================================================//crlf//copyFiles//crlf//============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\copyFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Copies files to be packed from the store directory to a directory named \\quot\\pack\\quot\\//crlf////tab////tab//beneath the store directory.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreDir - Directory containing files//crlf////tab////tab//FileList - Comma-delimited list of files to be packed//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////abort if store directory is missing or invalid//crlf////tab////tab////tab//if((startsWith(\\quot\\__storedir__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (not(dirExists(\\quot\\__storedir__\\quot\\))))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid store directory: __StoreDir__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//StoreDir=addDirSlash(\\quot\\__StoreDir__\\quot\\)//crlf////tab////tab////tab//PackDir=StoreDir+\\quot\\pack/\\quot\\//crlf////crlf////tab////tab////tab////abort if no filelist specified//crlf////tab////tab////tab//if(startsWith(\\quot\\__FileList__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: No file list specified\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//c=getElementCount(\\quot\\__FileList__\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(\\quot\\__FileList__\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//FileFrom=StoreDir+s//crlf////tab////tab////tab////tab//FileTo=PackDir+s//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Copy: \\quot\\+FileFrom+\\quot\\ to \\quot\\+FileTo)//crlf////tab////tab////tab////tab//s=fileCopy(FileFrom\\comma\\FileTo)//crlf////tab////tab////tab////tab//if(not(startsWith(s\\comma\\\\quot\\ok\\quot\\)))//tab////crlf////tab////tab////tab////tab////tab//appendToLog(s)//crlf////tab////tab////tab////tab////tab//cError=cError+1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(cError=0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: There was an error copying \\quot\\+cError+\\quot\\ files.  See the log.\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//============================================================================//crlf//backupFiles//crlf//============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\backupFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreDir - Directory containing files//crlf////tab////tab//ArchiveName - Full name of the archive file//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////abort if store directory is missing or invalid//crlf////tab////tab////tab//if((startsWith(\\quot\\__storedir__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (not(dirExists(\\quot\\__storedir__\\quot\\))))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid store directory: __StoreDir__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if an archive name is not specified or invalid//crlf////tab////tab////tab//if(pos(\\quot\\.zip\\quot\\\\comma\\\\quot\\__ArchiveName__\\quot\\)<0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid archive name: __ArchiveName__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//StoreDir=addDirSlash(\\quot\\__StoreDir__\\quot\\)//crlf////tab////tab////tab//PackDir=StoreDir+\\quot\\pack/\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////get a list of files to be backed up//crlf////tab////tab////tab//arFiles=getMatchingFiles(PackDir+\\quot\\*.*\\quot\\\\comma\\false\\comma\\false)//crlf////crlf////tab////tab////tab////abort if there are no files to back up//crlf////tab////tab////tab//cFiles=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//if(cFiles=0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: No files to back up in \\quot\\+PackDir+\\quot\\*.*\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////zip the files//crlf////tab////tab////tab//fileMakeDirectory(fileDrive(\\quot\\__ArchiveName__\\quot\\)+fileDir(\\quot\\__ArchiveName__\\quot\\))//crlf////tab////tab////tab//s=zipFiles(\\quot\\__ArchiveName__\\quot\\\\comma\\PackDir+\\quot\\*.*\\quot\\\\comma\\false\\comma\\false)//crlf////crlf////tab////tab////tab////verify the zip file//crlf////tab////tab////tab//arZipFiles=getZipContents(\\quot\\__ArchiveName__\\quot\\\\comma\\char(0x2c)\\comma\\true)//crlf////tab////tab////tab//cZipFiles=getElementCount(arZipFiles)//crlf////tab////tab////tab//if(cZipFiles<>cFiles)//crlf////tab////tab////tab////tab//s=\\quot\\Error: Could not create backup.  Files in directory: \\quot\\+cFiles+\\quot\\ Files in archive: \\quot\\+cZipFiles//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(s))//crlf////tab////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<cFiles)//crlf////tab////tab////tab////tab//s=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sFilename=fileName(s)+fileExt(s)//crlf////tab////tab////tab////tab//if(containsElement(arZipFiles\\comma\\sFilename)<0)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Could not confirm archive of \\quot\\+sFilename)//crlf////tab////tab////tab////tab////tab//cError=cError+1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab//if(cError<>0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Could not archive \\quot\\+cError+\\quot\\ files\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//============================================================================//crlf//copyProcessedFiles//crlf//============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\copyProcessedFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Copies files that have been packed from the [storedir]pack directory back to//crlf////tab////tab//the store directory.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreDir - Directory containing files//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////abort if store directory is missing or invalid//crlf////tab////tab////tab//if((startsWith(\\quot\\__storedir__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (not(dirExists(\\quot\\__storedir__\\quot\\))))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid store directory: __StoreDir__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//StoreDir=addDirSlash(\\quot\\__StoreDir__\\quot\\)//crlf////tab////tab////tab//PackDir=StoreDir+\\quot\\pack/\\quot\\//crlf////crlf////tab////tab////tab////get list of files in the pack directory//crlf////tab////tab////tab//a=getMatchingFiles(PackDir+\\quot\\*.*\\quot\\\\comma\\false\\comma\\false)//crlf////crlf////tab////tab////tab////copy files to the store directory//crlf////tab////tab////tab//c=getElementCount(a\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//FileFrom=getElement(a\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//FileTo=StoreDir+fileName(FileFrom)+fileExt(FileFrom)//crlf////tab////tab////tab////tab//msg=fileCopy(FileFrom\\comma\\FileTo)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Copy \\quot\\+FileFrom+\\quot\\ to \\quot\\+FileTo+\\quot\\: \\quot\\+msg)//crlf////tab////tab////tab////tab//if(msg<>\\quot\\ok\\quot\\)//crlf////tab////tab////tab////tab////tab////abort if an error occurs//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error copying \\quot\\+FileFrom+\\quot\\ to \\quot\\+FileTo+\\quot\\: \\quot\\+msg)//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: An error occurred copying files to the store directory.  See the log.\\quot\\)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab////delete ndx files in the store directory//crlf////tab////tab////tab//fileDelete(StoreDir+\\quot\\ingr.ndx\\quot\\)//crlf////tab////tab////tab//fileDelete(StoreDir+\\quot\\recipe.ndx\\quot\\)//crlf////tab////tab////tab////crlf////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//============================================================================//crlf//restoreZipFiles//crlf//============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\restoreZipFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreDir - Directory containing files//crlf////tab////tab//ArchiveName - Name of the archive file//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////abort if store directory is missing or invalid//crlf////tab////tab////tab//if((startsWith(\\quot\\__storedir__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (not(dirExists(\\quot\\__storedir__\\quot\\))))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid store directory: __StoreDir__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//StoreDir=addDirSlash(\\quot\\__storedir__\\quot\\)//crlf////crlf////tab////tab////tab////abort if an archive name is not specified or invalid//crlf////tab////tab////tab//if(startsWith(\\quot\\__ArchiveName__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid archive name: __ArchiveName__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(not(fileExists(\\quot\\__ArchiveName__\\quot\\)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Archive not found: __ArchiveName__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get contents of zip file//crlf////tab////tab////tab//arZipFiles=getZipContents(\\quot\\__ArchiveName__\\quot\\\\comma\\char(0x2c)\\comma\\true)//crlf////tab////tab////crlf////tab////tab////tab//cError=0//tab////crlf////tab////tab////tab//c=getElementCount(arZipFiles)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(arZipFiles\\comma\\n)//crlf////tab////tab////tab////tab//FileFrom=\\quot\\__ArchiveName__\\quot\\+\\quot\\/\\quot\\+s//crlf////tab////tab////tab////tab//FileTo=StoreDir+s//crlf////tab////tab////tab////tab//msg=fileCopy(FileFrom\\comma\\FileTo)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Restore \\quot\\+FileTo+\\quot\\: \\quot\\+msg)//crlf////tab////tab////tab////tab//cError=if(msg=\\quot\\Ok\\quot\\\\comma\\cError\\comma\\cError+1)//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(cError>0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Could not restore \\quot\\+cError+\\quot\\ files\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok:  Restores \\quot\\+c+\\quot\\ files\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//============================================================================//crlf//deleteFilesPriorToStartDate//crlf//============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\deleteFilesPriorToStartDate\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//[This routine has not been implemented yet]//crlf////crlf////tab////tab//Deletes any dated files in the store directory containing data prior to the//crlf////tab////tab//start date of the pack routine.  The indices in these files will not have//crlf////tab////tab//been updated and the files will be useless.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreDir - Directory containing files//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////abort if store directory is missing or invalid//crlf////tab////tab////tab//if((startsWith(\\quot\\__storedir__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (not(dirExists(\\quot\\__storedir__\\quot\\))))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid store directory: __StoreDir__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//============================================================================//crlf//closeAspect6//crlf//============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\closeAspect6\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Closing Aspect6\\quot\\)//crlf////tab////tab////tab////tab//s=killNtvdm(true)//crlf////tab////tab////tab////tab//if(startsWith(s\\comma\\\\quot\\Could not list\\quot\\))//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: \\quot\\+s)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//
^
ID=action_list|X=300|Y=120|W=934|H=606|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Pack Aspect6 Inventory Files.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//1.02//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Pack Inventory Files\\comma\\getInitialExtensionsForCompany\\comma\\action_list\\comma\\Action=getInitialExtensionsForCompany\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\getInitialCostOfSalesForCompany\\comma\\action_list\\comma\\Action=getInitialCostOfSalesForCompany\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\getActiveRecordsForCompany\\comma\\action_list\\comma\\Action=getActiveRecordsForCompany\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\clearRecordsToPack\\comma\\action_list\\comma\\Action=clearRecordsToPack\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\flagRecordsToPack\\comma\\action_list\\comma\\action=flagRecordsToPack\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\packFiles\\comma\\action_list\\comma\\action=packFiles\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\updateRecordNumbers\\comma\\action_list\\comma\\action=updateRecordNumbers\\comma\\private//crlf////tab//Pack Inventory Files\\comma\\exportCostOfSales\\comma\\action_list\\comma\\Action=exportCostOfSales\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//getInitialExtensionsForCompany//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\getInitialExtensionsForCompany\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Gets the initial extensions export for all stores//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//CompanyID - Company ID//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error.  Data retrieved for each company is saved under //crlf////tab////tab//[temporary_files]packfiles\companyid\original\extensions_[hashid].csv.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getInitialInventoryExtensionsForCompany\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//if(undefined(\\quot\\__CompanyID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Company ID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sFilter=\\quot\\(Company_ID=\\quot\\+quote(\\quot\\__CompanyID__\\quot\\)+\\quot\\)\\quot\\//crlf////tab////tab////tab//sFilter=sFilter+\\quot\\and (Location=\\quot\\+quote(\\quot\\Store\\quot\\)+\\quot\\) and (Days_Since_Active\\quot\\+char(0x3C)+\\quot\\30)\\quot\\//crlf////tab////tab////tab//arHashID=getCollection(\\quot\\Aspect_BackOffice_Computer_Names_By_ID_No_Select\\quot\\\\comma\\sFilter\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\keys\\quot\\)//crlf////tab////tab////tab//c=getElementCount(arHashID)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//s=\\quot\\\\quot\\//crlf////tab////tab////tab//cOk=0//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////crlf////tab////tab////tab////tab////quick fix to exclude fat heads from pacific wings//crlf////tab////tab////tab////tab//if(sHashID<>\\quot\\61cn66jv6\\quot\\)//crlf////tab////tab////tab////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\packfiles/__CompanyID__/original/extensions_\\quot\\+sHashID+\\quot\\.csv\\quot\\//crlf////tab////tab////tab////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Getting original extensions export from \\quot\\+sHashID)//crlf////tab////tab////tab////tab////tab////tab//s=trim(getSensorValue(\\quot\\getOriginalExtensionsExport\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sHashID))//crlf////tab////tab////tab////tab////tab////tab//if((startsWith(s\\comma\\\\quot\\Error\\quot\\)) or (pos(\\quot\\is not available\\quot\\\\comma\\s)>0))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Could not get original extensions from \\quot\\+sHashID+\\quot\\ :\\quot\\+s)//crlf////tab////tab////tab////tab////tab////tab////tab//cError++//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendTolog(\\quot\\Ok: Got original extensions from \\quot\\+sHashID)//crlf////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sFilename\\comma\\s)//crlf////tab////tab////tab////tab////tab////tab////tab//cOk++//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////crlf////tab////tab////tab//if(cError=0) //crlf////tab////tab////tab////tab//return(\\quot\\Ok.  Got original extensions from \\quot\\+cOk+\\quot\\ stores\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//return(\\quot\\Error.  Got original extensions from \\quot\\+cOk+\\quot\\ stores.  Could not retrieve data for \\quot\\+cError+\\quot\\ stores\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//getInitialCostOfSalesForCompany//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\getInitialCostOfSalesForCompany\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Gets the initial cost of sales export for all stores//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//CompanyID - Company ID//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error.  Data retrieved for each company is saved under //crlf////tab////tab//[temporary_files]packfiles\companyid\original\cos_[hashid].csv.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getInitialCostOfSalesForCompany\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//if(undefined(\\quot\\__CompanyID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Company ID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sFilter=\\quot\\(Company_ID=\\quot\\+quote(\\quot\\__CompanyID__\\quot\\)+\\quot\\)\\quot\\//crlf////tab////tab////tab//sFilter=sFilter+\\quot\\and (Location=\\quot\\+quote(\\quot\\Store\\quot\\)+\\quot\\) and (Days_Since_Active\\quot\\+char(0x3C)+\\quot\\30)\\quot\\//crlf////tab////tab////tab//arHashID=getCollection(\\quot\\Aspect_BackOffice_Computer_Names_By_ID_No_Select\\quot\\\\comma\\sFilter\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\keys\\quot\\)//crlf////tab////tab////tab//c=getElementCount(arHashID)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//s=\\quot\\\\quot\\//crlf////tab////tab////tab//cOk=0//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////crlf////tab////tab////tab////tab////quick fix to exclude fat heads from pacific wings//crlf////tab////tab////tab////tab//if(sHashID<>\\quot\\61cn66jv6\\quot\\)//crlf////tab////tab////tab////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\packfiles/__CompanyID__/original\costofsales_\\quot\\+sHashID+\\quot\\.csv\\quot\\//crlf////tab////tab////tab////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Getting original cost of sales export from \\quot\\+sHashID)//crlf////tab////tab////tab////tab////tab////tab//s=trim(getSensorValue(\\quot\\getOriginalCostOfSalesExport\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sHashID))//crlf////tab////tab////tab////tab////tab////tab//if((startsWith(s\\comma\\\\quot\\Error\\quot\\)) or (pos(\\quot\\is not available\\quot\\\\comma\\s)>0))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Could not get original cost of sales from \\quot\\+sHashID+\\quot\\ :\\quot\\+s)//crlf////tab////tab////tab////tab////tab////tab////tab//cError++//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendTolog(\\quot\\Ok: Got original cost of sales export from \\quot\\+sHashID)//crlf////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sFilename\\comma\\s)//crlf////tab////tab////tab////tab////tab////tab////tab//cOk++//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////crlf////tab////tab////tab//if(cError=0) //crlf////tab////tab////tab////tab//return(\\quot\\Ok.  Got original cost of sales export from \\quot\\+cOk+\\quot\\ stores\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//return(\\quot\\Error.  Got original cost of sales export from \\quot\\+cOk+\\quot\\ stores.  Could not retrieve data for \\quot\\+cError+\\quot\\ stores\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//getActiveRecordsForCompany//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\getActiveRecordsForCompany\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//tab////crlf////tab////tab//Gets arrays of active records for all stores in the given company.  Arrays//crlf////tab////tab//are saved and are not requested if they already exist//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//CompanyID - Company ID//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error.  Arrays retrieved for each company are saved under //crlf////tab////tab//[temporary_files]packfiles\companyid\active_records_[hashid].csv.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getActiveRecordsForCompany\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//if(undefined(\\quot\\__CompanyID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Company ID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//hashCreate(hIngr)//crlf////tab////tab////tab//hashCreate(hRecipe)//crlf////crlf////tab////tab////tab//sFilter=\\quot\\(Company_ID=\\quot\\+quote(\\quot\\__CompanyID__\\quot\\)+\\quot\\)\\quot\\//crlf////tab////tab////tab//sFilter=sFilter+\\quot\\and (Location=\\quot\\+quote(\\quot\\Store\\quot\\)+\\quot\\) and (Days_Since_Active\\quot\\+char(0x3C)+\\quot\\30)\\quot\\//crlf////tab////tab////tab//arHashID=getCollection(\\quot\\Aspect_BackOffice_Computer_Names_By_ID_No_Select\\quot\\\\comma\\sFilter\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\keys\\quot\\)//crlf////tab////tab////tab//c=getElementCount(arHashID)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//s=\\quot\\\\quot\\//crlf////tab////tab////tab//cOk=0//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////crlf////tab////tab////tab////tab////quick fix to exclude fat heads from pacific wings//crlf////tab////tab////tab////tab//if(sHashID<>\\quot\\61cn66jv6\\quot\\)//crlf////tab////tab////tab////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\packfiles/__CompanyID__/active_records_\\quot\\+sHashID+\\quot\\.csv\\quot\\//crlf////tab////tab////tab////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Getting active records from \\quot\\+sHashID)//crlf////tab////tab////tab////tab////tab////tab//s=trim(getSensorValue(\\quot\\getActiveRecords\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sHashID))//crlf////tab////tab////tab////tab////tab////tab//if(startsWith(s\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//appendTolog(\\quot\\Ok: Got active records from \\quot\\+sHashID)//crlf////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sFilename\\comma\\s)//crlf////tab////tab////tab////tab////tab////tab////tab//cOk++//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Could not get active records from \\quot\\+sHashID+\\quot\\ :\\quot\\+s)//crlf////tab////tab////tab////tab////tab////tab////tab//cError++//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////add contents of file to consolidated list of records//crlf////tab////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab////tab//s=fileGetContent(sFilename)//crlf////tab////tab////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\char(13)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab////get inventory item records//crlf////tab////tab////tab////tab////tab////tab//ar=getElement(s\\comma\\1\\comma\\char(10))//crlf////tab////tab////tab////tab////tab////tab//c1=getElementCount(ar)//crlf////tab////tab////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab////tab////tab//while(n1<c1)//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(hIngr\\comma\\getElement(ar\\comma\\n1)\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab////tab//n1++//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////tab////tab////get recipe records//crlf////tab////tab////tab////tab////tab////tab//ar=getElement(s\\comma\\2\\comma\\char(10))//crlf////tab////tab////tab////tab////tab////tab//c1=getElementCount(ar)//crlf////tab////tab////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab////tab////tab//while(n1<c1)//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(hRecipe\\comma\\getElement(ar\\comma\\n1)\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab////tab//n1++//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Add active items: \\quot\\+sHashID+\\quot\\ AllItems: \\quot\\+hashSize(hIngr)+\\quot\\ AllRecipes: \\quot\\+hashSize(hRecipe))//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////write consolidated records to file//crlf////tab////tab////tab//fileWriteContent(getToken(\\quot\\temporary_files\\quot\\)+\\quot\\packfiles\__CompanyID__\active_items.csv\\quot\\\\comma\\hashGetKeys(hIngr))//crlf////tab////tab////tab//fileWriteContent(getToken(\\quot\\temporary_files\\quot\\)+\\quot\\packfiles\__CompanyID__\active_recipes.csv\\quot\\\\comma\\hashGetKeys(hRecipe))//crlf////crlf////tab////tab////tab//if(cError=0) //crlf////tab////tab////tab////tab//return(\\quot\\Ok.  Got active records from \\quot\\+cOk+\\quot\\ stores\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//return(\\quot\\Error.  Got active records from \\quot\\+cOk+\\quot\\ stores.  Could not retrieve records for \\quot\\+cError+\\quot\\ stores\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//exportCostOfSales//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\exportCostOfSales\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Exports a cost of sales report for the last full week.  A cost of sales is//crlf////tab////tab//exported before and after packing to ensure that the operation was successful//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreDir - Aspect6 store directory//crlf////tab////tab//Msg - A text value included in the filename.  Prepack\\comma\\ Postpack or Manual//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\exportCostOfSales\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab////tab////exit//crlf////crlf////tab////tab////tab//sMsg=\\quot\\__Msg__\\quot\\//crlf////crlf////tab////tab////tab////abort if StoreDir is undefined//crlf////tab////tab////tab//if(startsWith(\\quot\\__StoreDir__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing store directory: __StoreDir__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//StoreDir=replaceSubstring(trim(addDirSlash(\\quot\\__StoreDir__\\quot\\))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab//StoreCode=lookup(Aspect6_Store_Code_By_Directory\\comma\\StoreDir)//crlf////crlf////tab////tab////tab////abort if store code is invalid//crlf////tab////tab////tab//if(len(StoreCode)=0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid store code for directory: \\quot\\+StoreDir+\\quot\\ Code=\\quot\\+StoreCode)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sStartInDir=getToken(\\quot\\Aspect6StartInDirectory\\quot\\)//crlf////tab////tab////tab//sExe=sStartInDir+\\quot\\endofday.exe\\quot\\//crlf////crlf////tab////tab////tab////abort if executable does not exist//crlf////tab////tab////tab//if(not(fileExists(sExe)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid executable: \\quot\\+sExe)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////export cost of sales//crlf////tab////tab////tab//Dir=StoreDir+\\quot\\backup\\\quot\\//crlf////tab////tab////tab//sCosFilename=Dir+\\quot\\cos_\\quot\\+formatDate(now()\\comma\\\\quot\\HHmm\\quot\\)+\\quot\\.xml\\quot\\//crlf////tab////tab////tab//launchApplication(sExe\\comma\\sStartInDir\\comma\\true\\comma\\\\quot\\/silent\\quot\\\\comma\\\\quot\\/xml\\quot\\\\comma\\\\quot\\/store=\\quot\\+StoreCode\\comma\\\\quot\\/xmlreport=2\\quot\\\\comma\\\\quot\\/period=2\\quot\\\\comma\\\\quot\\/filename=\\quot\\+sCosFilename)//crlf////crlf////tab////tab////tab////export inventory extensions to help with troubleshooting//crlf////tab////tab////tab//sExtFilename=Dir+\\quot\\ext_\\quot\\+formatDate(now()\\comma\\\\quot\\HHmm\\quot\\)+\\quot\\.xml\\quot\\//crlf////tab////tab////tab//launchApplication(sExe\\comma\\sStartInDir\\comma\\true\\comma\\\\quot\\/silent\\quot\\\\comma\\\\quot\\/xml\\quot\\\\comma\\\\quot\\/store=\\quot\\+StoreCode\\comma\\\\quot\\/xmlreport=5\\quot\\\\comma\\\\quot\\/period=2\\quot\\\\comma\\\\quot\\/filename=\\quot\\+sExtFilename)//crlf////crlf////tab////tab////tab////rename the cost of sales files and delete the extra files//crlf////tab////tab////tab//sCosFilename1=Dir+\\quot\\costofsales_\\quot\\+sMsg+\\quot\\_\\quot\\+formatDate(now()\\comma\\\\quot\\MMddyyyy_HHmmss\\quot\\)+\\quot\\.csv\\quot\\//crlf////tab////tab////tab//if(fileExists(sCosFilename))//crlf////tab////tab////tab////tab//sCsvFilename=fileDrive(sCosFilename)+fileDir(sCosFilename)+fileName(sCosFilename)+\\quot\\.csv\\quot\\//crlf////tab////tab////tab////tab//sHdr=\\quot\\Store Name\\comma\\StoreCode\\comma\\Report Name\\comma\\Date From\\comma\\Date To\\comma\\Level\\comma\\Record No.\\comma\\Name\\comma\\Beginning Inventory\\comma\\Purchases\\comma\\Ending Inventory\\comma\\Net Sales\\comma\\Legitimate Cost\\comma\\Actual Cost\\comma\\Actual Cost \\percent\\\\comma\\Legit Cost \\percent\\\\comma\\Cost Variance\\comma\\Percent Variance\\comma\\Code\\comma\\Days On Hand\\quot\\//crlf////tab////tab////tab////tab//fileWriteContent(sCosFilename1\\comma\\sHdr+char(13)+char(10)+fileGetContent(sCsvFilename))//crlf////tab////tab////tab////tab//fileDelete(sCsvFilename)//crlf////tab////tab////tab////tab//fileDelete(sCosFilename)//crlf////tab////tab////tab////tab//fileDelete(fileDrive(sCosFilename)+fileDir(sCosFilename)+fileName(sCosFilename)+\\quot\\.xml\\quot\\)//crlf////tab////tab////tab////tab//fileDelete(fileDrive(sCosFilename)+fileDir(sCosFilename)+fileName(sCosFilename)+\\quot\\.hdr\\quot\\)//crlf////crlf////tab////tab////tab////tab////record the initial cost of sales//crlf////tab////tab////tab////tab//sCosFilename2=Dir+\\quot\\costofsales_original.csv\\quot\\//crlf////tab////tab////tab////tab//if(not(fileExists(sCosFilename2)))//crlf////tab////tab////tab////tab////tab//fileCopy(sCosFilename1\\comma\\sCosFilename2)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////rename the inventory extensions files and delete the extra files//crlf////tab////tab////tab//sExtFilename1=Dir+\\quot\\extensions_\\quot\\+sMsg+\\quot\\_\\quot\\+formatDate(now()\\comma\\\\quot\\MMddyyyy_HHmmss\\quot\\)+\\quot\\.csv\\quot\\//crlf////tab////tab////tab//if(fileExists(sExtFilename))//crlf////tab////tab////tab////tab//sCsvFilename=fileDrive(sExtFilename)+fileDir(sExtFilename)+fileName(sExtFilename)+\\quot\\.csv\\quot\\//crlf////tab////tab////tab////tab//sHdr=\\quot\\Store Name\\comma\\StoreCode\\comma\\Report Name\\comma\\Date From\\comma\\Date To\\comma\\Level\\comma\\Record No.\\comma\\Index\\comma\\Group\\comma\\Name\\comma\\Size\\comma\\Last Price\\comma\\Weight Price\\comma\\High Price\\comma\\Low Price\\comma\\Beginning Inventory\\comma\\Units Purchased\\comma\\Dollars Purchased\\comma\\Ending Inventory\\comma\\Legit Usage\\comma\\Usage\\comma\\Usage +/-\\comma\\Cost +/-\\comma\\Cost\\comma\\Ending Price\\comma\\Legit Cost\\comma\\Beginning Price\\comma\\Price Change\\comma\\Price Change \\percent\\\\comma\\\\percent\\ of Group Cost\\comma\\\\percent\\ of Total Cost\\comma\\Price Effect\\comma\\Average Price\\comma\\Avg Dly Usage\\comma\\Days On Hand\\comma\\Ending Dollars\\comma\\Beginning Dollars\\comma\\Purch Size\\comma\\Purch Begin Price\\comma\\Purch Last Price\\comma\\Purch High Price\\comma\\Purch Low Price\\comma\\Purch Price\\comma\\Purch Price Change\\comma\\Group Number\\comma\\Code\\quot\\//crlf////tab////tab////tab////tab//fileWriteContent(sExtFilename1\\comma\\sHdr+char(13)+char(10)+fileGetContent(sCsvFilename))//crlf////tab////tab////tab////tab//fileDelete(sCsvFilename)//crlf////tab////tab////tab////tab//fileDelete(sExtFilename)//crlf////tab////tab////tab////tab//fileDelete(fileDrive(sExtFilename)+fileDir(sExtFilename)+fileName(sExtFilename)+\\quot\\.xml\\quot\\)//crlf////tab////tab////tab////tab//fileDelete(fileDrive(sExtFilename)+fileDir(sExtFilename)+fileName(sExtFilename)+\\quot\\.hdr\\quot\\)//crlf////crlf////tab////tab////tab////tab////record the initial inventory extensions//crlf////tab////tab////tab////tab//sExtFilename2=Dir+\\quot\\extensions_original.csv\\quot\\//crlf////tab////tab////tab////tab//if(not(fileExists(sExtFilename2)))//crlf////tab////tab////tab////tab////tab//fileCopy(sExtFilename1\\comma\\sExtFilename2)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if((fileExists(sCosFilename1)) and (fileSize(sCosFilename1)>0))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: \\quot\\+fileGetChecksum(sCosFilename1\\comma\\true))//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: An error occurred creating the export file\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//clearRecordsToPack//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\clearRecordsToPack\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Clears the pack and active flags for all records//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\clearRecordsToPack\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//driverOpen(ASPECT6_PREFERENCES\\comma\\drvPref\\comma\\WRITE)//crlf////tab////tab////tab////crlf////tab////tab////tab//sStoreDir=driverGetFieldAbsolute(drvPref\\comma\\\\quot\\Pack_Records_Store_Directory\\quot\\\\comma\\0)//crlf////tab////tab////tab////crlf////tab////tab////tab////abort if store directory is invalid//crlf////tab////tab////tab//if(not(dirExists(sStoreDir)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid store directory: \\quot\\+sStoreDir)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if ingr.dta is not found//crlf////tab////tab////tab//if(not(fileExists(sStoreDir+\\quot\\ingr.dta\\quot\\)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Cannot find \\quot\\+sStoreDir+\\quot\\ingr.dta\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if recipe.dta is not found//crlf////tab////tab////tab//if(not(fileExists(sStoreDir+\\quot\\recipe.dta\\quot\\)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Cannot find \\quot\\+sStoreDir+\\quot\\recipe.dta\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open drivers//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Items_By_Filename\\comma\\drvIngr\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+sStoreDir+\\quot\\ingr.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Recipes_By_Filename\\comma\\drvRecipe\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+sStoreDir+\\quot\\recipe.dta\\quot\\)//crlf////crlf////tab////tab////tab////clear any \\quot\\active\\quot\\ and \\quot\\pack\\quot\\ flags that are currently set//crlf////tab////tab////tab//driverSetFilter(drvIngr\\comma\\\\quot\\(pack) or (active)\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvIngr\\comma\\false)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\active\\quot\\\\comma\\n\\comma\\false)//crlf////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\pack\\quot\\\\comma\\n\\comma\\false)//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverSetFilter(drvRecipe\\comma\\\\quot\\(pack) or (active)\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvRecipe\\comma\\false)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//driverPutField(drvRecipe\\comma\\\\quot\\active\\quot\\\\comma\\n\\comma\\false)//crlf////tab////tab////tab////tab//driverPutField(drvRecipe\\comma\\\\quot\\pack\\quot\\\\comma\\n\\comma\\false)//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(drvIngr)//crlf////tab////tab////tab//driverClose(drvRecipe)//crlf////crlf////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//============================================================================//crlf//flagRecordsToPack//crlf//============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\flagRecordsToPack\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Sets the \\quot\\Active\\quot\\ and \\quot\\Pack\\quot\\ fields for each record in the inventory items//crlf////tab////tab//and recipe files using the start date and pack method supplied.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//none//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\flagRecordsToPack\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//driverOpen(ASPECT6_PREFERENCES\\comma\\drvPref\\comma\\WRITE)//crlf////tab////tab////tab////crlf////tab////tab////tab//sStoreDir=driverGetFieldAbsolute(drvPref\\comma\\\\quot\\Pack_Records_Store_Directory\\quot\\\\comma\\0)//crlf////tab////tab////tab//dtStart=driverGetFieldAbsolute(drvPref\\comma\\\\quot\\Pack_Records_Start_Date\\quot\\\\comma\\0)//crlf////tab////tab////tab//bPackItems=driverGetFieldAbsolute(drvPref\\comma\\\\quot\\Pack_Deleted_Inventory_Items\\quot\\\\comma\\0)//crlf////tab////tab////tab//bExcludeActiveItems=driverGetFieldAbsolute(drvPref\\comma\\\\quot\\Do_Not_Pack_Active_Inventory_Items\\quot\\\\comma\\0)//crlf////tab////tab////tab//bPackRecipes=driverGetFieldAbsolute(drvPref\\comma\\\\quot\\Pack_Deleted_Recipes\\quot\\\\comma\\0)//crlf////tab////tab////tab//bExcludeActiveRecipes=driverGetFieldAbsolute(drvPref\\comma\\\\quot\\Do_Not_Pack_Active_Recipes\\quot\\\\comma\\0)//crlf////tab////tab////tab//bPackInactiveRecipes=driverGetFieldAbsolute(drvPref\\comma\\\\quot\\Pack_InActive_Recipes\\quot\\\\comma\\0)//crlf////tab////tab////tab//bPackInActiveInventoryItems=driverGetFieldAbsolute(drvPref\\comma\\\\quot\\Pack_InActive_Inventory_Items\\quot\\\\comma\\0)//crlf////tab////tab////tab////crlf////tab////tab////tab//appendToLog(\\quot\\Store Directory: \\quot\\+sStoreDir)//crlf////tab////tab////tab//appendToLog(\\quot\\Start Date: \\quot\\+formatDate(dtStart\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\Pack Items: \\quot\\+bPackItems)//crlf////tab////tab////tab//appendToLog(\\quot\\Exclude Active Items: \\quot\\+bExcludeActiveItems)//crlf////tab////tab////tab//appendToLog(\\quot\\Pack Recipes: \\quot\\+bPackRecipes)//crlf////tab////tab////tab//appendToLog(\\quot\\Exclude Active Recipes: \\quot\\+bExcludeActiveRecipes)//crlf////tab////tab////tab//appendToLog(\\quot\\Pack Inactive Recipes: \\quot\\+bPackInactiveRecipes)//crlf////tab////tab////tab//appendToLog(\\quot\\Pack Inactive Inventory Items: \\quot\\+bPackInActiveInventoryItems)//crlf////crlf////tab////tab////tab////abort if store directory is invalid//crlf////tab////tab////tab//if(not(dirExists(sStoreDir)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid store directory: \\quot\\+sStoreDir)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if ingr.dta is not found//crlf////tab////tab////tab//if(not(fileExists(sStoreDir+\\quot\\ingr.dta\\quot\\)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Cannot find \\quot\\+sStoreDir+\\quot\\ingr.dta\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if recipe.dta is not found//crlf////tab////tab////tab//if(not(fileExists(sStoreDir+\\quot\\recipe.dta\\quot\\)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Cannot find \\quot\\+sStoreDir+\\quot\\recipe.dta\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open drivers//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Items_By_Filename\\comma\\drvIngr\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+sStoreDir+\\quot\\ingr.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Recipes_By_Filename\\comma\\drvRecipe\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+sStoreDir+\\quot\\recipe.dta\\quot\\)//crlf////crlf////tab////tab////tab////clear any \\quot\\active\\quot\\ and \\quot\\pack\\quot\\ flags that are currently set//crlf////tab////tab////tab//driverSetFilter(drvIngr\\comma\\\\quot\\(pack) or (active)\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvIngr\\comma\\false)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\active\\quot\\\\comma\\n\\comma\\false)//crlf////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\pack\\quot\\\\comma\\n\\comma\\false)//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverSetFilter(drvRecipe\\comma\\\\quot\\(pack) or (active)\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvRecipe\\comma\\false)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//driverPutField(drvRecipe\\comma\\\\quot\\active\\quot\\\\comma\\n\\comma\\false)//crlf////tab////tab////tab////tab//driverPutField(drvRecipe\\comma\\\\quot\\pack\\quot\\\\comma\\n\\comma\\false)//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////initialize hashtables used to record active record numbers//crlf////tab////tab////tab////The key is the record number and the value is just a 1\\comma\\ indicating the record is active//crlf////tab////tab////tab//hashCreate(hashActiveIngr)//crlf////tab////tab////tab//hashCreate(hashActiveRecipe)//crlf////crlf////tab////tab////tab////flag active inventory items and recipes//crlf////tab////tab////tab//if((bExcludeActiveItems) or (bExcludeActiveRecipes) or (bPackInactiveRecipes))//crlf////tab////tab////tab////tab//dt1=dtStart//crlf////tab////tab////tab////tab//dt2=now()//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Looking for active records beginning \\quot\\+formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//while(dt1<=dt2)//crlf////tab////tab////tab////tab////tab////check inventory count//crlf////tab////tab////tab////tab////tab//s=sStoreDir+formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)+\\quot\\.cnt\\quot\\//crlf////tab////tab////tab////tab////tab//if(fileExists(s))//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Reading records in \\quot\\+s)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Count\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s)//crlf////tab////tab////tab////tab////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab////tab//if(driverGetFieldAbsolute(d\\comma\\\\quot\\ID_TCOUNTREC_ACTUAL\\quot\\\\comma\\n)>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//hashPut(hashActiveIngr\\comma\\driverGetFieldAbsolute(d\\comma\\\\quot\\ID_TCOUNTREC_ITEM\\quot\\\\comma\\n)\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////check invoices//crlf////tab////tab////tab////tab////tab//s=sStoreDir+formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)+\\quot\\.pay\\quot\\//crlf////tab////tab////tab////tab////tab//if(fileExists(s))//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Reading records in \\quot\\+s)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(Aspect6_Invoice_Details_By_Filename\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s)//crlf////tab////tab////tab////tab////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(hashActiveIngr\\comma\\driverGetFieldAbsolute(d\\comma\\\\quot\\ID_TINVOICEDTLREC_INGREDIENT\\quot\\\\comma\\n)\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////check legitimate usages//crlf////tab////tab////tab////tab////tab//s=sStoreDir+formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)+\\quot\\.usg\\quot\\//crlf////tab////tab////tab////tab////tab//if(fileExists(s))//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Reading records in \\quot\\+s)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(Aspect6_Legitimate_Usage_By_Filename\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s)//crlf////tab////tab////tab////tab////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(hashActiveIngr\\comma\\driverGetFieldAbsolute(d\\comma\\\\quot\\Item_Index\\quot\\\\comma\\n)\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////check sales mix//crlf////tab////tab////tab////tab////tab//s=sStoreDir+formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)+\\quot\\.mix\\quot\\//crlf////tab////tab////tab////tab////tab//if(fileExists(s))//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Reading records in \\quot\\+s)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Sales_Mix_By_Filename\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s)//crlf////tab////tab////tab////tab////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab////tab//if(driverGetFieldAbsolute(d\\comma\\\\quot\\Sold\\quot\\\\comma\\n)>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//hashPut(hashActiveRecipe\\comma\\driverGetFieldAbsolute(d\\comma\\\\quot\\ID_TSALESMIXREC_INDEX\\quot\\\\comma\\n)\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////add active items from external file//crlf////tab////tab////tab////tab//ExternalItemsFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\aspect6\active_items.csv\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(ExternalItemsFilename))//crlf////tab////tab////tab////tab////tab//cMaxRecords=driverGetRecordCount(drvIngr\\comma\\true)//crlf////tab////tab////tab////tab////tab//cItemCount1=hashSize(hashActiveIngr)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Adding active items from external file: \\quot\\+ExternalItemsFilename)//crlf////tab////tab////tab////tab////tab//arExternal=fileGetContent(ExternalItemsFilename)//crlf////tab////tab////tab////tab////tab//cExternal=getElementCount(arExternal)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\External file contains \\quot\\+cExternal+\\quot\\ elements\\quot\\)//crlf////tab////tab////tab////tab////tab//nExternal=0//crlf////tab////tab////tab////tab////tab//while(nExternal<cExternal)//crlf////tab////tab////tab////tab////tab////tab//r=getElement(arExternal\\comma\\nExternal)//crlf////tab////tab////tab////tab////tab////tab//if(r<cMaxRecords)//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(hashActiveIngr\\comma\\r\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Cannot add active item because index is beyond file size: \\quot\\+r)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//nExternal=nExternal+1//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//cItemCount2=hashSize(hashActiveIngr)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Count1: \\quot\\+cItemCount1+\\quot\\ Count2: \\quot\\+cItemCount2)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Added \\quot\\+(cItemCount2-cItemCount1)+\\quot\\ active items from external file\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\No external active items found in \\quot\\+ExternalItemsFilename)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////add active recipes from external file//crlf////tab////tab////tab////tab//ExternalRecipesFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\aspect6\active_recipes.csv\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(ExternalRecipesFilename))//crlf////tab////tab////tab////tab////tab//cMaxRecords=driverGetRecordCount(drvRecipe\\comma\\true)//crlf////tab////tab////tab////tab////tab//cItemCount1=hashSize(hashActiveRecipe)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Adding active recipes from external file: \\quot\\+ExternalRecipesFilename)//crlf////tab////tab////tab////tab////tab//arExternal=fileGetContent(ExternalRecipesFilename)//crlf////tab////tab////tab////tab////tab//cExternal=getElementCount(arExternal)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\External file contains \\quot\\+cExternal+\\quot\\ elements\\quot\\)//crlf////tab////tab////tab////tab////tab//nExternal=0//crlf////tab////tab////tab////tab////tab//while(nExternal<cExternal)//crlf////tab////tab////tab////tab////tab////tab//r=getElement(arExternal\\comma\\nExternal)//crlf////tab////tab////tab////tab////tab////tab//if(r<cMaxRecords)//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(hashActiveRecipe\\comma\\r\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Cannot add active recipe because index is beyond file size: \\quot\\+r)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//nExternal=nExternal+1//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//cItemCount2=hashSize(hashActiveRecipe)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Count1: \\quot\\+cItemCount1+\\quot\\ Count2: \\quot\\+cItemCount2)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Added \\quot\\+(cItemCount2-cItemCount1)+\\quot\\ active recipes from external file\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\No external active recipes found in \\quot\\+ExternalRecipesFilename)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////record the active records accumulated in the hashtables in the drivers//crlf////tab////tab////tab////tab//a=hashGetKeys(hashActiveIngr)//crlf////tab////tab////tab////tab//c=getElementCount(a)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvIngr\\comma\\\\quot\\active\\quot\\\\comma\\getElement(a\\comma\\n)\\comma\\true)//crlf////tab////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//a=hashGetKeys(hashActiveRecipe)//crlf////tab////tab////tab////tab//c=getElementCount(a)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\active\\quot\\\\comma\\getElement(a\\comma\\n)\\comma\\true)//crlf////tab////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////tab////set flags for records that will be purged//crlf////tab////tab////tab//if(bPackItems)//crlf////tab////tab////tab////tab//sFilter=\\quot\\((ID_TINGREDIENTREC_DELETED) or (not(ID_RESERVED_USED)))\\quot\\//crlf////tab////tab////tab////tab//if(bExcludeActiveItems)//crlf////tab////tab////tab////tab////tab//sFilter=sFilter + \\quot\\ and (not(Active))\\quot\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////tab////tab////sFilter=sFilter+if(\\quot\\__PackMethod__\\quot\\=\\quot\\inactive\\quot\\\\comma\\\\quot\\ and (not(Active))\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sFilter=sFilter+if(bPackInActiveInventoryItems\\comma\\\\quot\\ and (not(Active))\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//driverSetFilter(drvIngr\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab////tab//c=driverGetRecordCount(drvIngr)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Number of inventory items to pack=\\quot\\+c)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\pack\\quot\\\\comma\\n\\comma\\true)//crlf////tab////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(bPackRecipes)//crlf////tab////tab////tab////tab////create a hashtable of recipes that will be packed//crlf////tab////tab////tab////tab//hashCreate(hashRecipesToPack)//crlf////crlf////tab////tab////tab////tab//sFilter=\\quot\\(ID_TRECIPEHDRREC_DELETED)\\quot\\//crlf////tab////tab////tab////tab//if(bExcludeActiveRecipes)//crlf////tab////tab////tab////tab////tab//sFilter=sFilter + \\quot\\ and (not(Active))\\quot\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////tab//if(bPackInactiveRecipes) //crlf////tab////tab////tab////tab////tab//sFilter=\\quot\\(\\quot\\ + sFilter + \\quot\\) or ((not(Active)) and (not(Lookup_Is_Batch_Recipe)))\\quot\\//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//appendToLog(\\quot\\Pack recipes filter: \\quot\\+sFilter)//crlf////tab////tab////tab////tab//driverSetFilter(drvRecipe\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab////tab//c=driverGetRecordCount(drvRecipe)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Number of recipes to pack=\\quot\\+c)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//driverPutField(drvRecipe\\comma\\\\quot\\pack\\quot\\\\comma\\n\\comma\\true)//crlf////tab////tab////tab////tab////tab////driverPutField(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_FIRST_INGR\\quot\\\\comma\\n\\comma\\0)//crlf////crlf////tab////tab////tab////tab////tab////pack the associated inventory record//crlf////tab////tab////tab////tab////tab//hashPut(hashRecipesToPack\\comma\\driverGetAbsoluteIndex(drvRecipe\\comma\\n)\\comma\\true)//crlf////tab////tab////tab////tab////tab////IngrIndex=driverGetField(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_INGR_INDEX\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////driverPutFieldAbsolute(drvIngr\\comma\\\\quot\\pack\\quot\\\\comma\\IngrIndex\\comma\\true)//crlf////crlf////tab////tab////tab////tab////tab//if(remainder(n\\comma\\1000)=0)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Setting pack flag for recipe record \\quot\\+n+\\quot\\ of \\quot\\+(c-1))//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////pack inventory items that point to recipes that will be packed//crlf////tab////tab////tab////tab////This makes sure that records are removed in the event that more than one//crlf////tab////tab////tab////tab////ingr record exists for a given recipe index.//crlf////tab////tab////tab////tab////Also pack any inventory items with a recipe index that is beyond the size//crlf////tab////tab////tab////tab////of the recipe file//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Setting pack flag for inventory items associated with recipes to be packed\\quot\\)//crlf////tab////tab////tab////tab//cRecipeRecordCount=driverGetRecordCount(drvRecipe\\comma\\true)//crlf////tab////tab////tab////tab//sFilter=\\quot\\(ID_TRECIPEINFOREC_ISRECIPE)\\quot\\//crlf////tab////tab////tab////tab//driverSetFilter(drvIngr\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab////tab//cToPack=0//crlf////tab////tab////tab////tab//c=driverGetRecordCount(drvIngr)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//RecipeIndex=driverGetField(drvIngr\\comma\\\\quot\\ID_TRECIPEINFOREC_INDEX\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//if(RecipeIndex>cRecipeRecordCount-1) //crlf////tab////tab////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\pack\\quot\\\\comma\\n\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//cToPack=cToPack+1//crlf////tab////tab////tab////tab////tab//elseif(hashContainsKey(hashRecipesToPack\\comma\\RecipeIndex))//crlf////tab////tab////tab////tab////tab////tab//driverPutField(drvIngr\\comma\\\\quot\\pack\\quot\\\\comma\\n\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//cToPack=cToPack+1//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Set pack flag for \\quot\\+cToPack+\\quot\\ items associated with recipes\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////close drivers//crlf////tab////tab////tab//driverClose(drvIngr)//crlf////tab////tab////tab//driverClose(drvRecipe)//crlf////crlf////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//============================================================================//crlf//packFiles//crlf//============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\packFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreDir - Directory containing files//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////abort if store directory is missing or invalid//crlf////tab////tab////tab//if((startsWith(\\quot\\__storedir__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (not(dirExists(\\quot\\__storedir__\\quot\\))))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid store directory: __StoreDir__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//StoreDir=addDirSlash(\\quot\\__StoreDir__\\quot\\)//crlf////tab////tab////tab//PackDir=StoreDir+\\quot\\pack/\\quot\\//crlf////crlf////tab////tab////tab////abort if ingr.dta is not found//crlf////tab////tab////tab//if(not(fileExists(PackDir+\\quot\\ingr.dta\\quot\\)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Cannot find \\quot\\+StoreDir+\\quot\\ingr.dta\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if recipe.dta is not found//crlf////tab////tab////tab//if(not(fileExists(PackDir+\\quot\\recipe.dta\\quot\\)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Cannot find \\quot\\+StoreDir+\\quot\\recipe.dta\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////copy records that are not flagged to be packed//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Items_By_Filename\\comma\\drvIngr\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+PackDir+\\quot\\ingr.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Items_By_Filename\\comma\\drvIngrNew\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+PackDir+\\quot\\ingr.new\\quot\\)//crlf////tab////tab////tab//c=driverGetRecordCount(drvIngr\\comma\\true)//crlf////tab////tab////tab//cKeepIngr=0//crlf////tab////tab////tab//cPackIngr=0//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//if(remainder(n\\comma\\1000)=0)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Packing inventory item record \\quot\\+n+\\quot\\ of \\quot\\+(c-1))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//bPack=driverGetFieldAbsolute(drvIngr\\comma\\\\quot\\pack\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(not(bPack))//crlf////tab////tab////tab////tab////tab////copy records that are not flagged for packing//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvIngr\\comma\\\\quot\\Previous_Record_Number\\quot\\\\comma\\n\\comma\\n)//tab////crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvIngr\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\\\comma\\n\\comma\\cKeepIngr)//tab////crlf////tab////tab////tab////tab////tab//driverCopyRecord(drvIngr\\comma\\n\\comma\\drvIngrNew)//crlf////tab////tab////tab////tab////tab//cKeepIngr=cKeepIngr+1//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//cPackIngr=cPackIngr+1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//appendToLog(\\quot\\Packing inventory item record \\quot\\+n+\\quot\\ of \\quot\\+(c-1))//crlf////tab////tab////tab//driverClose(drvIngr)//crlf////tab////tab////tab//driverClose(drvIngrNew)//crlf////crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Recipes_By_Filename\\comma\\drvRecipe\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+PackDir+\\quot\\recipe.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Recipes_By_Filename\\comma\\drvRecipeNew\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+PackDir+\\quot\\recipe.new\\quot\\)//crlf////tab////tab////tab//c=driverGetRecordCount(drvRecipe\\comma\\true)//crlf////tab////tab////tab//cKeepRecipe=0//crlf////tab////tab////tab//cPackRecipe=0//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//if(remainder(n\\comma\\1000)=0)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Packing recipe record \\quot\\+n+\\quot\\ of \\quot\\+(c-1))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//bPack=driverGetFieldAbsolute(drvRecipe\\comma\\\\quot\\pack\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(not(bPack))//crlf////tab////tab////tab////tab////tab////copy records that are not flagged for packing//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\Previous_Record_Number\\quot\\\\comma\\n\\comma\\n)//tab////crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\\\comma\\n\\comma\\cKeepRecipe)//tab////crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_FIRST_INGR\\quot\\\\comma\\n\\comma\\-1)//crlf////tab////tab////tab////tab////tab//driverCopyRecord(drvRecipe\\comma\\n\\comma\\drvRecipeNew)//crlf////tab////tab////tab////tab////tab//cKeepRecipe=cKeepRecipe+1//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//cPackRecipe=cPackRecipe+1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//appendToLog(\\quot\\Packing recipe record \\quot\\+n+\\quot\\ of \\quot\\+(c-1))//crlf////tab////tab////tab//driverClose(drvRecipe)//crlf////tab////tab////tab//driverClose(drvRecipeNew)//crlf////crlf////tab////tab////tab////delete the old files and rename the new ones//crlf////tab////tab////tab//fileDelete(PackDir+\\quot\\ingr.dta\\quot\\)//crlf////tab////tab////tab//fileDelete(PackDir+\\quot\\recipe.dta\\quot\\)//crlf////crlf////tab////tab////tab//if(fileExists(PackDir+\\quot\\ingr.dta\\quot\\))//crlf////tab////tab////tab////tab//fileDelete(PackDir+\\quot\\ingr.dta\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(fileExists(PackDir+\\quot\\recipe.dta\\quot\\))//crlf////tab////tab////tab////tab//fileDelete(PackDir+\\quot\\recipe.dta\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//fileRename(PackDir+\\quot\\ingr.new\\quot\\\\comma\\PackDir+\\quot\\ingr.dta\\quot\\)//crlf////tab////tab////tab//fileRename(PackDir+\\quot\\recipe.new\\quot\\\\comma\\PackDir+\\quot\\recipe.dta\\quot\\)//crlf////crlf////tab////tab////tab////give an error if either file could not be renamed//crlf////tab////tab////tab//if(fileExists(PackDir+\\quot\\ingr.new\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Unable to rename ingr.new to ingr.dta\\quot\\)//crlf////tab////tab////tab////tab//exit//tab////tab////tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(fileExists(PackDir+\\quot\\recipe.new\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Unable to rename recipe.new to recipe.dta\\quot\\)//crlf////tab////tab////tab////tab//exit//tab////tab////tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Packed \\quot\\+cPackIngr+\\quot\\ inventory items.  Retained \\quot\\+cKeepIngr+\\quot\\ records\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Packed \\quot\\+cPackRecipe+\\quot\\ recipes.  Retained \\quot\\+cKeepRecipe+\\quot\\ records\\quot\\)//crlf////crlf////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:false>//crlf//============================================================================//crlf//updateRecordNumbers//crlf//============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateRecordNumbers\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreDir - Directory containing files//crlf////tab////tab//StartDate//tab//- Starting date of files that will be packed in MM-dd-yyyy format//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateRecordNumbers\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//profile()//crlf////crlf////tab////tab////tab////abort if store directory is missing or invalid//crlf////tab////tab////tab//if((startsWith(\\quot\\__storedir__\\quot\\\\comma\\\\quot\\__\\quot\\)) or (not(dirExists(\\quot\\__storedir__\\quot\\))))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid store directory: __StoreDir__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//StoreDir=addDirSlash(\\quot\\__StoreDir__\\quot\\)//crlf////tab////tab////tab//PackDir=StoreDir+\\quot\\pack/\\quot\\//crlf////crlf////tab////tab////tab////abort if start date is missing//crlf////tab////tab////tab//if(startsWith(\\quot\\__StartDate__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing start date: __StartDate__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if ingr.dta is not found//crlf////tab////tab////tab//if(not(fileExists(PackDir+\\quot\\ingr.dta\\quot\\)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Cannot find \\quot\\+StoreDir+\\quot\\ingr.dta\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if recipe.dta is not found//crlf////tab////tab////tab//if(not(fileExists(PackDir+\\quot\\recipe.dta\\quot\\)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Cannot find \\quot\\+StoreDir+\\quot\\recipe.dta\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if recpingr.dta is not found//crlf////tab////tab////tab//if(not(fileExists(PackDir+\\quot\\recipe.dta\\quot\\)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Cannot find \\quot\\+StoreDir+\\quot\\recpingr.dta\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open drivers - use the drivers that are set to pack on close//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Items_By_Filename\\comma\\drvIngr\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+PackDir+\\quot\\ingr.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Recipes_By_Filename\\comma\\drvRecipe\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+PackDir+\\quot\\recipe.dta\\quot\\)//crlf////crlf////tab////tab////tab////create hashtables of record numbers.  The key is the previous record number and the//crlf////tab////tab////tab////value is the current record number//crlf////tab////tab////tab//hashCreate(hashIngr)//crlf////tab////tab////tab//hashCreate(hashRecipe)//crlf////tab////tab////tab////crlf////tab////tab////tab//c=driverGetRecordCount(drvIngr\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//sKeys=\\quot\\\\quot\\//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//iPrevRecord=driverGetFieldAbsolute(drvIngr\\comma\\\\quot\\Previous_Record_Number\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//hashPut(hashIngr\\comma\\iPrevRecord\\comma\\n)//crlf////tab////tab////tab////tab//sKeys=sKeys+n+\\quot\\\\comma\\\\quot\\+iPrevRecord+char(13)+char(10)//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//fileWriteContent(StoreDir+\\quot\\ingrkeys.csv\\quot\\\\comma\\sKeys)//crlf////crlf////tab////tab////tab//c=driverGetRecordCount(drvRecipe\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//sKeys=\\quot\\\\quot\\//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//iPrevRecord=driverGetFieldAbsolute(drvRecipe\\comma\\\\quot\\Previous_Record_Number\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//hashPut(hashRecipe\\comma\\iPrevRecord\\comma\\n)//crlf////tab////tab////tab////tab//sKeys=sKeys+n+\\quot\\\\comma\\\\quot\\+iPrevRecord+char(13)+char(10)//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//fileWriteContent(StoreDir+\\quot\\recpkeys.csv\\quot\\\\comma\\sKeys)//crlf////crlf////tab////tab////tab////update the record numbers in all affected files//crlf////tab////tab////tab//dt1=parseTime(\\quot\\__StartDate__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt2=now()//crlf////tab////tab////tab//appendToLog(\\quot\\Updating record numbers in files beginning \\quot\\+formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//while(dt1<=dt2)//crlf////tab////tab////tab////tab//t=now()//crlf////tab////tab////tab////tab////check inventory count//crlf////tab////tab////tab////tab//s=PackDir+formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)+\\quot\\.cnt\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(s))//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Updating records in \\quot\\+s)//crlf////tab////tab////tab////tab////tab//s1=replaceSubstring(s\\comma\\\\quot\\.cnt\\quot\\\\comma\\\\quot\\._nt\\quot\\)//crlf////tab////tab////tab////tab////tab//fileRename(s\\comma\\s1)//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Count\\comma\\d1\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s1)//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Inventory_Count\\comma\\d2\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s)//crlf////tab////tab////tab////tab////tab//c=driverGetRecordCount(d1\\comma\\true)//crlf////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab//rOld=driverGetFieldAbsolute(d1\\comma\\\\quot\\ID_TCOUNTREC_ITEM\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hashIngr\\comma\\rOld))//crlf////tab////tab////tab////tab////tab////tab////tab//driverCopyRecord(d1\\comma\\n\\comma\\d2)//crlf////tab////tab////tab////tab////tab////tab////tab//r=driverGetRecordCount(d2\\comma\\true)-1//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d2\\comma\\\\quot\\ID_TCOUNTREC_ITEM\\quot\\\\comma\\r\\comma\\hashGet(hashIngr\\comma\\rOld))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//driverClose(d1)//crlf////tab////tab////tab////tab////tab//driverClose(d2)//crlf////tab////tab////tab////tab////tab//fileDelete(s1)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//VerifyHeader=validateAspect6Header(s\\comma\\\\quot\\Aspect6_Structure_TCountrec\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////tab////check invoices//crlf////tab////tab////tab////tab//s=PackDir+formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)+\\quot\\.pay\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(s))//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Updating records in \\quot\\+s)//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect6_Invoice_Details_By_Filename\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s)//crlf////tab////tab////tab////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab//rOld=driverGetFieldAbsolute(d\\comma\\\\quot\\ID_TINVOICEDTLREC_INGREDIENT\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hashIngr\\comma\\rOld))//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\ID_TINVOICEDTLREC_INGREDIENT\\quot\\\\comma\\n\\comma\\hashGet(hashIngr\\comma\\rOld))//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Invoices: Could not update index for record: \\quot\\+n+\\quot\\ Old index: \\quot\\+rOld)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////check usg files//crlf////tab////tab////tab////tab//s=PackDir+formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)+\\quot\\.usg\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(s))//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Updating records in \\quot\\+s)//crlf////tab////tab////tab////tab////tab//s1=replaceSubstring(s\\comma\\\\quot\\.usg\\quot\\\\comma\\\\quot\\._sg\\quot\\)//crlf////tab////tab////tab////tab////tab//fileRename(s\\comma\\s1)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//driverOpen(Aspect6_Legitimate_Usage_By_Filename\\comma\\d1\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s1)//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect6_Legitimate_Usage_By_Filename\\comma\\d2\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s)//crlf////crlf////tab////tab////tab////tab////tab//c=driverGetRecordCount(d1\\comma\\true)//crlf////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab//rOld=driverGetFieldAbsolute(d1\\comma\\\\quot\\Item_Index\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hashIngr\\comma\\rOld))//crlf////tab////tab////tab////tab////tab////tab////tab////r=driverAddNewRecord(d2)//crlf////tab////tab////tab////tab////tab////tab////tab//driverCopyRecord(d1\\comma\\n\\comma\\d2)//crlf////tab////tab////tab////tab////tab////tab////tab//r=driverGetRecordCount(d2\\comma\\true)-1//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d2\\comma\\\\quot\\Item_Index\\quot\\\\comma\\r\\comma\\hashGet(hashIngr\\comma\\rOld))//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d2\\comma\\\\quot\\ID\\quot\\\\comma\\r\\comma\\hashGet(hashIngr\\comma\\rOld))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////tab//driverClose(d1)//crlf////tab////tab////tab////tab////tab//driverClose(d2)//crlf////tab////tab////tab////tab////tab//fileDelete(s1)//crlf////crlf////tab////tab////tab////tab////tab//VerifyHeader=validateAspect6Header(s\\comma\\\\quot\\Aspect6_Legitimate_Usage\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////check sales mix//crlf////tab////tab////tab////tab//s=PackDir+formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)+\\quot\\.mix\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(s))//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Updating records in \\quot\\+s)//crlf////tab////tab////tab////tab////tab//s1=replaceSubstring(s\\comma\\\\quot\\.mix\\quot\\\\comma\\\\quot\\._ix\\quot\\)//crlf////tab////tab////tab////tab////tab//fileRename(s\\comma\\s1)//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Sales_Mix_By_Filename\\comma\\d1\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s1)//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect6_Driver_Sales_Mix_By_Filename\\comma\\d2\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+s)//crlf////tab////tab////tab////tab////tab//c=driverGetRecordCount(d1\\comma\\true)//crlf////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab//rOld=driverGetFieldAbsolute(d1\\comma\\\\quot\\ID_TSALESMIXREC_INDEX\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hashRecipe\\comma\\rOld))//crlf////tab////tab////tab////tab////tab////tab////tab//driverCopyRecord(d1\\comma\\n\\comma\\d2)//crlf////tab////tab////tab////tab////tab////tab////tab//r=driverGetRecordCount(d2\\comma\\true)-1//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d2\\comma\\\\quot\\ID_TSALESMIXREC_INDEX\\quot\\\\comma\\r\\comma\\hashGet(hashRecipe\\comma\\rOld))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//driverClose(d1)//crlf////tab////tab////tab////tab////tab//driverClose(d2)//crlf////tab////tab////tab////tab////tab//fileDelete(s1)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//s=appendToLog(\\quot\\Packed files: \\quot\\+formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\ [\\quot\\+(now()-t)+\\quot\\ms]\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\PackFileStatus\\quot\\\\comma\\s)//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////update recipe index and count index in ingr.dta//crlf////tab////tab////tab//appendToLog(\\quot\\Updating recipe index in ingr.dta\\quot\\)//crlf////tab////tab////tab//c=driverGetRecordCount(drvIngr\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//rOld=driverGetFieldAbsolute(drvIngr\\comma\\\\quot\\ID_TRECIPEINFOREC_INDEX\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(hashContainsKey(hashRecipe\\comma\\rOld))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvIngr\\comma\\\\quot\\ID_TRECIPEINFOREC_INDEX\\quot\\\\comma\\n\\comma\\hashGet(hashRecipe\\comma\\rOld))//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Could not update recipe index in ingr for record: \\quot\\+n+\\quot\\ Old index: \\quot\\+rOld+\\quot\\ Hash size: \\quot\\+hashSize(hashRecipe))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//bIsRecipe=driverGetFieldAbsolute(drvIngr\\comma\\\\quot\\ID_TRECIPEINFOREC_ISRECIPE\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(bIsRecipe)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvIngr\\comma\\\\quot\\ID_TCOUNTREC_ITEM\\quot\\\\comma\\n\\comma\\0)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvIngr\\comma\\\\quot\\ID_TCOUNTREC_ITEM\\quot\\\\comma\\n\\comma\\n)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab////update ingredient index in recipe.dta//crlf////tab////tab////tab//appendToLog(\\quot\\Updating ingr index in recipe.dta\\quot\\)//crlf////tab////tab////tab//c=driverGetRecordCount(drvRecipe\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//rOld=driverGetFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_INGR_INDEX\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(hashContainsKey(hashIngr\\comma\\rOld))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_INGR_INDEX\\quot\\\\comma\\n\\comma\\hashGet(hashIngr\\comma\\rOld))//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Could not update ingredient index in recipe for record: \\quot\\+n+\\quot\\ Old index: \\quot\\+rOld+\\quot\\ Hash size: \\quot\\+hashSize(hashIngr))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////update indices in recpingr.dta and remove deleted records//crlf////tab////tab////tab//appendToLog(\\quot\\Updating records in recpingr.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\Aspect6_Driver_Recipe_Ingredients_By_Filename\\quot\\\\comma\\drvRecpIngr\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+PackDir+\\quot\\recpingr.dta\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\Aspect6_Driver_Recipe_Ingredients_By_Filename\\quot\\\\comma\\drvRecpIngrNew\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+PackDir+\\quot\\recpingr.new\\quot\\)//crlf////tab////tab////tab//hashCreate(hFirstIngr)//crlf////tab////tab////tab//c=driverGetRecordCount(drvRecpIngr\\comma\\true)//crlf////tab////tab////tab//cKeepRecpIngr=0//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//ItemIndex=driverGetFieldAbsolute(drvRecpIngr\\comma\\\\quot\\ID_TRECIPEDTLREC_INGR_INDEX\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//RecipeIndex=driverGetFieldAbsolute(drvRecpIngr\\comma\\\\quot\\ID_TRECIPEDTLREC_RECP_INDEX\\quot\\\\comma\\n)//crlf////tab////tab////crlf////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecpIngr\\comma\\\\quot\\ID_TRECIPEDTLREC_NEXT_INGR\\quot\\\\comma\\n\\comma\\-1)//crlf////crlf////tab////tab////tab////tab////update the inventory item record number//crlf////tab////tab////tab////tab//if(hashContainsKey(hashIngr\\comma\\ItemIndex))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecpIngr\\comma\\\\quot\\ID_TRECIPEDTLREC_INGR_INDEX\\quot\\\\comma\\n\\comma\\hashGet(hashIngr\\comma\\ItemIndex))//crlf////crlf////tab////tab////tab////tab////tab////update the recipe record number//crlf////tab////tab////tab////tab////tab//if(hashContainsKey(hashRecipe\\comma\\RecipeIndex))//crlf////tab////tab////tab////tab////tab////tab//NewRecipeIndex=hashGet(hashRecipe\\comma\\RecipeIndex)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecpIngr\\comma\\\\quot\\ID_TRECIPEDTLREC_RECP_INDEX\\quot\\\\comma\\n\\comma\\NewRecipeIndex)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecpIngr\\comma\\\\quot\\ID_RESERVED_DISKINDEX\\quot\\\\comma\\n\\comma\\cKeepRecpIngr)//tab////crlf////crlf////tab////tab////tab////tab////tab////tab////set the First_Ingr field in the recipe record//crlf////tab////tab////tab////tab////tab////tab//if(not(hashContainsKey(hFirstIngr\\comma\\NewRecipeIndex)))//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(hFirstIngr\\comma\\NewRecipeIndex\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab////tab////driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_FIRST_INGR\\quot\\\\comma\\NewRecipeIndex\\comma\\cKeepRecpIngr)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////copy the record to the new file//crlf////tab////tab////tab////tab////tab////tab//driverCopyRecord(drvRecpIngr\\comma\\n\\comma\\drvRecpIngrNew)//crlf////tab////tab////tab////tab////tab////tab//cKeepRecpIngr=cKeepRecpIngr+1//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////crlf////tab////tab////tab////set the next_ingr field for all records in recpingr//crlf////tab////tab////tab//n=driverGetRecordCount(drvRecpIngrNew\\comma\\true)-1//crlf////tab////tab////tab//appendToLog(\\quot\\Setting next_ingr field for \\quot\\+n+\\quot\\ recipe ingredients\\quot\\)//crlf////tab////tab////tab//while(n>=0)//crlf////tab////tab////tab////tab//NextIngr=driverGetFieldAbsolute(drvRecpIngrNew\\comma\\\\quot\\ID_TRECIPEDTLREC_NEXT_INGR\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//RecipeIndex=driverGetFieldAbsolute(drvRecpIngrNew\\comma\\\\quot\\ID_TRECIPEDTLREC_RECP_INDEX\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//FirstIngr=driverGetFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_FIRST_INGR\\quot\\\\comma\\RecipeIndex)//crlf////tab////tab////tab////tab//if(NextIngr<>FirstIngr)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecpIngrNew\\comma\\\\quot\\ID_TRECIPEDTLREC_NEXT_INGR\\quot\\\\comma\\n\\comma\\FirstIngr)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//driverPutFieldAbsolute(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_FIRST_INGR\\quot\\\\comma\\RecipeIndex\\comma\\n)//crlf////tab////tab////tab////tab//n=n-1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////set first_ingr to 0 for all recipes with a first_ingr of -1//crlf////tab////tab////tab//driverSetFilter(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_FIRST_INGR=-1\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(drvRecipe)//crlf////tab////tab////tab//appendToLog(\\quot\\Setting First_Ingr to 0 for \\quot\\+c+\\quot\\ recipe records\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//driverPutField(drvRecipe\\comma\\\\quot\\ID_TRECIPEHDRREC_FIRST_INGR\\quot\\\\comma\\n\\comma\\0)//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(drvRecpIngr)//crlf////tab////tab////tab//driverClose(drvRecpIngrNew)//crlf////crlf////tab////tab////tab////replace the original recpingr.dta file with the new one//crlf////tab////tab////tab//fileDelete(PackDir+\\quot\\recpingr.dta\\quot\\)//crlf////tab////tab////tab//fileRename(PackDir+\\quot\\recpingr.new\\quot\\\\comma\\PackDir+\\quot\\recpingr.dta\\quot\\)//crlf////crlf////tab////tab////tab////close the drivers//crlf////tab////tab////tab//driverClose(drvIngr)//crlf////tab////tab////tab//driverClose(drvRecipe)//crlf////crlf////tab////tab////tab////=============================================================//tab////tab////tab////crlf////tab////tab////tab////11-25-15: Copying of the files was added to this routine because the script//crlf////tab////tab////tab////was being terminated as inactive//crlf////tab////tab////tab////=============================================================//tab////tab////tab////crlf////crlf////tab////tab////tab////get list of files in the pack directory//crlf////tab////tab////tab//a=getMatchingFiles(PackDir+\\quot\\*.*\\quot\\\\comma\\false\\comma\\false)//crlf////crlf////tab////tab////tab////copy files to the store directory//crlf////tab////tab////tab//c=getElementCount(a\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//FileFrom=getElement(a\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//FileTo=StoreDir+fileName(FileFrom)+fileExt(FileFrom)//crlf////tab////tab////tab////tab//msg=fileCopy(FileFrom\\comma\\FileTo)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Copy \\quot\\+FileFrom+\\quot\\ to \\quot\\+FileTo+\\quot\\: \\quot\\+msg)//crlf////tab////tab////tab////tab//if(msg<>\\quot\\ok\\quot\\)//crlf////tab////tab////tab////tab////tab////abort if an error occurs//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error copying \\quot\\+FileFrom+\\quot\\ to \\quot\\+FileTo+\\quot\\: \\quot\\+msg)//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: An error occurred copying files to the store directory.  See the log.\\quot\\)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab////delete ndx files in the store directory//crlf////tab////tab////tab//fileDelete(StoreDir+\\quot\\ingr.ndx\\quot\\)//crlf////tab////tab////tab//fileDelete(StoreDir+\\quot\\recipe.ndx\\quot\\)//crlf////crlf////tab////tab////tab//scriptSetResult(\\quot\\Ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//
^
ID=293118|X=183|Y=2406|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=914235|AgentChildNoNode=665881|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Were the records packed successfully?|AgentNodeTermType=0|
^
ID=665881|X=373|Y=2406|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=An error occurred packing records|AgentNodeTermType=1|
^
ID=534212|X=183|Y=2708|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=197138|AgentChildNoNode=48723|AgentSensor=1|AgentAction=updateRecordNumbers|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Were record numbers updated?|AgentNodeTermType=0|
^
ID=157252|X=373|Y=2816|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=updateRecordNumbers|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=An error occurred while updating record numbers|AgentNodeTermType=1|
^
ID=recp_ingr_table|X=300|Y=120|W=967|H=716|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(startsWith(\\quot\\__StoreDir__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////tab//No store directory specified//crlf//</conditional>//crlf////crlf//<conditional expression:not(startsWith(\\quot\\__StoreDir__\\quot\\\\comma\\\\quot\\__\\quot\\))>//crlf////tab//<h2>Recipes</h2>//crlf////crlf////tab//<b>__StoreDir__ingr.dta</b>//crlf////crlf////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\ParamRecpIngrStoreDir\\quot\\ value=\\quot\\__StoreDir__\\quot\\ param=\\quot\\StoreDir=$value$\\quot\\>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\recpingr_table\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\Aspect6_Driver_Recipe_Ingredients_By_Filename\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=DiskIndex~~pipe~~CacheTtl=0~~pipe~~filename=__StoreDir__recpingr.dta~~pipe~~Metadata=Aspect6_Driver_Recipe_Ingredients_By_Filename\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\DiskIndex\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\Aspect6_Driver_Recipe_Ingredients_By_FilenameDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\ParamRecpIngrStoreDir\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//
^
ID=486672|X=183|Y=218|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=806114|AgentChildNoNode=819851|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=scriptCount(this)\equals\1|AgentNodeActionReturnValue=|AgentNodeComment=Is there only one instance of the agent executing?|AgentNodeTermType=0|
^
ID=819851|X=373|Y=218|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=backupFiles|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Aborted because an instance is already running\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Already executing|AgentNodeTermType=1|
^
ID=322539|X=300|Y=120|W=967|H=716|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//===================================================================================//crlf//This is a quick script used to pack inventory files for a company.  A section is //crlf//created for each HashID containing the pack preferences which include a button to //crlf//initiate the pack.  The contents of the section does not update when the pack is //crlf//complete.  It is necessary to reload the page to see the results.//crlf//===================================================================================//crlf//</conditional>//crlf////crlf//<!-- DEBUGGING -->//crlf//<_include type:expression; expression:htmlConstant(\\quot\\CompanyID\\quot\\\\comma\\\\quot\\__CompanyID__\\quot\\\\comma\\\\quot\\5giaVJp4RHUYyuIZqOtT98Tc\\quot\\)>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<conditional expression:(true) or (\\quot\\__action__\\quot\\=\\quot\\getActiveRecordsArray\\quot\\)>//crlf////tab//<conditional expression:not(defined(\\quot\\__CompanyID__\\quot\\)))>//crlf////tab////tab//Error: Missing company ID//crlf////tab//</conditional>//crlf////tab//<conditional expression:(defined(\\quot\\__CompanyID__\\quot\\))>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:(true) or (\\quot\\__action__\\quot\\=\\quot\\getcontentPackMultipleStores\\quot\\)>//crlf////tab//<conditional expression:not(defined(\\quot\\__CompanyID__\\quot\\)))>//crlf////tab////tab//Error: Missing company ID//crlf////tab//</conditional>//crlf////tab//<conditional expression:(defined(\\quot\\__CompanyID__\\quot\\))>//crlf////tab////tab//<script ID=\\quot\\PackRecords\\quot\\>//crlf////tab////tab////tab//function expandAllPackFileSections(salt) {//crlf////tab////tab////tab////tab//var arDiv=document.getElementById(salt).getElementsByTagName(\\quot\\div\\quot\\);//tab////crlf////tab////tab////tab////tab//for(var i=0;i<arDiv.length;i++) {//crlf////tab////tab////tab////tab////tab//if(arDiv[i].getAttribute(\\quot\\section\\quot\\)) {//crlf////tab////tab////tab////tab////tab////tab//sectionSelected(arDiv[i]\\comma\\true);//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//function collapseAllPackFileSections(salt) {//crlf////tab////tab////tab////tab//var arDiv=document.getElementById(salt).getElementsByTagName(\\quot\\div\\quot\\);//tab////crlf////tab////tab////tab////tab//for(var i=0;i<arDiv.length;i++) {//crlf////tab////tab////tab////tab////tab//if(arDiv[i].getAttribute(\\quot\\section\\quot\\)) {//crlf////tab////tab////tab////tab////tab////tab//sectionSelected(arDiv[i]\\comma\\false);//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//function refreshAllPackFileSections(salt) {//crlf////tab////tab////tab////tab//var arDiv=document.getElementById(salt).getElementsByTagName(\\quot\\div\\quot\\);//tab////crlf////tab////tab////tab////tab//for(var i=0;i<arDiv.length;i++) {//crlf////tab////tab////tab////tab////tab//if((arDiv[i].id) //amp////amp// (arDiv[i].id.startsWith(salt+\\quot\\PackFiles\\quot\\))) {//crlf////tab////tab////tab////tab////tab////tab//arDiv[i].innerHTML=\\quot\\Loading...\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//asynchInclude(arDiv[i]\\comma\\arDiv[i].getAttribute(\\quot\\url\\quot\\)\\comma\\null\\comma\\null);//crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//};//crlf////tab////tab//</script>//crlf////crlf////tab////tab//<div style=\\quot\\margin:10px 0px\\quot\\>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Expand All\\quot\\ onClick=\\quot\\expandAllPackFileSections('__salt__')\\quot\\> //crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Collapse All\\quot\\ onClick=\\quot\\collapseAllPackFileSections('__salt__')\\quot\\> //crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Refresh All\\quot\\ onClick=\\quot\\refreshAllPackFileSections('__salt__')\\quot\\> //crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div ID=\\quot\\__salt__\\quot\\>//crlf////tab////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab////arHashID=\\quot\\1tmy2orfj\\comma\\ebhcrewr6\\comma\\k47sil961\\comma\\tdqyqx6zs\\comma\\w1nc019co\\comma\\ab9z938yu\\comma\\omlwe2kmx\\comma\\bn61scvz5\\comma\\ba0nhttoh\\comma\\ab36fi0ar\\comma\\nm6hi8oaq\\comma\\mu84ofou3\\comma\\4mslcuhbk\\comma\\qi3pvgwr2\\comma\\n692xi1r6\\comma\\q1h8304q5\\comma\\1qcjjmnzh\\comma\\wrad9n41l\\comma\\ivd3schij\\comma\\lhnkcxhd5\\comma\\4pb9y3bdc\\comma\\f6v063zx0\\comma\\rwt276d75\\comma\\zt4ejcp92\\comma\\ublc5gvem\\comma\\59r11qk96\\comma\\tlbqwgxsv\\comma\\c892b9swz\\comma\\ji7jk3zt5\\quot\\//crlf////tab////tab////tab////tab//sFilter=\\quot\\(Company_ID=\\quot\\+quote(\\quot\\__CompanyID__\\quot\\)+\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//sFilter=sFilter+\\quot\\and (Location=\\quot\\+quote(\\quot\\Store\\quot\\)+\\quot\\) and (Days_Since_Active\\quot\\+char(0x3C)+\\quot\\30)\\quot\\//crlf////tab////tab////tab////tab//arHashID=getCollection(\\quot\\Aspect_BackOffice_Computer_Names_By_ID_No_Select\\quot\\\\comma\\sFilter\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\keys\\quot\\)//crlf////tab////tab////tab////tab//c=getElementCount(arHashID)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//s=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////crlf////tab////tab////tab////tab////tab////quick fix to exclude Fat Heads from Pacific Wings//crlf////tab////tab////tab////tab////tab//if(sHashID<>\\quot\\61cn66jv6\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sSection=sHashID+\\quot\\: \\quot\\+lookup(Aspect_BackOffice_Computer_Names_By_ID\\comma\\sHashID)//crlf////tab////crlf////tab////tab////tab////tab////tab////tab////section header//crlf////tab////tab////tab////tab////tab////tab//s=s+gw(\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\\\comma\\\\quot\\Notification Container\\quot\\\\comma\\\\quot\\601689\\quot\\\\comma\\\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=\\quot\\+sSection)//crlf////tab////crlf////tab////tab////tab////tab////tab////tab////section content - refresh icon//crlf////tab////tab////tab////tab////tab////tab//sID=\\quot\\__salt__PackFiles\\quot\\+sHashID//crlf////tab////tab////tab////tab////tab////tab//sOnClick=\\quot\\d=document.getElementById(\\quot\\+quote(sID\\comma\\char(0x27))+\\quot\\)\\quot\\+char(0x3B)//crlf////tab////tab////tab////tab////tab////tab//sOnClick=sOnClick+\\quot\\d.innerHTML='Loading...'\\quot\\+char(0x3B)//crlf////tab////tab////tab////tab////tab////tab//sOnClick=sOnClick+\\quot\\asynchInclude(d\\comma\\d.getAttribute('url')\\comma\\null\\comma\\null)\\quot\\//crlf////tab////tab////tab////tab////tab////tab//s=s+quote(\\quot\\div class='RefreshIconFloatRight' onClick=\\quot\\+sOnClick\\comma\\char(0x3c))+quote(\\quot\\/div\\quot\\\\comma\\char(0x3c))//crlf////tab////crlf////tab////tab////tab////tab////tab////tab////section content - content//crlf////tab////tab////tab////tab////tab////tab//s=s+char(0x3c)+\\quot\\div ID=\\quot\\+quote(sID\\comma\\char(0x27))+\\quot\\ url='__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Pack Aspect6 Inventory Files//amp//ContainerItemID=preferences_dialog//amp//action=getPreferences//amp//source=\\quot\\+sHashID+char(0x27)+char(0x3e)+\\quot\\Loading...\\quot\\+quote(\\quot\\/div\\quot\\\\comma\\char(0x3c))//crlf////tab////crlf////tab////tab////tab////tab////tab////tab////section footer//crlf////tab////tab////tab////tab////tab////tab//s=s+gw(\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\\\comma\\\\quot\\Notification Container\\quot\\\\comma\\\\quot\\601689\\quot\\\\comma\\\\quot\\action=getfooter\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//\\quot\\>//crlf////tab////tab//</div>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//
^
ID=645204|X=183|Y=881|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=214973|AgentChildNoNode=416556|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(\\quot\\__Action__\\quot\\\equals\\\quot\\PackRecords\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Action\equals\PackRecords?|AgentNodeTermType=0|
^
ID=416556|X=533|Y=881|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=974768|AgentChildNoNode=637010|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(\\quot\\__Action__\\quot\\\equals\\\quot\\FlagRecords\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Action\equals\FlagRecords?|AgentNodeTermType=0|
^
ID=950791|X=533|Y=1144|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|
^
ID=421685|X=723|Y=1260|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Exported cost of sales|AgentNodeTermType=0|
^
ID=810749|X=183|Y=2009|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=794498|AgentChildNoNode=|AgentSensor=1|AgentAction=exportCostOfSales|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\//plus//StoreDir//plus//\\quot\\\\amp\\msg\equals\prepack\\quot\\|AgentNodeExpression=|AgentNodeActionReturnValue=COSChecksum1|AgentNodeComment=Export Cost Of Sales|AgentNodeTermType=0|
^
ID=704470|X=755|Y=3546|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Ok: Files were successfully packed\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|
^
ID=794498|X=183|Y=2143|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=109937|AgentChildNoNode=207633|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(COSChecksum1//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Was the cost of sales exported successfully?|AgentNodeTermType=0|
^
ID=207633|X=373|Y=2143|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=COSChecksum1|AgentNodeActionReturnValue=|AgentNodeComment=Could not create cost of sales export|AgentNodeTermType=1|
^
ID=41225|X=755|Y=2999|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=891762|AgentChildNoNode=|AgentSensor=1|AgentAction=exportCostOfSales|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\//plus//StoreDir//plus//\\quot\\\\amp\\msg\equals\postpack\\quot\\|AgentNodeExpression=|AgentNodeActionReturnValue=COSChecksum2|AgentNodeComment=Export a 2nd cost of sales|AgentNodeTermType=1|
^
ID=891762|X=755|Y=3133|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=326444|AgentChildNoNode=58249|AgentSensor=1|AgentAction=exportCostOfSales|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=COSChecksum1\equals\COSChecksum2|AgentNodeActionReturnValue=|AgentNodeComment=Do the cost of sales exports match?|AgentNodeTermType=1|
^
ID=58249|X=1105|Y=3133|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=931225|AgentChildNoNode=657678|AgentSensor=restoreZipFiles|AgentAction=0|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\ //plus// StoreDir //plus// \\quot\\\\amp\\ArchiveName\equals\\\quot\\ //plus// ArchiveName|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Restore the backup|AgentNodeTermType=1|
^
ID=931225|X=1105|Y=3249|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=restoreZipFiles|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Cost of sales did not match.  Files were successfully restored\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Cost of sales did not match.  Backup restored.|AgentNodeTermType=1|
^
ID=764537|X=1135|Y=2857|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=restoreZipFiles|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Could not copy processed files to store directory and could not restore backup\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Could not copy processed files to store directory and could not restore backup|AgentNodeTermType=1|
^
ID=657678|X=1295|Y=3133|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=restoreZipFiles|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Cost of sales did not match and could not restore backup\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Could not restore backup|AgentNodeTermType=1|
^
ID=637010|X=723|Y=881|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=245686|AgentChildNoNode=303772|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(\\quot\\__Action__\\quot\\\equals\\\quot\\ExportCostOfSales\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Action\equals\ExportCostOfSales|AgentNodeTermType=0|
^
ID=245686|X=723|Y=997|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=644049|AgentChildNoNode=|AgentSensor=1|AgentAction=exportCostOfSales|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\//plus//StoreDir//plus//\\quot\\\\amp\\msg\equals\manual\\quot\\|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Export Cost Of Sales|AgentNodeTermType=0|
^
ID=644049|X=723|Y=1131|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=421685|AgentChildNoNode=242045|AgentSensor=1|AgentAction=exportCostOfSales|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Was the export created successfully?|AgentNodeTermType=1|
^
ID=242045|X=913|Y=1131|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Unable to export cost of sales|AgentNodeTermType=1|
^
ID=214973|X=183|Y=997|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=899666|AgentChildNoNode=170521|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=value(getToken(\\quot\\Aspect6CoreVersion\\quot\\))>\equals\1|AgentNodeActionReturnValue=|AgentNodeComment=Is Aspect6 package up to date?|AgentNodeTermType=1|
^
ID=170521|X=373|Y=997|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Aspect6 package is not up to date.  Version\equals\\\quot\\//plus//getToken(\\quot\\Aspect6CoreVersion\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Aspect6 package is not up to date.|AgentNodeTermType=1|
^
ID=424790|X=1073|Y=997|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=216377|AgentChildNoNode=|AgentSensor=0|AgentAction=clearRecordsToPack|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: No action specified\\quot\\|AgentNodeActionReturnValue=Result|AgentNodeComment=No action specified|AgentNodeTermType=1|
^
ID=303772|X=1073|Y=881|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=424790|AgentChildNoNode=422910|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(\\quot\\__Action__\\quot\\\equals\\\quot\\clearRecords\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Action\equals\ClearRecords|AgentNodeTermType=0|
^
ID=422910|X=1263|Y=881|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: No action specified\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Error: No action specified|AgentNodeTermType=1|
^
ID=540415|X=1073|Y=1247|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=clearRecordsToPack|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|
^
ID=216377|X=1073|Y=1131|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=540415|AgentChildNoNode=617682|AgentSensor=1|AgentAction=clearRecordsToPack|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=1|
^
ID=617682|X=1263|Y=1131|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=clearRecordsToPack|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|
^
ID=197138|X=183|Y=2837|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=closeAspect6|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|
^
ID=48723|X=373|Y=2708|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=157252|AgentChildNoNode=713822|AgentSensor=restoreZipFiles|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreDir\equals\\\quot\\ //plus// StoreDir //plus// \\quot\\\\amp\\ArchiveName\equals\\\quot\\ //plus// ArchiveName|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Restore the backup|AgentNodeTermType=0|
^
ID=713822|X=563|Y=2708|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=restoreZipFiles|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\An error occurred and files were not restored\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=An error occurred and files were not restored|AgentNodeTermType=1|
</widget><widget name="Process Aloha Grind Files" group="POS Interface" category="Aloha" description="This agent copies Aloha dbf files to the posdata directory under the aspect 6 program directory.  It has been replaced by Process Aloha Grind Files - 2015.  This agent will not rn if Aspect6 is not installed so it does not come into play for new customers." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Process Aloha Grind Files" modified="12-10-2019 15:27:48" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=03-17-2014 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=15 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="if(hour(now())\\gt\\4,if(getToken(\\quote\\Aspect_BackOffice_Pref_Polling_Location\\quote\\)=\\quote\\Store\\quote\\,if(fileSize(getToken(\\quote\\homedir\\quote\\)+\\quote\\Aspect_BackOffice/store_list.dta\\quote\\)\\gt\\0,if(isPackageLoaded(\\quote\\POS_Aloha\\quote\\),if(dirExists(getToken(\\quote\\Aspect6StartInDirectory\\quote\\)),true,false)))))" TaskConditional_Expression_Description="Runs after 4am, when the POS_Aloha package is loaded and the Aspect6 start-in directory is valid." TaskState_Function="if(boolean(getSystemValue(\\quote\\DevelopmentMode\\quote\\)),1,getFileSpecstate(getToken(\\quote\\homedir\\quote\\) + \\quote\\posdata\*.*\\quote\\) + if(not(dirExists(addDirSlash(getToken(\\quote\\Aspect6StartInDirectory\\quote\\))+formatDate(LastBusinessDay(),\\quote\\yyyyMMdd\\quote\\))),now(),\\quote\\\\quote\\))" TaskState_Expression_Description="Executes when the contents of the posdata directory are modified or when a directory does not exist for the last business day in the posdata directory" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=1187|toolboxy=133|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=750|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Process Aloha Grind Files.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=801|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\top_bar\\quot\\; params:\\quot\\\\quot\\;>^
ID=left_bar|X=0|Y=22|W=121|H=49|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\left_bar\\quot\\; params:\\quot\\startpackage=__startpackage__~~pipe~~package={@\\quot\\__package__\\quot\\}~~pipe~~menu=__menu__\\quot\\;>//crlf//^
ID=AgentStart|X=183|Y=45|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=755897|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=AgentTabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Process Aloha Grind Files\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 01-28-2017 18:25:25//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files\\comma\\AgentDecision\\comma\\755897\\comma\\0\\comma\\Is the Aloha package loaded?//crlf////crlf////tab////tab////Is the Aloha package loaded?//crlf////tab////tab//Result=isPackageLoaded(\\quot\\pos_aloha\\quot\\)//crlf////tab////tab//if(result)//crlf////crlf////tab////tab////tab////Verify Aspect7 store setup (9-4-14 Made a special case to work around a problem at a store)//crlf////tab////tab////tab//Result=getSensorValue(\\quot\\Verify Aspect7 Store Setup\\quot\\)//crlf////tab////tab////tab//if((result=true) or (startsWith(result\\comma\\\\quot\\ok\\quot\\)) or (getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\vabxnnn2s\\quot\\))//crlf////crlf////tab////tab////tab////tab////Is the POS type Aloha?//crlf////tab////tab////tab////tab//POSType=getSensorValue(\\quot\\Get POS Type\\quot\\)//crlf////tab////tab////tab////tab//if(POSType=\\quot\\Aloha\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////Is a POS directory defined?//crlf////tab////tab////tab////tab////tab//POSDir=getSensorValue(\\quot\\Get POS Directory\\quot\\)//crlf////tab////tab////tab////tab////tab//if((len(POSDir)>0) and (not(startsWith(POSDir\\comma\\\\quot\\error\\quot\\))))//crlf////crlf////tab////tab////tab////tab////tab////tab////Get the number of days to synchronize//crlf////tab////tab////tab////tab////tab////tab//SynchDays=getSensorValue(\\quot\\Get Synch Days\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//if((len(result)>0) and (not(startsWith(result\\comma\\\\quot\\error\\quot\\))))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////Is the number of days to synch zero?//crlf////tab////tab////tab////tab////tab////tab////tab//if(SynchDays>0)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////Is the number of days to synch less than 365//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(SynchDays<365)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files\\comma\\AgentDecision\\comma\\541996\\comma\\0\\comma\\Is the Aspect start-in directory valid?  Files will be copied to [start-in directory]\posdata\MMddyyyy.//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////Is the Aspect start-in directory valid?  Files will be copied to [start-in directory]\posdata\MMddyyyy.//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//Result=getToken(\\quot\\Aspect6StartInDirectory\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if((len(trim(result))>0) and (dirExists(result)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files\\comma\\AgentAction\\comma\\890355\\comma\\0\\comma\\Copy timeclock adjustments//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Copy timeclock adjustments//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//execAgentAction(\\quot\\copyTimeclockAdjustments\\quot\\\\comma\\\\quot\\POSDir=\\quot\\\\plus\\POSDir\\plus\\\\quot\\\\amp\\SynchDays=\\quot\\\\plus\\SynchDays)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files\\comma\\AgentDecision\\comma\\465733\\comma\\0\\comma\\Ensure that Aloha grind files have been copied to the posdata directory for all days//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Ensure that Aloha grind files have been copied to the posdata directory for all days//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//Result=getSensorValue(\\quot\\Process Grind Files For Synch Days\\quot\\\\comma\\\\quot\\POSDir=\\quot\\\\plus\\POSDir\\plus\\\\quot\\\\amp\\SynchDays=\\quot\\\\plus\\SynchDays)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(startsWith(result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files\\comma\\AgentTerminate\\comma\\480588\\comma\\0\\comma\\Aloha grind files have been processed and copied to the posdata directory for all days in the synch period.//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: Aloha grind files have been processed and copied to the posdata directory for all days in the synch period.\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files\\comma\\AgentTerminate\\comma\\544890\\comma\\1\\comma\\One or more Aloha grind files is not found//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files\\comma\\AgentTerminate\\comma\\479708\\comma\\1\\comma\\The Aspect6 start-in directory is invalid//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Aspect6 start-in directory is not valid: \\quot\\\\plus\\result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files\\comma\\AgentTerminate\\comma\\82096\\comma\\1\\comma\\Too many synch days.  The limit is 365.//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Too many synch days.  The limit is 365.\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files\\comma\\AgentTerminate\\comma\\36530\\comma\\1\\comma\\Invalid number of synch days.  Check the store settings.//crlf////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid number of synch days (\\quot\\\\plus\\SynchDays\\plus\\\\quot\\).  Check the store settings.\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files\\comma\\AgentTerminate\\comma\\962731\\comma\\1\\comma\\Could not get the number of days to synchronize with the POS system.//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files\\comma\\AgentTerminate\\comma\\747701\\comma\\1\\comma\\Error: Could not get POS directory of active store//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files\\comma\\AgentAction\\comma\\991280\\comma\\0\\comma\\Disable pos packages//crlf////crlf////tab////tab////tab////tab////tab////Disable pos packages//crlf////tab////tab////tab////tab////tab//scriptExec(Aspect_BackOffice_enablePOSPackages\\comma\\false)//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files\\comma\\AgentTerminate\\comma\\495336\\comma\\1\\comma\\POS type is not Aloha//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: POS type is not Aloha\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files\\comma\\AgentTerminate\\comma\\974468\\comma\\1\\comma\\Error: Store setup is not valid//crlf////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files\\comma\\AgentTerminate\\comma\\335932\\comma\\1\\comma\\Aloha package is not loaded//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Aloha package is not loaded\\quot\\)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;01282017//amp//nbsp;182525//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Process//amp//nbsp;Aloha//amp//nbsp;Grind//amp//nbsp;Files\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;01-28-2017//amp//nbsp;18:25:25</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;Aloha//amp//nbsp;package//amp//nbsp;loaded?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>isPackageLoaded</span>(\\quot\\pos_aloha\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(result)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Verify//amp//nbsp;Aspect7//amp//nbsp;store//amp//nbsp;setup//amp//nbsp;(9-4-14//amp//nbsp;Made//amp//nbsp;a//amp//nbsp;special//amp//nbsp;case//amp//nbsp;to//amp//nbsp;work//amp//nbsp;around//amp//nbsp;a//amp//nbsp;problem//amp//nbsp;at//amp//nbsp;a//amp//nbsp;store)</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getSensorValue</span>(\\quot\\Verify//amp//nbsp;Aspect7//amp//nbsp;Store//amp//nbsp;Setup\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(result=true)//amp//nbsp;or//amp//nbsp;(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\))//amp//nbsp;or//amp//nbsp;(<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)=\\quot\\vabxnnn2s\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;POS//amp//nbsp;type//amp//nbsp;Aloha?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;POSType=<span class='keyword'>getSensorValue</span>(\\quot\\Get//amp//nbsp;POS//amp//nbsp;Type\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(POSType=\\quot\\Aloha\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;a//amp//nbsp;POS//amp//nbsp;directory//amp//nbsp;defined?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;POSDir=<span class='keyword'>getSensorValue</span>(\\quot\\Get//amp//nbsp;POS//amp//nbsp;Directory\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>len</span>(POSDir)//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSDir\\comma\\\\quot\\error\\quot\\))))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Get//amp//nbsp;the//amp//nbsp;number//amp//nbsp;of//amp//nbsp;days//amp//nbsp;to//amp//nbsp;synchronize</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;SynchDays=<span class='keyword'>getSensorValue</span>(\\quot\\Get//amp//nbsp;Synch//amp//nbsp;Days\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>len</span>(result)//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\error\\quot\\))))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;number//amp//nbsp;of//amp//nbsp;days//amp//nbsp;to//amp//nbsp;synch//amp//nbsp;zero?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(SynchDays//amp//gt;0)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;number//amp//nbsp;of//amp//nbsp;days//amp//nbsp;to//amp//nbsp;synch//amp//nbsp;less//amp//nbsp;than//amp//nbsp;365</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(SynchDays//amp//lt;365)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;Aspect//amp//nbsp;start-in//amp//nbsp;directory//amp//nbsp;valid?//amp//nbsp;//amp//nbsp;Files//amp//nbsp;will//amp//nbsp;be//amp//nbsp;copied//amp//nbsp;to//amp//nbsp;[start-in//amp//nbsp;directory]\posdata\MMddyyyy.</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getToken</span>(\\quot\\Aspect6StartInDirectory\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>len</span>(<span class='keyword'>trim</span>(result))//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>dirExists</span>(result)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Copy//amp//nbsp;timeclock//amp//nbsp;adjustments</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>execAgentAction</span>(\\quot\\copyTimeclockAdjustments\\quot\\\\comma\\\\quot\\POSDir=\\quot\\\\plus\\POSDir\\plus\\\\quot\\\\amp\\SynchDays=\\quot\\\\plus\\SynchDays)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Ensure//amp//nbsp;that//amp//nbsp;Aloha//amp//nbsp;grind//amp//nbsp;files//amp//nbsp;have//amp//nbsp;been//amp//nbsp;copied//amp//nbsp;to//amp//nbsp;the//amp//nbsp;posdata//amp//nbsp;directory//amp//nbsp;for//amp//nbsp;all//amp//nbsp;days</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getSensorValue</span>(\\quot\\Process//amp//nbsp;Grind//amp//nbsp;Files//amp//nbsp;For//amp//nbsp;Synch//amp//nbsp;Days\\quot\\\\comma\\\\quot\\POSDir=\\quot\\\\plus\\POSDir\\plus\\\\quot\\\\amp\\SynchDays=\\quot\\\\plus\\SynchDays)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok://amp//nbsp;Aloha//amp//nbsp;grind//amp//nbsp;files//amp//nbsp;have//amp//nbsp;been//amp//nbsp;processed//amp//nbsp;and//amp//nbsp;copied//amp//nbsp;to//amp//nbsp;the//amp//nbsp;posdata//amp//nbsp;directory//amp//nbsp;for//amp//nbsp;all//amp//nbsp;days//amp//nbsp;in//amp//nbsp;the//amp//nbsp;synch//amp//nbsp;period.\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Aspect6//amp//nbsp;start-in//amp//nbsp;directory//amp//nbsp;is//amp//nbsp;not//amp//nbsp;valid://amp//nbsp;\\quot\\\\plus\\result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Too//amp//nbsp;many//amp//nbsp;synch//amp//nbsp;days.//amp//nbsp;//amp//nbsp;The//amp//nbsp;limit//amp//nbsp;is//amp//nbsp;365.\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Invalid//amp//nbsp;number//amp//nbsp;of//amp//nbsp;synch//amp//nbsp;days//amp//nbsp;(\\quot\\\\plus\\SynchDays\\plus\\\\quot\\).//amp//nbsp;//amp//nbsp;Check//amp//nbsp;the//amp//nbsp;store//amp//nbsp;settings.\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Disable//amp//nbsp;pos//amp//nbsp;packages</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptExec</span>(Aspect_BackOffice_enablePOSPackages\\comma\\false)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;POS//amp//nbsp;type//amp//nbsp;is//amp//nbsp;not//amp//nbsp;Aloha\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Aloha//amp//nbsp;package//amp//nbsp;is//amp//nbsp;not//amp//nbsp;loaded\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:800px\\quot\\>//crlf////tab//<h2>Overview</h2>//crlf////tab////crlf////tab//<p>Copies the Aloha grind files from the aloha export directory to the posdata directory//crlf////tab//beneath the Aspect start-in directory.</p>//crlf////crlf////tab//<p>Process the itm.dbf file to eliminate menu items that are not sold.</p>//crlf//</div>^
ID=AgentStatus|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>01282017 182525</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart755897\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\124\\quot\\ style=\\quot\\width: 120px; height: 124px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Process Aloha Grind Files</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart362220\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart914229\\quot\\ agentchildnonode=\\quot\\chart974468\\quot\\ style=\\quot\\position: absolute; top: 303px; left: 0px; width: 150px; height: 103px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\116\\quot\\ style=\\quot\\width: 150px; height: 103px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Verify Aspect7 store setup (9-4-14 Made a special case to work around a problem at a store)<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Verify//amp//nbsp;Aspect7//amp//nbsp;Store//amp//nbsp;Setup<br></td></tr></tbody></table></div></div><div id=\\quot\\chart974468\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 303px; left: 190px; width: 120px; height: 97px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Store setup is not valid<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart504855\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart867414\\quot\\ agentchildnonode=\\quot\\chart747701\\quot\\ style=\\quot\\position: absolute; top: 626px; left: 0px; width: 150px; height: 64px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is a POS directory defined?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Get//amp//nbsp;POS//amp//nbsp;Directory<br></td></tr></tbody></table></div></div><div id=\\quot\\chart747701\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 626px; left: 190px; width: 120px; height: 110px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\110\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Could not get POS directory of active store<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart867414\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart655190\\quot\\ agentchildnonode=\\quot\\chart962731\\quot\\ style=\\quot\\position: absolute; top: 755px; left: 0px; width: 150px; height: 77px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Get the number of days to synchronize<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Get//amp//nbsp;Synch//amp//nbsp;Days<br></td></tr></tbody></table></div></div><div id=\\quot\\chart465733\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart480588\\quot\\ agentchildnonode=\\quot\\chart544890\\quot\\ style=\\quot\\position: absolute; top: 1457px; left: 0px; width: 150px; height: 103px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\116\\quot\\ style=\\quot\\width: 150px; height: 103px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Ensure that Aloha grind files have been copied to the posdata directory for all days<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Process//amp//nbsp;Grind//amp//nbsp;Files//amp//nbsp;For//amp//nbsp;Synch//amp//nbsp;Days<br></td></tr></tbody></table></div></div><div id=\\quot\\chart544890\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1457px; left: 190px; width: 120px; height: 110px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\110\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>One or more Aloha grind files is not found<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart962731\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 755px; left: 190px; width: 120px; height: 123px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\123\\quot\\ style=\\quot\\width: 120px; height: 123px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Could not get the number of days to synchronize with the POS system.<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart480588\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1612px; left: 0px; width: 120px; height: 149px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\149\\quot\\ style=\\quot\\width: 120px; height: 149px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Aloha grind files have been processed and copied to the posdata directory for all days in the synch period.<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart655190\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart68011\\quot\\ agentchildnonode=\\quot\\chart36530\\quot\\ style=\\quot\\position: absolute; top: 884px; left: 0px; width: 150px; height: 77px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the number of days to synch zero?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart36530\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 884px; left: 190px; width: 120px; height: 110px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\110\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Invalid number of synch days.  Check the store settings.<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart68011\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart541996\\quot\\ agentchildnonode=\\quot\\chart82096\\quot\\ style=\\quot\\position: absolute; top: 1013px; left: 0px; width: 150px; height: 77px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\90\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the number of days to synch less than 365<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart82096\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1013px; left: 190px; width: 120px; height: 110px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\110\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Too many synch days.  The limit is 365.<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart914229\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart504855\\quot\\ agentchildnonode=\\quot\\chart991280\\quot\\ style=\\quot\\position: absolute; top: 457px; left: 0px; width: 150px; height: 64px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the POS type Aloha?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Get//amp//nbsp;POS//amp//nbsp;Type<br></td></tr></tbody></table></div></div><div id=\\quot\\chart495336\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 591px; left: 350px; width: 120px; height: 97px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>POS type is not Aloha<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart755897\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart362220\\quot\\ agentchildnonode=\\quot\\chart335932\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 0px; width: 150px; height: 77px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the Aloha package loaded?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart335932\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 190px; width: 120px; height: 97px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Aloha package is not loaded<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart541996\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart890355\\quot\\ agentchildnonode=\\quot\\chart479708\\quot\\ style=\\quot\\position: absolute; top: 1142px; left: 0px; width: 150px; height: 103px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\116\\quot\\ style=\\quot\\width: 150px; height: 103px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the Aspect start-in directory valid?  Files will be copied to [start-in directory]\posdata\MMddyyyy.<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart479708\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1142px; left: 190px; width: 120px; height: 97px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>The Aspect6 start-in directory is invalid<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart991280\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart495336\\quot\\ style=\\quot\\position: absolute; top: 457px; left: 350px; width: 150px; height: 82px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Disable pos packages<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td></td></tr></tbody></table></div></div><div id=\\quot\\chart890355\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart465733\\quot\\ style=\\quot\\position: absolute; top: 1310px; left: 0px; width: 150px; height: 95px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Copy timeclock adjustments<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>copyTimeclockAdjustments<br></td></tr><tr><td><u>Return</u></td><td></td></tr></tbody></table></div></div>^
ID=code|X=1500|Y=0|W=740|H=660|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'385432')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'452817')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=385432|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=debug_console|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=452817|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=362220|X=183|Y=348|W=149|H=78|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=914229|AgentChildNoNode=974468|AgentSensor=Verify Aspect7 Store Setup|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(result\equals\true) or (startsWith(result//comma//\\quot\\ok\\quot\\)) or (getToken(\\quot\\AspectHashID\\quot\\)\equals\\\quot\\vabxnnn2s\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Verify Aspect7 store setup (9-4-14 Made a special case to work around a problem at a store)|AgentNodeTermType=0|^
ID=974468|X=373|Y=348|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Verify Aspect7 Store Setup|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error: Store setup is not valid|AgentNodeTermType=1|^
ID=504855|X=183|Y=671|W=149|H=78|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=867414|AgentChildNoNode=747701|AgentSensor=Get POS Directory|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(len(POSDir)>0) and (not(startsWith(POSDir//comma//\\quot\\error\\quot\\)))|AgentNodeActionReturnValue=POSDir|AgentNodeComment=Is a POS directory defined?|AgentNodeTermType=0|^
ID=747701|X=373|Y=671|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Verify Aspect7 Store Setup|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error: Could not get POS directory of active store|AgentNodeTermType=1|^
ID=867414|X=183|Y=800|W=149|H=81|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=655190|AgentChildNoNode=962731|AgentSensor=Get Synch Days|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(len(result)>0) and (not(startsWith(result//comma//\\quot\\error\\quot\\)))|AgentNodeActionReturnValue=SynchDays|AgentNodeComment=Get the number of days to synchronize|AgentNodeTermType=0|^
ID=465733|X=183|Y=1502|W=149|H=104|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=480588|AgentChildNoNode=544890|AgentSensor=Process Grind Files For Synch Days|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\\quot\\POSDir\equals\\\quot\\//plus//POSDir//plus//\\quot\\\\amp\\SynchDays\equals\\\quot\\//plus//SynchDays|AgentNodeExpression=startsWith(result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Ensure that Aloha grind files have been copied to the posdata directory for all days|AgentNodeTermType=0|^
ID=544890|X=373|Y=1502|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Validate Aloha Export Files|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=result|AgentNodeActionReturnValue=|AgentNodeComment=One or more Aloha grind files is not found|AgentNodeTermType=1|^
ID=sensor_list|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__sensor__//crlf////tab//__sensor_list__//crlf////tab//__SensorDescription__//crlf////tab//__SensorParams__//crlf////tab//__SensorReturns__//crlf////tab//__SensorExec__//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files.html\\quot\\)}//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)+\\quot\\Aspect_BackOffice/store_list.dta\\quot\\)}//crlf////tab//{@if(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\now())}//crlf////tab//debug=false//crlf//</state>//crlf////crlf//<conditional expression:false>//crlf////tab//This is a list of sensors formatted as://crlf////crlf////tab//Group\\comma\\Name\\comma\\Container Item ID\\comma\\Params//crlf////crlf////tab//Multiple container items can be used to group code for sensors//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//Sensor List//crlf//===============================================================================//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//POS - Aloha\\comma\\Process Grind Files For Synch Days\\comma\\sensor_list\\comma\\sensor=ProcessGrindFilesForSynchDays\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//Process Grind Files For Synch Days//crlf//===============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\ProcessGrindFilesForSynchDays\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Verifies that all aloha grind files are available for the given date//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Params//crlf////tab////tab////tab//POSDir - The pos directory\\comma\\ not including the name of the dated subfolder//crlf////tab////tab////tab//SynchDays - The number of days to check//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//\\quot\\ok\\quot\\ or an error message if one or more days are missing//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab//appendToLog(\\quot\\Process Aloha grind files for last __SynchDays__ days\\quot\\)//crlf////tab////tab////tab//sPOSDir=addDirSlash(\\quot\\__POSDir__\\quot\\)//crlf////crlf////tab////tab////tab////abort if pos directory is invalid//crlf////tab////tab////tab//if(not(dirExists(sPOSDir)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid POS directory: __POSDir__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the number of days is missing //crlf////tab////tab////tab//if(startsWith(\\quot\\__SynchDays__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid number of synch days: __SynchDays__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the number of days is 0//crlf////tab////tab////tab//if(__SynchDays__=0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid number of synch days: __Date__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the number of days is greater than 365//crlf////tab////tab////tab//if(__SynchDays__>365)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Cannot synchronize more than 365 days\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//dt=now()//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<__SynchDays__)//crlf////tab////tab////tab////tab////see if the files already exist in the destination directory//crlf////tab////tab////tab////tab//sDestDir=addDirSlash(getToken(\\quot\\Aspect6StartInDirectory\\quot\\)+\\quot\\posdata/\\quot\\)//crlf////tab////tab////tab////tab//s=getSensorValue(\\quot\\Validate Aloha Export Files\\quot\\\\comma\\\\quot\\POSDir=\\quot\\+sDestDir+\\quot\\//amp//Date=\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Check existing files: \\quot\\+s)//crlf////tab////tab////tab////tab//if(startsWith(s\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Files have already been processed for \\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//s=getSensorValue(\\quot\\Validate Aloha Export Files\\quot\\\\comma\\\\quot\\POSDir=\\quot\\+sPOSDir+\\quot\\//amp//Date=\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//if(startsWith(s\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Calling agent to process Aloha grind files for \\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//s=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Process Aloha Grind Files (Specific Day)\\quot\\\\comma\\\\quot\\Date=\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//if(not(startsWith(s\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////only count as an error if it for a date earlier than the current day//crlf////tab////tab////tab////tab////tab////tab////tab////because the files may not be available yet//crlf////tab////tab////tab////tab////tab////tab////tab//if(n>0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//cError=cError+1//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: \\quot\\+s)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Verify files in \\quot\\+sPOSDir+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\: \\quot\\+s)//crlf////tab////tab////tab////tab////tab////tab//cError=cError+1//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\-1)//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(cError=0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Could not process files for \\quot\\+cError+\\quot\\ days.  See the log.\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=962731|X=373|Y=800|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get Synch Days|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Could not get the number of days to synchronize with the POS system.|AgentNodeTermType=1|^
ID=480588|X=183|Y=1657|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Process Grind Files For Synch Days|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Ok: Aloha grind files have been processed and copied to the posdata directory for all days in the synch period.\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Aloha grind files have been processed and copied to the posdata directory for all days in the synch period.|AgentNodeTermType=0|^
ID=655190|X=183|Y=929|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=68011|AgentChildNoNode=36530|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=SynchDays>0|AgentNodeActionReturnValue=|AgentNodeComment=Is the number of days to synch zero?|AgentNodeTermType=0|^
ID=36530|X=373|Y=929|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Process Grind Files For Synch Days|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Invalid number of synch days (\\quot\\//plus//SynchDays//plus//\\quot\\).  Check the store settings.\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Invalid number of synch days.  Check the store settings.|AgentNodeTermType=1|^
ID=68011|X=183|Y=1058|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=541996|AgentChildNoNode=82096|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=SynchDays<365|AgentNodeActionReturnValue=|AgentNodeComment=Is the number of days to synch less than 365|AgentNodeTermType=0|^
ID=82096|X=373|Y=1058|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Process Grind Files For Synch Days|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Too many synch days.  The limit is 365.\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Too many synch days.  The limit is 365.|AgentNodeTermType=1|^
ID=914229|X=183|Y=502|W=149|H=64|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=504855|AgentChildNoNode=991280|AgentSensor=Get POS Type|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=POSType\equals\\\quot\\Aloha\\quot\\|AgentNodeActionReturnValue=POSType|AgentNodeComment=Is the POS type Aloha?|AgentNodeTermType=0|^
ID=495336|X=533|Y=636|W=119|H=98|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get POS Type|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: POS type is not Aloha\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=POS type is not Aloha|AgentNodeTermType=1|^
ID=755897|X=183|Y=221|W=149|H=76|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=362220|AgentChildNoNode=335932|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=isPackageLoaded(\\quot\\pos_aloha\\quot\\)|AgentNodeExpression=result|AgentNodeActionReturnValue=|AgentNodeComment=Is the Aloha package loaded?|AgentNodeTermType=0|^
ID=335932|X=373|Y=221|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=0|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Aloha package is not loaded\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Aloha package is not loaded|AgentNodeTermType=1|^
ID=541996|X=183|Y=1187|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=890355|AgentChildNoNode=479708|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=getToken(\\quot\\Aspect6StartInDirectory\\quot\\)|AgentNodeExpression=(len(trim(result))>0) and (dirExists(result))|AgentNodeActionReturnValue=|AgentNodeComment=Is the Aspect start-in directory valid?  Files will be copied to [start-in directory]\posdata\MMddyyyy.|AgentNodeTermType=0|^
ID=479708|X=373|Y=1187|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Aspect6 start-in directory is not valid: \\quot\\//plus//result|AgentNodeActionReturnValue=|AgentNodeComment=The Aspect6 start-in directory is invalid|AgentNodeTermType=1|^
ID=991280|X=533|Y=502|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=495336|AgentChildNoNode=|AgentSensor=0|AgentAction=1|AgentNodeNotes=All packages were originally enabled by default.  This step is included to disable POS packages that are not required (Aloha in this case) and to prevent this agent from running unnecessarily.//crlf//|AgentNodeParams=scriptExec(Aspect_BackOffice_enablePOSPackages//comma//false)|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Disable pos packages|AgentNodeTermType=0|^
ID=action_list|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Process Aloha Grind Files\\comma\\copyTimeclockAdjustments\\comma\\action_list\\comma\\Action=copyTimeclockAdjustments\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//copyTimeclockAdjustments//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\copyTimeclockAdjustments\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Copies files containing timeclock adjustments from the [posdir]/yyyymmdd //crlf////tab////tab//to [start-in directory]\posdata\yyyyMMdd directory.  The number of days //crlf////tab////tab//synchronized is determined by the store settings.  The adjtimex.dbf file is //crlf////tab////tab//copied if available.  Otherwise the adjtime.dbf file is copied.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//POSDir - The pos directory//crlf////tab////tab//SynchDays - Number of days to synchronize//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\copyTimeclockAdjustments\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Copy Aloha timeclock adjustmentsfor last __SynchDays__ days\\quot\\)//crlf////tab////tab////tab//sPOSDir=addDirSlash(\\quot\\__POSDir__\\quot\\)//crlf////crlf////tab////tab////tab////abort if pos directory is invalid//crlf////tab////tab////tab//if(not(dirExists(sPOSDir)))//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: Invalid POS directory: __POSDir__\\quot\\))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the number of days is missing //crlf////tab////tab////tab//if(startsWith(\\quot\\__SynchDays__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: Invalid number of synch days: __SynchDays__\\quot\\))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the number of days is 0//crlf////tab////tab////tab//if(__SynchDays__=0)//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: Invalid number of synch days: __Date__\\quot\\))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the number of days is greater than 365//crlf////tab////tab////tab//if(__SynchDays__>365)//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: Cannot synchronize more than 365 days\\quot\\))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sDestDir=addDirSlash(getToken(\\quot\\Aspect6StartInDirectory\\quot\\)+\\quot\\posdata/\\quot\\)//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//dt=now()//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<__SynchDays__)//crlf////tab////tab////tab////tab////copy adjtime.dbf.  Use adjtimex.dbf if it exists\\comma\\ otherwise adjtime.dbf//crlf////tab////tab////tab////tab//sSourceFilename=sPOSDir+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/adjtimex.dbf\\quot\\//crlf////tab////tab////tab////tab//if(not(fileExists(sSourceFilename)))//crlf////tab////tab////tab////tab////tab//sSourceFilename=sPOSDir+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/adjtime.dbf\\quot\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////if the Aloha file exists\\comma\\ copy it if it's been modified//crlf////tab////tab////tab////tab//if(fileExists(sSourceFilename))//crlf////tab////tab////tab////tab////tab//sDestFilename=sDestDir+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/adjtime.dbf\\quot\\//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////Note: The content of the file is checked because a different state value//crlf////tab////tab////tab////tab////tab////was being returned from a test store even though the size and mofified//crlf////tab////tab////tab////tab////tab////values were the same.  Could be a problem with milliseconds in the modified value//crlf////tab////tab////tab////tab////tab//State1=getFilespecState(sSourceFilename\\comma\\false\\comma\\false\\comma\\0\\comma\\\\quot\\\\quot\\\\comma\\true\\comma\\true)//crlf////tab////tab////tab////tab////tab//State2=getFilespecState(sDestFilename\\comma\\false\\comma\\false\\comma\\0\\comma\\\\quot\\\\quot\\\\comma\\true\\comma\\true)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\State1=\\quot\\+State1a+\\quot\\ \\quot\\+fileSize(sSourceFilename)+\\quot\\ bytes \\quot\\+fileModified(sSourceFilename))//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\State2=\\quot\\+State2a+\\quot\\ \\quot\\+fileSize(sDestFilename)+\\quot\\ bytes \\quot\\+fileModified(sDestFilename))//crlf////tab////tab////tab////tab////tab//if(State1<>State2)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Copying \\quot\\+sSourceFilename+\\quot\\ to \\quot\\+sDestFilename)//crlf////tab////tab////tab////tab////tab////tab//fileCopy(sSourceFilename\\comma\\sDestFilename)//crlf////tab////tab////tab////tab////tab////tab//fileSetModified(sDestFilename\\comma\\fileModified(sSourceFilename))//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\File is up to date: \\quot\\+sDestFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\File does not exist: \\quot\\+sSourceFilename)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////copy gndbreak.dbf//crlf////tab////tab////tab////tab//sSourceFilename=sPOSDir+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/gndbreak.dbf\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sSourceFilename))//crlf////tab////tab////tab////tab////tab//sDestFilename=sDestDir+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/gndbreak.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//State1=getFilespecState(sSourceFilename\\comma\\false\\comma\\false\\comma\\0\\comma\\\\quot\\\\quot\\\\comma\\true\\comma\\true)//crlf////tab////tab////tab////tab////tab//State2=getFilespecState(sDestFilename\\comma\\false\\comma\\false\\comma\\0\\comma\\\\quot\\\\quot\\\\comma\\true\\comma\\true)//crlf////tab////tab////tab////tab////tab//if(State1<>State2)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Copying \\quot\\+sSourceFilename+\\quot\\ to \\quot\\+sDestFilename)//crlf////tab////tab////tab////tab////tab////tab//fileCopy(sSourceFilename\\comma\\sDestFilename)//crlf////tab////tab////tab////tab////tab////tab//fileSetModified(sDestFilename\\comma\\fileModified(sSourceFilename))//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\File is up to date: \\quot\\+sDestFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\File does not exist: \\quot\\+sSourceFilename)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\-1)//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//scriptSetResult(\\quot\\Ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=890355|X=183|Y=1355|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=465733|AgentChildNoNode=|AgentSensor=0|AgentAction=copyTimeclockAdjustments|AgentNodeNotes=|AgentNodeParams=\\quot\\POSDir\equals\\\quot\\//plus//POSDir//plus//\\quot\\\\amp\\SynchDays\equals\\\quot\\//plus//SynchDays|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Copy timeclock adjustments|AgentNodeTermType=0|
</widget><widget name="Process Aloha Grind Files (Specific Day)" group="POS Interface" category="Aloha" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Process Aloha Grind Files (Specific Day)" modified="05-06-2017 17:06:08" modifiedby="Thnikpad2" TaskEnabled=false IsAgent=true ContainsAgentSensors=true ContainsAgentActions=false TaskInitialStartTime=04-10-2017 15:14:48:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=1190|toolboxy=255|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=750|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Process Aloha Grind Files (Specific Day).html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=801|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\top_bar\\quot\\; params:\\quot\\\\quot\\;>^
ID=left_bar|X=0|Y=22|W=121|H=49|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\left_bar\\quot\\; params:\\quot\\startpackage=__startpackage__~~pipe~~package={@\\quot\\__package__\\quot\\}~~pipe~~menu=__menu__\\quot\\;>//crlf//^
ID=AgentStart|X=183|Y=45|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=681571|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=never|AgentNameParams=__Date__|^
ID=AgentTabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Process Aloha Grind Files (Specific Day):__Date__\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files (Specific Day):__Date__\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 01-26-2017 21:13:42//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files (Specific Day):__Date__\\comma\\AgentDecision\\comma\\681571\\comma\\0\\comma\\Is the Aloha package loaded?//crlf////crlf////tab////tab////Is the Aloha package loaded?//crlf////tab////tab//Result=isPackageLoaded(\\quot\\pos_aloha\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\Decision:Expression (isPackageLoaded(\\apos\\pos_aloha\\apos\\))=\\quot\\\\plus\\left(Result\\comma\\128))//crlf////tab////tab//appendToLog(\\quot\\(result)=\\quot\\\\plus\\(result))//crlf////tab////tab//if(result)//crlf////crlf////tab////tab////tab////Has a valid date been supplied//crlf////tab////tab////tab//appendToLog(\\quot\\((not(startsWith(\\apos\\__Date__\\apos\\\\comma\\\\apos\\__\\apos\\))) and (year(parseTime(\\apos\\__Date__\\apos\\\\comma\\\\apos\\MM-dd-yyyy\\apos\\))\\apos\\\\plus\\char(0x3e)\\plus\\\\apos\\2000))=\\quot\\\\plus\\((not(startsWith(\\quot\\__Date__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (year(parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))>2000)))//crlf////tab////tab////tab//if((not(startsWith(\\quot\\__Date__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (year(parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))>2000))//crlf////crlf////tab////tab////tab////tab////Is a POS directory defined?//crlf////tab////tab////tab////tab//POSDir=getSensorValue(\\quot\\Get POS Directory\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Decision:Get POS Directory ()=\\quot\\\\plus\\left(POSDir\\comma\\128))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\(not(startsWith(POSDir\\comma\\\\apos\\error\\apos\\)))=\\quot\\\\plus\\(not(startsWith(POSDir\\comma\\\\quot\\error\\quot\\))))//crlf////tab////tab////tab////tab//if(not(startsWith(POSDir\\comma\\\\quot\\error\\quot\\)))//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files (Specific Day):__Date__\\comma\\AgentDecision\\comma\\977672\\comma\\0\\comma\\Is the Aspect start-in directory valid?  Files will be copied to [start-in directory]\posdata\MMddyyyy.//crlf////crlf////tab////tab////tab////tab////tab////Is the Aspect start-in directory valid?  Files will be copied to [start-in directory]\posdata\MMddyyyy.//crlf////tab////tab////tab////tab////tab//Result=getToken(\\quot\\Aspect6StartInDirectory\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:Expression (getToken(\\apos\\Aspect6StartInDirectory\\apos\\))=\\quot\\\\plus\\left(Result\\comma\\128))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\((len(trim(result))\\apos\\\\plus\\char(0x3e)\\plus\\\\apos\\0) and (dirExists(result)))=\\quot\\\\plus\\((len(trim(result))>0) and (dirExists(result))))//crlf////tab////tab////tab////tab////tab//if((len(trim(result))>0) and (dirExists(result)))//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files (Specific Day):__Date__\\comma\\AgentDecision\\comma\\465733\\comma\\0\\comma\\Are all Aloha grind files available for the given date?//crlf////crlf////tab////tab////tab////tab////tab////tab////Are all Aloha grind files available for the given date?//crlf////tab////tab////tab////tab////tab////tab//Result=getSensorValue(\\quot\\Validate Aloha Export Files\\quot\\\\comma\\\\quot\\POSDir=\\quot\\\\plus\\POSDir\\plus\\\\quot\\\\amp\\Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:Validate Aloha Export Files (\\apos\\POSDir=\\apos\\\\plus\\POSDir\\plus\\\\apos\\\\amp\\Date=__Date__\\apos\\)=\\quot\\\\plus\\left(Result\\comma\\128))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(result\\comma\\\\apos\\ok\\apos\\))=\\quot\\\\plus\\(startsWith(result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab//if(startsWith(result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files (Specific Day):__Date__\\comma\\AgentDecision\\comma\\578789\\comma\\0\\comma\\Copy Aloha grind files to the posdata directory//comma// processing files to eliminate unused records//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////Copy Aloha grind files to the posdata directory//comma// processing files to eliminate unused records//crlf////tab////tab////tab////tab////tab////tab////tab//Result=getSensorValue(\\quot\\Process Aloha Export Files\\quot\\\\comma\\\\quot\\POSDir=\\quot\\\\plus\\POSDir\\plus\\\\quot\\\\amp\\Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:Process Aloha Export Files (\\apos\\POSDir=\\apos\\\\plus\\POSDir\\plus\\\\apos\\\\amp\\Date=__Date__\\apos\\)=\\quot\\\\plus\\left(Result\\comma\\128))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(result\\comma\\\\apos\\ok\\apos\\))=\\quot\\\\plus\\(startsWith(result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab//if(startsWith(result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files (Specific Day):__Date__\\comma\\AgentTerminate\\comma\\493062\\comma\\0\\comma\\Aloha grind files have been copied to the posdata directory.//crlf////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(result)//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files (Specific Day):__Date__\\comma\\AgentTerminate\\comma\\426689\\comma\\1\\comma\\An error occurred copying and processing the Aloha grind files to the posdata directory//crlf////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: An error occurred copying and processing the Aloha grind files to the posdata directory: \\quot\\\\plus\\result)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files (Specific Day):__Date__\\comma\\AgentTerminate\\comma\\544890\\comma\\1\\comma\\One or more Aloha grind files is not found//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: One or more Aloha grind files is not found: \\quot\\\\plus\\result)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files (Specific Day):__Date__\\comma\\AgentTerminate\\comma\\562686\\comma\\1\\comma\\The Aspect6 start-in directory is invalid//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Aspect6 start-in directory is not valid: \\quot\\\\plus\\result)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files (Specific Day):__Date__\\comma\\AgentTerminate\\comma\\747701\\comma\\1\\comma\\Error: Could not get POS directory of active store//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Could not get POS directory of active store: \\quot\\\\plus\\Result)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files (Specific Day):__Date__\\comma\\AgentTerminate\\comma\\271487\\comma\\1\\comma\\Invalid or missing date//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid or missing date: __Date__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files (Specific Day):__Date__\\comma\\AgentTerminate\\comma\\998244\\comma\\1\\comma\\Aloha package is not loaded//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Aloha package is not loaded\\quot\\)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;01262017//amp//nbsp;211342//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Process//amp//nbsp;Aloha//amp//nbsp;Grind//amp//nbsp;Files//amp//nbsp;(Specific//amp//nbsp;Day):__Date__\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;01-26-2017//amp//nbsp;21:13:42</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;Aloha//amp//nbsp;package//amp//nbsp;loaded?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>isPackageLoaded</span>(\\quot\\pos_aloha\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:Expression//amp//nbsp;(<span class='keyword'>isPackageLoaded</span>(\\apos\\pos_aloha\\apos\\))=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(result)=\\quot\\\\plus\\(result))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(result)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Has//amp//nbsp;a//amp//nbsp;valid//amp//nbsp;date//amp//nbsp;been//amp//nbsp;supplied</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\((<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(\\apos\\__Date__\\apos\\\\comma\\\\apos\\__\\apos\\)))//amp//nbsp;and//amp//nbsp;(<span class='keyword'>year</span>(<span class='keyword'>parseTime</span>(\\apos\\__Date__\\apos\\\\comma\\\\apos\\MM-dd-yyyy\\apos\\))\\apos\\\\plus\\<span class='keyword'>char</span>(0x3e)\\plus\\\\apos\\2000))=\\quot\\\\plus\\((<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(\\quot\\__Date__\\quot\\\\comma\\\\quot\\__\\quot\\)))//amp//nbsp;and//amp//nbsp;(<span class='keyword'>year</span>(<span class='keyword'>parseTime</span>(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//amp//gt;2000)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(\\quot\\__Date__\\quot\\\\comma\\\\quot\\__\\quot\\)))//amp//nbsp;and//amp//nbsp;(<span class='keyword'>year</span>(<span class='keyword'>parseTime</span>(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//amp//gt;2000))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;a//amp//nbsp;POS//amp//nbsp;directory//amp//nbsp;defined?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;POSDir=<span class='keyword'>getSensorValue</span>(\\quot\\Get//amp//nbsp;POS//amp//nbsp;Directory\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:Get//amp//nbsp;POS//amp//nbsp;Directory//amp//nbsp;()=\\quot\\\\plus\\<span class='keyword'>left</span>(POSDir\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSDir\\comma\\\\apos\\error\\apos\\)))=\\quot\\\\plus\\(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSDir\\comma\\\\quot\\error\\quot\\))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSDir\\comma\\\\quot\\error\\quot\\)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;Aspect//amp//nbsp;start-in//amp//nbsp;directory//amp//nbsp;valid?//amp//nbsp;//amp//nbsp;Files//amp//nbsp;will//amp//nbsp;be//amp//nbsp;copied//amp//nbsp;to//amp//nbsp;[start-in//amp//nbsp;directory]\posdata\MMddyyyy.</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getToken</span>(\\quot\\Aspect6StartInDirectory\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:Expression//amp//nbsp;(<span class='keyword'>getToken</span>(\\apos\\Aspect6StartInDirectory\\apos\\))=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\((<span class='keyword'>len</span>(<span class='keyword'>trim</span>(result))\\apos\\\\plus\\<span class='keyword'>char</span>(0x3e)\\plus\\\\apos\\0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>dirExists</span>(result)))=\\quot\\\\plus\\((<span class='keyword'>len</span>(<span class='keyword'>trim</span>(result))//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>dirExists</span>(result))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>len</span>(<span class='keyword'>trim</span>(result))//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>dirExists</span>(result)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Are//amp//nbsp;all//amp//nbsp;Aloha//amp//nbsp;grind//amp//nbsp;files//amp//nbsp;available//amp//nbsp;for//amp//nbsp;the//amp//nbsp;given//amp//nbsp;date?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getSensorValue</span>(\\quot\\Validate//amp//nbsp;Aloha//amp//nbsp;Export//amp//nbsp;Files\\quot\\\\comma\\\\quot\\POSDir=\\quot\\\\plus\\POSDir\\plus\\\\quot\\\\amp\\Date=__Date__\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:Validate//amp//nbsp;Aloha//amp//nbsp;Export//amp//nbsp;Files//amp//nbsp;(\\apos\\POSDir=\\apos\\\\plus\\POSDir\\plus\\\\apos\\\\amp\\Date=__Date__\\apos\\)=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(result\\comma\\\\apos\\ok\\apos\\))=\\quot\\\\plus\\(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Copy//amp//nbsp;Aloha//amp//nbsp;grind//amp//nbsp;files//amp//nbsp;to//amp//nbsp;the//amp//nbsp;posdata//amp//nbsp;directory//comma////amp//nbsp;processing//amp//nbsp;files//amp//nbsp;to//amp//nbsp;eliminate//amp//nbsp;unused//amp//nbsp;records</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getSensorValue</span>(\\quot\\Process//amp//nbsp;Aloha//amp//nbsp;Export//amp//nbsp;Files\\quot\\\\comma\\\\quot\\POSDir=\\quot\\\\plus\\POSDir\\plus\\\\quot\\\\amp\\Date=__Date__\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:Process//amp//nbsp;Aloha//amp//nbsp;Export//amp//nbsp;Files//amp//nbsp;(\\apos\\POSDir=\\apos\\\\plus\\POSDir\\plus\\\\apos\\\\amp\\Date=__Date__\\apos\\)=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(result\\comma\\\\apos\\ok\\apos\\))=\\quot\\\\plus\\(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;An//amp//nbsp;error//amp//nbsp;occurred//amp//nbsp;copying//amp//nbsp;and//amp//nbsp;processing//amp//nbsp;the//amp//nbsp;Aloha//amp//nbsp;grind//amp//nbsp;files//amp//nbsp;to//amp//nbsp;the//amp//nbsp;posdata//amp//nbsp;directory://amp//nbsp;\\quot\\\\plus\\result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;One//amp//nbsp;or//amp//nbsp;more//amp//nbsp;Aloha//amp//nbsp;grind//amp//nbsp;files//amp//nbsp;is//amp//nbsp;not//amp//nbsp;found://amp//nbsp;\\quot\\\\plus\\result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Aspect6//amp//nbsp;start-in//amp//nbsp;directory//amp//nbsp;is//amp//nbsp;not//amp//nbsp;valid://amp//nbsp;\\quot\\\\plus\\result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;get//amp//nbsp;POS//amp//nbsp;directory//amp//nbsp;of//amp//nbsp;active//amp//nbsp;store://amp//nbsp;\\quot\\\\plus\\Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Invalid//amp//nbsp;or//amp//nbsp;missing//amp//nbsp;date://amp//nbsp;__Date__\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Aloha//amp//nbsp;package//amp//nbsp;is//amp//nbsp;not//amp//nbsp;loaded\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:800px\\quot\\>//crlf////tab//<h2>Overview</h2>//crlf////tab////crlf////tab//<p>Copies the Aloha grind files from the aloha export directory to the posdata directory//crlf////tab//beneath the Aspect start-in directory.</p>//crlf////crlf////tab//<p>Process the itm.dbf file to eliminate menu items that are not sold.</p>//crlf//</div>^
ID=AgentStatus|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>01262017 211342</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart681571\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\150\\quot\\ style=\\quot\\width: 120px; height: 150px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Process Aloha Grind Files (Specific Day)</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: never<br>Report To: <br>Name Params: __Date__</div></div><div id=\\quot\\chart504855\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart977672\\quot\\ agentchildnonode=\\quot\\chart747701\\quot\\ style=\\quot\\position: absolute; top: 446px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is a POS directory defined?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Get//amp//nbsp;POS//amp//nbsp;Directory<br></td></tr></tbody></table></div></div><div id=\\quot\\chart747701\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 446px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\110\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Could not get POS directory of active store<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart465733\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart578789\\quot\\ agentchildnonode=\\quot\\chart544890\\quot\\ style=\\quot\\position: absolute; top: 743px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\90\\quot\\ style=\\quot\\width: 150px; height: 90px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Are all Aloha grind files available for the given date?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Validate//amp//nbsp;Aloha//amp//nbsp;Export//amp//nbsp;Files<br></td></tr></tbody></table></div></div><div id=\\quot\\chart544890\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 743px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\110\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>One or more Aloha grind files is not found<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart578789\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart493062\\quot\\ agentchildnonode=\\quot\\chart426689\\quot\\ style=\\quot\\position: absolute; top: 885px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\116\\quot\\ style=\\quot\\width: 150px; height: 103px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Copy Aloha grind files to the posdata directory\\comma\\ processing files to eliminate unused records<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Process//amp//nbsp;Aloha//amp//nbsp;Export//amp//nbsp;Files<br></td></tr></tbody></table></div></div><div id=\\quot\\chart426689\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 885px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\136\\quot\\ style=\\quot\\width: 120px; height: 136px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>An error occurred copying and processing the Aloha grind files to the posdata directory<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart493062\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1040px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\110\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Aloha grind files have been copied to the posdata directory.<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart59601\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart504855\\quot\\ agentchildnonode=\\quot\\chart271487\\quot\\ style=\\quot\\position: absolute; top: 317px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Has a valid date been supplied<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart271487\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 317px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Invalid or missing date<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart681571\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart59601\\quot\\ agentchildnonode=\\quot\\chart998244\\quot\\ style=\\quot\\position: absolute; top: 188px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the Aloha package loaded?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart998244\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 188px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Aloha package is not loaded<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart977672\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart465733\\quot\\ agentchildnonode=\\quot\\chart562686\\quot\\ style=\\quot\\position: absolute; top: 575px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\116\\quot\\ style=\\quot\\width: 150px; height: 103px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the Aspect start-in directory valid?  Files will be copied to [start-in directory]\posdata\MMddyyyy.<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart562686\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 575px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>The Aspect6 start-in directory is invalid<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'385432')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'452817')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=385432|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=debug_console|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=452817|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=504855|X=183|Y=491|W=149|H=76|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=977672|AgentChildNoNode=747701|AgentSensor=Get POS Directory|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=not(startsWith(POSDir//comma//\\quot\\error\\quot\\))|AgentNodeActionReturnValue=POSDir|AgentNodeComment=Is a POS directory defined?|AgentNodeTermType=0|^
ID=747701|X=373|Y=491|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Verify Aspect7 Store Setup|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Could not get POS directory of active store: \\quot\\//plus//Result|AgentNodeActionReturnValue=|AgentNodeComment=Error: Could not get POS directory of active store|AgentNodeTermType=1|^
ID=465733|X=183|Y=788|W=149|H=89|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=578789|AgentChildNoNode=544890|AgentSensor=Validate Aloha Export Files|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\\quot\\POSDir\equals\\\quot\\//plus//POSDir//plus//\\quot\\\\amp\\Date\equals\__Date__\\quot\\|AgentNodeExpression=startsWith(result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Are all Aloha grind files available for the given date?|AgentNodeTermType=0|^
ID=544890|X=373|Y=788|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Validate Aloha Export Files|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: One or more Aloha grind files is not found: \\quot\\//plus//result|AgentNodeActionReturnValue=|AgentNodeComment=One or more Aloha grind files is not found|AgentNodeTermType=1|^
ID=sensor_list|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__sensor__//crlf////tab//__sensor_list__//crlf////tab//__SensorDescription__//crlf////tab//__SensorParams__//crlf////tab//__SensorReturns__//crlf////tab//__SensorExec__//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files (Specific Day).html\\quot\\)}//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)+\\quot\\Aspect_BackOffice/store_list.dta\\quot\\)}//crlf////tab//{@if(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\now())}//crlf////tab//debug=false//crlf//</state>//crlf////crlf//<conditional expression:false>//crlf////tab//This is a list of sensors formatted as://crlf////crlf////tab//Group\\comma\\Name\\comma\\Container Item ID\\comma\\Params//crlf////crlf////tab//Multiple container items can be used to group code for sensors//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//Sensor List//crlf//===============================================================================//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//POS - Aloha\\comma\\Validate Aloha Export Files\\comma\\sensor_list\\comma\\sensor=validateAlohaExportFiles\\comma\\private//crlf////tab//POS - Aloha\\comma\\Process Aloha Export Files\\comma\\sensor_list\\comma\\sensor=processAlohaExportFiles\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//Validate Aloha Export Files//crlf//===============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\validateAlohaExportFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Verifies that all aloha grind files are available for the given date//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Params//crlf////tab////tab////tab//POSDir - The pos directory\\comma\\ not including the name of the dated subfolder//crlf////tab////tab////tab//Date - The date to check in MM-dd-yyyy format//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//\\quot\\ok\\quot\\ or an error message if one or more files are missing//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sPOSDir=addDirSlash(\\quot\\__POSDir__\\quot\\)//crlf////crlf////tab////tab////abort if pos directory is invalid//crlf////tab////tab//if(not(dirExists(sPOSDir)))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid POS directory: __POSDir__\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if the date is missing or invalid//crlf////tab////tab//if(startsWith(\\quot\\__Date__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid date: __Date__\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//dt=parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//if((year(dt)<2000) or (year(dt)>2099))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid date: __Date__\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get the directory containing the files//crlf////tab////tab//sDataDir=addDirSlash(sPOSDir+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\))//crlf////tab////tab////crlf////tab////tab////abort if the directory doesn't exist//crlf////tab////tab//if(not(dirExists(sDataDir)))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid directory: \\quot\\+sDataDir)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get collection of required files//crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//cError=0//crlf////tab////tab//arRequiredFiles=getCollection(\\quot\\Aloha_Required_Files\\quot\\)//crlf////tab////tab////appendToLog(\\quot\\arRequiredFiles=\\quot\\+arRequiredFiles)//crlf////tab////tab//c=getElementCount(arRequiredFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sFilename=getElement(getElement(arRequiredFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\0\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab//if(not(fileExists(sDataDir+sFilename)))//crlf////tab////tab////tab////tab//sResult=sResult+appendToLog(\\quot\\Error: Missing file: \\quot\\+sDataDir+sFilename)+char(13)+char(10)//crlf////tab////tab////tab////tab//cError=cError+1//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//if(cError>0)//crlf////tab////tab////tab//scriptSetResult(sResult)//crlf////tab////tab//else//crlf////tab////tab////tab//scriptSetResult(\\quot\\Ok: All Aloha grind files are present in \\quot\\+sDataDir)//crlf////tab////tab//endif//tab////tab////crlf////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//===============================================================================//crlf//Process Aloha Export Files//crlf//===============================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\processAlohaExportFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Copies Aloha grind files to the posdata directory under the Aspect7 home//crlf////tab////tab//directory and processes select files to remove records that are not required//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//POSDir - The pos directory\\comma\\ not including the name of the dated subfolder//crlf////tab////tab//Date - The date to check in MM-dd-yyyy format//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//\\quot\\ok\\quot\\ or an error message if an error occurs//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sPOSDir=addDirSlash(\\quot\\__POSDir__\\quot\\)//crlf////crlf////tab////tab////abort if pos directory is invalid//crlf////tab////tab//if(not(dirExists(sPOSDir)))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid POS directory: __POSDir__\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if the date is missing or invalid//crlf////tab////tab//if(startsWith(\\quot\\__Date__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid date: __Date__\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//dt=parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab//if((year(dt)<2000) or (year(dt)>2099))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid date: __Date__\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get the directory containing the files//crlf////tab////tab//sDataDir=addDirSlash(sPOSDir+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\))//crlf////tab////tab////crlf////tab////tab////abort if the directory doesn't exist//crlf////tab////tab//if(not(dirExists(sDataDir)))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid directory: \\quot\\+sDataDir)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////make a collection of all menu items sales in the gndsale file//crlf////tab////tab////Both the key and the value are the Aloha menu number//crlf////tab////tab//File1=sDataDir+\\quot\\gnditem.dbf\\quot\\//crlf////tab////tab//File2=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\gnditem.$$$\\quot\\//crlf////tab////tab//fileCopy(File1\\comma\\File2)//crlf////tab////tab//hashCreate(hashItmSale)//crlf////tab////tab//driverOpen(Aloha_GrindItem\\comma\\drvGndItem\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+File2)//crlf////tab////tab//c=driverGetRecordCount(drvGndItem\\comma\\true)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//iItem=driverGetFieldAbsolute(drvGndItem\\comma\\\\quot\\ITEM\\quot\\\\comma\\n)//crlf////tab////tab////tab//if(not(hashContainsKey(hashItmSale\\comma\\iItem)))//crlf////tab////tab////tab////tab//hashPut(hashItmSale\\comma\\iItem\\comma\\iItem)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////tab////tab//driverClose(drvGndItem)//crlf////tab////tab//fileDelete(File2)//crlf////tab////tab//appendToLog(\\quot\\Found \\quot\\+hashSize(hashItmSale)+\\quot\\ used menu items of \\quot\\+c+\\quot\\ total\\quot\\)//crlf////crlf////tab////tab////get the destination directory//crlf////tab////tab//sDestDir=addDirSlash(getToken(\\quot\\Aspect6StartInDirectory\\quot\\)+\\quot\\posdata/\\quot\\+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\))//crlf////crlf////tab////tab////copy files\\comma\\ processing select files//crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//cError=0//crlf////tab////tab//arRequiredFiles=getCollection(\\quot\\Aloha_Required_Files\\quot\\)//crlf////tab////tab//c=getElementCount(arRequiredFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sFilename=getElement(getElement(arRequiredFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\0\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab//if(fileExists(sDataDir+sFilename))//crlf////tab////tab////tab////tab//sFileReadName=sDataDir+sFilename//crlf////tab////tab////tab////tab//sFileWriteName=sDestDir+sFilename//crlf////crlf////tab////tab////tab////tab//if((sFilename=\\quot\\itm.dbf\\quot\\) or (sFilename=\\quot\\cit.dbf\\quot\\))//crlf////tab////tab////tab////tab////tab////copy only items in the file that have been sold//crlf////tab////tab////tab////tab////tab//if(sFilename=\\quot\\itm.dbf\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//File1=sDataDir+sFilename//crlf////tab////tab////tab////tab////tab////tab//File2=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\itm.$$$\\quot\\//crlf////tab////tab////tab////tab////tab////tab//fileCopy(File1\\comma\\File2)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(Aloha_Item\\comma\\drvItmRead\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+File2)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(Aloha_Item\\comma\\drvItmWrite\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sDestDir+sFilename)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//File1=sDataDir+sFilename//crlf////tab////tab////tab////tab////tab////tab//File2=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\cit.$$$\\quot\\//crlf////tab////tab////tab////tab////tab////tab//fileCopy(File1\\comma\\File2)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(Aloha_Cit\\comma\\drvItmRead\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+File2)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(Aloha_Cit\\comma\\drvItmWrite\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sDestDir+sFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//cItem=driverGetRecordCount(drvItmRead\\comma\\true)//crlf////tab////tab////tab////tab////tab//nItem=0//crlf////tab////tab////tab////tab////tab//while(nItem<cItem)//crlf////tab////tab////tab////tab////tab////tab//if(sFilename=\\quot\\itm.dbf\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//iItem=driverGetFieldAbsolute(drvItmRead\\comma\\\\quot\\ID\\quot\\\\comma\\nItem)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//iItem=driverGetFieldAbsolute(drvItmRead\\comma\\\\quot\\ITEMID\\quot\\\\comma\\nItem)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hashItmSale\\comma\\iItem))//crlf////tab////tab////tab////tab////tab////tab////tab//driverCopyRecord(drvItmRead\\comma\\nItem\\comma\\drvItmWrite)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//nItem=nItem+1//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//driverClose(drvItmRead)//crlf////tab////tab////tab////tab////tab//driverClose(drvItmWrite)//crlf////tab////tab////tab////tab////tab//fileDelete(File2)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Processed \\quot\\+sFileReadName+\\quot\\ to \\quot\\+sFileWriteName+\\quot\\: \\quot\\+s)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////just copy the files//crlf////tab////tab////tab////tab////tab//s=fileCopy(sFileReadName\\comma\\sFileWriteName)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Copy \\quot\\+sFileReadName+\\quot\\ to \\quot\\+sFileWriteName+\\quot\\: \\quot\\+s)//crlf////tab////tab////tab////tab////tab//if(not(startsWith(s\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab//cError=cError+1//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=sResult+appendToLog(\\quot\\Error: Missing file: \\quot\\+sFilename)+char(13)+char(10)//crlf////tab////tab////tab////tab//cError=cError+1//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//if(cError>0)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Could not copy/process one or more files.  See the log.\\quot\\)//crlf////tab////tab//else//crlf////tab////tab////tab//scriptSetResult(\\quot\\Ok: Copied files from \\quot\\+sDataDir+\\quot\\ to \\quot\\+sDestDir)//crlf////tab////tab//endif//tab////tab////crlf////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=578789|X=183|Y=930|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=493062|AgentChildNoNode=426689|AgentSensor=Process Aloha Export Files|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\\quot\\POSDir\equals\\\quot\\//plus//POSDir//plus//\\quot\\\\amp\\Date\equals\__Date__\\quot\\|AgentNodeExpression=startsWith(result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Copy Aloha grind files to the posdata directory//comma// processing files to eliminate unused records|AgentNodeTermType=1|^
ID=426689|X=373|Y=930|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Process Aloha Export Files|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: An error occurred copying and processing the Aloha grind files to the posdata directory: \\quot\\//plus//result|AgentNodeActionReturnValue=|AgentNodeComment=An error occurred copying and processing the Aloha grind files to the posdata directory|AgentNodeTermType=1|^
ID=493062|X=183|Y=1085|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Process Aloha Export Files|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=result|AgentNodeActionReturnValue=|AgentNodeComment=Aloha grind files have been copied to the posdata directory.|AgentNodeTermType=0|^
ID=59601|X=183|Y=362|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=504855|AgentChildNoNode=271487|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(not(startsWith(\\quot\\__Date__\\quot\\//comma//\\quot\\__\\quot\\))) and (year(parseTime(\\quot\\__Date__\\quot\\//comma//\\quot\\MM-dd-yyyy\\quot\\))>2000)|AgentNodeActionReturnValue=|AgentNodeComment=Has a valid date been supplied|AgentNodeTermType=1|^
ID=271487|X=373|Y=362|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Invalid or missing date: __Date__\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Invalid or missing date|AgentNodeTermType=1|^
ID=681571|X=183|Y=233|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=59601|AgentChildNoNode=998244|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=isPackageLoaded(\\quot\\pos_aloha\\quot\\)|AgentNodeExpression=result|AgentNodeActionReturnValue=|AgentNodeComment=Is the Aloha package loaded?|AgentNodeTermType=1|^
ID=998244|X=373|Y=233|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Aloha package is not loaded\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Aloha package is not loaded|AgentNodeTermType=1|^
ID=977672|X=183|Y=620|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=465733|AgentChildNoNode=562686|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=getToken(\\quot\\Aspect6StartInDirectory\\quot\\)|AgentNodeExpression=(len(trim(result))>0) and (dirExists(result))|AgentNodeActionReturnValue=|AgentNodeComment=Is the Aspect start-in directory valid?  Files will be copied to [start-in directory]\posdata\MMddyyyy.|AgentNodeTermType=0|^
ID=562686|X=373|Y=620|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Aspect6 start-in directory is not valid: \\quot\\//plus//result|AgentNodeActionReturnValue=|AgentNodeComment=The Aspect6 start-in directory is invalid|AgentNodeTermType=1|
</widget><widget name="Convert Micros 3700 to DBF" group="POS Interface" category="Micros 3700" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Convert Micros 3700 To Dbf" modified="06-07-2023 15:00:19" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=04-03-2014 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=30 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(isPackageLoaded(\\quote\\POS_Micros3700\\quote\\)) and (getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\Micros3700\\quote\\) and (value(getToken(\\quote\\AspectCoreVersion\\quote\\))\\gt\\=7.6) and (hour(now())\\gt\\=4) and (hour(now())\\lt\\=23)" TaskConditional_Expression_Description="" TaskState_Function="if((pos(\\quote\\false\\quote\\,execSetCommand(replaceSubstring(getToken(\\quote\\RequiredPOSDataFiles\\quote\\),char(0x3B),char(0x2C)),\\quote\\fileSize($e$)\\quote\\+char(0x3E)+\\quote\\0\\quote\\))\\gt\\=0),now(),\\quote\\\\quote\\)" TaskState_Expression_Description="Executes when a required file in the posdata directory is missing or the size is 0" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=14|toolboxy=250|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Convert Micros 3700 to DBF.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=1025|H=34|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\top_bar\\quot\\; params:\\quot\\\\quot\\;>^
ID=left_bar|X=0|Y=15|W=121|H=49|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=false|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:widget; server:{aspecthashid}; secure:false; documentID:M2HDPGX49Sct3l6etItu5n1J; widget:Support Home; containerItemID:\\quot\\left_bar\\quot\\; params:\\quot\\startpackage=__startpackage__~~pipe~~package={@\\quot\\__package__\\quot\\}~~pipe~~menu=__menu__\\quot\\;>//crlf//^
ID=code|X=300|Y=100|W=740|H=660|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'856937')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'568612')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=856937|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=debug_console|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=568612|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=148378|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=onchange|AgentReportTo=if(defined(\\quot\\__Date__\\quot\\)//comma//\\quot\\\\quot\\//comma//getToken(\\quot\\AspectServerHashID\\quot\\))|AgentNameParams=__date__|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1153|H=831|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Convert Micros 3700 to DBF:__date__\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 05-28-2017 12:52:46//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////crlf////tab////tab////Is the agent already running?//crlf////tab////tab//appendToLog(\\quot\\(if(defined('__date__')\\comma\\scriptCount(this\\comma\\'Date=__Date__')'+char(0x3e)+'1\\comma\\scriptCount(this)'+char(0x3e)+'1))=\\quot\\+(if(defined(\\quot\\__date__\\quot\\)\\comma\\scriptCount(this\\comma\\\\quot\\Date=__Date__\\quot\\)>1\\comma\\scriptCount(this)>1)))//crlf////tab////tab//if(if(defined(\\quot\\__date__\\quot\\)\\comma\\scriptCount(this\\comma\\\\quot\\Date=__Date__\\quot\\)>1\\comma\\scriptCount(this)>1))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentTerminate\\comma\\74097\\comma\\0\\comma\\Agent is already running//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\quot\\\\comma\\\\quot\\74097\\quot\\\\comma\\0\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Agent is already running\\quot\\\\comma\\\\quot\\Ok: Aborted because another instance is already executing for __Date__\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Ok: Aborted because another instance is already executing for __Date__\\quot\\)//crlf////tab////tab//else//crlf////crlf////tab////tab////tab////Is a date specified?//crlf////tab////tab////tab//appendToLog(\\quot\\(not(startsWith('__Date__'\\comma\\'__')))=\\quot\\+(not(startsWith(\\quot\\__Date__\\quot\\\\comma\\\\quot\\__\\quot\\))))//crlf////tab////tab////tab//if(not(startsWith(\\quot\\__Date__\\quot\\\\comma\\\\quot\\__\\quot\\)))//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentAction\\comma\\896558\\comma\\0\\comma\\Parse the date//crlf////crlf////tab////tab////tab////tab////Parse the date//crlf////tab////tab////tab////tab//dt=parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Expression (parseTime('__Date__'\\comma\\'MM-dd-yyyy'))=\\quot\\+left(dt\\comma\\128))//crlf////crlf////tab////tab////tab////tab////Is the date valid?//crlf////tab////tab////tab////tab//appendToLog(\\quot\\((year(dt)'+char(0x3e)+'=2000) and (dt'+char(0x3c)+'=now()))=\\quot\\+((year(dt)>=2000) and (dt<=now())))//crlf////tab////tab////tab////tab//if((year(dt)>=2000) and (dt<=now()))//crlf////crlf////tab////tab////tab////tab////tab////Get the export directory//crlf////tab////tab////tab////tab////tab//ExportDir=getSensorValue(\\quot\\Get Micros 3700 DBF Export Directory\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:Get Micros 3700 DBF Export Directory ()=\\quot\\+left(ExportDir\\comma\\128))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\((len(ExportDir)'+char(0x3e)+'0) and (not(startsWith(ExportDir\\comma\\'Error'))))=\\quot\\+((len(ExportDir)>0) and (not(startsWith(ExportDir\\comma\\\\quot\\Error\\quot\\)))))//crlf////tab////tab////tab////tab////tab//if((len(ExportDir)>0) and (not(startsWith(ExportDir\\comma\\\\quot\\Error\\quot\\))))//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentDecision\\comma\\422688\\comma\\0\\comma\\Are the files already up to date?//crlf////crlf////tab////tab////tab////tab////tab////tab////Are the files already up to date?//crlf////tab////tab////tab////tab////tab////tab//Result=getSensorValue(\\quot\\Are DBF Files Up To Date\\quot\\\\comma\\\\quot\\ExportDir=\\quot\\+ExportDir+\\quot\\//amp//Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:Are DBF Files Up To Date ('ExportDir='+ExportDir+'//amp//Date=__Date__')=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(boolean(result))=\\quot\\+(boolean(result)))//crlf////tab////tab////tab////tab////tab////tab//if(boolean(result))//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentTerminate\\comma\\451706\\comma\\0\\comma\\Files are already up to date//crlf////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\quot\\\\comma\\\\quot\\451706\\quot\\\\comma\\0\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Files are already up to date\\quot\\\\comma\\\\quot\\Ok: Files are already up to date\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: Files are already up to date\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentAction\\comma\\243796\\comma\\0\\comma\\Create DBF files for the given date//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////Create DBF files for the given date//crlf////tab////tab////tab////tab////tab////tab////tab//ActionResult=execAgentAction(\\quot\\Create DBF Files For Specific Date\\quot\\\\comma\\\\quot\\ExportDir=\\quot\\+ExportDir+\\quot\\//amp//Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Create DBF Files For Specific Date ('ExportDir='+ExportDir+'//amp//Date=__Date__')=\\quot\\+left(ActionResult\\comma\\128))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////Were files created successfully?//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(ActionResult\\comma\\'ok'))=\\quot\\+(startsWith(ActionResult\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab//if(startsWith(ActionResult\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentTerminate\\comma\\57220\\comma\\0\\comma\\Files were created successfully//crlf////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\quot\\\\comma\\\\quot\\57220\\quot\\\\comma\\0\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Files were created successfully\\quot\\\\comma\\ActionResult\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(ActionResult)//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentTerminate\\comma\\790841\\comma\\1\\comma\\One or more files was not created//crlf////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\quot\\\\comma\\\\quot\\790841\\quot\\\\comma\\1\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\One or more files was not created\\quot\\\\comma\\ActionResult\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(ActionResult)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentTerminate\\comma\\412655\\comma\\1\\comma\\Could not get export directory//crlf////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\quot\\\\comma\\\\quot\\412655\\quot\\\\comma\\1\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Could not get export directory\\quot\\\\comma\\ExportDir\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(ExportDir)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentTerminate\\comma\\263306\\comma\\1\\comma\\Invalid date//crlf////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\quot\\\\comma\\\\quot\\263306\\quot\\\\comma\\1\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Invalid date\\quot\\\\comma\\\\quot\\Error: Invalid date: __Date__\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid date: __Date__\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentDecision\\comma\\353891\\comma\\0\\comma\\Is the Micros 3700 package loaded?//crlf////crlf////tab////tab////tab////tab////Is the Micros 3700 package loaded?//crlf////tab////tab////tab////tab//Result=isPackageLoaded(\\quot\\POS_Micros3700\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Decision:Expression (isPackageLoaded('POS_Micros3700'))=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\(result)=\\quot\\+(result))//crlf////tab////tab////tab////tab//if(result)//crlf////crlf////tab////tab////tab////tab////tab////Is the Micros 3700 database accessible?//crlf////tab////tab////tab////tab////tab//Result=getSensorValue(\\quot\\Is Micros Database Accessible\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:Is Micros Database Accessible ()=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\(true)=\\quot\\+(true))//crlf////tab////tab////tab////tab////tab//if(true)//crlf////crlf////tab////tab////tab////tab////tab////tab////Is the POS type Micros 3700?//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(getToken('POSInterface_PosType')='Micros3700')=\\quot\\+(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Micros3700\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//if(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Micros3700\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////Get the number of days to synchronize//crlf////tab////tab////tab////tab////tab////tab////tab//SynchDays=getSensorValue(\\quot\\Get Synch Days\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:Get Synch Days ()=\\quot\\+left(SynchDays\\comma\\128))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\((len(SynchDays)'+char(0x3e)+'0) and (not(startsWith(SynchDays\\comma\\'error'))))=\\quot\\+((len(SynchDays)>0) and (not(startsWith(SynchDays\\comma\\\\quot\\error\\quot\\)))))//crlf////tab////tab////tab////tab////tab////tab////tab//if((len(SynchDays)>0) and (not(startsWith(SynchDays\\comma\\\\quot\\error\\quot\\))))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////Is the number of days to synch greater than  zero?//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(SynchDays'+char(0x3e)+'0)=\\quot\\+(SynchDays>0))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(SynchDays>0)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////Is the number of days to synch less than 365//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(SynchDays'+char(0x3c)+'=365)=\\quot\\+(SynchDays<=365))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(SynchDays<=365)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Is the export directory valid?  Can it be created?//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//Result=getSensorValue(\\quot\\Get Micros 3700 DBF Export Directory\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:Get Micros 3700 DBF Export Directory ()=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\((len(Result)'+char(0x3e)+'0) and (not(startsWith(Result\\comma\\'Error'))))=\\quot\\+((len(Result)>0) and (not(startsWith(Result\\comma\\\\quot\\Error\\quot\\)))))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if((len(Result)>0) and (not(startsWith(Result\\comma\\\\quot\\Error\\quot\\))))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentAction\\comma\\63275\\comma\\0\\comma\\Create DBF files for all days for which files have not already been created.//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Create DBF files for all days for which files have not already been created.//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//ExportAllDaysResult=execAgentAction(\\quot\\Create DBF Files For All Days\\quot\\\\comma\\\\quot\\SynchDays=\\quot\\+SynchDays)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Create DBF Files For All Days ('SynchDays='+SynchDays)=\\quot\\+left(ExportAllDaysResult\\comma\\128))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////Were files created for all days//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(ExportAllDaysResult\\comma\\'ok'))=\\quot\\+(startsWith(ExportAllDaysResult\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(startsWith(ExportAllDaysResult\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentTerminate\\comma\\26373\\comma\\0\\comma\\Ok//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\quot\\\\comma\\\\quot\\26373\\quot\\\\comma\\0\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Ok\\quot\\\\comma\\ExportAllDaysResult\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(ExportAllDaysResult)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentTerminate\\comma\\157992\\comma\\1\\comma\\An error occurred creating dbf files//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\quot\\\\comma\\\\quot\\157992\\quot\\\\comma\\1\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\An error occurred creating dbf files\\quot\\\\comma\\ExportAllDaysResult\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(ExportAllDaysResult)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentTerminate\\comma\\688423\\comma\\1\\comma\\The export directory is invalid//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\quot\\\\comma\\\\quot\\688423\\quot\\\\comma\\1\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\The export directory is invalid\\quot\\\\comma\\if(len(Result)=0\\comma\\\\quot\\Error: The export directory is invalid\\quot\\\\comma\\Result)\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(if(len(Result)=0\\comma\\\\quot\\Error: The export directory is invalid\\quot\\\\comma\\Result))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentTerminate\\comma\\559827\\comma\\1\\comma\\Days to synchronize is greater than 365//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\quot\\\\comma\\\\quot\\559827\\quot\\\\comma\\1\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Days to synchronize is greater than 365\\quot\\\\comma\\\\quot\\Error: Days to synchronize is greater than 365: \\quot\\+SynchDays\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Days to synchronize is greater than 365: \\quot\\+SynchDays)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentTerminate\\comma\\29245\\comma\\1\\comma\\Days to synchronize is 0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\quot\\\\comma\\\\quot\\29245\\quot\\\\comma\\1\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Days to synchronize is 0\\quot\\\\comma\\\\quot\\Error: Days to synchronize is 0\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Days to synchronize is 0\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentTerminate\\comma\\414274\\comma\\1\\comma\\Could not get number of days to synchronize//crlf////tab////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\quot\\\\comma\\\\quot\\414274\\quot\\\\comma\\1\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Could not get number of days to synchronize\\quot\\\\comma\\\\quot\\Error: Could not get number of days to synchronize: [\\quot\\+SynchDays+\\quot\\]\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Could not get number of days to synchronize: [\\quot\\+SynchDays+\\quot\\]\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentTerminate\\comma\\658275\\comma\\1\\comma\\POS Type is not Micros 3700//crlf////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\quot\\\\comma\\\\quot\\658275\\quot\\\\comma\\1\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\POS Type is not Micros 3700\\quot\\\\comma\\\\quot\\Error: POS type is not Micros 3700.  Result=\\quot\\+Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: POS type is not Micros 3700.  Result=\\quot\\+Result)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentTerminate\\comma\\174292\\comma\\1\\comma\\Cannot connect to Micros 3700 database//crlf////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\quot\\\\comma\\\\quot\\174292\\quot\\\\comma\\1\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Cannot connect to Micros 3700 database\\quot\\\\comma\\\\quot\\Error: Cannot connect to Micros 3700 database\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Cannot connect to Micros 3700 database\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\comma\\AgentTerminate\\comma\\757546\\comma\\1\\comma\\Micros 3700 package is not loaded//crlf////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Micros 3700 to DBF:__date__\\quot\\\\comma\\\\quot\\757546\\quot\\\\comma\\1\\comma\\if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Micros 3700 package is not loaded\\quot\\\\comma\\\\quot\\Error: Micros 3700 package is not loaded\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Micros 3700 package is not loaded\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=868|H=725|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<_include type:expression; expression:htmlConstant(\\quot\\ExportDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSensorValue(\\quot\\Get Micros 3700 DBF Export Directory\\quot\\))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<!-- servertimer=false -->//crlf//<include type:script; commands:\\quot\\//crlf////tab//s=\\quot\\\\quot\\//crlf////tab//s=s + htmlConstant(\\quot\\AspectDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\replaceSubstring(getToken(Aspect6AspectDirectory)\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\))//crlf////tab//s=s + htmlConstant(\\quot\\StartInDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\replaceSubstring(getToken(Aspect6StartInDirectory)\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\))//crlf////tab//s=s + htmlConstant(\\quot\\ActiveStoreCode\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getToken(Aspect6ActiveStoreCode))//crlf////tab//s=s + htmlConstant(\\quot\\ActiveStoreDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\replaceSubstring(addDirSlash(lookup(Aspect6_Store_Directories_By_Code\\comma\\getToken(Aspect6ActiveStoreCode)))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\))//crlf////tab//s=s + htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))//crlf////tab//scriptSetResult(s)//crlf//\\quot\\>//crlf////crlf//<table>//crlf////tab//<tr>//crlf////tab////tab//<th align='left'>Description</th>//crlf////tab////tab//<th align='left'>Status</th>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Micros 3700 package</td>//crlf////tab////tab//<td>{@isPackageLoaded(\\quot\\POS_Micros3700\\quot\\)}</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>getToken(\\quot\\POSInterface_PosType\\quot\\)</td>//crlf////tab////tab//<td>{@getToken(\\quot\\POSInterface_PosType\\quot\\)}</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>getToken(\\quot\\AspectCoreVersion\\quot\\)</td>//crlf////tab////tab//<td>{@getToken(\\quot\\AspectCoreVersion\\quot\\)}</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>hour(now())</td>//crlf////tab////tab//<td>{@hour(now())}</td>//crlf////tab//</tr>//crlf//</table>//crlf//<br>//crlf////crlf//Required POS Files.  This is the value of the RequiredPOSDataFiles token<br>//crlf//<include type:script; commands:\\quot\\//crlf////tab//if(isTokenDefined(\\quot\\RequiredPOSDataFiles\\quot\\))//crlf////tab////tab//return(htmlTable(getToken(\\quot\\RequiredPOSDataFiles\\quot\\)\\comma\\char(0x3B)\\comma\\\\quot\\=\\quot\\))//crlf////tab//endif//crlf////crlf////tab//return(\\quot\\The token RequiredPOSDataFiles is not defined\\quot\\)//crlf//\\quot\\>//crlf//<br>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Directory Listings//crlf//--------------------------------------------------------------------------]//crlf//<include type:expression; expression:htmlConstant(\\quot\\posdatadir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\posdata\\\quot\\+replaceSubstring(getToken(\\quot\\POSInterface_PosType\\quot\\)\\comma\\\\quot\\micros3700\\quot\\\\comma\\\\quot\\mic3700\\quot\\))>//crlf////crlf//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir1'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of {HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\0)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir1\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec={HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\0)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir2'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of {HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-1)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir2\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec={HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-1)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir3'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of {HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-2)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir3\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec={HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-2)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir4'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of {HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-3)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir4\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec={HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-3)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf//<!-- Store Directory - Files for current month -->//crlf//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('StoreDirectory_CurrentMonth'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of __ActiveStoreDir__{@formatDate(now()\\comma\\\\quot\\MM\\quot\\)}-??-{@formatDate(now()\\comma\\\\quot\\yy\\quot\\)}.*</span></h2>//crlf//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\StoreDirectory_CurrentMonth\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec=__ActiveStoreDir__{@formatDate(now()\\comma\\\\quot\\MM\\quot\\)}-??-{@formatDate(now()\\comma\\\\quot\\yy\\quot\\)}.*//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false//amp//Display=none//amp//Filter=not(RemoteIsDirectory)//amp//ExternalFilter=false\\quot\\></div>//crlf////crlf//^
ID=AgentChart|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>05282017 125246</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart148378\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\150\\quot\\ style=\\quot\\width: 120px; height: 150px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Convert Micros 3700 to DBF</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: onchange<br>Report To: if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))<br>Name Params: __date__</div></div><div id=\\quot\\chart928462\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart896558\\quot\\ agentchildnonode=\\quot\\chart353891\\quot\\ style=\\quot\\position: absolute; top: 214px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is a date specified?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart353891\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart393711\\quot\\ agentchildnonode=\\quot\\chart757546\\quot\\ style=\\quot\\position: absolute; top: 214px; left: 730px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the Micros 3700 package loaded?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart757546\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 214px; left: 920px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Micros 3700 package is not loaded<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart63275\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart14482\\quot\\ style=\\quot\\position: absolute; top: 1117px; left: 730px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\134\\quot\\ style=\\quot\\width: 150px; height: 108px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Create DBF files for all days for which files have not already been created.<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Create//amp//nbsp;DBF//amp//nbsp;Files//amp//nbsp;For//amp//nbsp;All//amp//nbsp;Days<br></td></tr><tr><td><u>Return</u></td><td>ExportAllDaysResult</td></tr></tbody></table></div></div><div id=\\quot\\chart362441\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart685795\\quot\\ agentchildnonode=\\quot\\chart414274\\quot\\ style=\\quot\\position: absolute; top: 601px; left: 730px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Get the number of days to synchronize<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Get//amp//nbsp;Synch//amp//nbsp;Days<br></td></tr></tbody></table></div></div><div id=\\quot\\chart414274\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 601px; left: 920px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\110\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Could not get number of days to synchronize<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart685795\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart925681\\quot\\ agentchildnonode=\\quot\\chart29245\\quot\\ style=\\quot\\position: absolute; top: 730px; left: 730px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\90\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the number of days to synch greater than  zero?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart29245\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 730px; left: 920px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Days to synchronize is 0<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart925681\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart512112\\quot\\ agentchildnonode=\\quot\\chart559827\\quot\\ style=\\quot\\position: absolute; top: 859px; left: 730px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\90\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the number of days to synch less than 365<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart559827\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 859px; left: 920px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Days to synchronize is greater than 365<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart14482\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart26373\\quot\\ agentchildnonode=\\quot\\chart157992\\quot\\ style=\\quot\\position: absolute; top: 1277px; left: 730px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Were files created for all days<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart157992\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1277px; left: 920px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>An error occurred creating dbf files<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart896558\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart97063\\quot\\ style=\\quot\\position: absolute; top: 330px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\82\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Parse the date<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td>dt</td></tr></tbody></table></div></div><div id=\\quot\\chart97063\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart70689\\quot\\ agentchildnonode=\\quot\\chart263306\\quot\\ style=\\quot\\position: absolute; top: 464px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the date valid?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart263306\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 464px; left: 380px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Invalid date<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart243796\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart622518\\quot\\ style=\\quot\\position: absolute; top: 696px; left: 380px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Create DBF files for the given date<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Create//amp//nbsp;DBF//amp//nbsp;Files//amp//nbsp;For//amp//nbsp;Specific//amp//nbsp;Date<br></td></tr><tr><td><u>Return</u></td><td>ActionResult</td></tr></tbody></table></div></div><div id=\\quot\\chart70689\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart422688\\quot\\ agentchildnonode=\\quot\\chart412655\\quot\\ style=\\quot\\position: absolute; top: 580px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Get the export directory<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Get//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;DBF//amp//nbsp;Export//amp//nbsp;Directory<br></td></tr></tbody></table></div></div><div id=\\quot\\chart422688\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart451706\\quot\\ agentchildnonode=\\quot\\chart243796\\quot\\ style=\\quot\\position: absolute; top: 696px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Are the files already up to date?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Are//amp//nbsp;DBF//amp//nbsp;Files//amp//nbsp;Up//amp//nbsp;To//amp//nbsp;Date<br></td></tr></tbody></table></div></div><div id=\\quot\\chart622518\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart57220\\quot\\ agentchildnonode=\\quot\\chart790841\\quot\\ style=\\quot\\position: absolute; top: 843px; left: 380px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Were files created successfully?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart790841\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 843px; left: 570px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>One or more files was not created<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart512112\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart63275\\quot\\ agentchildnonode=\\quot\\chart688423\\quot\\ style=\\quot\\position: absolute; top: 988px; left: 730px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\90\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the export directory valid?  Can it be created?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Get//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;DBF//amp//nbsp;Export//amp//nbsp;Directory<br></td></tr></tbody></table></div></div><div id=\\quot\\chart688423\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 988px; left: 920px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>The export directory is invalid<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart412655\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 580px; left: 380px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Could not get export directory<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart148378\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart74097\\quot\\ agentchildnonode=\\quot\\chart928462\\quot\\ style=\\quot\\position: absolute; top: 214px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the agent already running?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart451706\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 825px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Files are already up to date<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart74097\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 343px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Agent is already running<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart312672\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart362441\\quot\\ agentchildnonode=\\quot\\chart658275\\quot\\ style=\\quot\\position: absolute; top: 472px; left: 730px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the POS type Micros 3700?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart658275\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 472px; left: 920px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>POS Type is not Micros 3700<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart393711\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart312672\\quot\\ agentchildnonode=\\quot\\chart174292\\quot\\ style=\\quot\\position: absolute; top: 343px; left: 730px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\90\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the Micros 3700 database accessible?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Is//amp//nbsp;Micros//amp//nbsp;Database//amp//nbsp;Accessible<br></td></tr></tbody></table></div></div><div id=\\quot\\chart174292\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 343px; left: 920px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\110\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Cannot connect to Micros 3700 database<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart57220\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 972px; left: 380px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Files were created successfully<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart26373\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1406px; left: 730px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div>^
ID=928462|X=373|Y=259|W=149|H=65|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=896558|AgentChildNoNode=353891|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=not(startsWith(\\quot\\__Date__\\quot\\//comma//\\quot\\__\\quot\\))|AgentNodeActionReturnValue=|AgentNodeComment=Is a date specified?|AgentNodeTermType=0|^
ID=action_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//ver 1.3//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//POS Micros 3700\\comma\\Create DBF Files For All Days\\comma\\action_list\\comma\\Action=createDBFFilesForAllDays\\comma\\private//crlf////tab//POS Micros 3700\\comma\\Create DBF Files For Specific Date\\comma\\action_list\\comma\\Action=createDBFFilesForSpecificDate\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//createDBFFilesForAllDays//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\createDBFFilesForAllDays\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//SynchDays - Number of days to synch//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\createDBFFilesForAllDays\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if the number of days to synch is not defined//crlf////tab////tab////tab//if(startsWith(\\quot\\__SynchDays__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Number of days to synch not specified\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if days to synch is less than 1 or greater than 365//crlf////tab////tab////tab//if((__SynchDays__<1) or (__SynchDays__>365))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Invalid number of days to synch: __SynchDays__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the startng/ending dates//crlf////tab////tab////tab//dt2=LastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab//dt1=dt2//crlf////tab////tab////tab//n=1//crlf////tab////tab////tab//while(n<__SynchDays__)//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\-1)//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//cDays=0//crlf////tab////tab////tab//while(dt1<=dt2)//crlf////tab////tab////tab////tab//s=execAgent(\\quot\\__d__\\quot\\\\comma\\\\quot\\__w__\\quot\\\\comma\\\\quot\\Date=\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//cDays=cDays\\plus\\1//crlf////tab////tab////tab////tab//if(startsWith(s\\comma\\\\quot\\error\\quot\\))//crlf////tab////tab////tab////tab////tab//cError=cError\\plus\\1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(cError=0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: Exported \\quot\\\\plus\\cDays\\plus\\\\quot\\ days\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Could not export \\quot\\\\plus\\cError\\plus\\\\quot\\ of \\quot\\\\plus\\cDays\\plus\\\\quot\\ days\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//createDBFFilesForSpecificDate//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\createDBFFilesForSpecificDate\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Reads the Micros 3700 database and creates DBF files for the given date.  Files that//crlf////tab////tab//already exist will not be created again unless they are zero bytes in length.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//ExportDir - location of the Posdata/Mic3700 directory (not including the dated directory)//crlf////tab////tab//Date - Date to check in MM-dd-yyyy format//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//String starting with OK or ERROR//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\createDBFFilesForSpecificDate\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Creating dbf files for __Date__\\quot\\)//crlf////crlf////tab////tab////tab////abort if the date is not specified//crlf////tab////tab////tab//if(startsWith(\\quot\\__Date__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: No date specified\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if an export directory is not specified//crlf////tab////tab////tab//if(startsWith(\\quot\\__ExportDir__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: No export directory specified\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////parse the date//crlf////tab////tab////tab//dt=parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////crlf////tab////tab////tab////abort if it\\apos\\s earlier than 8am and the POS_Micros3700_v_R_sys_menuitem_fam_grp table view has //crlf////tab////tab////tab////not been initialized in the micros database//crlf////tab////tab////tab//if(hour(now())<9) //crlf////tab////tab////tab////tab//sDriverParams=\\quot\\Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Testing POS_Micros3700_v_R_sys_menuitem_fam_grp.  Params=\\quot\\\\plus\\sDriverParams)//crlf////tab////tab////tab////tab//driverOpen(POS_Micros3700_v_R_sys_menuitem_fam_grp\\comma\\drvSybase\\comma\\READ\\comma\\false\\comma\\sDriverParams)//crlf////tab////tab////tab////tab//if(driverIsValid(drvSybase))//crlf////tab////tab////tab////tab////tab//driverSetFilter(drvSybase\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab//c=driverGetRecordCount(drvSybase)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\POS_Micros3700_v_R_sys_menuitem_fam_grp record count=\\quot\\\\plus\\c)//crlf////tab////tab////tab////tab////tab//driverClose(drvSybase)//crlf////tab////tab////tab////tab////tab//if(c=0)//crlf////tab////tab////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborting because POS_Micros3700_v_R_sys_menuitem_fam_grp contains no data.\\quot\\))//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//driverClose(drvSybase)//crlf////tab////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborting because could not open POS_Micros3700_v_R_sys_menuitem_fam_grp\\quot\\))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab//sExportDir=\\quot\\__ExportDir__\\quot\\//crlf////crlf////tab////tab////tab////make the directory if it doesn\\apos\\t already exist//crlf////tab////tab////tab//if(not(dirExists(sExportDir)))//crlf////tab////tab////tab////tab//s=fileMakeDirectory(sExportDir)//crlf////tab////tab////tab////tab//if(not(startsWith(s\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Unable to create directory: \\quot\\\\plus\\sExportDir)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////delete the processed.txt file if it exists.  This is used by the data available//crlf////tab////tab////tab////expression in the pos synch task to determine if all files have been processed.//crlf////tab////tab////tab////This prevents the synch task from running before processing is complete//crlf////tab////tab////tab////The sOldDir directory is used for stores that had Aspect6 installed and created files in the //crlf////tab////tab////tab////c:\aspect\posdata directory instead of [homedir]\posdata//crlf////tab////tab////tab//sDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata/mic3700/\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\/\\quot\\//crlf////tab////tab////tab//sOldDir=sExportDir\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\/\\quot\\//crlf////tab////tab////tab//if(fileExists(sDir\\plus\\\\quot\\processed.txt\\quot\\))//crlf////tab////tab////tab////tab//fileSetLength(sDir\\plus\\\\quot\\processed.txt\\quot\\\\comma\\0)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Set length of \\quot\\\\plus\\sDir\\plus\\\\quot\\processed.txt\\quot\\\\plus\\\\quot\\ to \\quot\\\\plus\\fileSize(sDir\\plus\\\\quot\\processed.txt\\quot\\)\\plus\\\\quot\\ bytes\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//if(fileExists(sOldDir\\plus\\\\quot\\processed.txt\\quot\\))//crlf////tab////tab////tab////tab//fileSetLength(sOldDir\\plus\\\\quot\\processed.txt\\quot\\\\comma\\0)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Set length of \\quot\\\\plus\\sOldDir\\plus\\\\quot\\processed.txt\\quot\\\\plus\\\\quot\\ to \\quot\\\\plus\\fileSize(sOldDir\\plus\\\\quot\\processed.txt\\quot\\)\\plus\\\\quot\\ bytes\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the starting/ending trans_seq abd chk_seq from the trans_dtl driver//crlf////tab////tab////tab//driverOpen(POS_Micros3700_trans_dtl\\comma\\dTransDtl\\comma\\READ\\comma\\false\\comma\\\\quot\\Date=__Date__\\quot\\)//crlf////tab////tab////tab//iMinTransSeq=driverRangeMin(dTransDtl\\comma\\\\quot\\trans_seq\\quot\\\\comma\\true\\comma\\\\quot\\not(trans_seq=0)\\quot\\)//crlf////tab////tab////tab//iMaxTransSeq=driverRangeMax(dTransDtl\\comma\\\\quot\\trans_seq\\quot\\\\comma\\true\\comma\\\\quot\\true\\quot\\)//crlf////tab////tab////tab//iMinCheckSeq=driverRangeMin(dTransDtl\\comma\\\\quot\\chk_seq\\quot\\\\comma\\true\\comma\\\\quot\\not(chk_seq=0)\\quot\\)//crlf////tab////tab////tab//iMaxCheckSeq=driverRangeMax(dTransDtl\\comma\\\\quot\\chk_seq\\quot\\\\comma\\true\\comma\\\\quot\\true\\quot\\)//crlf////tab////tab////tab//driverClose(dTransDtl)//crlf////tab////tab////tab//appendToLog(\\quot\\iMinTransSeq=\\quot\\\\plus\\iMinTransSeq\\plus\\\\quot\\ iMaxTransSeq=\\quot\\\\plus\\iMaxTransSeq\\plus\\\\quot\\ iMinCheckSeq=\\quot\\\\plus\\iMinCheckSeq\\plus\\\\quot\\ iMaxCheckSeq=\\quot\\\\plus\\iMaxCheckSeq)//crlf////tab////tab////tab////crlf////tab////tab////tab////get collection of drivers//crlf////tab////tab////tab//arDrivers=getCollection(POS_Micros3700_Sybase_Driver_By_Dbase_Driver)//crlf////crlf////tab////tab////tab////get the timestamp that will be applied to the dbf files//crlf////tab////tab////tab//dtTimestamp=parseTime(\\quot\\__Date__ 22:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)//crlf////crlf////tab////tab////tab//cExists=0//crlf////tab////tab////tab//cExported=0//crlf////tab////tab////tab//cError=0//crlf////crlf////tab////tab////tab////create dbf file for each driver//crlf////tab////tab////tab//c=getElementCount(arDrivers\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(arDrivers\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sDbfDriver=getElement(s\\comma\\0\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab////tab//sSybaseDriver=getElement(s\\comma\\1\\comma\\\\quot\\=\\quot\\)//crlf////crlf////tab////tab////tab////tab////get the directory in which files will be created.  Always use the Aspect7 home dir.//crlf////tab////tab////tab////tab////The olddir may be the old Aspect6 directory if defined.  Files will be copied here if //crlf////tab////tab////tab////tab////a directory is specified other then the Aspect7 home dir.//crlf////tab////tab////tab////tab//sDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata/mic3700/\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\/\\quot\\//crlf////tab////tab////tab////tab//sOldDir=sExportDir\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\/\\quot\\//crlf////crlf////tab////tab////tab////tab//sDir=replaceSubstring(sDir\\comma\\\\quot\\\\\quot\\\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab////tab////tab//sOldDir=replaceSubstring(sOldDir\\comma\\\\quot\\\\\quot\\\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\sDir=\\quot\\\\plus\\sDir)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\sOldDir=\\quot\\\\plus\\sOldDir)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////create the directory if it does not exist//crlf////tab////tab////tab////tab//if(not(fileExists(sDir)))//crlf////tab////tab////tab////tab////tab//fileMakeDirectory(sDir)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////get the dbf filename//crlf////tab////tab////tab////tab//sDbfFilename=sDir\\plus\\replaceSubstring(replaceSubstring(sDbfDriver\\comma\\\\quot\\POS_Micros3700_\\quot\\\\comma\\\\quot\\\\quot\\)\\comma\\\\quot\\_\\quot\\\\comma\\\\quot\\.\\quot\\)//crlf////crlf////tab////tab////tab////tab////export the file if it doesn\\apos\\t exist or if it contains no data//crlf////tab////tab////tab////tab//if((not(fileExists(sDbfFilename))) or (fileSize(sDbfFilename)=0))//crlf////crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Exporting \\quot\\\\plus\\sSybaseDriver\\plus\\\\quot\\ to \\quot\\\\plus\\sDbfFilename)//crlf////crlf////tab////tab////tab////tab////tab////delete the file if it exists//tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//if(fileExists(sDbfFilename))//crlf////tab////tab////tab////tab////tab////tab//fileDelete(sDbfFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////export the file if it was successfully deleted//crlf////tab////tab////tab////tab////tab//if(not(fileExists(sDbfFilename)))//crlf////tab////tab////tab////tab////tab////tab////open dbase driver//crlf////tab////tab////tab////tab////tab////tab//driverOpen(sDbfDriver\\comma\\drvDbf\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sDbfFilename)//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////set the filter//crlf////tab////tab////tab////tab////tab////tab//driverSetFilter(drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////tab////tab////tab////open sybase driver.  Apply filters where required.//crlf////tab////tab////tab////tab////tab////tab//sDriverParams=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if((sSybaseDriver=\\quot\\POS_Micros3700_sale_dtl\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_tmed_dtl\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_dsvc_dtl\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_dtl\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_mi_dtl\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sDriverParams=\\quot\\Filter=trans_seq\\quot\\\\plus\\char(0x3E)\\plus\\\\quot\\=\\quot\\\\plus\\iMinTransSeq\\plus\\\\quot\\ AND trans_seq\\quot\\\\plus\\char(0x3C)\\plus\\\\quot\\=\\quot\\\\plus\\iMaxTransSeq//crlf////tab////tab////tab////tab////tab////tab//elseif(sSybaseDriver=\\quot\\POS_Micros3700_chk_dtl\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sDriverParams=\\quot\\Filter=chk_seq\\quot\\\\plus\\char(0x3E)\\plus\\\\quot\\=\\quot\\\\plus\\iMinCheckSeq\\plus\\\\quot\\ AND chk_seq\\quot\\\\plus\\char(0x3C)\\plus\\\\quot\\=\\quot\\\\plus\\iMaxCheckSeq//crlf////tab////tab////tab////tab////tab////tab//elseif((sSybaseDriver=\\quot\\POS_Micros3700_dly_sys_ttl\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_v_R_employee_job_code\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_v_R_sys_menuitem_fam_grp\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_v_R_sys_trk\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_chk_dtl\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_trans_dtl\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sDriverParams=\\quot\\Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//endif //crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\sSybaseDriver=\\quot\\\\plus\\sSybaseDriver\\plus\\\\quot\\ sDriverParams=\\quot\\\\plus\\sDriverParams)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(sSybaseDriver\\comma\\drvSybase\\comma\\READ\\comma\\false\\comma\\sDriverParams)//crlf////tab////tab////tab////tab////tab////tab//if(driverIsValid(drvSybase))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//if(sSybaseDriver=\\quot\\POS_Micros3700_v_R_employee_time_card\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//dtLess30=incrementTime(now()\\comma\\-30)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sFilter=\\quot\\dateNumber(clock_IN_datetime)\\quot\\\\plus\\char(0x3e)\\plus\\dateNumber(dtLess30)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Setting filter=\\quot\\\\plus\\sFilter)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverSetFilter(drvSybase\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverSetFilter(drvSybase\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////disable selected files for Granite Links because they take too long and are not needed//crlf////tab////tab////tab////tab////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\m1skppjhy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if((sSybaseDriver=\\quot\\POS_Micros3700_mi_def\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_mi_dtl\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_dtl\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_tmed_def\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_sale_dtl\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_chk_dtl\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverSetFilter(drvSybase\\comma\\\\quot\\false\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Granite Links disabled import of: \\quot\\\\plus\\sSybaseDriver)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//arFields=driverGetFieldIDs(drvDbf\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//arFields=replaceSubstring(arFields\\comma\\\\quot\\Deleted~~pipe~~\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//arFields=replaceSubstring(arFields\\comma\\\\quot\\null~~pipe~~\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//arFields=replaceSubstring(arFields\\comma\\\\quot\\null\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//if(endsWith(arFields\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//arFields=left(arFields\\comma\\len(arFields)-1)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//tab////crlf////crlf////tab////tab////tab////tab////tab////tab////tab//arSybaseFields=driverGetFieldIDs(drvSybase\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////Field IDs in dbf are truncated.  Use alias fields to match them with the sybase field ID\\apos\\s//crlf////tab////tab////tab////tab////tab////tab////tab//arAlias=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//cDbfField=getElementCount(arFields\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//nDbfField=0//crlf////tab////tab////tab////tab////tab////tab////tab//while(nDbfField<cDbfField)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sDbfFieldID=getElement(arFields\\comma\\nDbfField\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(containsElement(arSybaseFields\\comma\\sDbfFieldID\\comma\\\\quot\\~~pipe~~\\quot\\)<0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////give a message if the dbf field is already defined in the alias fields//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(pos(sDbfFieldID\\plus\\\\quot\\=\\quot\\\\comma\\arAlias)>=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Duplicate alias field: \\quot\\\\plus\\sDbfFieldID)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//cSybaseField=getElementCount(arSybaseFields\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//nSybaseField=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//bDone=false//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//while((nSybaseField<cSybaseField) and (not(bDone)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//sSybaseFieldID=getElement(arSybaseFields\\comma\\nSybaseField\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(startsWith(sSybaseFieldID\\comma\\sDbfFieldID))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//arAlias=addElement(arAlias\\comma\\sDbfFieldID\\plus\\\\quot\\=\\quot\\\\plus\\sSybaseFieldID\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//bDone=true//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//nSybaseField=nSybaseField \\plus\\ 1//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//nDbfField=nDbfField \\plus\\ 1//crlf////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////When merging empsale\\comma\\ only include records for the date being processed//crlf////tab////tab////tab////tab////tab////tab////tab////This is required for Aspect6.  //crlf////tab////tab////tab////tab////tab////tab////tab//sSrcFilter=\\quot\\true\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//if(sDbfDriver=\\quot\\POS_Micros3700_empsale_dbf\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sSrcFilter=\\quot\\formatDate(start_time\\comma\\\\quot\\\\plus\\quote(\\quot\\MMddyyyy\\quot\\)\\plus\\\\quot\\)=\\quot\\\\plus\\quote(formatDate(dt\\comma\\\\quot\\MMddyyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverSetFilter(drvSybase\\comma\\sSrcFilter\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Fields=\\quot\\\\plus\\arFields)//crlf////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Alias=\\quot\\\\plus\\arAlias)//crlf////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\SrcFilter=\\quot\\\\plus\\sSrcFilter)//crlf////tab////tab////tab////tab////tab////tab////tab//t1=now()//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Src record count of \\quot\\\\plus\\sSybaseDriver\\plus\\\\quot\\=\\quot\\\\plus\\driverGetRecordCount(drvSybase))//crlf////tab////tab////tab////tab////tab////tab////tab//s=driverMerge(true\\comma\\drvDbf\\comma\\\\quot\\true\\quot\\\\comma\\drvSybase\\comma\\sSrcFilter\\comma\\\\quot\\ID\\quot\\\\comma\\arFields\\comma\\arAlias\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Merge: \\quot\\\\plus\\s\\plus\\\\quot\\ Elapsed: \\quot\\\\plus\\formatElapsedTime(now()-t1\\comma\\\\quot\\HMS\\quot\\\\comma\\true))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////when merging empsale\\comma\\ copy charge tips and cash tips for each employee into all//crlf////tab////tab////tab////tab////tab////tab////tab////records for the employee.  There is a problem in Aspect6 when an employee has two//crlf////tab////tab////tab////tab////tab////tab////tab////records since Aspect6 is only expecting one.  The problem occurs if the tip amount//crlf////tab////tab////tab////tab////tab////tab////tab////is not in the first record//crlf////tab////tab////tab////tab////tab////tab////tab////02-14-2014 - Added lines to clear the tips in the 2nd record.  Otherwise they//crlf////tab////tab////tab////tab////tab////tab////tab////will be duplicated in Aspect6.  May need to create a separate export for Aspect7//crlf////tab////tab////tab////tab////tab////tab////tab//if(sDbfDriver=\\quot\\POS_Micros3700_empsale_dbf\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////accumulate totals for each employee//crlf////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Writing tips for each employee.  Revised 02-14-2014\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//hashCreate(hCashTip)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//hashCreate(hChargeTip)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//hashCreate(hIndirectTip)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//c1=driverGetRecordCount(drvDbf\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab//while(n1<c1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//iEmpNum=driverGetFieldAbsolute(drvDbf\\comma\\\\quot\\employee_nu\\quot\\\\comma\\n1)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dCashTip=driverGetFieldAbsolute(drvDbf\\comma\\\\quot\\tips_decl_t\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dChargeTip=driverGetFieldAbsolute(drvDbf\\comma\\\\quot\\chgd_tips_t\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dIndirectTip=driverGetFieldAbsolute(drvDbf\\comma\\\\quot\\indirect_ti\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dCashTip=dCashTip \\plus\\ if(hashContainsKey(hCashTip\\comma\\iEmpNum)\\comma\\hashGet(hCashTip\\comma\\iEmpNum)\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dChargeTip=dChargeTip \\plus\\ if(hashContainsKey(hChargeTip\\comma\\iEmpNum)\\comma\\hashGet(hChargeTip\\comma\\iEmpNum)\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dIndirectTip=dIndirectTip\\plus\\ if(hashContainsKey(hIndirectTip\\comma\\iEmpNum)\\comma\\hashGet(hIndirectTip\\comma\\iEmpNum)\\comma\\0)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//hashPut(hCashTip\\comma\\iEmpNum\\comma\\dCashTip)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//hashPut(hChargeTip\\comma\\iEmpNum\\comma\\dChargeTip)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//hashPut(hIndirectTip\\comma\\iEmpNum\\comma\\dIndirectTip)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//n1=n1\\plus\\1//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////write the totals to the file//crlf////tab////tab////tab////tab////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab//while(n1<c1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//iEmpNum=driverGetFieldAbsolute(drvDbf\\comma\\\\quot\\employee_nu\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hCashTip\\comma\\iEmpNum))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvDbf\\comma\\\\quot\\tips_decl_t\\quot\\\\comma\\n1\\comma\\hashGet(hCashTip\\comma\\iEmpNum))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//hashPut(hCashTip\\comma\\iEmpNum\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hChargeTip\\comma\\iEmpNum))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvDbf\\comma\\\\quot\\chgd_tips_t\\quot\\\\comma\\n1\\comma\\hashGet(hChargeTip\\comma\\iEmpNum))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//hashPut(hChargeTip\\comma\\iEmpNum\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(hashContainsKey(hIndirectTip\\comma\\iEmpNum))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvDbf\\comma\\\\quot\\indirect_ti\\quot\\\\comma\\n\\comma\\hashGet(hIndirectTip\\comma\\iEmpNum))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//hashPut(hIndirectTip\\comma\\iEmpNum\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//n1=n1\\plus\\1//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////get record count of dbf file.  This is used to delete the menuttl file if//crlf////tab////tab////tab////tab////tab////tab////tab////no data is exported.  The menuttl data may not be available at the time that//crlf////tab////tab////tab////tab////tab////tab////tab////other data becomes available//crlf////tab////tab////tab////tab////tab////tab////tab//cDbfRecords=driverGetRecordCount(drvDbf\\comma\\true)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////if Granite Links\\comma\\ create a dummy record so the file size is not zero.  This avoids //crlf////tab////tab////tab////tab////tab////tab////tab////this action being called again//crlf////tab////tab////tab////tab////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\m1skppjhy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if((sSybaseDriver=\\quot\\POS_Micros3700_mi_def\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_mi_dtl\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_dtl\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_tmed_def\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_sale_dtl\\quot\\) or (sSybaseDriver=\\quot\\POS_Micros3700_chk_dtl\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverAddNewRecord(drvDbf)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Granite Links: Added dummy record to: \\quot\\\\plus\\sDbfDriver)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//driverClose(drvSybase)//tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab//driverClose(drvDbf)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Set timestamp of \\quot\\\\plus\\sDbfFilename\\plus\\\\quot\\ to \\quot\\\\plus\\formatDate(dtTimestamp\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)\\plus\\\\quot\\ Size: \\quot\\\\plus\\fileSize(sDbfFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//fileSetModified(sDbfFilename\\comma\\dtTimestamp)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////copy the file to the old directory if necessary//crlf////tab////tab////tab////tab////tab////tab////tab//if(sDir<>sOldDir)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sOldFilename=sOldDir\\plus\\fileName(sDbfFilename)\\plus\\fileExt(sDbfFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Copying \\quot\\\\plus\\sDbfFilename\\plus\\\\quot\\ to \\quot\\\\plus\\sOldFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//fileCopy(sDbfFilename\\comma\\sOldFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab//cExported=cExported \\plus\\ 1//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Unable to open driver: \\quot\\\\plus\\sSybaseDriver)//crlf////tab////tab////tab////tab////tab////tab////tab//driverClose(drvSybase)//crlf////tab////tab////tab////tab////tab////tab////tab//driverClose(drvDbf)//crlf////tab////tab////tab////tab////tab////tab////tab//cError=cError \\plus\\ 1//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Unable to replace file: \\quot\\\\plus\\sDbfFilename)//crlf////tab////tab////tab////tab////tab////tab//cError=cError \\plus\\ 1//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\File already exists:  \\quot\\\\plus\\sDbfFilename\\plus\\\\quot\\ Size=\\quot\\\\plus\\fileSize(sDbfFilename)\\plus\\\\quot\\ Modified=\\quot\\\\plus\\fileModified(sDbfFilename))//crlf////tab////tab////tab////tab////tab//cExists=cExists \\plus\\ 1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(cError=0)//crlf////tab////tab////tab////tab////Write the processed.txt file used by the pos synch task to determine if data //crlf////tab////tab////tab////tab////is available//crlf////tab////tab////tab////tab//sProcessedFilename=replaceSubstring(sExportDir\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\/processed.txt\\quot\\\\comma\\\\quot\\\\\quot\\\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab////tab////tab//fileWriteContent(sProcessedFilename\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss:SSS\\quot\\))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Wrote \\quot\\\\plus\\fileSize(sProcessedFilename)\\plus\\\\quot\\ bytes to \\quot\\\\plus\\sProcessedFilename)//crlf////crlf////tab////tab////tab////tab////need to handle situation in which data was originally written to c:\aspect instead of c:\aspect7 //crlf////tab////tab////tab////tab//sProcessedFilename2=replaceSubstring(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata/mic3700/\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\/processed.txt\\quot\\\\comma\\\\quot\\\\\quot\\\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab////tab////tab//if(sProcessedFilename<>sProcessedFilename2)//crlf////tab////tab////tab////tab////tab//fileWriteContent(sProcessedFilename2\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss:SSS\\quot\\))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Wrote \\quot\\\\plus\\fileSize(sProcessedFilename2)\\plus\\\\quot\\ bytes to \\quot\\\\plus\\sProcessedFilename2)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Converted:\\quot\\\\plus\\cExported\\plus\\\\quot\\ Already Existed:\\quot\\\\plus\\cExists\\plus\\\\quot\\ Errors:\\quot\\\\plus\\cError)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>^
ID=sensor_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//ver 1.2//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//POS Micros 3700\\comma\\Are DBF Files Up To Date\\comma\\sensor_list\\comma\\Sensor=dbfFilesUpToDate\\comma\\private//crlf////tab//POS Micros 3700\\comma\\Get Micros 3700 DBF Export Directory\\comma\\sensor_list\\comma\\Sensor=getMicros3700DBFExportDir\\comma\\private//crlf////tab//POS Micros 3700\\comma\\Is Micros Database Accessible\\comma\\sensor_list\\comma\\Sensor=isMicrosDatabaseAccessible\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//isMicrosDatabaseAccessible//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\isMicrosDatabaseAccessible\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Tests whether the Micros 3700 database is accessible by attempting to open //crlf////tab////tab//a driver from the database//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//none//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//true or false//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//driverOpen(\\quot\\POS_Micros3700_job_def\\quot\\\\comma\\d\\comma\\READ)//crlf////tab////tab////tab//b=driverIsValid(d)//crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//appendToLog(\\quot\\isMicrosDatabaseAccessible returns \\quot\\+b)//crlf////tab////tab////tab//scriptSetResult(b)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//getExportDir//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getMicros3700DBFExportDir\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Gets the export directory under which dated subfolders will be created.//crlf////tab////tab//The directory is named Micros3700.  If a copy of Aspect6 is installed\\comma\\ //crlf////tab////tab//the directory is located under the posdata directory in the Aspect start-in//crlf////tab////tab//directory.  If a copy of Aspect6 is not installed\\comma\\ the directory is//crlf////tab////tab//[homedir]posdata/mic3700.  The directory is created if it does not exist.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//none//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//The directory under which dated subfolders will be created or a string starting//crlf////tab////tab//with Error if the directory does not exist and cannot be created.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//sExportDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/mic3700/\\quot\\//crlf////tab////tab////tab//sAspectDir=addDirSlash(getToken(\\quot\\Aspect6AspectDirectory\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\ExportDir=\\quot\\+sExportDir)//crlf////tab////tab////tab//appendToLog(\\quot\\AspectDir=\\quot\\+sAspectDir)//crlf////tab////tab////tab//appendToLog(\\quot\\dirExists(\\quot\\+sAspectDir+\\quot\\)=\\quot\\+(dirExists(sAspectDir)))//crlf////tab////tab////tab//if((len(sAspectDir)>1) and (dirExists(sAspectDir)))//crlf////tab////tab////tab////tab//sExportDir=sAspectDir+\\quot\\posdata/mic3700/\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Set export directory to \\quot\\+sExportDir)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(not(dirExists(sExportDir)))//crlf////tab////tab////tab////tab//fileMakeDirectory(sExportDir)//crlf////tab////tab////tab////tab//if(not(dirExists(sExportDir)))//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Unable to create directory: \\quot\\+sExportDir)//crlf////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//scriptSetResult(sExportDir)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//dbfFilesUpToDate//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\dbfFilesUpToDate\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Determines is all DBF files have been created for the given date//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//ExportDir - location of the Posdata/Mic3700 directory (not including the dated directory)//crlf////tab////tab//Date - Date to check in MM-dd-yyyy format//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//true or false//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\dbfFilesUpToDate: started\\quot\\)//crlf////crlf////tab////tab////tab////get collection of DBF drivers//crlf////tab////tab////tab//arDrivers=getCollection(POS_Micros3700_Sybase_Driver_By_Dbase_Driver)//crlf////crlf////tab////tab////tab////format the date as yyyyMMdd //crlf////tab////tab////tab//sDate=formatDate(parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////crlf////tab////tab////tab////get the directory//crlf////tab////tab////tab////sDir=addDirSlash(\\quot\\__ExportDir__\\quot\\)+sDate+\\quot\\/\\quot\\//crlf////tab////tab////tab//sDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\mic3700\\\quot\\+sDate+\\quot\\\\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Checking for files in \\quot\\+sDir)//crlf////tab////tab////tab//appendToLog(\\quot\\dbfFilesUpToDate: arDrivers=\\quot\\+arDrivers)//crlf////crlf////tab////tab////tab////see if all files exist//crlf////tab////tab////tab//cMissing=0//crlf////tab////tab////tab//c=getElementCount(arDrivers\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(arDrivers\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sDbfDriver=getElement(s\\comma\\0\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab////tab//sSybaseDriver=getElement(s\\comma\\1\\comma\\\\quot\\=\\quot\\)//crlf////crlf////tab////tab////tab////tab//sDbfFilename=sDir+replaceSubstring(replaceSubstring(sDbfDriver\\comma\\\\quot\\POS_Micros3700_\\quot\\\\comma\\\\quot\\\\quot\\)\\comma\\\\quot\\_\\quot\\\\comma\\\\quot\\.\\quot\\)//crlf////tab////tab////tab////tab//if(not(fileExists(sDbfFilename))) //crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\dbfFilesUpToDate: DBF file does not exist: \\quot\\+sDbfFilename)//crlf////tab////tab////tab////tab////tab//cMissing=cMissing + 1//crlf////tab////tab////tab////tab//elseif(fileSize(sDbfFilename)=0)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\dbfFilesUpToDate: File size is 0: \\quot\\+sDbfFilename)//crlf////tab////tab////tab////tab////tab//cMissing=cMissing + 1//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////check for invalid menuttl.dbf and emptime.dbf//crlf////tab////tab////tab////tab////tab//if((filename(sDbfFilename)=\\quot\\menuttl\\quot\\) or (filename(sDbfFilename)=\\quot\\emptime\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//if(fileSize(sDbfFilename)<3000)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Deleting invalid file: \\quot\\+sDbfFilename+\\quot\\ size=\\quot\\+fileSize(sDbfFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//fileDelete(sDbfFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//if(fileExists(sDbfFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//fileSetLength(sDbfFilename\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//cMissing=cMissing + 1//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\dbfFilesUpToDate: File exists: \\quot\\+sDbfFilename+\\quot\\ Size: \\quot\\+fileSize(sDbfFilename)+\\quot\\ Modified: \\quot\\+formatDate(fileModified(sDbfFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\dbfFilesUpToDate: File exists: \\quot\\+sDbfFilename+\\quot\\ Size: \\quot\\+fileSize(sDbfFilename)+\\quot\\ Modified: \\quot\\+formatDate(fileModified(sDbfFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////see if the processed.txt file exists.  This was added 8/2018 to address a situation in which //crlf////tab////tab////tab////a computer (Zachary's) was being rebooted while the midtl file was being created.  This made it //crlf////tab////tab////tab////appear that all files had been created but there was no processed.txt which would cause the //crlf////tab////tab////tab////pos synch tasks to be disabled//crlf////tab////tab////tab//if(not(fileExists(sDir+\\quot\\processed.txt\\quot\\)))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Missing \\quot\\+sDir+\\quot\\processed.txt\\quot\\)//crlf////tab////tab////tab////tab//cMissing++//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(cMissing=0)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\dbfFilesUpToDate: returns true\\quot\\)//crlf////tab////tab////tab////tab//scriptSetResult(true)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\dbfFilesUpToDate: returns false.  cMissing=\\quot\\+cMissing)//crlf////tab////tab////tab////tab//scriptSetResult(false)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=353891|X=913|Y=259|W=149|H=76|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=393711|AgentChildNoNode=757546|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=isPackageLoaded(\\quot\\POS_Micros3700\\quot\\)|AgentNodeExpression=result|AgentNodeActionReturnValue=|AgentNodeComment=Is the Micros 3700 package loaded?|AgentNodeTermType=0|^
ID=757546|X=1103|Y=259|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Are DBF Files Up To Date|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Micros 3700 package is not loaded\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Micros 3700 package is not loaded|AgentNodeTermType=1|^
ID=63275|X=913|Y=1162|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=14482|AgentChildNoNode=|AgentSensor=Get Synch Days|AgentAction=Create DBF Files For All Days|AgentNodeNotes=|AgentNodeParams=\\quot\\SynchDays\equals\\\quot\\//plus//SynchDays|AgentNodeExpression=|AgentNodeActionReturnValue=ExportAllDaysResult|AgentNodeComment=Create DBF files for all days for which files have not already been created.|AgentNodeTermType=0|^
ID=362441|X=913|Y=646|W=149|H=78|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=685795|AgentChildNoNode=414274|AgentSensor=Get Synch Days|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(len(SynchDays)>0) and (not(startsWith(SynchDays//comma//\\quot\\error\\quot\\)))|AgentNodeActionReturnValue=SynchDays|AgentNodeComment=Get the number of days to synchronize|AgentNodeTermType=0|^
ID=414274|X=1103|Y=646|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get Synch Days|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Could not get number of days to synchronize: [\\quot\\//plus//SynchDays//plus//\\quot\\]\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Could not get number of days to synchronize|AgentNodeTermType=1|^
ID=685795|X=913|Y=775|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=925681|AgentChildNoNode=29245|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=SynchDays>0|AgentNodeActionReturnValue=|AgentNodeComment=Is the number of days to synch greater than  zero?|AgentNodeTermType=0|^
ID=29245|X=1103|Y=775|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get Synch Days|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Days to synchronize is 0\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Days to synchronize is 0|AgentNodeTermType=1|^
ID=925681|X=913|Y=904|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=512112|AgentChildNoNode=559827|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=SynchDays<\equals\365|AgentNodeActionReturnValue=|AgentNodeComment=Is the number of days to synch less than 365|AgentNodeTermType=0|^
ID=559827|X=1103|Y=904|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get Synch Days|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Days to synchronize is greater than 365: \\quot\\//plus//SynchDays|AgentNodeActionReturnValue=|AgentNodeComment=Days to synchronize is greater than 365|AgentNodeTermType=1|^
ID=14482|X=913|Y=1322|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=26373|AgentChildNoNode=157992|AgentSensor=1|AgentAction=Create DBF Files For All Days|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(ExportAllDaysResult//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Were files created for all days|AgentNodeTermType=0|^
ID=157992|X=1103|Y=1322|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get Synch Days|AgentAction=Create DBF Files For All Days|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ExportAllDaysResult|AgentNodeActionReturnValue=|AgentNodeComment=An error occurred creating dbf files|AgentNodeTermType=1|^
ID=896558|X=373|Y=375|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=97063|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=parseTime(\\quot\\__Date__\\quot\\//comma//\\quot\\MM-dd-yyyy\\quot\\)|AgentNodeExpression=|AgentNodeActionReturnValue=dt|AgentNodeComment=Parse the date|AgentNodeTermType=0|^
ID=97063|X=373|Y=509|W=149|H=63|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=70689|AgentChildNoNode=263306|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(year(dt)>\equals\2000) and (dt<\equals\now())|AgentNodeActionReturnValue=|AgentNodeComment=Is the date valid?|AgentNodeTermType=0|^
ID=263306|X=563|Y=509|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Are DBF Files Up To Date|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Invalid date: __Date__\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Invalid date|AgentNodeTermType=1|^
ID=243796|X=563|Y=741|W=149|H=96|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=622518|AgentChildNoNode=|AgentSensor=1|AgentAction=Create DBF Files For Specific Date|AgentNodeNotes=|AgentNodeParams=\\quot\\ExportDir\equals\\\quot\\//plus//ExportDir//plus//\\quot\\\\amp\\Date\equals\__Date__\\quot\\|AgentNodeExpression=|AgentNodeActionReturnValue=ActionResult|AgentNodeComment=Create DBF files for the given date|AgentNodeTermType=0|^
ID=70689|X=373|Y=625|W=149|H=81|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=422688|AgentChildNoNode=412655|AgentSensor=Get Micros 3700 DBF Export Directory|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(len(ExportDir)>0) and (not(startsWith(ExportDir//comma//\\quot\\Error\\quot\\)))|AgentNodeActionReturnValue=ExportDir|AgentNodeComment=Get the export directory|AgentNodeTermType=0|^
ID=422688|X=373|Y=741|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=451706|AgentChildNoNode=243796|AgentSensor=Are DBF Files Up To Date|AgentAction=1|AgentNodeNotes=|AgentNodeParams=\\quot\\ExportDir\equals\\\quot\\//plus//ExportDir//plus//\\quot\\\\amp\\Date\equals\__Date__\\quot\\|AgentNodeExpression=boolean(result)|AgentNodeActionReturnValue=|AgentNodeComment=Are the files already up to date?|AgentNodeTermType=0|^
ID=622518|X=563|Y=888|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=57220|AgentChildNoNode=790841|AgentSensor=1|AgentAction=Create DBF Files For Specific Date|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(ActionResult//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Were files created successfully?|AgentNodeTermType=0|^
ID=790841|X=753|Y=888|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=Create DBF Files For Specific Date|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ActionResult|AgentNodeActionReturnValue=|AgentNodeComment=One or more files was not created|AgentNodeTermType=1|^
ID=512112|X=913|Y=1033|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=63275|AgentChildNoNode=688423|AgentSensor=Get Micros 3700 DBF Export Directory|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(len(Result)>0) and (not(startsWith(Result//comma//\\quot\\Error\\quot\\)))|AgentNodeActionReturnValue=|AgentNodeComment=Is the export directory valid?  Can it be created?|AgentNodeTermType=0|^
ID=688423|X=1103|Y=1033|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get Micros 3700 DBF Export Directory|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=if(len(Result)\equals\0//comma//\\quot\\Error: The export directory is invalid\\quot\\//comma//Result)|AgentNodeActionReturnValue=|AgentNodeComment=The export directory is invalid|AgentNodeTermType=1|^
ID=412655|X=563|Y=625|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=0|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ExportDir|AgentNodeActionReturnValue=|AgentNodeComment=Could not get export directory|AgentNodeTermType=1|^
ID=148378|X=183|Y=259|W=149|H=78|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=74097|AgentChildNoNode=928462|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=if(defined(\\quot\\__date__\\quot\\)//comma//scriptCount(this//comma//\\quot\\Date\equals\__Date__\\quot\\)>1//comma//scriptCount(this)>1)|AgentNodeActionReturnValue=|AgentNodeComment=Is the agent already running?|AgentNodeTermType=0|^
ID=451706|X=373|Y=870|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=0|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Ok: Files are already up to date\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Files are already up to date|AgentNodeTermType=0|^
ID=74097|X=183|Y=388|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Ok: Aborted because another instance is already executing for __Date__\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Agent is already running|AgentNodeTermType=0|^
ID=312672|X=913|Y=517|W=149|H=76|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=362441|AgentChildNoNode=658275|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=getToken(\\quot\\POSInterface_PosType\\quot\\)\equals\\\quot\\Micros3700\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Is the POS type Micros 3700?|AgentNodeTermType=0|^
ID=658275|X=1103|Y=517|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get POS Type|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: POS type is not Micros 3700.  Result\equals\\\quot\\//plus//Result|AgentNodeActionReturnValue=|AgentNodeComment=POS Type is not Micros 3700|AgentNodeTermType=1|^
ID=393711|X=913|Y=388|W=149|H=78|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=312672|AgentChildNoNode=174292|AgentSensor=Is Micros Database Accessible|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=true|AgentNodeActionReturnValue=|AgentNodeComment=Is the Micros 3700 database accessible?|AgentNodeTermType=1|^
ID=174292|X=1103|Y=388|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Is Micros Database Accessible|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Cannot connect to Micros 3700 database\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Cannot connect to Micros 3700 database|AgentNodeTermType=1|^
ID=57220|X=563|Y=1017|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=0|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ActionResult|AgentNodeActionReturnValue=|AgentNodeComment=Files were created successfully|AgentNodeTermType=0|^
ID=ScriptText|X=183|Y=41|W=850|H=766|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;05282017//amp//nbsp;125246//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Convert//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;to//amp//nbsp;DBF:__date__\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;05-28-2017//amp//nbsp;12:52:46</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;already//amp//nbsp;running?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>('__date__')\\comma\\<span class='keyword'>scriptCount</span>(this\\comma\\'Date=__Date__')'+<span class='keyword'>char</span>(0x3e)+'1\\comma\\<span class='keyword'>scriptCount</span>(this)'+<span class='keyword'>char</span>(0x3e)+'1))=\\quot\\+(<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__date__\\quot\\)\\comma\\<span class='keyword'>scriptCount</span>(this\\comma\\\\quot\\Date=__Date__\\quot\\)//amp//gt;1\\comma\\<span class='keyword'>scriptCount</span>(this)//amp//gt;1)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(<span class='keyword'>if</span>(<span class='keyword'>defined</span>(\\quot\\__date__\\quot\\)\\comma\\<span class='keyword'>scriptCount</span>(this\\comma\\\\quot\\Date=__Date__\\quot\\)//amp//gt;1\\comma\\<span class='keyword'>scriptCount</span>(this)//amp//gt;1))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;to//amp//nbsp;DBF:__date__\\quot\\\\comma\\\\quot\\74097\\quot\\\\comma\\0\\comma\\<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Agent//amp//nbsp;is//amp//nbsp;already//amp//nbsp;running\\quot\\\\comma\\\\quot\\Ok://amp//nbsp;Aborted//amp//nbsp;because//amp//nbsp;another//amp//nbsp;instance//amp//nbsp;is//amp//nbsp;already//amp//nbsp;executing//amp//nbsp;for//amp//nbsp;__Date__\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok://amp//nbsp;Aborted//amp//nbsp;because//amp//nbsp;another//amp//nbsp;instance//amp//nbsp;is//amp//nbsp;already//amp//nbsp;executing//amp//nbsp;for//amp//nbsp;__Date__\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;a//amp//nbsp;date//amp//nbsp;specified?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>('__Date__'\\comma\\'__')))=\\quot\\+(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(\\quot\\__Date__\\quot\\\\comma\\\\quot\\__\\quot\\))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(\\quot\\__Date__\\quot\\\\comma\\\\quot\\__\\quot\\)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Parse//amp//nbsp;the//amp//nbsp;date</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;dt=<span class='keyword'>parseTime</span>(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Expression//amp//nbsp;(<span class='keyword'>parseTime</span>('__Date__'\\comma\\'MM-dd-yyyy'))=\\quot\\+<span class='keyword'>left</span>(dt\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;date//amp//nbsp;valid?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\((<span class='keyword'>year</span>(dt)'+<span class='keyword'>char</span>(0x3e)+'=2000)//amp//nbsp;and//amp//nbsp;(dt'+<span class='keyword'>char</span>(0x3c)+'=<span class='keyword'>now</span>()))=\\quot\\+((<span class='keyword'>year</span>(dt)//amp//gt;=2000)//amp//nbsp;and//amp//nbsp;(dt//amp//lt;=<span class='keyword'>now</span>())))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>year</span>(dt)//amp//gt;=2000)//amp//nbsp;and//amp//nbsp;(dt//amp//lt;=<span class='keyword'>now</span>()))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Get//amp//nbsp;the//amp//nbsp;export//amp//nbsp;directory</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;ExportDir=<span class='keyword'>getSensorValue</span>(\\quot\\Get//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;DBF//amp//nbsp;Export//amp//nbsp;Directory\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:Get//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;DBF//amp//nbsp;Export//amp//nbsp;Directory//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(ExportDir\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\((<span class='keyword'>len</span>(ExportDir)'+<span class='keyword'>char</span>(0x3e)+'0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(ExportDir\\comma\\'Error'))))=\\quot\\+((<span class='keyword'>len</span>(ExportDir)//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(ExportDir\\comma\\\\quot\\Error\\quot\\)))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>len</span>(ExportDir)//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(ExportDir\\comma\\\\quot\\Error\\quot\\))))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Are//amp//nbsp;the//amp//nbsp;files//amp//nbsp;already//amp//nbsp;up//amp//nbsp;to//amp//nbsp;date?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getSensorValue</span>(\\quot\\Are//amp//nbsp;DBF//amp//nbsp;Files//amp//nbsp;Up//amp//nbsp;To//amp//nbsp;Date\\quot\\\\comma\\\\quot\\ExportDir=\\quot\\+ExportDir+\\quot\\//amp//Date=__Date__\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:Are//amp//nbsp;DBF//amp//nbsp;Files//amp//nbsp;Up//amp//nbsp;To//amp//nbsp;Date//amp//nbsp;('ExportDir='+ExportDir+'//amp//Date=__Date__')=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>boolean</span>(result))=\\quot\\+(<span class='keyword'>boolean</span>(result)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>boolean</span>(result))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;to//amp//nbsp;DBF:__date__\\quot\\\\comma\\\\quot\\451706\\quot\\\\comma\\0\\comma\\<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Files//amp//nbsp;are//amp//nbsp;already//amp//nbsp;up//amp//nbsp;to//amp//nbsp;date\\quot\\\\comma\\\\quot\\Ok://amp//nbsp;Files//amp//nbsp;are//amp//nbsp;already//amp//nbsp;up//amp//nbsp;to//amp//nbsp;date\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok://amp//nbsp;Files//amp//nbsp;are//amp//nbsp;already//amp//nbsp;up//amp//nbsp;to//amp//nbsp;date\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Create//amp//nbsp;DBF//amp//nbsp;files//amp//nbsp;for//amp//nbsp;the//amp//nbsp;given//amp//nbsp;date</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;ActionResult=<span class='keyword'>execAgentAction</span>(\\quot\\Create//amp//nbsp;DBF//amp//nbsp;Files//amp//nbsp;For//amp//nbsp;Specific//amp//nbsp;Date\\quot\\\\comma\\\\quot\\ExportDir=\\quot\\+ExportDir+\\quot\\//amp//Date=__Date__\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Create//amp//nbsp;DBF//amp//nbsp;Files//amp//nbsp;For//amp//nbsp;Specific//amp//nbsp;Date//amp//nbsp;('ExportDir='+ExportDir+'//amp//Date=__Date__')=\\quot\\+<span class='keyword'>left</span>(ActionResult\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Were//amp//nbsp;files//amp//nbsp;created//amp//nbsp;successfully?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(ActionResult\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(ActionResult\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(ActionResult\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;to//amp//nbsp;DBF:__date__\\quot\\\\comma\\\\quot\\57220\\quot\\\\comma\\0\\comma\\<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Files//amp//nbsp;were//amp//nbsp;created//amp//nbsp;successfully\\quot\\\\comma\\ActionResult\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(ActionResult)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;to//amp//nbsp;DBF:__date__\\quot\\\\comma\\\\quot\\790841\\quot\\\\comma\\1\\comma\\<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\One//amp//nbsp;or//amp//nbsp;more//amp//nbsp;files//amp//nbsp;was//amp//nbsp;not//amp//nbsp;created\\quot\\\\comma\\ActionResult\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(ActionResult)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;to//amp//nbsp;DBF:__date__\\quot\\\\comma\\\\quot\\412655\\quot\\\\comma\\1\\comma\\<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Could//amp//nbsp;not//amp//nbsp;get//amp//nbsp;export//amp//nbsp;directory\\quot\\\\comma\\ExportDir\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(ExportDir)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;to//amp//nbsp;DBF:__date__\\quot\\\\comma\\\\quot\\263306\\quot\\\\comma\\1\\comma\\<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Invalid//amp//nbsp;date\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Invalid//amp//nbsp;date://amp//nbsp;__Date__\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Invalid//amp//nbsp;date://amp//nbsp;__Date__\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;package//amp//nbsp;loaded?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>isPackageLoaded</span>(\\quot\\POS_Micros3700\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:Expression//amp//nbsp;(<span class='keyword'>isPackageLoaded</span>('POS_Micros3700'))=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(result)=\\quot\\+(result))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(result)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;database//amp//nbsp;accessible?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getSensorValue</span>(\\quot\\Is//amp//nbsp;Micros//amp//nbsp;Database//amp//nbsp;Accessible\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:Is//amp//nbsp;Micros//amp//nbsp;Database//amp//nbsp;Accessible//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(true)=\\quot\\+(true))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(true)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;POS//amp//nbsp;type//amp//nbsp;Micros//amp//nbsp;3700?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>getToken</span>('POSInterface_PosType')='Micros3700')=\\quot\\+(<span class='keyword'>getToken</span>(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Micros3700\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>getToken</span>(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Micros3700\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Get//amp//nbsp;the//amp//nbsp;number//amp//nbsp;of//amp//nbsp;days//amp//nbsp;to//amp//nbsp;synchronize</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;SynchDays=<span class='keyword'>getSensorValue</span>(\\quot\\Get//amp//nbsp;Synch//amp//nbsp;Days\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:Get//amp//nbsp;Synch//amp//nbsp;Days//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(SynchDays\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\((<span class='keyword'>len</span>(SynchDays)'+<span class='keyword'>char</span>(0x3e)+'0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(SynchDays\\comma\\'error'))))=\\quot\\+((<span class='keyword'>len</span>(SynchDays)//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(SynchDays\\comma\\\\quot\\error\\quot\\)))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>len</span>(SynchDays)//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(SynchDays\\comma\\\\quot\\error\\quot\\))))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;number//amp//nbsp;of//amp//nbsp;days//amp//nbsp;to//amp//nbsp;synch//amp//nbsp;greater//amp//nbsp;than//amp//nbsp;//amp//nbsp;zero?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(SynchDays'+<span class='keyword'>char</span>(0x3e)+'0)=\\quot\\+(SynchDays//amp//gt;0))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(SynchDays//amp//gt;0)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;number//amp//nbsp;of//amp//nbsp;days//amp//nbsp;to//amp//nbsp;synch//amp//nbsp;less//amp//nbsp;than//amp//nbsp;365</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(SynchDays'+<span class='keyword'>char</span>(0x3c)+'=365)=\\quot\\+(SynchDays//amp//lt;=365))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(SynchDays//amp//lt;=365)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;export//amp//nbsp;directory//amp//nbsp;valid?//amp//nbsp;//amp//nbsp;Can//amp//nbsp;it//amp//nbsp;be//amp//nbsp;created?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>getSensorValue</span>(\\quot\\Get//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;DBF//amp//nbsp;Export//amp//nbsp;Directory\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:Get//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;DBF//amp//nbsp;Export//amp//nbsp;Directory//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\((<span class='keyword'>len</span>(Result)'+<span class='keyword'>char</span>(0x3e)+'0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(Result\\comma\\'Error'))))=\\quot\\+((<span class='keyword'>len</span>(Result)//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\Error\\quot\\)))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>len</span>(Result)//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\Error\\quot\\))))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Create//amp//nbsp;DBF//amp//nbsp;files//amp//nbsp;for//amp//nbsp;all//amp//nbsp;days//amp//nbsp;for//amp//nbsp;which//amp//nbsp;files//amp//nbsp;have//amp//nbsp;not//amp//nbsp;already//amp//nbsp;been//amp//nbsp;created.</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;ExportAllDaysResult=<span class='keyword'>execAgentAction</span>(\\quot\\Create//amp//nbsp;DBF//amp//nbsp;Files//amp//nbsp;For//amp//nbsp;All//amp//nbsp;Days\\quot\\\\comma\\\\quot\\SynchDays=\\quot\\+SynchDays)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Create//amp//nbsp;DBF//amp//nbsp;Files//amp//nbsp;For//amp//nbsp;All//amp//nbsp;Days//amp//nbsp;('SynchDays='+SynchDays)=\\quot\\+<span class='keyword'>left</span>(ExportAllDaysResult\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Were//amp//nbsp;files//amp//nbsp;created//amp//nbsp;for//amp//nbsp;all//amp//nbsp;days</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(ExportAllDaysResult\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(ExportAllDaysResult\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(ExportAllDaysResult\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;to//amp//nbsp;DBF:__date__\\quot\\\\comma\\\\quot\\26373\\quot\\\\comma\\0\\comma\\<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Ok\\quot\\\\comma\\ExportAllDaysResult\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(ExportAllDaysResult)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;to//amp//nbsp;DBF:__date__\\quot\\\\comma\\\\quot\\157992\\quot\\\\comma\\1\\comma\\<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\An//amp//nbsp;error//amp//nbsp;occurred//amp//nbsp;creating//amp//nbsp;dbf//amp//nbsp;files\\quot\\\\comma\\ExportAllDaysResult\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(ExportAllDaysResult)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;to//amp//nbsp;DBF:__date__\\quot\\\\comma\\\\quot\\688423\\quot\\\\comma\\1\\comma\\<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\The//amp//nbsp;export//amp//nbsp;directory//amp//nbsp;is//amp//nbsp;invalid\\quot\\\\comma\\<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>len</span>(Result)=0\\comma\\\\quot\\Error://amp//nbsp;The//amp//nbsp;export//amp//nbsp;directory//amp//nbsp;is//amp//nbsp;invalid\\quot\\\\comma\\Result)\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>len</span>(Result)=0\\comma\\\\quot\\Error://amp//nbsp;The//amp//nbsp;export//amp//nbsp;directory//amp//nbsp;is//amp//nbsp;invalid\\quot\\\\comma\\Result))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;to//amp//nbsp;DBF:__date__\\quot\\\\comma\\\\quot\\559827\\quot\\\\comma\\1\\comma\\<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Days//amp//nbsp;to//amp//nbsp;synchronize//amp//nbsp;is//amp//nbsp;greater//amp//nbsp;than//amp//nbsp;365\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Days//amp//nbsp;to//amp//nbsp;synchronize//amp//nbsp;is//amp//nbsp;greater//amp//nbsp;than//amp//nbsp;365://amp//nbsp;\\quot\\+SynchDays\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Days//amp//nbsp;to//amp//nbsp;synchronize//amp//nbsp;is//amp//nbsp;greater//amp//nbsp;than//amp//nbsp;365://amp//nbsp;\\quot\\+SynchDays)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;to//amp//nbsp;DBF:__date__\\quot\\\\comma\\\\quot\\29245\\quot\\\\comma\\1\\comma\\<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Days//amp//nbsp;to//amp//nbsp;synchronize//amp//nbsp;is//amp//nbsp;0\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Days//amp//nbsp;to//amp//nbsp;synchronize//amp//nbsp;is//amp//nbsp;0\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Days//amp//nbsp;to//amp//nbsp;synchronize//amp//nbsp;is//amp//nbsp;0\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;to//amp//nbsp;DBF:__date__\\quot\\\\comma\\\\quot\\414274\\quot\\\\comma\\1\\comma\\<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Could//amp//nbsp;not//amp//nbsp;get//amp//nbsp;number//amp//nbsp;of//amp//nbsp;days//amp//nbsp;to//amp//nbsp;synchronize\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;get//amp//nbsp;number//amp//nbsp;of//amp//nbsp;days//amp//nbsp;to//amp//nbsp;synchronize://amp//nbsp;[\\quot\\+SynchDays+\\quot\\]\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;get//amp//nbsp;number//amp//nbsp;of//amp//nbsp;days//amp//nbsp;to//amp//nbsp;synchronize://amp//nbsp;[\\quot\\+SynchDays+\\quot\\]\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;to//amp//nbsp;DBF:__date__\\quot\\\\comma\\\\quot\\658275\\quot\\\\comma\\1\\comma\\<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\POS//amp//nbsp;Type//amp//nbsp;is//amp//nbsp;not//amp//nbsp;Micros//amp//nbsp;3700\\quot\\\\comma\\\\quot\\Error://amp//nbsp;POS//amp//nbsp;type//amp//nbsp;is//amp//nbsp;not//amp//nbsp;Micros//amp//nbsp;3700.//amp//nbsp;//amp//nbsp;Result=\\quot\\+Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;POS//amp//nbsp;type//amp//nbsp;is//amp//nbsp;not//amp//nbsp;Micros//amp//nbsp;3700.//amp//nbsp;//amp//nbsp;Result=\\quot\\+Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;to//amp//nbsp;DBF:__date__\\quot\\\\comma\\\\quot\\174292\\quot\\\\comma\\1\\comma\\<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Cannot//amp//nbsp;connect//amp//nbsp;to//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;database\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Cannot//amp//nbsp;connect//amp//nbsp;to//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;database\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Cannot//amp//nbsp;connect//amp//nbsp;to//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;database\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Convert//amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;to//amp//nbsp;DBF:__date__\\quot\\\\comma\\\\quot\\757546\\quot\\\\comma\\1\\comma\\<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\))\\comma\\\\quot\\Micros//amp//nbsp;3700//amp//nbsp;package//amp//nbsp;is//amp//nbsp;not//amp//nbsp;loaded\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;package//amp//nbsp;is//amp//nbsp;not//amp//nbsp;loaded\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Micros//amp//nbsp;3700//amp//nbsp;package//amp//nbsp;is//amp//nbsp;not//amp//nbsp;loaded\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=26373|X=913|Y=1451|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ExportAllDaysResult|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|
</widget><widget name="Aspect Back-Office - All Tables" group="" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Aspect Back-Office - All Tables" modified="03-08-2016 16:50:11" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=12-13-2015 16:23:55:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=1006|toolboxy=196|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Aspect Back-Office - All Tables.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=code|X=1500|Y=0|W=892|H=671|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'742621')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'732053')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=742621|X=1500|Y=22|W=892|H=671|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=var arTabs=[\\quot\\payroll_settings\\quot\\\\comma\\\\quot\\job_codes\\quot\\\\comma\\\\quot\\employee_records\\quot\\\\comma\\\\quot\\labor_detail\\quot\\\\comma\\\\quot\\check_headers\\quot\\\\comma\\\\quot\\check_details\\quot\\\\comma\\\\quot\\change_log\\quot\\\\comma\\\\quot\\physical_count\\quot\\\\comma\\\\quot\\daily_inventory_summary\\quot\\\\comma\\\\quot\\inventory_extensions\\quot\\\\comma\\\\quot\\invoices\\quot\\\\comma\\\\quot\\invoice_details\\quot\\\\comma\\\\quot\\inventory_item_group\\quot\\\\comma\\\\quot\\inventory_items\\quot\\\\comma\\\\quot\\conversions\\quot\\\\comma\\\\quot\\menu_item_group\\quot\\\\comma\\\\quot\\menu_items\\quot\\\\comma\\\\quot\\menu_item_details\\quot\\\\comma\\\\quot\\vendors\\quot\\\\comma\\\\quot\\sizes\\quot\\\\comma\\\\quot\\areas\\quot\\\\comma\\\\quot\\menu_item_sales\\quot\\\\comma\\\\quot\\physical_count_summary\\quot\\\\comma\\\\quot\\batch_count_summary\\quot\\\\comma\\\\quot\\daily_inventory_summary\\quot\\\\comma\\\\quot\\inventory_extensions\\quot\\];//crlf////tab////crlf//var arImportAllTabs=[\\quot\\vendors\\quot\\\\comma\\\\quot\\sizes\\quot\\\\comma\\\\quot\\areas\\quot\\\\comma\\\\quot\\inventory_item_group\\quot\\\\comma\\\\quot\\inventory_items\\quot\\\\comma\\\\quot\\Conversions\\quot\\\\comma\\\\quot\\menu_item_group\\quot\\\\comma\\\\quot\\menu_items\\quot\\\\comma\\\\quot\\menu_item_details\\quot\\\\comma\\\\quot\\menu_item_sales\\quot\\\\comma\\\\quot\\area_count\\quot\\\\comma\\\\quot\\begin_count\\quot\\\\comma\\\\quot\\end_count\\quot\\\\comma\\\\quot\\invoices\\quot\\\\comma\\\\quot\\invoice_details\\quot\\\\comma\\];//crlf//var arImportInventorySetupTabs=[\\quot\\vendors\\quot\\\\comma\\\\quot\\sizes\\quot\\\\comma\\\\quot\\areas\\quot\\\\comma\\\\quot\\inventory_item_group\\quot\\\\comma\\\\quot\\inventory_items\\quot\\\\comma\\\\quot\\menu_item_group\\quot\\\\comma\\\\quot\\menu_items\\quot\\\\comma\\\\quot\\menu_item_details\\quot\\];//crlf//var arImportInventoryDataTabns=[\\quot\\area_count\\quot\\\\comma\\\\quot\\physical_count\\quot\\\\comma\\\\quot\\batch_count\\quot\\\\comma\\\\quot\\invoices\\quot\\\\comma\\\\quot\\invoice_details\\quot\\\\comma\\\\quot\\menu_item_sales\\quot\\];//crlf//var arImportLaborTabs=[\\quot\\payroll_settings\\quot\\\\comma\\\\quot\\job_codes\\quot\\\\comma\\\\quot\\employee_records\\quot\\\\comma\\\\quot\\labor_detail\\quot\\];//crlf//var arImportSalesTabns=[\\quot\\check_headers\\quot\\\\comma\\\\quot\\check_details\\quot\\];//crlf////crlf//initialize();//crlf////crlf//function initialize()//crlf//{//crlf////tab//var d=document.getElementById(\\quot\\import_aspect6_data\\quot\\);//crlf////tab//if(!d) {//crlf////tab////tab//setTimeout(\\quot\\initialize()\\quot\\\\comma\\100);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////setVisible(d\\comma\\false);//crlf//};//crlf////crlf//function convertSize(s)//crlf//{//crlf////tab//if(s) {//crlf////tab////tab//document.getElementById(\\quot\\convert_to_amount\\quot\\).innerHTML=s.trim();//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab//var Aspect7StoreID=document.getElementById(\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\).value;//crlf////tab//var sUrl=getServer()+\\quot\\/?Network=Greenlight//amp//ID=getWidget\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect Back-Office - All Tables\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//ContainerItemID=AspectScript//amp//query=convertSize\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//ItemID=\\quot\\+document.getElementById(\\quot\\Inventory_Item_ID\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//Aspect7StoreID=\\quot\\+Aspect7StoreID;//crlf////tab//sUrl +=\\quot\\//amp//FromAmount=\\quot\\+document.getElementById(\\quot\\convert_from_amount\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//FromPrefix=\\quot\\+document.getElementById(\\quot\\convert_from_prefix\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//FromSizeID=\\quot\\+document.getElementById(\\quot\\convert_from_unit\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//ToPrefix=\\quot\\+document.getElementById(\\quot\\convert_to_prefix\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//ToSizeID=\\quot\\+document.getElementById(\\quot\\convert_to_unit\\quot\\).value;//crlf////crlf////tab//var sFunc=\\quot\\convertSize(s)\\quot\\;//crlf////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf///***********************************************************************************//crlf//Called when the import button is pressed to import data from Aspect6.  //crlf//***********************************************************************************///crlf//function importFromAspect6(s)//crlf//{//crlf////tab////abort if Aspect7 store is not selected//crlf////tab//var Aspect7StoreID=document.getElementById(\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\).value;//crlf////tab//if(Aspect7StoreID==\\quot\\0\\quot\\) {//crlf////tab////tab//showDialog(\\quot\\Msg=Aspect7 store not selected<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////abort if Aspect6 store is not selected//crlf////tab//var Aspect6StoreDir=document.getElementById(\\quot\\Aspect6_Store_Directories\\quot\\).value;//crlf////tab//if(Aspect6StoreDir==\\quot\\0\\quot\\) {//crlf////tab////tab//showDialog(\\quot\\Msg=Aspect6 store not selected<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////get tabs to be imported//crlf////tab//var eSelectImport=document.getElementById(\\quot\\import_selection\\quot\\);//crlf////tab////crlf////tab//var arImport=new Array();//crlf////tab//for(var i=0;i<arTabs.length;i++) //crlf////tab//{//crlf////tab////tab//if(eSelectImport.value==\\quot\\all\\quot\\) {//crlf////tab////tab////tab//if(arImportAllTabs.indexOf(arTabs[i])>=0) arImport[arImport.length]=arTabs[i];//crlf////tab////tab//}//crlf////tab////tab//else if(eSelectImport.value==\\quot\\inventory_setup\\quot\\) {//crlf////tab////tab////tab//if(arImportInventorySetupTabs.indexOf(arTabs[i])>=0) arImport[arImport.length]=arTabs[i];//crlf////tab////tab//}//crlf////tab////tab//else if(eSelectImport.value==\\quot\\inventory_data\\quot\\) {//crlf////tab////tab////tab//if(arImportInventoryDataTabns.indexOf(arTabs[i])>=0) arImport[arImport.length]=arTabs[i];//crlf////tab////tab//}//crlf////tab////tab//else if(eSelectImport.value==\\quot\\labor\\quot\\) {//crlf////tab////tab////tab//if(arImportLaborTabs.indexOf(arTabs[i])>=0) arImport[arImport.length]=arTabs[i];//crlf////tab////tab//}//crlf////tab////tab//else if(eSelectImport.value==\\quot\\sales\\quot\\) {//crlf////tab////tab////tab//if(arImportSalesTabns.indexOf(arTabs[i])>=0) arImport[arImport.length]=arTabs[i];//crlf////tab////tab//}//crlf////tab////tab//else if(eSelectImport.value==\\quot\\visible\\quot\\) {//crlf////tab////tab////tab//if(isVisible(arTabs[i])) {//crlf////tab////tab////tab////tab//arImport[arImport.length]=arTabs[i];//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab////if this is a callback after the import is complete...//crlf////tab//if(s) {//crlf////tab////tab////enable the import button//crlf////tab////tab//document.getElementById(\\quot\\btImportAspect6Data\\quot\\).disabled=false;//crlf////crlf////tab////tab////refresh the tables//crlf////tab////tab//for(var i=0;i<arImport.length;i++) {//crlf////tab////tab////tab//var e=document.getElementById(\\quot\\div_\\quot\\+arImport[i]);//crlf////tab////tab////tab//setInterval(e\\comma\\0\\comma\\true\\comma\\\\quot\\\\quot\\);//crlf////tab////tab//};//crlf////crlf////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnok=close\\quot\\);//crlf////tab////tab//return;//crlf////tab//};//crlf////crlf////tab////disable the import button//crlf////tab//document.getElementById(\\quot\\btImportAspect6Data\\quot\\).disabled=true;//crlf////crlf////tab////hide the import dialog//crlf////tab//setVisible(\\quot\\import_aspect6_data\\quot\\\\comma\\false);//crlf////crlf////tab////import data //crlf////tab//showDialog(\\quot\\icon=true//amp//msg=Importing...\\quot\\);//crlf////crlf////tab//var sUrl=getServer()+\\quot\\/?Network=Greenlight//amp//ID=getWidget\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Aspect Back-Office - All Tables\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//ContainerItemID=AspectScript//amp//query=importFromAspect6\\quot\\;//crlf////tab//sUrl +=\\quot\\//amp//Aspect7StoreID=\\quot\\+Aspect7StoreID;//crlf////tab//sUrl +=\\quot\\//amp//Aspect6StoreDir=\\quot\\+Aspect6StoreDir;//crlf////tab//sUrl +=\\quot\\//amp//Import=\\quot\\+arImport.toString();//crlf////tab//sUrl +=\\quot\\//amp//Replace=\\quot\\+document.getElementById(\\quot\\ckDeleteExisting\\quot\\).checked;//crlf////tab//sUrl +=\\quot\\//amp//DtFrom=\\quot\\+document.getElementById(\\quot\\periodstart\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//DtTo=\\quot\\+document.getElementById(\\quot\\periodend\\quot\\).value;//crlf////crlf////tab//var sFunc=\\quot\\importFromAspect6(s)\\quot\\;//crlf////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf//};//crlf////crlf///***********************************************************************************//crlf//Called when a store is selected in the drop-down list.  Sets the store code in the//crlf//url used to display contents in all tabs.  The interval is set to -1 for all tabs//crlf//except the visible one which is refreshed using the new store code.//crlf//***********************************************************************************///crlf//function refreshTables(s)//crlf//{//crlf////tab//for(var i=0;i<arTabs.length;i++) {//crlf////tab////tab//refreshSingleTable(arTabs[i]);//crlf////tab//};//crlf//};//crlf////crlf///***********************************************************************************//crlf//Called by refreshTables.  Appends the selected store code to the baseurl//crlf//in the div used to display the contents of each tab.  The contents of the visible//crlf//tab are refreshed immediately.  The interval is set to -1 for all other tabs.//crlf////crlf//Params://crlf////tab//name - The ID of the container item to be updated.  The item must contain a div//crlf////tab////tab////tab////tab//with the same name but preceeded by \\quot\\div_\\quot\\//crlf//***********************************************************************************///crlf//function refreshSingleTable(name\\comma\\refresh)//crlf//{//crlf////tab//var d=document.getElementById(\\quot\\div_\\quot\\+name);//crlf////tab//if(!d) alert(\\quot\\cannot locate \\quot\\+\\quot\\div_\\quot\\+name);//crlf////tab//var sUrl=d.getAttribute(\\quot\\baseurl\\quot\\);//crlf////tab//sUrl +=\\quot\\//amp//StoreID=\\quot\\+document.getElementById(\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//DtFrom=\\quot\\+document.getElementById(\\quot\\periodstart\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//DtTo=\\quot\\+document.getElementById(\\quot\\periodend\\quot\\).value;//crlf////crlf////tab////provide compatibility with widgets that use DateFrom/DateTo instead of DtFrom/DtTo//crlf////tab//sUrl +=\\quot\\//amp//DateFrom=\\quot\\+document.getElementById(\\quot\\periodstart\\quot\\).value;//crlf////tab//sUrl +=\\quot\\//amp//DateTo=\\quot\\+document.getElementById(\\quot\\periodend\\quot\\).value;//crlf////crlf////tab//d.setAttribute(\\quot\\url\\quot\\\\comma\\sUrl);//crlf////crlf////tab////update if the refresh argument was passed//crlf////tab//var bSetInterval=false;//crlf////tab//if(refresh) bSetInterval=true;//crlf////crlf////tab//if(!bSetInterval) {//crlf////tab////tab////update contents of the tab if it's visible//crlf////tab////tab//var bSetInterval=(isVisible(name));//crlf////tab//};//crlf////crlf////tab//if(bSetInterval) {//crlf////tab////tab//appendToLog(\\quot\\Updating tab: \\quot\\+name);//crlf////tab////tab//setInterval(d\\comma\\0\\comma\\true\\comma\\\\quot\\\\quot\\);//crlf////tab////tab//d.setAttribute(\\quot\\TableLoaded\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////tab////tab//if(refresh) refreshWidgets();//crlf////tab//}//crlf////tab//else {//crlf////tab////tab//setInterval(d\\comma\\-1\\comma\\true\\comma\\\\quot\\\\quot\\);//crlf////tab////tab//d.setAttribute(\\quot\\AspectASynchInclude\\quot\\\\comma\\\\quot\\\\quot\\);//crlf////tab////tab//d.setAttribute(\\quot\\TableLoaded\\quot\\\\comma\\\\quot\\false\\quot\\);//crlf////tab//};//crlf//};//crlf////crlf//function tabGroupSelected(e)//crlf//{//crlf////tab//var sTabTableID=e.value;//crlf////tab//var eTabTable=document.getElementById(\\quot\\tabs\\quot\\+sTabTableID);//crlf////tab//var sSelectedTab=eTabTable.getAttribute(\\quot\\selectedtab\\quot\\);//crlf////tab//var d=document.getElementById(\\quot\\div_\\quot\\+sSelectedTab);//crlf////tab//var sTableLoaded=d.getAttribute(\\quot\\TableLoaded\\quot\\);//crlf////tab//appendToLog(\\quot\\tabGroupSelected TabTableID=\\quot\\+sTabTableID+\\quot\\ SelectedTab=\\quot\\+sSelectedTab+\\quot\\ TableLoaded=\\quot\\+sTableLoaded);//crlf////tab//if((!sTableLoaded) ~~pipe~~~~pipe~~ (sTableLoaded==\\quot\\false\\quot\\)) {//crlf////tab////tab//appendToLog(\\quot\\Setting interval\\quot\\);//crlf////tab////tab//setInterval(d\\comma\\0\\comma\\true\\comma\\\\quot\\\\quot\\);//crlf////tab////tab//d.setAttribute(\\quot\\TableLoaded\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////tab////tab//refreshWidgets();//crlf////tab//}//crlf////tab//else {//crlf////tab////tab//appendToLog(\\quot\\not Setting interval\\quot\\);//crlf////tab//};//crlf//};//crlf////crlf////crlf////crlf//
^
ID=AspectScript|X=1500|Y=22|W=892|H=671|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<conditional expression:false>//crlf//==================================================================================//crlf//Converts a quantity from one size the quantity for a second size//crlf////crlf//Params://crlf////tab//ItemID - ID of the inventory item for which sizes are to be converted//crlf////tab//Aspect7StoreID - ID of the store//crlf////tab//FromAmount - Amount of the first size//crlf////tab//FromPrefix - Prefix of the first size//crlf////tab//FromSizeID - ID of the unit of the first size//crlf////tab//ToPrefix - Prefix of the second size//crlf////tab//ToSizeID - ID of the unit of the second size//crlf////crlf//Returns://crlf////tab//A numeric value for the amount of the second size//crlf//==================================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\convertSize\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\convertSize(__ItemID__\\comma\\__Aspect7StoreID__\\comma\\__FromAmount__\\comma\\__FromPrefix__\\comma\\__FromSizeID__\\comma\\__ToPrefix__\\comma\\__ToSizeID__)\\quot\\)//crlf////tab////tab//d=convertSize(\\quot\\__ItemID__\\quot\\\\comma\\\\quot\\__Aspect7StoreID__\\quot\\\\comma\\__FromAmount__\\comma\\__FromPrefix__\\comma\\\\quot\\__FromSizeID__\\quot\\\\comma\\__ToPrefix__\\comma\\\\quot\\__ToSizeID__\\quot\\)//crlf////tab////tab//scriptSetResult(formatNumber(d\\comma\\\\quot\\0.//pound////pound////pound////pound//\\quot\\))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//==================================================================================//crlf//Imports data from an Aspect6 store//crlf////crlf//Params://crlf////tab//Aspect7StoreID - ID of the Aspect7 store into which data will be imported//crlf////tab//Aspect6StoreDir - Directory of Aspect6 store containing data to be imported//crlf////tab//Import - Comma-delimited list of tabs to be imported//crlf////tab//Replace - Optional.  If true\\comma\\ existing files will be deleted before imporing//crlf////tab//DtFrom - Starting date required for some imports//crlf////tab//DtTo - Ending date required for some imports//crlf////crlf//Returns://crlf////tab//\\quot\\Ok\\quot\\ or \\quot\\Error\\quot\\//crlf//==================================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\importFromAspect6\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Import from Aspect6 Import=__Import__\\quot\\)//crlf////crlf////tab////tab////abort if the Aspect7 store ID is not specified//crlf////tab////tab//if(undefined(\\quot\\__Aspect7StoreID__\\quot\\))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Aspect7 store ID not specified\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if the Aspect6 store directory is not specified//crlf////tab////tab//if(undefined(\\quot\\__Aspect6StoreDir__\\quot\\))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Aspect6 store directory not specified\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////abort if Import is not defined//crlf////tab////tab//if(undefined(\\quot\\__Import__\\quot\\))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: No tabs specified to import\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//bReplace=(\\quot\\__Replace__\\quot\\=\\quot\\true\\quot\\)//crlf////crlf////tab////tab////get the directory of the Aspect7 store//crlf////tab////tab//sAspect7Dir=lookup(Aspect_BackOffice_Store_Directory_By_ID\\comma\\\\quot\\__Aspect7StoreID__\\quot\\)//crlf////crlf////tab////tab////array of tabs that can be imported\\comma\\ in the order that they should be imported.//crlf////tab////tab////Batch counts are not included because there are no batch counts in Aspect6 to import//crlf////tab////tab//arTabs=\\quot\\sizes\\comma\\vendors\\comma\\areas\\comma\\inventory_item_group\\comma\\inventory_items\\comma\\Conversions\\comma\\menu_item_group\\comma\\menu_items\\comma\\menu_item_details\\comma\\area_count\\comma\\invoices\\comma\\invoice_details\\comma\\physical_count\\comma\\job_codes\\comma\\employee_records\\comma\\labor_detail\\comma\\check_headers\\comma\\check_details\\comma\\menu_item_sales\\quot\\//crlf////crlf////tab////tab////get the action to be executed based on the visible tab//crlf////tab////tab//c=getElementCount(arTabs)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//s=getElement(arTabs\\comma\\n)//crlf////tab////tab////tab////crlf////tab////tab////tab//if(containsElement(\\quot\\__Import__\\quot\\\\comma\\s)>=0)//crlf////tab////tab////tab////tab//sAction=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//if(s=\\quot\\sizes\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importSizes\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\vendors\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importVendors\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\areas\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importAreas\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\inventory_item_group\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importInventoryItemGroups\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\inventory_items\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importInventoryItems\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\conversions\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importConversions\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\menu_item_group\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importMenuItemGroups\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\menu_items\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importMenuItems\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\menu_item_sales\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importMenuItemSales\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\invoices\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importInvoices\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\invoice_details\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importInvoiceDetails\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\menu_item_details\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importMenuItemDetails\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\physical_count\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importInventoryCount\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\job_codes\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importJobCodes\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\employee_records\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importEmployeeRecords\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\labor_detail\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importLaborDetail\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\check_headers\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importCheckHeaders\\quot\\//crlf////tab////tab////tab////tab//elseif(s=\\quot\\check_details\\quot\\)//crlf////tab////tab////tab////tab////tab//sAction=\\quot\\importCheckDetails\\quot\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////tab////tab//appendToLog(\\quot\\Import from Aspect6 Action=\\quot\\+sAction)//crlf////crlf////tab////tab////tab////tab////abort if action is not valid//crlf////tab////tab////tab////tab//if(sAction=\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid action for \\quot\\+s)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////import the data//crlf////tab////tab////tab////tab////tab//sParams=\\quot\\Aspect6StoreDir=__Aspect6StoreDir__\\quot\\//crlf////tab////tab////tab////tab////tab//sParams=sParams + \\quot\\//amp//Aspect7StoreDir=\\quot\\+sAspect7Dir//crlf////tab////tab////tab////tab////tab//sParams=sParams + \\quot\\//amp//Replace=\\quot\\+bReplace//crlf////crlf////tab////tab////tab////tab////tab////if importing inventory counts\\comma\\ import from one day prior to the start of the period//crlf////tab////tab////tab////tab////tab//if(sAction=\\quot\\importInventoryCount\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//dt=parseTime(\\quot\\__dtFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\-1)//crlf////tab////tab////tab////tab////tab////tab//sParams=sParams + \\quot\\//amp//DtFrom=\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//sParams=sParams + \\quot\\//amp//DtFrom=__DtFrom__\\quot\\//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//sParams=sParams + \\quot\\//amp//DtTo=__DtTo__\\quot\\//crlf////tab////tab////tab////tab////tab//s=execAgentAction(sAction\\comma\\sParams\\comma\\\\quot\\__LeftBarComputer__\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(sAction+\\quot\\: \\quot\\+s)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf//
^
ID=sensor_list|X=1500|Y=22|W=892|H=671|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Aspect Back-Office - All Tables.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//
^
ID=action_list|X=1500|Y=22|W=892|H=671|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Aspect Back-Office - All Tables.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//
^
ID=debug_console|X=1500|Y=22|W=892|H=671|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=732053|X=1500|Y=22|W=892|H=671|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h2>Daily Summary</h2>//crlf////crlf//<ul>//crlf////tab//<li>Item ID</li>//crlf////tab//<li>Size</li>//crlf////tab//<li>Price</li>//crlf////tab//<li>Total Count</li>//crlf////tab//<li>Legit Usage</li>//crlf////tab//<li>Perpetual</li>//crlf////tab//<li>Ttl Qty Purchased</li>//crlf////tab//<li>Ttl Dollar Purchased</li>//crlf//</ul>//crlf////crlf//<h2>Extensions</h2>//crlf////crlf//<ul>//crlf////tab//<li>Beginning Count</li>//crlf////tab//<li>Quantity Purchases</li>//crlf////tab//<li>Ending Count</li>//crlf////tab//<li>Legit Usage</li>//crlf////tab//<li>Calc - Usage</li>//crlf////tab//<li>Calc - Usage Vs Legit</li>//crlf////tab//<li>Beginning Dollars</li>//crlf////tab//<li>Dollars Purchased</li>//crlf////tab//<li>Ending Dollars</li>//crlf////tab//<li>Calc - Cost</li>//crlf////tab//<li></li>//crlf////tab//<li></li>//crlf////tab//<li></li>//crlf//</ul>
^
ID=639694|X=183|Y=57|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_store|AttachLeft=|AlignLeft=select_store|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{ImageHostUrl}//crlf//</state>//crlf////crlf//<!-------------------------------------------------------------------------------//crlf//The setVisible commands below are used to initialize tables in each tab when a //crlf//tab is selected by setting the interval to 0.//crlf//------------------------------------------------------------------------------->//crlf//<table ID=\\quot\\tabs639694\\quot\\ class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'inventory_item_group');setVisible('div_inventory_item_group'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Inventory Groups <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('inventory_item_group'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'inventory_items');setVisible('div_inventory_items'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Inventory Items <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('inventory_items'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'conversions');setVisible('div_conversions'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Conversions <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('conversions'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'menu_item_group');setVisible('div_menu_item_group'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Menu Categories <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('menu_item_group'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'menu_items');setVisible('div_menu_items'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Menu Items <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('menu_items'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'menu_item_details');setVisible('div_menu_item_details'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Menu Item Details <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('menu_item_details'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'vendors');setVisible('div_vendors'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Vendors <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('vendors'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sizes');setVisible('div_sizes'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Sizes <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('sizes'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'areas');setVisible('div_areas'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Areas <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('areas'\\comma\\true)\\quot\\></span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=inventory_items|X=183|Y=79|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_inventory_items\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////amp//ContainerItemID=139558\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=menu_items|X=183|Y=79|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_menu_items\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////amp//ContainerItemID=716923//crlf////tab////tab////amp//ReadOnly=false\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=vendors|X=183|Y=79|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_vendors\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////amp//ContainerItemID=829102\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=sizes|X=183|Y=79|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_sizes\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////amp//ContainerItemID=98169\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=areas|X=183|Y=79|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_areas\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////amp//ContainerItemID=420191\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=select_store|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=LeftBarComputer|DefaultSource=true|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)+\\quot\\Aspect_BackOffice/store_list.dta\\quot\\)}//crlf//</state>//crlf////crlf//<form name=\\quot\\period\\quot\\>//crlf////tab//Store //crlf////tab//<include type:expression; expression:htmlSelect(Aspect_BackOffice_Store_Name_By_ID\\comma\\\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\\\comma\\0\\comma\\\\quot\\ID=\'Aspect_BackOffice_Store_Name_By_ID\' onChange=\'refreshTables()\' param=\'Store=$value$\'\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\(len(Store_Directory)>0) and (dirExists(Store_Directory))\\quot\\\\comma\\\\quot\\\\quot\\);>//crlf////crlf////tab//Tabs//crlf////tab//<select onChange=\\quot\\showTab(this);tabGroupSelected(this)\\quot\\>//crlf////tab////tab//<option value='639694'>Inventory Setup</option>//crlf////tab////tab//<option value='405040'>Inventory Data Input</option>//crlf////tab////tab//<option value='750579'>Inventory Derived Files</option>//crlf////tab////tab//<option value='368519'>Labor</option>//crlf////tab////tab//<option value='505372'>Sales</option>//crlf////tab////tab//<option value='534965'>Data Management</option>//crlf////tab//</select>//crlf////tab////crlf////tab//Period //crlf////tab//<input type=\\quot\\text\\quot\\ name=\\quot\\periodstart\\quot\\ ID=\\quot\\periodstart\\quot\\ style=\\quot\\width:80px\\quot\\ control=\\quot\\date\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ value=\\quot\\06-29-2015\\quot\\ onChange=\\quot\\refreshTables()\\quot\\>//crlf////tab//to //crlf////tab//<input type=\\quot\\text\\quot\\ name=\\quot\\periodend\\quot\\ ID=\\quot\\periodend\\quot\\ style=\\quot\\width:80px\\quot\\ control=\\quot\\date\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ value=\\quot\\07-05-2015\\quot\\ onChange=\\quot\\refreshTables()\\quot\\>//crlf////crlf////tab//<input type=\\quot\\button\\quot\\ ID=\\quot\\btImportAspect6Data\\quot\\ value=\\quot\\Import\\quot\\ onClick=\\quot\\setVisible('import_aspect6_data'\\comma\\true);\\quot\\ {@htmlTooltip(\\quot\\Open dialog to import data from Aspect6\\quot\\)}>//crlf//</form>//crlf////crlf//
^
ID=inventory_item_group|X=183|Y=79|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_inventory_item_group\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////amp//ContainerItemID=680528\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//
^
ID=menu_item_group|X=183|Y=79|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_menu_item_group\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////amp//ContainerItemID=303945\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=951701|X=889|Y=22|W=109|H=23|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=select_store|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<input type=\\quot\\button\\quot\\ value=\\quot\\Update Select\\quot\\ onClick=\\quot\\updateOptions('Vendor1Select')\\quot\\>
^
ID=invoices|X=183|Y=79|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_invoices\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////amp//ContainerItemID=170904\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//
^
ID=invoice_details|X=183|Y=79|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_invoice_details\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////amp//ContainerItemID=10476//crlf////tab////tab////amp//Filter=true//crlf////tab////tab////amp//ExternalParams=Aspect_BackOffice_Store_Name_By_ID\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//
^
ID=menu_item_details|X=183|Y=79|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_menu_item_details\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////amp//ContainerItemID=426565//crlf////tab////tab////amp//Filter=true//crlf////tab////tab////amp//ExternalParams=Aspect_BackOffice_Store_Name_By_ID\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf//
^
ID=menu_item_sales|X=183|Y=79|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_menu_item_sales\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=VWaUGu88BMN0hDYWzZj57VpG//crlf////tab////tab////amp//Widget=Sales Drivers//crlf////tab////tab////amp//ContainerItemID=204929\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf//
^
ID=260060|X=1000|Y=22|W=505|H=169|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=951701|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:400px;height:auto:\\quot\\ onMouseOver=setVisible(\\quot\\notes\\quot\\\\comma\\true) onMouseOut=setVisible(\\quot\\notes\\quot\\\\comma\\false)>//crlf////tab//Notes//crlf////tab//<div ID=\\quot\\notes\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab////tab//<h1>Status</h1>//crlf////tab////tab//<p>Listeners have been added to record edits in invoices\\comma\\ sales mix and inventory counts.</p>//crlf////tab////tab//<p>There is a problem editing data in the consolidated counts because a key value is not defined for rows in the table</p>//crlf////tab////tab//<h1>To Do</h1>//crlf////tab////tab//<ul>//crlf////tab////tab////tab//<li></li>//crlf////tab////tab//</ul>//crlf////tab//</div>//crlf////tab//<div style=\\quot\\width:150px;height:20px;\\quot\\></div>//crlf//</div>//crlf////crlf//
^
ID=405040|X=183|Y=57|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_store|AttachLeft=|AlignLeft=select_store|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{ImageHostUrl}//crlf//</state>//crlf////crlf//<!-------------------------------------------------------------------------------//crlf//The setVisible commands below are used to initialize tables in each tab when a //crlf//tab is selected by setting the interval to 0.//crlf//------------------------------------------------------------------------------->//crlf//<table ID=\\quot\\tabs405040\\quot\\ class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'invoices');setVisible('div_invoices'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Invoices <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('invoices'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'invoice_details');setVisible('div_invoice_details'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Invoice Details <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('invoice_details'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'physical_count');setVisible('div_physical_count'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Physical Count <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('physical_count'\\comma\\true)\\quot\\></span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=750579|X=183|Y=57|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_store|AttachLeft=|AlignLeft=select_store|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{ImageHostUrl}//crlf//</state>//crlf////crlf//<!-------------------------------------------------------------------------------//crlf//The setVisible commands below are used to initialize tables in each tab when a //crlf//tab is selected by setting the interval to 0.//crlf//------------------------------------------------------------------------------->//crlf//<table ID=\\quot\\tabs750579\\quot\\ class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'physical_count_summary');setVisible('div_physical_count_summary'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Physical Count Summary <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('physical_count_summary'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'batch_count_summary');setVisible('div_batch_count_summary'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Batch Count Summary <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('batch_count_summary'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'daily_inventory_summary');setVisible('div_daily_inventory_summary'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Daily Inventory Summary <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('daily_inventory_summary'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'inventory_extensions');setVisible('div_inventory_extensions'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Inventory Extensions <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('inventory_extensions'\\comma\\true)\\quot\\></span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=daily_inventory_summary|X=183|Y=69|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=750579|AttachLeft=|AlignLeft=750579|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_daily_inventory_summary\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////amp//ContainerItemID=441164\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=inventory_extensions|X=183|Y=69|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=750579|AttachLeft=|AlignLeft=750579|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_inventory_extensions\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////amp//ContainerItemID=205178\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=physical_count|X=183|Y=79|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=405040|AttachLeft=|AlignLeft=405040|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_physical_count\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////amp//ContainerItemID=639719\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf//
^
ID=batch_count_summary|X=183|Y=79|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=405040|AttachLeft=|AlignLeft=405040|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_batch_count_summary\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////amp//ContainerItemID=653098\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf//
^
ID=import_aspect6_data|X=464|Y=220|W=314|H=199|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\padding:0px 10px 10px 10px\\quot\\>//crlf////tab//<img style=\\quot\\position:absolute;top:5px;right:10px\\quot\\ onclick=\\quot\\setVisible(\\apos\\import_aspect6_data\\apos\\\\comma\\false)\\quot\\ src=\\quot\\__RequestServer__/?Network=Greenlight\\amp\\ID=getImage\\amp\\filename=close20x20.png\\quot\\>//crlf////crlf////tab//<h2>Import data from Aspect6</h2>//crlf////crlf////tab//Import From <include type:expression; expression:htmlSelect(Aspect6_Store_Directories\\comma\\\\quot\\Aspect6_Store_Directories\\quot\\\\comma\\replaceSubstring(lookup(Aspect6_Store_Directories_By_Code\\comma\\getToken(\\quot\\Aspect6ActiveStoreCode\\quot\\))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)\\comma\\\\quot\\ID=\\\apos\\Aspect6_Store_Directories\\\apos\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\);>//crlf////tab//<br><br>//crlf////crlf////tab//Import//crlf////tab//<select ID=\\quot\\import_selection\\quot\\>//crlf////tab////tab//<option value=\\quot\\all\\quot\\>All Data</option>//crlf////tab////tab//<option value=\\quot\\inventory_setup\\quot\\>Inventory setup</option>//crlf////tab////tab//<option value=\\quot\\inventory_data\\quot\\>Inventory counts\\comma\\ invoices</option>//crlf////tab////tab//<option value=\\quot\\labor\\quot\\>Job codes\\comma\\ employees\\comma\\ daily labor</option>//crlf////tab////tab//<option value=\\quot\\sales\\quot\\>Checks\\comma\\ sales mix</option>//crlf////tab////tab//<option value=\\quot\\visible\\quot\\>Just the visible tab</option>//crlf////tab//</select>//crlf////tab//<br><br>//crlf////tab////crlf////tab//<input type=\\quot\\checkbox\\quot\\ ID=\\quot\\ckDeleteExisting\\quot\\>Delete existing data before import//crlf////tab//<br><br>//crlf////crlf////tab//<input type=\\quot\\button\\quot\\ onClick=\\quot\\importFromAspect6()\\quot\\ value=\\quot\\Import\\quot\\>//tab////crlf//</div>
^
ID=conversions|X=183|Y=79|W=0|H=0|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=639694|AttachLeft=|AlignLeft=639694|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_conversions\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////amp//ContainerItemID=867471\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>
^
ID=534965|X=183|Y=57|W=96|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_store|AttachLeft=|AlignLeft=select_store|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-------------------------------------------------------------------------------//crlf//The setVisible commands below are used to initialize tables in each tab when a //crlf//tab is selected by setting the interval to 0.//crlf//------------------------------------------------------------------------------->//crlf//<table ID=\\quot\\tabs534965\\quot\\ class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'change_log');setVisible('div_change_log'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Change Log <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('change_log'\\comma\\true)\\quot\\></span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=change_log|X=183|Y=69|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=534965|AttachLeft=|AlignLeft=534965|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{ImageHostUrl}//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_change_log\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//crlf////tab////tab////amp//Widget=System and Other Drivers//crlf////tab////tab////amp//ContainerItemID=517148\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf//
^
ID=physical_count_summary|X=183|Y=69|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=750579|AttachLeft=|AlignLeft=750579|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_physical_count_summary\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//crlf////tab////tab////amp//Widget=Inventory Drivers//crlf////tab////tab////amp//ContainerItemID=645635\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf//
^
ID=368519|X=183|Y=57|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_store|AttachLeft=|AlignLeft=select_store|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{ImageHostUrl}//crlf//</state>//crlf////crlf//<!-------------------------------------------------------------------------------//crlf//The setVisible commands below are used to initialize tables in each tab when a //crlf//tab is selected by setting the interval to 0.//crlf//------------------------------------------------------------------------------->//crlf//<table ID=\\quot\\tabs368519\\quot\\ class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'payroll_settings');setVisible('div_payroll_settings'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Payroll Settings <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('payroll_settings'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'job_codes');setVisible('div_job_codes'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Job Codes <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('job_codes'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'employee_records');setVisible('div_employee_records'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Employee Records <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('employee_records'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'labor_detail');setVisible('div_labor_detail'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Labor Detail <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('labor_detail'\\comma\\true)\\quot\\></span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=job_codes|X=183|Y=69|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=368519|AttachLeft=|AlignLeft=368519|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_job_codes\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=oi85fK8kFTQDVVcRTsBH6W5i//crlf////tab////tab////amp//Widget=Labor Drivers//crlf////tab////tab////amp//ContainerItemID=364243\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//
^
ID=employee_records|X=183|Y=69|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=368519|AttachLeft=|AlignLeft=368519|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_employee_records\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=oi85fK8kFTQDVVcRTsBH6W5i//crlf////tab////tab////amp//Widget=Labor Drivers//crlf////tab////tab////amp//ContainerItemID=406328\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//
^
ID=labor_detail|X=183|Y=69|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=368519|AttachLeft=|AlignLeft=368519|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_labor_detail\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=oi85fK8kFTQDVVcRTsBH6W5i//crlf////tab////tab////amp//Widget=Labor Drivers//crlf////tab////tab////amp//ContainerItemID=582639\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//
^
ID=payroll_settings|X=183|Y=69|W=697|H=676|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=368519|AttachLeft=|AlignLeft=368519|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_payroll_settings\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//crlf////tab////tab////amp//Widget=System and Other Drivers//crlf////tab////tab////amp//ContainerItemID=463173\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//
^
ID=505372|X=183|Y=57|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=select_store|AttachLeft=|AlignLeft=select_store|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{ImageHostUrl}//crlf//</state>//crlf////crlf//<!-------------------------------------------------------------------------------//crlf//The setVisible commands below are used to initialize tables in each tab when a //crlf//tab is selected by setting the interval to 0.//crlf//------------------------------------------------------------------------------->//crlf//<table ID=\\quot\\tabs505372\\quot\\ class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'check_headers');setVisible('div_check_headers'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Check Headers <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('check_headers'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'check_details');setVisible('div_check_details'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Check Details <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('check_details'\\comma\\true)\\quot\\></span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'menu_item_sales');setVisible('div_menu_item_sales'\\comma\\true\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Menu Item Sales <img src=\\quot\\{ImageHostUrl}refresh12x12.png\\quot\\ onClick=\\quot\\refreshSingleTable('menu_item_sales'\\comma\\true)\\quot\\></span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=check_headers|X=183|Y=69|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=505372|AttachLeft=|AlignLeft=505372|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_check_headers\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=VWaUGu88BMN0hDYWzZj57VpG//crlf////tab////tab////amp//Widget=Sales Drivers//crlf////tab////tab////amp//ContainerItemID=322306\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf//
^
ID=check_details|X=183|Y=69|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=505372|AttachLeft=|AlignLeft=505372|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__LeftBarComputer__//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<div //crlf////tab//ID=\\quot\\div_check_details\\quot\\ //crlf////tab//interval=-1 //crlf////tab//baseurl=\\quot\\__RequestServer__/?Network=GreenLight//crlf////tab////tab////amp//Source=__LeftBarComputer__//crlf////tab////tab////amp//ID=getWidget//crlf////tab////tab////amp//DocumentID=VWaUGu88BMN0hDYWzZj57VpG//crlf////tab////tab////amp//Widget=Sales Drivers//crlf////tab////tab////amp//ContainerItemID=101894\\quot\\>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf////crlf//
</widget><widget name="Data Maintenance" group="" category="" description="This is an old agent, only enabled on development computer, that was intended to execute an agent for each record in a file set change log.  The agent would be specified in the change log.  It has probably been made irrelevant by driver dependencies." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Data Maintenance" modified="12-20-2017 13:45:33" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=12-09-2017 21:37:07:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=41|toolboxy=188|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Data Maintenance.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'334927')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'93284')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=334927|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AspectScript|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=sensor_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Data Maintenance.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//
^
ID=action_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Data Maintenance.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Data Maintenance\\comma\\processChanges\\comma\\action_list\\comma\\Action=processChanges\\comma\\private//crlf////tab//Data Maintenance\\comma\\recordChange\\comma\\action_list\\comma\\Action=recordChange\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//processChanges//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\processChanges\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Processes changes in the change log.  This action is called when the agent//crlf////tab////tab//executes and is also called directly from the recordChange action.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//none//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Process changes\\quot\\)//crlf////crlf////tab////tab////tab////open change log as system driver if not already open//crlf////tab////tab////tab//if(not(driverIsOpen(drvSystemChangeLog)))//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Change_Log\\comma\\drvSystemChangeLog\\comma\\WRITE\\comma\\true)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//c=driverGetRecordCount(drvSystemChangeLog\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//bUsed=driverGetFieldAbsolute(drvSystemChangeLog\\comma\\\\quot\\Used\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(bUsed)//crlf////tab////tab////tab////tab////tab//iStatus=driverGetFieldAbsolute(drvSystemChangeLog\\comma\\\\quot\\Status\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//if(iStatus=0)//crlf////tab////tab////tab////tab////tab////tab//sAgent=driverGetFieldAbsolute(drvSystemChangeLog\\comma\\\\quot\\Associated_Widget\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//if(sWidget=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////set the status to \\quot\\unrecognized\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvSystemChangeLog\\comma\\\\quot\\Status\\quot\\\\comma\\n\\comma\\2)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//sDocumentID=getElement(sAgent\\comma\\0\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sWidget=getElement(sAgent\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sParams=driverGetFieldAbsolute(drvSystemChangeLog\\comma\\\\quot\\Metadata\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab////tab//iType=driverGetFieldAbsolute(drvSystemChangeLog\\comma\\\\quot\\Type\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab////tab//sParams=\\quot\\Type=\\quot\\\\plus\\iType\\plus\\\\quot\\\\amp\\\\quot\\\\plus\\sParams//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Process change: \\quot\\\\plus\\sDocumentID\\plus\\\\quot\\:\\quot\\\\plus\\sWidget\\plus\\\\quot\\ Params=\\quot\\\\plus\\sParams)//crlf////tab////tab////tab////tab////tab////tab////tab//s=execAgent(sDocumentID\\comma\\sWidget\\comma\\sParams\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Process change result=\\quot\\\\plus\\s)//crlf////tab////tab////tab////tab////tab////tab////tab//if(startsWith(s\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(drvSystemChangeLog\\comma\\\\quot\\Status\\quot\\\\comma\\n\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//recordChange//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\recordChange\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Adds a record to the change log.  This action is called from //crlf////tab////tab//dataSubmitted listener scripts.  As of 07-10-2016\\comma\\ these calls//crlf////tab////tab//have been disabled.  Driver dependencies may make the use of the//crlf////tab////tab//change log obsolte.  It needs to be looked at.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Type - Type of change (from collection Aspect_BackOffice_Change_Log_Types)//crlf////tab////tab//Metadata - Pipe-delimited list of additional information about the change//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////abort if type isn\\apos\\t defined//crlf////tab////tab////tab//if(undefined(\\quot\\__Type__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing type\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////open change log as system driver if not already open//crlf////tab////tab////tab//if(not(driverIsOpen(drvSystemChangeLog)))//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Change_Log\\comma\\drvSystemChangeLog\\comma\\WRITE\\comma\\true)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////append the new record//crlf////tab////tab////tab//r=driverAddNewRecord(drvSystemChangeLog)//crlf////tab////tab////tab//driverPutFieldAbsolute(drvSystemChangeLog\\comma\\\\quot\\Type\\quot\\\\comma\\r\\comma\\\\quot\\__Type__\\quot\\)//crlf////tab////tab////tab//if(defined(\\quot\\__Metadata__\\quot\\))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(drvSystemChangeLog\\comma\\\\quot\\Metadata\\quot\\\\comma\\r\\comma\\\\quot\\__Metadata__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverClearCache(drvSystemChangeLog)//crlf////crlf////tab////tab////tab////initiate the agent used to process changes immediately//crlf////tab////tab////tab//execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Data Maintenance\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////crlf////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//
^
ID=debug_console|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=93284|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStart|X=183|Y=45|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=579674|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|
^
ID=838010|X=183|Y=349|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Ok: Agent is already executing\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Script is already running|AgentNodeTermType=2|
^
ID=AgentTabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=AgentScript|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Data Maintenance\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Data Maintenance\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-11-2014 11:34:29//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////crlf////tab////tab////Abort if script is already running//crlf////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Data Maintenance\\comma\\AgentTerminate\\comma\\838010\\comma\\2\\comma\\Script is already running//crlf////tab////tab////tab//scriptSetResult(\\quot\\Ok: Agent is already executing\\quot\\)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Data Maintenance\\comma\\AgentAction\\comma\\541565\\comma\\0\\comma\\Process changes//crlf////crlf////tab////tab////tab////Process changes//crlf////tab////tab////tab//Result=execAgentAction(\\quot\\processChanges\\quot\\)//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Data Maintenance\\comma\\AgentTerminate\\comma\\731052\\comma\\0\\comma\\Finished//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>
^
ID=ScriptText|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;07112014//amp//nbsp;113429//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Data//amp//nbsp;Maintenance\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;07-11-2014//amp//nbsp;11:34:29</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Abort//amp//nbsp;if//amp//nbsp;script//amp//nbsp;is//amp//nbsp;already//amp//nbsp;running</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>scriptCount</span>(this)//amp//gt;1)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok://amp//nbsp;Agent//amp//nbsp;is//amp//nbsp;already//amp//nbsp;executing\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Process//amp//nbsp;changes</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\processChanges\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>
^
ID=AgentDescription|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStatus|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentChart|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>07112014 113429</state>//crlf//<canvas height=\\quot\\100\\quot\\ width=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\ id=\\quot\\agent_doc_canvas\\quot\\></canvas><div agentchildyesnode=\\quot\\chart579674\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chartAgentStart\\quot\\><canvas height=\\quot\\124\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 124px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Data Maintenance</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 305px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart838010\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Script is already running<hr><span style=\\quot\\color:black\\quot\\>Other</span></div></div><div agentchildnonode=\\quot\\chart541565\\quot\\ agentchildyesnode=\\quot\\chart838010\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart579674\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Abort if script is already running<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 310px; left: 190px; width: 120px; height: 46px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart731052\\quot\\><canvas height=\\quot\\46\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div><div agentchildyesnode=\\quot\\chart731052\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 190px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart541565\\quot\\><canvas height=\\quot\\82\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Process changes<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>processChanges<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div>
^
ID=579674|X=183|Y=220|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=838010|AgentChildNoNode=541565|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=scriptCount(this)>1|AgentNodeActionReturnValue=|AgentNodeComment=Abort if script is already running|AgentNodeTermType=0|
^
ID=731052|X=373|Y=354|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=processChanges|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Finished|AgentNodeTermType=0|
^
ID=541565|X=373|Y=220|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=731052|AgentChildNoNode=|AgentSensor=1|AgentAction=processChanges|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Process changes|AgentNodeTermType=2|
</widget><widget name="File Maintenance" group="Back-Office" category="Maintenance" description="This agent is a blank agent that serves no purpose." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="File Maintenance" modified="12-10-2019 14:44:45" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=03-05-2018 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=4 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(not(boolean(getSystemValue(\\quote\\DevelopmentMode\\quote\\))))" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=52|toolboxy=114|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=File Maintenance.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'98822')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'65336')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=98822|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_File Maintenance.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_File Maintenance.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//File Maintenance\\comma\\deleteInvalidLaborFiles\\comma\\action_list\\comma\\Action=deleteInvalidLaborFiles\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//[!------------------------------------------------------------------------//crlf//deleteInvalidLaborFiles//crlf//--------------------------------------------------------------------------]//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\deleteInvalidLaborFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Deletes any 0 byte labor files for the current day and upcoming 30 days.//crlf////tab////tab//Checcks for files in the POSInterface_StoreDir directory.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\deleteInvalidLaborFiles\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab//sDir=getToken(\\quot\\POSInterface_StoreDir\\quot\\)//crlf////crlf////tab////tab////tab////abort if POSInterface_StoreDir token is blank//crlf////tab////tab////tab//if(len(sDir)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: POSInterface_StoreDir is undefined\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if POSInterface_StoreDir is not valid//crlf////tab////tab////tab//if((not(fileExists(sDir))) or (not(fileIsDirectory(sDir))))//crlf////tab////tab////tab////tab//return(\\quot\\Error: POSInterface_StoreDir is invalid: \\quot\\\\plus\\sDir)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the starting and ending dates.  Invalid files are deleted //crlf////tab////tab////tab////for the current and future days\\apos\\//crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//cDeleted=0//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//dt1=date(now()\\comma\\true)//crlf////tab////tab////tab//dt2=incrementTime(dt1\\comma\\30)//crlf////tab////tab////tab//while(dt1<=dt2)//crlf////tab////tab////tab////tab//sFilename=addDirSlash(sDir)\\plus\\\\quot\\lbr.\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//cBytes=fileSize(sFilename)//crlf////tab////tab////tab////tab////tab//if(cBytes>0)//crlf////tab////tab////tab////tab////tab////tab////this shouldn\\apos\\t happen since we\\apos\\re looking at future days//crlf////tab////tab////tab////tab////tab////tab//sResult=sResult\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\sFilename\\plus\\\\quot\\\\comma\\Ok\\comma\\\\quot\\\\plus\\cBytes//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//sResult=sResult\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\sFilename\\plus\\\\quot\\\\comma\\Cannot delete file\\comma\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//cError\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//sResult=sResult\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\sFilename\\plus\\\\quot\\\\comma\\Deleted\\comma\\\\quot\\\\plus\\cBytes//crlf////tab////tab////tab////tab////tab////tab////tab//cDeleted\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//Dt1=incrementTime(Dt1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(cError=0)//crlf////tab////tab////tab////tab//s=\\quot\\ok:  Deleted \\quot\\\\plus\\cDeleted\\plus\\\\quot\\ files\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//s=\\quot\\Error:  Could not delete one or more files\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(len(sResult)>0)//crlf////tab////tab////tab////tab//s=s\\plus\\htmlTable(sResult\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\Filename\\comma\\Action\\comma\\Bytes\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=65336|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=38|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=366745|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=56669|X=183|Y=567|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=38|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_File Maintenance\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_File Maintenance\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 05-23-2018 00:06:32//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////crlf////tab////tab////Is POSInterface_StoreDir valid//crlf////tab////tab//if((len(getToken(\\quot\\POSInterface_StoreDir\\quot\\))>0) and (fileExists(getToken(\\quot\\POSInterface_StoreDir\\quot\\))) and (fileisDirectory(getToken(\\quot\\POSInterface_StoreDir\\quot\\))))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_File Maintenance\\comma\\AgentAction\\comma\\1776\\comma\\0\\comma\\Delete invalid labor files//crlf////crlf////tab////tab////tab////Delete invalid labor files//crlf////tab////tab////tab//Result=execAgentAction(\\quot\\deleteInvalidLaborFiles\\quot\\)//crlf////crlf////tab////tab////tab////Ok?//crlf////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_File Maintenance\\comma\\AgentTerminate\\comma\\56669\\comma\\0\\comma\\Ok//crlf////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_File Maintenance\\comma\\AgentTerminate\\comma\\954158\\comma\\1\\comma\\Error//crlf////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_File Maintenance\\comma\\AgentTerminate\\comma\\255366\\comma\\1\\comma\\Invalid POSInterface_StoreDir//crlf////tab////tab////tab//scriptSetResult(=\\quot\\Error POSInterface_StoreDir is invalid: \\quot\\ + getToken(\\quot\\POSInterface_StoreDir\\quot\\))//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=38|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;05232018//amp//nbsp;000632//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_File//amp//nbsp;Maintenance\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;05-23-2018//amp//nbsp;00:06:32</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;POSInterface_StoreDir//amp//nbsp;valid</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>len</span>(<span class='keyword'>getToken</span>(\\quot\\POSInterface_StoreDir\\quot\\))//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>fileExists</span>(<span class='keyword'>getToken</span>(\\quot\\POSInterface_StoreDir\\quot\\)))//amp//nbsp;and//amp//nbsp;(<span class='keyword'>fileisDirectory</span>(<span class='keyword'>getToken</span>(\\quot\\POSInterface_StoreDir\\quot\\))))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Delete//amp//nbsp;invalid//amp//nbsp;labor//amp//nbsp;files</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\deleteInvalidLaborFiles\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Ok?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(=\\quot\\Error//amp//nbsp;POSInterface_StoreDir//amp//nbsp;is//amp//nbsp;invalid://amp//nbsp;\\quot\\//amp//nbsp;+//amp//nbsp;<span class='keyword'>getToken</span>(\\quot\\POSInterface_StoreDir\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=38|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=38|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=38|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>05232018 000632</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart366745\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\98\\quot\\ style=\\quot\\width: 120px; height: 98px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>File Maintenance</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart56669\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 529px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart366745\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart1776\\quot\\ agentchildnonode=\\quot\\chart255366\\quot\\ style=\\quot\\position: absolute; top: 150px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\90\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is POSInterface_StoreDir valid<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart255366\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 150px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Invalid POSInterface_StoreDir<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart1776\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart244126\\quot\\ style=\\quot\\position: absolute; top: 279px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Delete invalid labor files<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>deleteInvalidLaborFiles<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart244126\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart56669\\quot\\ agentchildnonode=\\quot\\chart954158\\quot\\ style=\\quot\\position: absolute; top: 413px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Ok?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart954158\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 413px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=366745|X=183|Y=188|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=1776|AgentChildNoNode=255366|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(len(getToken(\\quot\\POSInterface_StoreDir\\quot\\))>0) and (fileExists(getToken(\\quot\\POSInterface_StoreDir\\quot\\))) and (fileisDirectory(getToken(\\quot\\POSInterface_StoreDir\\quot\\)))|AgentNodeActionReturnValue=|AgentNodeComment=Is POSInterface_StoreDir valid|AgentNodeTermType=|^
ID=255366|X=373|Y=188|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\equals\\\quot\\Error POSInterface_StoreDir is invalid: \\quot\\ //plus// getToken(\\quot\\POSInterface_StoreDir\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Invalid POSInterface_StoreDir|AgentNodeTermType=1|^
ID=1776|X=183|Y=317|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=244126|AgentChildNoNode=|AgentSensor=|AgentAction=deleteInvalidLaborFiles|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Delete invalid labor files|AgentNodeTermType=|^
ID=244126|X=183|Y=451|W=149|H=65|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=56669|AgentChildNoNode=954158|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Ok?|AgentNodeTermType=|^
ID=954158|X=373|Y=451|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|
</widget><widget name="System and Other Drivers" group="" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="System And Other Drivers" modified="07-25-2014 00:22:17" modifiedby="Keith-Dell2" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=07-20-2014 12:26:02:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=899|toolboxy=190|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=System and Other Drivers.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=22|W=181|H=518|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'938028')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'710375')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=938028|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AspectScript|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=sensor_list|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_System and Other Drivers.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//
^
ID=action_list|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_System and Other Drivers.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//
^
ID=debug_console|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=710375|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=887581|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<select onChange=\\quot\\showTab(this)\\quot\\>//crlf////tab////tab//<option value='517148'>Aspect Back Office Change Log</option>//crlf////tab////tab//<option value='463173'>Aspect Back Office Store</option>//crlf//</select>//crlf//
^
ID=517148|X=183|Y=44|W=732|H=717|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=887581|AttachLeft=|AlignLeft=887581|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice/change_log.bin\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_Back_Office_Change_Log//crlf//=============================================================================================//crlf//</conditional>//crlf//<h1>Change Log</h1>//crlf//<!!include type:driver;//crlf////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab//title: \\quot\\\\quot\\;//crlf////tab//HashID: \\quot\\\\quot\\;//crlf////tab//driver: \\quot\\ASPECT_BACK_OFFICE_CHANGE_LOG\\quot\\;//crlf////tab//name: \\quot\\\\quot\\;//crlf////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab//dispose: \\quot\\false\\quot\\;//crlf////tab//state: \\quot\\getFilespecState(getToken(\\apos\\homedir\\apos\\)\\plus\\\\apos\\Aspect_BackOffice/change_log.bin\\apos\\)\\quot\\;//crlf////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_CHANGE_LOG\\quot\\;//crlf////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab//display: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\\\quot\\;//crlf////tab//sort: \\quot\\ID\\quot\\;//crlf////tab//filter: \\quot\\true\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab//EditDialogID: \\quot\\ASPECT_BACK_OFFICE_CHANGE_LOGDialog\\quot\\;//crlf////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab//Messages: \\quot\\true\\quot\\;//crlf////tab//ChartType: \\quot\\\\quot\\;//crlf////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab//RefreshInterval: \\quot\\5\\quot\\;//crlf////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab//debug: \\quot\\false\\quot\\;//crlf//>//crlf////crlf//
^
ID=463173|X=183|Y=44|W=732|H=717|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=887581|AttachLeft=|AlignLeft=887581|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//=============================================================================================//crlf//Aspect_BackOffice_Store//crlf//=============================================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__driver__\\quot\\=\\quot\\Aspect_BackOffice_Store\\quot\\)>//crlf////tab//<h1>Aspect_BackOffice_Store</h1>//crlf//</conditional>//crlf//
</widget><widget name="System and Other Dialogs" group="" category="" description="" type="Container" Mobile="" Processing=0 metadata="" IncludeInViewer="false" PublicName="" modified="07-20-2014 12:29:02" modifiedby="Keith-Dell2" TaskEnabled= IsAgent= ContainsAgentSensors= ContainsAgentActions= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=></widget><widget name="Aspect Back-Office File Set Setup" group="File Set" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Aspect Back-Office File Set Setup" modified="12-25-2017 23:33:43" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=12-09-2017 21:37:07:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=345|toolboxy=263|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Aspect Back-Office File Set Setup.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'542297')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'487213')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=542297|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AspectScript|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=sensor_list|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Aspect Back-Office File Set Setup.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//
^
ID=action_list|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Aspect Back-Office File Set Setup.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//
^
ID=debug_console|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=487213|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStart|X=183|Y=44|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=599992|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=always|AgentReportTo=getToken(\\quot\\AspectHashID\\quot\\)|
^
ID=599992|X=183|Y=233|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentTabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//
^
ID=AgentScript|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Aspect Back-Office File Set Setup\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Aspect Back-Office File Set Setup\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 08-31-2014 15:12:17//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Aspect Back-Office File Set Setup\\comma\\AgentTerminate\\comma\\599992\\comma\\2\\comma\\//crlf////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Aspect Back-Office File Set Setup\\quot\\\\comma\\\\quot\\599992\\quot\\\\comma\\2\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart))//crlf////tab////tab//scriptSetResult(2)//crlf////tab//\\quot\\>//crlf//</conditional>
^
ID=ScriptText|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;08312014//amp//nbsp;151217//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Aspect//amp//nbsp;Back-Office//amp//nbsp;File//amp//nbsp;Set//amp//nbsp;Setup\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;08-31-2014//amp//nbsp;15:12:17</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Aspect//amp//nbsp;Back-Office//amp//nbsp;File//amp//nbsp;Set//amp//nbsp;Setup\\quot\\\\comma\\\\quot\\599992\\quot\\\\comma\\2\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(2)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>
^
ID=AgentDescription|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStatus|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentChart|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>08312014 151217</state>//crlf//<canvas height=\\quot\\100\\quot\\ width=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\ id=\\quot\\agent_doc_canvas\\quot\\></canvas><div agentchildyesnode=\\quot\\chart599992\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chartAgentStart\\quot\\><canvas height=\\quot\\150\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 150px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Aspect Back-Office File Set Setup</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: always<br>Report To: getToken(\\quot\\AspectHashID\\quot\\)<br>Name Params: </div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 189px; left: 0px; width: 120px; height: 46px; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart599992\\quot\\><canvas height=\\quot\\46\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div>
</widget><widget name="Aspect Back-Office File Synch Setup" group="File Set" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Aspect Back-Office File Synch Setup" modified="12-21-2017 20:17:23" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=12-09-2017 21:37:07:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=10|toolboxy=10|aspectfuncx=50|aspectfuncy=50|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=null|aspectfuncVisible=false|PublishFtpFilename=Aspect Back-Office File Synch Setup.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>
//crlf////tab//<tr>
//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'47381')\\quot\\>Javascript</span></td>
//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>
//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>
//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>
//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>
//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'471040')\\quot\\>Notes</span></td>
//crlf////tab//</tr>
//crlf//</table>
^
ID=47381|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AspectScript|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=sensor_list|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>
//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}
//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Aspect Back-Office File Synch Setup.html\\quot\\)\\comma\\\\quot\\\\quot\\)}
//crlf//</state>
//crlf//
//crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>
//crlf//</conditional>
//crlf//
//crlf//
^
ID=action_list|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>
//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}
//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Aspect Back-Office File Synch Setup.html\\quot\\)\\comma\\\\quot\\\\quot\\)}
//crlf//</state>
//crlf//
//crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>
//crlf//</conditional>
//crlf//
//crlf//
^
ID=debug_console|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=471040|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStart|X=183|Y=44|W=119|H=136|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=855391|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=always|AgentReportTo=getToken(\\quot\\AspectHashID\\quot\\)|
^
ID=855391|X=183|Y=233|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentTabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>
//crlf////tab//<tr>
//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>
//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>
//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>
//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>
//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>
//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>
//crlf////tab//</tr>
//crlf//</table>
//crlf//
^
ID=AgentScript|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>
//crlf////tab//<!include type:script; name:\\quot\\agent_Aspect Back-Office File Synch Setup\\quot\\; commands:\\quot\\
//crlf//
//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Aspect Back-Office File Synch Setup\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\
//crlf////tab////tab////Created 08-31-2014 15:11:56
//crlf//
//crlf////tab////tab////Force reporting when the agent is executed manually
//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))
//crlf//
//crlf////tab////tab////Record the starting time
//crlf////tab////tab//tAgentStart=now()
//crlf//
//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Aspect Back-Office File Synch Setup\\comma\\AgentTerminate\\comma\\855391\\comma\\2\\comma\\
//crlf////tab////tab//scriptSetResult(2)
//crlf////tab//\\quot\\>
//crlf//</conditional>
^
ID=ScriptText|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;08312014//amp//nbsp;151156//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Aspect//amp//nbsp;Back-Office//amp//nbsp;File//amp//nbsp;Synch//amp//nbsp;Setup\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;08-31-2014//amp//nbsp;15:11:56</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(2)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>
^
ID=AgentDescription|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentStatus|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AgentChart|X=183|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>08312014 151156</state>
//crlf//<canvas height=\\quot\\100\\quot\\ width=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\ id=\\quot\\agent_doc_canvas\\quot\\></canvas><div agentchildyesnode=\\quot\\chart855391\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chartAgentStart\\quot\\><canvas height=\\quot\\137\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 137px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Aspect Back-Office File Synch Setup</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 189px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart855391\\quot\\><canvas height=\\quot\\46\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div>ile Synch Setup</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: always<br>Report To: getToken(\\quot\\AspectHashID\\quot\\)<br>Name Params: </div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 189px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart855391\\quot\\><canvas height=\\quot\\46\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div>
</widget><widget name="Download From AWS" group="POS Interface" category="Toast" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Download From Aws" modified="10-09-2022 12:06:34" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=09-14-2014 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=1 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\toast\\quote\\) and (hour(now())\\gt\\5) and (isPackageLoaded(\\quote\\POS_Toast\\quote\\)) and (not(fileExists(getToken(\\quote\\homedir\\quote\\)+\\quote\\posdata/\\quote\\+formatDate(LastBusinessDay(),\\quote\\yyyyMMdd\\quote\\)+\\quote\\/CheckDetails.csv\\quote\\)))" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=65|toolboxy=308|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Download From AWS.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=16|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=740|H=660|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'254846')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'317496')\\quot\\>Notes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'401234')\\quot\\>Testing</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=254846|X=300|Y=128|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=128|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=128|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=128|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Download From AWS\\comma\\confirmAWSExtensionsExist\\comma\\action_list\\comma\\Action=confirmAWSExtensionsExist\\comma\\private//crlf////tab//Download From AWS\\comma\\downloadAllDaysFromToastAws\\comma\\action_list\\comma\\Action=downloadAllDaysFromToastAws\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//confirmAWSExtensionsExist//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\confirmAWSExtensionsExist\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Checks for libraries required for AWS and downloadsany that are missing//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////get array of required libraries//crlf////tab////tab////tab//arExtensions=getToken(\\quot\\POS_Toast_aws_libraries\\quot\\)//crlf////tab////tab////tab//arExtensions=replaceSubstring(arExtensions\\comma\\\\quot\\joda-time-2.2.jar\\quot\\\\comma\\\\quot\\joda-time-2.9.jar\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\arExtensions=\\quot\\\\plus\\arExtensions)//crlf////crlf////tab////tab////tab////get java home directory and extensions directory//crlf////tab////tab////tab//sJavaHome=getProperty(\\quot\\java.home\\quot\\)//crlf////tab////tab////tab//sExtDir=addDirSlash(sJavaHome)\\plus\\\\quot\\lib/ext/\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Library directory: \\quot\\\\plus\\sExtDir)//crlf////crlf////tab////tab////tab//cFile=getElementCount(arExtensions\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//nFile=0//crlf////tab////tab////tab//while(nFile<cFile)//crlf////tab////tab////tab////tab//sFilename=getElement(arExtensions\\comma\\nFile\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sLocalFilename=sExtDir\\plus\\sFilename//crlf////tab////tab////tab////tab//if(not(fileExists(sLocalFilename)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Downloading library: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab//sFtpFilename=\\quot\\http://www.aspect-software.net/Aspect7/libraries/aws/\\quot\\\\plus\\sFilename//crlf////tab////tab////tab////tab////tab//s=fileGetContent(sFtpFilename)//crlf////tab////tab////tab////tab////tab//if(len(s)=0)//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: Could not download library: \\quot\\\\plus\\sFilename))//crlf////tab////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//fileWriteContent(sLocalFilename\\comma\\s)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Downloaded library: \\quot\\\\plus\\sLocalFilename)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Library already exists: \\quot\\\\plus\\sLocalFilename)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nFile=nFile\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////delete old joda-time library if new one exists//crlf////tab////tab////tab//sOldJodaTime=sExtDir\\plus\\\\quot\\joda-time-2.2.jar\\quot\\//crlf////tab////tab////tab//sNewJodaTime=sExtDir\\plus\\\\quot\\joda-time-2.9.jar\\quot\\//crlf////tab////tab////tab//appendToLog(sNewJodaTime\\plus\\\\quot\\ exists: \\quot\\\\plus\\fileExists(sNewJodaTime))//crlf////tab////tab////tab//if(fileExists(sNewJodaTime))//crlf////tab////tab////tab////tab//appendToLog(sOldJodaTime\\plus\\\\quot\\ exists: \\quot\\\\plus\\fileExists(sOldJodaTime))//crlf////tab////tab////tab////tab//if(fileExists(sOldJodaTime))//crlf////tab////tab////tab////tab////tab//fileDelete(sOldJodaTime)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Confirm delete: Exists: \\quot\\\\plus\\fileExists(sOldJodaTime))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//downloadAllDaysFromToastAws//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\downloadAllDaysFromToastAws\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Downloads Toast exports from AWS for the last 14 days.  There must be a single Asoect7 //crlf////tab////tab//store with Toast as the POS and pos import enabled.  Data that has already been //crlf////tab////tab//downloaded will not be downloaded again.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////open Aspect7 stores and filter to Toast stores//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Store\\comma\\drvStore\\comma\\READ)//crlf////tab////tab////tab//driverSetFilter(drvStore\\comma\\\\quot\\(POS_Type=\\quot\\\\plus\\quote(\\quot\\Toast\\quot\\)\\plus\\\\quot\\) and (Enable_POS_Import)\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//cStore=driverGetRecordCount(drvStore)//crlf////crlf////tab////tab////tab////abort if there are no stores defined using Toast POS//crlf////tab////tab////tab//if(cStore=0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: No stores defined using Toast POS with import enabled\\quot\\)//crlf////tab////tab////tab////tab//driverClose(drvStore)//crlf////crlf////tab////tab////tab////tab////execute script to disable unused POS packages//crlf////tab////tab////tab////tab//scriptExec(Aspect_BackOffice_enablePOSPackages\\comma\\false)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if there is more than one store defined using Toast POS//crlf////tab////tab////tab//if(cStore>1)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Multiple stores defined and importing from Toast POS\\quot\\)//crlf////tab////tab////tab////tab//driverClose(drvStore)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get collection of files available from aws//crlf////tab////tab////tab//arFiles=getToken(\\quot\\POS_Toast_aws_export_files\\quot\\)//crlf////crlf////tab////tab////tab////get set of dates to check//crlf////tab////tab////tab//DaysToImport=14//crlf////tab////tab////tab//if(defined(\\quot\\__Days__\\quot\\))//crlf////tab////tab////tab////tab//DaysToImport=__Days__//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//appendToLog(\\quot\\DaysToImport=\\quot\\\\plus\\DaysToImport)//crlf////tab////tab////tab//dtLastBusiness=LastBusinessDay(\\quot\\05:00\\quot\\)//crlf////tab////tab////tab//arDate=getSetTime(incrementTime(dtLastBusiness\\comma\\-(DaysToImport-1))\\comma\\dtLastBusiness\\comma\\1440*60\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//cDownload=0//crlf////tab////tab////tab//cError=0//crlf////crlf////tab////tab////tab//nStore=0//crlf////tab////tab////tab//while(nStore<cStore)//crlf////tab////tab////tab////tab//sStoreName=driverGetField(drvStore\\comma\\\\quot\\Store_Name\\quot\\\\comma\\nStore)//crlf////crlf////tab////tab////tab////tab////the POS directory is the directory name on the Amazon server\\comma\\ not including//crlf////tab////tab////tab////tab////the date.  E.g. restaurant-exports/companyname/nnn//crlf////tab////tab////tab////tab//sPOSDir=trim(driverGetField(drvStore\\comma\\\\quot\\POS_Directory\\quot\\\\comma\\nStore))//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//if(len(sPOSDir)>0)//crlf////tab////tab////tab////tab////tab////remove the s3:// prefix and trailing slash//crlf////tab////tab////tab////tab////tab//sPOSDir=replaceSubstring(sPOSDir\\comma\\\\quot\\\\\quot\\\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab////tab////tab////tab//sPOSDir=replaceSubstring(sPOSDir\\comma\\\\quot\\s3://\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//if(endsWith(sPOSDir\\comma\\\\quot\\/\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//sPOSDir=substring(sPOSDir\\comma\\0\\comma\\len(sPOSDir)-1)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////get the store number.  This is the last part of the directory//crlf////tab////tab////tab////tab////tab//sStoreNumber=getElement(sPOSDir\\comma\\getElementCount(sPOSDir\\comma\\\\quot\\/\\quot\\)-1\\comma\\\\quot\\/\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////get posdata directory//crlf////tab////tab////tab////tab////tab//sExportDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata/toast/\\quot\\//crlf////crlf////tab////tab////tab////tab////tab//cDate=getElementCount(arDate)//crlf////tab////tab////tab////tab////tab//nDate=0//crlf////tab////tab////tab////tab////tab//while(nDate<cDate)//crlf////tab////tab////tab////tab////tab////tab//sDate=getElement(arDate\\comma\\nDate)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Checking for files in \\quot\\\\plus\\sExportDir\\plus\\sDate)//crlf////crlf////tab////tab////tab////tab////tab////tab//cFile=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//nFile=0//crlf////tab////tab////tab////tab////tab////tab//bAbortDay=false//crlf////tab////tab////tab////tab////tab////tab//while((not(bAbortDay)) and (nFile<cFile))//crlf////tab////tab////tab////tab////tab////tab////tab//sKey=getElement(arFiles\\comma\\nFile\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLocalFilename=sExportDir\\plus\\sDate\\plus\\\\quot\\/\\quot\\\\plus\\sKey//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\fileExists \\quot\\\\plus\\sLocalFilename\\plus\\\\quot\\: \\quot\\\\plus\\fileExists(sLocalFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//if(not(fileExists(sLocalFilename)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sBucket=sPOSDir\\plus\\\\quot\\/\\quot\\\\plus\\sDate//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(awsDownloadObject(sBucket\\comma\\sKey\\comma\\sLocalFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Downloaded: \\quot\\\\plus\\sBucket\\plus\\\\quot\\/\\quot\\\\plus\\sKey\\plus\\\\quot\\ to \\quot\\\\plus\\sLocalFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//cDownload=cDownload\\plus\\1//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Download failed: \\quot\\\\plus\\sBucket\\plus\\\\quot\\/\\quot\\\\plus\\sKey\\plus\\\\quot\\ to \\quot\\\\plus\\sLocalFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//cError=cError\\plus\\1//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//bAbortDay=true//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\File already exists: \\quot\\\\plus\\sLocalFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//cExist=cExist\\plus\\1//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//nFile=nFile\\plus\\1//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//nDate=nDate\\plus\\1//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sResult=sResult\\plus\\appendToLog(\\quot\\Error: Store: \\quot\\\\plus\\sStoreName\\plus\\\\quot\\ Missing POS directory for \\quot\\\\plus\\sStoreName)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nStore=nStore\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(len(sResult)=0)//crlf////tab////tab////tab////tab//if(cError=0)//crlf////tab////tab////tab////tab////tab//sResult=\\quot\\Ok: Downloaded:\\quot\\\\plus\\cDownload\\plus\\\\quot\\ Error:\\quot\\\\plus\\cError//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sResult=\\quot\\Error: Downloaded:\\quot\\\\plus\\cDownload\\plus\\\\quot\\ Error:\\quot\\\\plus\\cError//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverClose(drvStore)//crlf////tab////tab////tab//scriptSetResult(sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=300|Y=128|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=317496|X=300|Y=128|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h1>AWS Command-line Interface</h1>//crlf//<ul>//crlf////tab//<li>Download AWS command-line interface from http://aws.amazon.com/cli/</li>//crlf////tab//<li>Run \\quot\\AWS Configure\\quot\\ to set the credentials (key / secret key)//crlf////tab//<li>A file named \\quot\\credentials\\quot\\ is created in the [users/user].aws directory containing:<br>//crlf////tab////tab////tab//<code>//crlf////tab////tab////tab////tab//[default]<br>//crlf////tab////tab////tab////tab//aws_access_key_id=AKIAI2VKVBPH2IFI3HHQ<br>//crlf////tab////tab////tab////tab//aws_secret_access_key=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<br>//crlf////tab////tab////tab//</code>//crlf////tab//</li>//crlf////tab//<li>A file named \\quot\\config\\quot\\ is also created in the [users/user].sws directory containing:<br>//crlf////tab////tab////tab//<code>//crlf////tab////tab////tab////tab//[default]<br>//crlf////tab////tab////tab//</code>//crlf////tab//</li>//crlf//</ul>//crlf////crlf//<p>The aws credentials can also be set without prompting using these commands:</p>//crlf//<code>//crlf////tab//aws configure set aws_access_key_id AKIAJAPIMO444HODUJWA<br>//crlf////tab//aws configure set aws_secret_access_key 8DPla04Dn++tMZkPEu2zTxSF/FyNYOqizjtSWR5r<br>//crlf//</code>//crlf////crlf//<h2>Command-line examples using aws.exe</h2>//crlf//<hr>//crlf//<div style=\\quot\\margin-left:20px\\quot\\>//crlf////tab//<code>//crlf////tab////tab//C:\Program Files\Amazon\AWSCLI>aws s3 ls s3://restaurant-exports/KMcCutcheon/386/20141222<br>//crlf////tab////tab//<br>//tab////crlf////tab////tab//PRE 20141222/<br>//crlf////tab////tab//<br>//tab////crlf////tab////tab//C:\Program Files\Amazon\AWSCLI>aws s3 ls s3://restaurant-exports/KMcCutcheon/386/20141222/<br>//crlf////tab////tab//<br>//tab////crlf////tab////tab//2014-12-23 02:27:00       6951 AllItemsReport.csv<br>//crlf////tab////tab//2014-12-23 02:27:00         85 CashEntries.csv<br>//crlf////tab////tab//2014-12-23 02:27:00       1175 CheckDetails.csv<br>//crlf////tab////tab//2014-12-23 02:26:59       5538 ItemSelectionDetails.csv<br>//crlf////tab////tab//2014-12-23 02:27:00      10934 ModifiersSelectionDetails.csv<br>//crlf////tab////tab//2014-12-23 02:27:00       1127 OrderDetails.csv<br>//crlf////tab////tab//2014-12-23 02:26:59       1259 PaymentDetails.csv<br>//crlf////tab////tab//2014-12-23 02:26:59        420 TimeEntries.csv<br>//crlf////tab//</code>//crlf//</div>//crlf//<hr>//crlf//<br>//crlf////crlf//<h1>Credentials</h1>//crlf//KeithM<br>//crlf//Access Key ID: AKIAI2VKVBPH2IFI3HHQ<br>//crlf//Secret Access Key: 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<br>//crlf//<br>//crlf////crlf////crlf//Amsterdam Falafel (As of 12/3/14): <br>//crlf//Username //tab//KMcCutcheon<br>//crlf//AccessKeyID//tab//AKIAJAPIMO444HODUJWA<br>//crlf//Secret Key//tab//8DPla04Dn++tMZkPEu2zTxSF/FyNYOqizjtSWR5r<br>//crlf//<br>//crlf////crlf//Amsterdam Falafel: <br>//crlf//Username KeithMcCutcheon<br>//crlf//Access Key ID AKIAJQJVKM7W2IGTUEQA<br>//crlf//Secret Key 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<br>//crlf//<br>//crlf////crlf//Toast Tab //amp// Grill:<br>//crlf//Username KethMcCutcheon<br>//crlf//Access Key ID AKIAJAXYZMRSUZSXALUA<br>//crlf//Secret Key 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<br>//crlf//<br>//crlf//^
ID=AgentStart|X=184|Y=44|W=119|H=123|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=98152|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=always|^
ID=AgentTabs|X=184|Y=16|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=184|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Download From AWS\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 03-14-2015 12:39:38//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////crlf////tab////tab////Is the agent already running?//crlf////tab////tab//appendToLog(\\quot\\(scriptCount(this)'+char(0x3e)+'1)=\\quot\\+(scriptCount(this)>1))//crlf////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS\\comma\\AgentTerminate\\comma\\726374\\comma\\1\\comma\\Aborted because agent is alerady running//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS\\quot\\\\comma\\\\quot\\726374\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Aborted because agent is alerady running\\quot\\\\comma\\\\quot\\Error: Aborted because agent is alerady running\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\__PageArgs__\\quot\\)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Aborted because agent is alerady running\\quot\\)//crlf////tab////tab//else//crlf////crlf////tab////tab////tab////Is this computer at a store?//crlf////tab////tab////tab//appendToLog(\\quot\\(getToken('Aspect_BackOffice_Pref_Polling_Location')='store')=\\quot\\+(getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)=\\quot\\store\\quot\\))//crlf////tab////tab////tab//if(getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)=\\quot\\store\\quot\\)//crlf////crlf////tab////tab////tab////tab////Are credentials defined?//crlf////tab////tab////tab////tab//appendToLog(\\quot\\(getElementCount(awsGetCredentials())'+char(0x3e)+'1)=\\quot\\+(getElementCount(awsGetCredentials())>1))//crlf////tab////tab////tab////tab//if(getElementCount(awsGetCredentials())>1)//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS\\comma\\AgentAction\\comma\\836909\\comma\\0\\comma\\Download required libraries//crlf////crlf////tab////tab////tab////tab////tab////Download required libraries//crlf////tab////tab////tab////tab////tab//Result=execAgentAction(\\quot\\confirmAWSExtensionsExist\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\confirmAWSExtensionsExist ()=\\quot\\+left(Result\\comma\\128))//crlf////crlf////tab////tab////tab////tab////tab////Have libraries been downloaded?//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:0 ()=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(Result\\comma\\'ok'))=\\quot\\+(startsWith(Result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS\\comma\\AgentAction\\comma\\558204\\comma\\0\\comma\\Download the data\\comma\\  There must be a single store with Toast POS selected and importing enabled.//crlf////crlf////tab////tab////tab////tab////tab////tab////Download the data\\comma\\  There must be a single store with Toast POS selected and importing enabled.//crlf////tab////tab////tab////tab////tab////tab//Result=execAgentAction(\\quot\\downloadAllDaysFromToastAws\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\downloadAllDaysFromToastAws ()=\\quot\\+left(Result\\comma\\128))//crlf////crlf////tab////tab////tab////tab////tab////tab////Successful?//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(Result\\comma\\'ok'))=\\quot\\+(startsWith(Result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS\\comma\\AgentTerminate\\comma\\111584\\comma\\0\\comma\\Files have been downloaded//crlf////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS\\quot\\\\comma\\\\quot\\111584\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Files have been downloaded\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\__PageArgs__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS\\comma\\AgentTerminate\\comma\\393617\\comma\\1\\comma\\Could not download one or more files//crlf////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS\\quot\\\\comma\\\\quot\\393617\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Could not download one or more files\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\__PageArgs__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS\\comma\\AgentTerminate\\comma\\668251\\comma\\1\\comma\\Unable to download required libraries//crlf////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS\\quot\\\\comma\\\\quot\\668251\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Unable to download required libraries\\quot\\\\comma\\\\quot\\Error: Unable to download required libraries\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\__PageArgs__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Unable to download required libraries\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS\\comma\\AgentTerminate\\comma\\303681\\comma\\1\\comma\\Unable to verify aws credentials//crlf////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS\\quot\\\\comma\\\\quot\\303681\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Unable to verify aws credentials\\quot\\\\comma\\\\quot\\Error: unable to confirm aws credentials\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\__PageArgs__\\quot\\)//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: unable to confirm aws credentials\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS\\comma\\AgentTerminate\\comma\\952425\\comma\\1\\comma\\Aborted because this computer is not running at a store//crlf////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS\\quot\\\\comma\\\\quot\\952425\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Aborted because this computer is not running at a store\\quot\\\\comma\\\\quot\\Error: Aborted because this computer is not located at a store\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\__PageArgs__\\quot\\)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Aborted because this computer is not located at a store\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=184|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;03142015//amp//nbsp;123938//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Download//amp//nbsp;From//amp//nbsp;AWS\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;03-14-2015//amp//nbsp;12:39:38</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;already//amp//nbsp;running?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>scriptCount</span>(this)'+<span class='keyword'>char</span>(0x3e)+'1)=\\quot\\+(<span class='keyword'>scriptCount</span>(this)//amp//gt;1))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>scriptCount</span>(this)//amp//gt;1)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;From//amp//nbsp;AWS\\quot\\\\comma\\\\quot\\726374\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Aborted//amp//nbsp;because//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;alerady//amp//nbsp;running\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Aborted//amp//nbsp;because//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;alerady//amp//nbsp;running\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\__PageArgs__\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Aborted//amp//nbsp;because//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;alerady//amp//nbsp;running\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;this//amp//nbsp;computer//amp//nbsp;at//amp//nbsp;a//amp//nbsp;store?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>getToken</span>('Aspect_BackOffice_Pref_Polling_Location')='store')=\\quot\\+(<span class='keyword'>getToken</span>(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)=\\quot\\store\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>getToken</span>(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)=\\quot\\store\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Are//amp//nbsp;credentials//amp//nbsp;defined?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>getElementCount</span>(<span class='keyword'>awsGetCredentials</span>())'+<span class='keyword'>char</span>(0x3e)+'1)=\\quot\\+(<span class='keyword'>getElementCount</span>(<span class='keyword'>awsGetCredentials</span>())//amp//gt;1))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>getElementCount</span>(<span class='keyword'>awsGetCredentials</span>())//amp//gt;1)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Download//amp//nbsp;required//amp//nbsp;libraries</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\confirmAWSExtensionsExist\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\confirmAWSExtensionsExist//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Have//amp//nbsp;libraries//amp//nbsp;been//amp//nbsp;downloaded?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:0//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(Result\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Download//amp//nbsp;the//amp//nbsp;data\\comma\\//amp//nbsp;//amp//nbsp;There//amp//nbsp;must//amp//nbsp;be//amp//nbsp;a//amp//nbsp;single//amp//nbsp;store//amp//nbsp;with//amp//nbsp;Toast//amp//nbsp;POS//amp//nbsp;selected//amp//nbsp;and//amp//nbsp;importing//amp//nbsp;enabled.</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\downloadAllDaysFromToastAws\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\downloadAllDaysFromToastAws//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Successful?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(Result\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;From//amp//nbsp;AWS\\quot\\\\comma\\\\quot\\111584\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Files//amp//nbsp;have//amp//nbsp;been//amp//nbsp;downloaded\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\__PageArgs__\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;From//amp//nbsp;AWS\\quot\\\\comma\\\\quot\\393617\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Could//amp//nbsp;not//amp//nbsp;download//amp//nbsp;one//amp//nbsp;or//amp//nbsp;more//amp//nbsp;files\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\__PageArgs__\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;From//amp//nbsp;AWS\\quot\\\\comma\\\\quot\\668251\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Unable//amp//nbsp;to//amp//nbsp;download//amp//nbsp;required//amp//nbsp;libraries\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Unable//amp//nbsp;to//amp//nbsp;download//amp//nbsp;required//amp//nbsp;libraries\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\__PageArgs__\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Unable//amp//nbsp;to//amp//nbsp;download//amp//nbsp;required//amp//nbsp;libraries\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;From//amp//nbsp;AWS\\quot\\\\comma\\\\quot\\303681\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Unable//amp//nbsp;to//amp//nbsp;verify//amp//nbsp;aws//amp//nbsp;credentials\\quot\\\\comma\\\\quot\\Error://amp//nbsp;unable//amp//nbsp;to//amp//nbsp;confirm//amp//nbsp;aws//amp//nbsp;credentials\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\__PageArgs__\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;unable//amp//nbsp;to//amp//nbsp;confirm//amp//nbsp;aws//amp//nbsp;credentials\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;From//amp//nbsp;AWS\\quot\\\\comma\\\\quot\\952425\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Aborted//amp//nbsp;because//amp//nbsp;this//amp//nbsp;computer//amp//nbsp;is//amp//nbsp;not//amp//nbsp;running//amp//nbsp;at//amp//nbsp;a//amp//nbsp;store\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Aborted//amp//nbsp;because//amp//nbsp;this//amp//nbsp;computer//amp//nbsp;is//amp//nbsp;not//amp//nbsp;located//amp//nbsp;at//amp//nbsp;a//amp//nbsp;store\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\__PageArgs__\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Aborted//amp//nbsp;because//amp//nbsp;this//amp//nbsp;computer//amp//nbsp;is//amp//nbsp;not//amp//nbsp;located//amp//nbsp;at//amp//nbsp;a//amp//nbsp;store\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=184|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=184|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=184|Y=44|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>03142015 123938</state>//crlf//<canvas height=\\quot\\100\\quot\\ width=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\ id=\\quot\\agent_doc_canvas\\quot\\></canvas><div agentchildyesnode=\\quot\\chart98152\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chartAgentStart\\quot\\><canvas height=\\quot\\124\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 124px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Download From AWS</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: always<br>Report To: <br>Name Params: </div></div><div agentchildnonode=\\quot\\chart303681\\quot\\ agentchildyesnode=\\quot\\chart836909\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 311px; left: 190px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart74639\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Are credentials defined?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 311px; left: 380px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart303681\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Unable to verify aws credentials<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart540530\\quot\\ agentchildyesnode=\\quot\\chart726374\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart98152\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the agent already running?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 992px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart111584\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Files have been downloaded<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div agentchildnonode=\\quot\\chart952425\\quot\\ agentchildyesnode=\\quot\\chart74639\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 190px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart540530\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is this computer at a store?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 380px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart952425\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Aborted because this computer is not running at a store<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildyesnode=\\quot\\chart391739\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 703px; left: 190px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart558204\\quot\\><canvas height=\\quot\\147\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 121px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Download the data\\comma\\  There must be a single store with Toast POS selected and importing enabled.<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>downloadAllDaysFromToastAws<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart393617\\quot\\ agentchildyesnode=\\quot\\chart111584\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 876px; left: 190px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart391739\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Successful?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 876px; left: 380px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart393617\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Could not download one or more files<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 305px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart726374\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Aborted because agent is alerady running<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildyesnode=\\quot\\chart448809\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 427px; left: 190px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart836909\\quot\\><canvas height=\\quot\\95\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Download required libraries<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>confirmAWSExtensionsExist<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart668251\\quot\\ agentchildyesnode=\\quot\\chart558204\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 574px; left: 190px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart448809\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Have libraries been downloaded?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>None<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 574px; left: 380px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart668251\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Unable to download required libraries<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=74639|X=373|Y=355|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=836909|AgentChildNoNode=303681|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=getElementCount(awsGetCredentials())>1|AgentNodeActionReturnValue=|AgentNodeComment=Are credentials defined?|AgentNodeTermType=0|^
ID=303681|X=563|Y=355|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: unable to confirm aws credentials\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Unable to verify aws credentials|AgentNodeTermType=1|^
ID=98152|X=183|Y=220|W=149|H=78|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=726374|AgentChildNoNode=540530|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=scriptCount(this)>1|AgentNodeActionReturnValue=|AgentNodeComment=Is the agent already running?|AgentNodeTermType=0|^
ID=111584|X=373|Y=1036|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Files have been downloaded|AgentNodeTermType=0|^
ID=540530|X=373|Y=220|W=149|H=78|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=74639|AgentChildNoNode=952425|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)\equals\\\quot\\store\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Is this computer at a store?|AgentNodeTermType=0|^
ID=952425|X=563|Y=220|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Aborted because this computer is not located at a store\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Aborted because this computer is not running at a store|AgentNodeTermType=1|^
ID=558204|X=373|Y=747|W=149|H=122|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=391739|AgentChildNoNode=|AgentSensor=0|AgentAction=downloadAllDaysFromToastAws|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Download the data//comma//  There must be a single store with Toast POS selected and importing enabled.|AgentNodeTermType=0|^
ID=391739|X=373|Y=920|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=111584|AgentChildNoNode=393617|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Successful?|AgentNodeTermType=0|^
ID=393617|X=563|Y=920|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Could not download one or more files|AgentNodeTermType=1|^
ID=726374|X=183|Y=349|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Aborted because agent is alerady running\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Aborted because agent is alerady running|AgentNodeTermType=1|^
ID=836909|X=373|Y=471|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=448809|AgentChildNoNode=|AgentSensor=0|AgentAction=confirmAWSExtensionsExist|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Download required libraries|AgentNodeTermType=0|^
ID=448809|X=373|Y=618|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=558204|AgentChildNoNode=668251|AgentSensor=0|AgentAction=confirmAWSExtensionsExist|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Have libraries been downloaded?|AgentNodeTermType=0|^
ID=668251|X=563|Y=618|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=0|AgentAction=confirmAWSExtensionsExist|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Unable to download required libraries\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Unable to download required libraries|AgentNodeTermType=1|^
ID=401234|X=300|Y=128|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:true>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////show credentials//crlf////tab////tab//sCredentials=awsGetCredentials()//crlf////tab////tab//appendToLog(\\quot\\Current credentials: \\quot\\+sCredentials)//crlf////crlf////tab////tab////set credentials//crlf////tab////tab////KeithM//crlf////tab////tab////s=awsSetCredentials(\\quot\\AKIAI2VKVBPH2IFI3HHQ\\quot\\\\comma\\\\quot\\0IHye/BQZNgvYqyI5faaD0Z0NaXUqeFBmztC0FHI\\quot\\)//crlf////crlf////tab////tab//s=awsSetCredentials(\\quot\\AKIAJAPIMO444HODUJWA\\quot\\\\comma\\\\quot\\8DPla04Dn++tMZkPEu2zTxSF/FyNYOqizjtSWR5r\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\set credentials: \\quot\\+s)//crlf////tab////crlf////tab////tab////list buckets//crlf////tab////tab//arBuckets=awsListBuckets()//crlf////tab////tab//appendToLog(\\quot\\Buckets=\\quot\\+arBuckets)//crlf////tab//\\quot\\>//crlf//</conditional>
</widget><widget name="POS Interface - Toast" group="POS Interface" category="Toast" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Toast" modified="04-27-2024 23:33:53" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-21-2024 02:18:30:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=48|toolboxy=224|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=POS Interface - Toast.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=16|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=open_driver|X=184|Y=44|W=1041|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=black|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:\\quot\\('__action__'='openDriver')\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Toast openPOSDriver\\quot\\; commands:\\quot\\//crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//This script opens a driver to read pos data for the given StoreID\\comma\\ DataType and Date.  //crlf////tab////tab//The return value is a pipe-delimited string in the form Status=n~~pipe~~Driver=DriverName~~pipe~~Modified=MM-dd-yyyy HH:mm:ss~~pipe~~Size=nnn//crlf////tab////tab//Status is -1=not valid\\comma\\ 0=valid but not available\\comma\\ 1=valid and available//crlf////tab////tab////crlf////tab////tab//Params://crlf////tab////tab////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab////tab//DataType - The ID of one of the datatypes defined in the Aspect_BackOffice_POS_Data_Types collection//crlf////tab////tab////tab//Date//tab// - A single date in the form MM-dd-yyyy//crlf////tab////tab////tab//OpenDriver - If false\\comma\\ the driver will not be opened but the expression used to test for data will be returned.//crlf////tab////tab////tab////tab////tab////tab//  This is used when adding tasks to the pos synch driver.//crlf////tab////tab////tab//Debug - If true\\comma\\ outputs debugging information to the log//crlf////tab////tab////crlf////tab////tab//Returns a string in the form://crlf////tab////tab////tab//status=n~~pipe~~Driver=drivername~~pipe~~modified=mm-dd-yyyy HH:mm:ss~~pipe~~size=nnn~~pipe~~DataAvailable=Expression~~pipe~~DataState=expression//crlf////tab////tab////crlf////tab////tab//Status is 1 on success or 0 if the data is not available.  Status is -1 if the datatype is not supported for the POS.//crlf////tab////tab//Modified is the date/time the data was last modified//crlf////tab////tab//Size is the number of records available (NOT the file size)//crlf////tab////tab////crlf////tab////tab//DataAvailable is an expression returned to test whether pos data is available or not.  It is used when//crlf////tab////tab//processing the synch tasks to avoid making calls to synchronize data when the pos data is not available.//crlf////tab////tab////crlf////tab////tab//DataState is an expression used to create a state value for the pos data.  It is generally a getFileSpecState//crlf////tab////tab//function.  This is used to determine when a synch task needs to be run because the pos data has been//crlf////tab////tab//modified//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//bDebug=(\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab//bDebug=true//crlf////tab////crlf////tab////tab//bOpenDriver=if(startsWith(\\quot\\__OpenDriver__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\false\\comma\\boolean(\\quot\\__OpenDriver__\\quot\\))//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Toast - OpenDriver __datatype__ __date__ __StoreID__ OpenDriver=\\quot\\+bOpenDriver)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////get driver ID//crlf////tab////tab//sDriverID=lookup(POS_Toast_Associated_Driver_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//if(sDriverID=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Toast returns \\quot\\+s+\\quot\\ because driver for datatype (__datatype__) is not defined\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get POS type//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////get business date//crlf////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////get the POSData directory//crlf////tab////tab//sPOSDataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/toast/\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/\\quot\\//crlf////crlf////tab////tab////get name of the POS Export file//crlf////tab////tab//sPOSExportFilename=sPOSDataDir+lookup(POS_Toast_POS_Export_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////abort if the POS export file is undefined//crlf////tab////tab//if(pos(\\quot\\undefined\\quot\\\\comma\\sPOSExportFilename)>=0)//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Toast returns \\quot\\+s+\\quot\\ because pos export file not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////get name of the driver for the POS Export file//crlf////tab////tab//sPOSExportDriverName=lookup(POS_Toast_POS_Export_Driver_Name_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////abort if the POS export driver name is undefined//crlf////tab////tab//if(sPOSExportDriverName=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Toast returns \\quot\\+s+\\quot\\ because pos export driver not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////get name of the processed file//crlf////tab////tab//sProcessedFilename=sPOSDataDir+lookup(POS_Toast_Processed_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////get the expressions used to determine if the data is available or modified//crlf////tab////tab//sDataAvailableFilename=sPOSDataDir+lookup(POS_Toast_Data_Available_Filename_by_Datatype\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//sDataAvailableExpression=\\quot\\fileExists(\\quot\\+quote(sDataAvailableFilename)+\\quot\\)\\quot\\//crlf////tab////tab//sDataStateExpression=\\quot\\getFilespecState(\\quot\\+quote(sDataAvailableFilename)+\\quot\\)\\quot\\//crlf////crlf////tab////tab////Debugging Output//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Toast - POS DriverID=\\quot\\+sPOSExportDriverName)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Toast - POS Filename=\\quot\\+sPOSExportFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Toast - Processed DriverID=\\quot\\+sDriverID)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Toast - Processed Filename=\\quot\\+sProcessedFilename)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////see if the file needs to be processed.  Processing needs to be done even if //crlf////tab////tab////OpenDriver is false since the data available expression depends on the processed//crlf////tab////tab////file being present//crlf////tab////tab//if(len(\\quot\\__ForceProcess__\\quot\\)=0)//crlf////tab////tab////tab//bForceProcess=false//crlf////tab////tab//else//tab////crlf////tab////tab////tab//bForceProcess=if(defined(\\quot\\__ForceProcess__\\quot\\)\\comma\\boolean(__ForceProcess__)\\comma\\false)//crlf////tab////tab//endif//crlf////tab////tab//if(bForceProcess)//crlf////tab////tab////tab//appendToLog(\\quot\\Forcing process of file\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//if((bForceProcess) or (not(fileExists(sProcessedFilename))) or (fileSize(sProcessedFilename)=0) or (fileModified(sPOSExportFilename)>fileModified(sProcessedFilename)))//crlf////tab////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Toast - Processing driver\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Interface - Toast\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ContainerItemID=open_driver\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=processToastExportFile\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//POSExportDriverName=\\quot\\+sPOSExportDriverName//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//POSExportFilename=\\quot\\+sPOSExportFilename//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//AssociatedDriverName=\\quot\\+sDriverID//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ProcessedFilename=\\quot\\+sProcessedFilename//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Date=__date__\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//DataType=__DataType__\\quot\\//crlf////tab////tab////tab//s=getWidget(sArgs)//crlf////tab////tab//else//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Toast - File is already processed\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////just return the DataAvailable and DataState expressions if OpenDriver is false//crlf////tab////tab//if(not(bOpenDriver))//crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Toast - openDriver returns \\quot\\+s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get name of the system driver that will be returned and params to pass to the driver//crlf////tab////tab//sDriverName=\\quot\\__datatype___\\quot\\+getSalt(8)//crlf////tab////tab//sDriverParams=\\quot\\Filename=\\quot\\+sProcessedFilename+\\quot\\~~pipe~~DataType=__DataType__~~pipe~~StoreID=__StoreID__~~pipe~~date=__date__~~pipe~~POS=\\quot\\+sPOSType//crlf////crlf////tab////tab////open the driver//crlf////tab////tab//driverOpen(sDriverID\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\sDriverParams)//crlf////tab////tab//driverSetFilter(sDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////set the result//crlf////tab////tab//s=\\quot\\status=1~~pipe~~Driver=\\quot\\+sDriverName+\\quot\\~~pipe~~modified=\\quot\\+formatDate(fileModified(sProcessedFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)+\\quot\\~~pipe~~size=\\quot\\+driverGetRecordCount(sDriverName\\comma\\true)//crlf////tab////tab//s=s+\\quot\\~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab//appendToLog(\\quot\\POS Interface - Toast openDriver returns \\quot\\+s+\\quot\\ (\\quot\\+driverGetRecordCount(sDriverName)+\\quot\\ records)\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\processToastExportFile\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//processToastExportFile//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\processToastExportFile\\quot\\; commands:\\quot\\//crlf////tab////tab////Creates a processed file from a Toast export file //crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//POSExportDriverName - ID of driver used to open the POS export file//crlf////tab////tab//////tab//POSExportFilename - Full filename of the pos export file//crlf////tab////tab//////tab//AssociatedDriverName - ID of driver used to open the processed file//crlf////tab////tab//////tab//ProcessedFilename - Full filename of the processed file//crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//////tab//DataType - The data type being processed//crlf////tab////tab//////crlf////tab////tab////Returns://crlf////tab////tab//////tab//OK or ERROR//crlf////crlf////tab////tab////open the Toast export file//crlf////tab////tab//if((\\quot\\__DataType__\\quot\\=\\quot\\id_menu_items\\quot\\) or (\\quot\\__DataType__\\quot\\=\\quot\\sales_mix\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\Opening toast export file: __POSExportDriverName__ Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\__POSExportDriverName__\\quot\\\\comma\\drvToastExport\\comma\\READ\\comma\\false\\comma\\\\quot\\Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//else//crlf////tab////tab////tab//appendToLog(\\quot\\Opening toast export file: __POSExportDriverName__ Filename=__POSExportFilename__\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\__POSExportDriverName__\\quot\\\\comma\\drvToastExport\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__POSExportFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//driverSetFilter(drvToastExport\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////open the processed file.  Delete it first if it exists//crlf////tab////tab//if(fileExists(\\quot\\__ProcessedFilename__\\quot\\))//crlf////tab////tab////tab//fileDelete(\\quot\\__ProcessedFilename__\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//driverOpen(\\quot\\__AssociatedDriverName__\\quot\\\\comma\\drvProcessed\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__ProcessedFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//driverSetFilter(drvProcessed\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////get fields to merge//crlf////tab////tab//arFieldID=driverGetFieldIDs(drvProcessed\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////get key field//crlf////tab////tab//KeyField=\\quot\\ID\\quot\\//crlf////tab////tab//if(\\quot\\__DataType__\\quot\\=\\quot\\timeclock\\quot\\)//crlf////tab////tab////tab//KeyField=\\quot\\ID~~pipe~~ActTimeIn\\quot\\//crlf////tab////tab//endif//crlf////crlf////tab////tab////merge the drivers//crlf////tab////tab//appendToLog(\\quot\\Merging driver.  Fields=\\quot\\+arFieldID)//crlf////tab////tab//appendToLog(\\quot\\Records in source driver=\\quot\\+driverGetRecordCount(drvToastExport))//crlf////tab////tab//s=driverMerge(true\\comma\\drvProcessed\\comma\\drvToastExport\\comma\\KeyField\\comma\\arFieldID\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////crlf////tab////tab//driverClose(drvToastExport)//crlf////tab////tab//driverClose(drvProcessed)//crlf////crlf////tab////tab//appendToLog(\\quot\\Process __DataType__: \\quot\\+s)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//^
ID=tabs_synch|X=184|Y=16|W=214|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table name=\\quot\\tabs_synch\\quot\\ class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'open_driver')\\quot\\>Open Driver</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'setup')\\quot\\>Setup</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'pos_notes')\\quot\\>Notes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'diagnostics')\\quot\\>Diagnostics</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'documentation')\\quot\\>Documentation</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=code|X=300|Y=100|W=1200|H=20|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'743416')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>Aspect</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'driver_include')\\quot\\>Driver Includes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'control_panel_items')\\quot\\>Control Panel Widgets</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'760488')\\quot\\>Notes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=743416|X=300|Y=128|W=822|H=688|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=function showDriverInclude(DriverID)//crlf//{//crlf////tab//var sDate=document.getElementById(\\quot\\driver_include_date\\quot\\).value;//crlf////tab//var eDiv=document.getElementById(DriverID+\\quot\\Content\\quot\\);//crlf////tab//var sCurrentDate=eDiv.getAttribute(\\quot\\Date\\quot\\);//crlf////crlf////tab////exit if the report is already created for the current date//crlf////tab//if(sCurrentDate==sDate) return;//crlf////crlf////tab//var sUrl=eDiv.getAttribute(\\quot\\_url\\quot\\);//crlf////tab//sUrl +=\\quot\\//amp//Date=\\quot\\+sDate;//crlf////tab//eDiv.setAttribute(\\quot\\url\\quot\\\\comma\\sUrl);//crlf////tab//eDiv.setAttribute(\\quot\\Date\\quot\\\\comma\\sDate);//crlf////tab//setInterval(eDiv\\comma\\0\\comma\\true);//crlf//};//crlf////crlf//^
ID=760488|X=300|Y=128|W=822|H=688|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=Notes^
ID=debug_console|X=300|Y=128|W=822|H=688|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=pos_notes|X=184|Y=44|W=1041|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=true|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:450px\\quot\\>//crlf////crlf//</div>//crlf////crlf//^
ID=AspectScript|X=300|Y=128|W=822|H=688|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=setup|X=184|Y=44|W=1041|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=documentation|X=184|Y=44|W=786|H=746|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h2>Processing Files</h2>//crlf////crlf//<hr>//crlf//<table>//crlf////tab//<tr>//crlf////tab////tab//<th align='left'>Collection</th>//crlf////tab////tab//<th align='left'>Description</th>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>POS Export Filenames By Data Type</td>//crlf////tab////tab//<td>These are the Toast export file names associated with each data type</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>POS Export Driver Name By Data Type</tdh>//crlf////tab////tab//<td>These are the drivers used to read the Toast export files</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Processed Filenames By Data Type</td>//crlf////tab////tab//<td>These are the processed files created by Aspect7 from the Toast export files.  These files are //crlf////tab////tab////tab//created automatically whenever a call is made to openDriver.  The files are not created again//crlf////tab////tab////tab//if they already exist and have a timestamp later than the pos export file(s) from which//crlf////tab////tab////tab//they are created.//crlf////tab////tab//</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Associated Driver By Data Type</td>//crlf////tab////tab//<td>//crlf////tab////tab////tab////tab//These are the Aspect7 driver ID's returned when openDriver is called for a given data type///crlf////tab////tab////tab////tab//These drivers are used to read the processed files.//crlf////tab////tab//</td>//crlf////tab//</tr>//crlf//</table>//crlf//<hr>//crlf////crlf//<!include type:script; commands:\\quot\\//crlf////tab//hashCreate(\\quot\\hDatatype\\quot\\)//crlf////crlf////tab//arTitles=\\quot\\Data Type\\quot\\//crlf////tab//arCollections=\\quot\\POS_Toast_POS_Export_Filenames_By_Data_Type\\comma\\POS_Toast_POS_Export_Driver_Name_By_Data_Type\\comma\\POS_Toast_Processed_Filenames_By_Data_Type\\comma\\POS_Toast_Associated_Driver_By_Data_Type\\quot\\//crlf////tab//cCollection=getElementCount(arCollections)//crlf////tab//nCollection=0//crlf////tab//while(nCollection<cCollection) //crlf////tab////tab//sCollectionName=getElement(arCollections\\comma\\nCollection)//crlf////tab////tab//arTitles=addElement(arTitles\\comma\\replaceSubstring(replaceSubstring(sCollectionName\\comma\\\\quot\\_\\quot\\\\comma\\\\quot\\ \\quot\\)\\comma\\\\quot\\Pos Toast \\quot\\\\comma\\\\quot\\\\quot\\))//crlf////tab////tab//arCollectionElements=getCollection(sCollectionName)//crlf////tab////tab//c=getElementCount(arCollectionElements\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//s=getElement(arCollectionElements\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//sElementName=getElement(s\\comma\\0\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab//sElementValue=getElement(s\\comma\\1\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab//if(not(hashContainsKey(hDatatype\\comma\\sElementName)))//crlf////tab////tab////tab////tab//hashPut(hDatatype\\comma\\sElementName\\comma\\sElementName+\\quot\\\\comma\\\\quot\\+sElementValue)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//hashPut(hDatatype\\comma\\sElementName\\comma\\hashGet(hDataType\\comma\\sElementName)+\\quot\\\\comma\\\\quot\\+sElementValue)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////tab////tab//nCollection=nCollection+1//crlf////tab//endwhile//crlf////tab////crlf////tab////get array of data types.  These could be gotten from the hashtable\\comma\\ but use collection//crlf////tab////instead so they can be ordered//crlf////tab//sKeys1=\\quot\\\\quot\\//crlf////tab//sKeys2=\\quot\\\\quot\\//crlf////tab//s=getCollection(Aspect_BackOffice_POS_Data_Types)//crlf////tab//c=getElementCount(s\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab//n=0//crlf////tab//while(n<c)//crlf////tab////tab//s1=getElement(getElement(s\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\0\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab//if(startsWith(s1\\comma\\\\quot\\ID\\quot\\))//crlf////tab////tab////tab//sKeys2=addElement(sKeys2\\comma\\s1)//crlf////tab////tab//else//crlf////tab////tab////tab//sKeys1=addElement(sKeys1\\comma\\s1)//crlf////tab////tab//endif//crlf////tab////tab//n=n+1//crlf////tab//endwhile//crlf////tab//sKeys=addElement(sKeys1\\comma\\sKeys2)//crlf////tab//appendToLog(\\quot\\skeys=\\quot\\+sKeys)//crlf////crlf////tab//sTable=\\quot\\\\quot\\//crlf////tab////sKeys=hashGetKeys(hDatatype)//crlf////tab//c=getElementCount(sKeys)//crlf////tab//n=0//crlf////tab//while(n<c)//crlf////tab////tab//sKey=getElement(sKeys\\comma\\n)//crlf////tab////tab//sValue=hashGet(hDatatype\\comma\\sKey)//crlf////tab////tab//if(len(sTable)>0)//crlf////tab////tab////tab//sTable=sTable+char(10)//crlf////tab////tab//endif//crlf////tab////tab//sTable=sTable+sValue//crlf////tab////tab//n=n+1//crlf////tab//endwhile//crlf////crlf////tab//scriptSetResult(htmlTable(sTable\\comma\\char(10)\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\arTitles\\comma\\\\quot\\bordered\\quot\\))//crlf//\\quot\\>//crlf////crlf//<h2>Identifiers</h2>//crlf//<p>Identifiers are not available for the following items.//crlf////tab//A single entry is created by creating a structure using the//crlf////tab//CheckDetails file and hardwiring the name.//crlf//</p>//crlf//<ul>//crlf////tab//<li>Tax Names - Uses POS_Toast_CheckDetails_Tax_Names</li>//crlf//</ul>//crlf////crlf//<h2>Check Headers - Order Detail vs Check Detail</h2>//crlf//<table class=\\quot\\bordered\\quot\\>//crlf////tab//<tr>//crlf////tab////tab//<th>Description</th>//crlf////tab////tab//<th>In Check Details</th>//crlf////tab////tab//<th>In Order Details</th>//crlf////tab//<tr>//crlf////tab////tab//<td>Time Open</td>//crlf////tab////tab//<td>X</td>//crlf////tab////tab//<td>X</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Time Close</td>//crlf////tab////tab//<td>//amp//nbsp;</td>//crlf////tab////tab//<td>X</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Table Number</td>//crlf////tab////tab//<td>//amp//nbsp;</td>//crlf////tab////tab//<td>X</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Employee</td>//crlf////tab////tab//<td>X</td>//crlf////tab////tab//<td>X</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Guest Count</td>//crlf////tab////tab//<td>//amp//nbsp;</td>//crlf////tab////tab//<td>X</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Revenue Center</td>//crlf////tab////tab//<td>//amp//nbsp;</td>//crlf////tab////tab//<td>X</td>//crlf////tab//</tr>//crlf//</table>//crlf////crlf//<h2>Check Details</h2>//crlf//<table class=\\quot\\bordered\\quot\\>//crlf////tab//<tr>//crlf////tab////tab//<th>Detail</th>//crlf////tab////tab//<th>Driver</th>//crlf////tab////tab//<th>Notes</th>//crlf////tab//<tr>//crlf////tab////tab//<td>Menu Item Sales</td>//crlf////tab////tab//<td>POS_Toast_Consolidated_Items_Sales_Mix</td>//crlf////tab////tab//<td>This driver consolidates the ItemSelectionDetails and ModifierSelectionDetails //crlf////tab////tab////tab////tab//drivers to include both menu items and modifiers.  The only data available for//crlf////tab////tab////tab////tab//the modifiers is the quantity.  There are no sales dollars\\comma\\ tax\\comma\\ etc.  These//crlf////tab////tab////tab////tab//drivers contain both an Order ID and Check ID.</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Comps</td>//crlf////tab////tab//<td></td>//crlf////tab////tab//<td></td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Discounts</td>//crlf////tab////tab//<td></td>//crlf////tab////tab//<td></td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Tax</td>//crlf////tab////tab//<td></td>//crlf////tab////tab//<td></td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Tender</td>//crlf////tab////tab//<td></td>//crlf////tab////tab//<td></td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Charge Tips</td>//crlf////tab////tab//<td></td>//crlf////tab////tab//<td></td>//crlf////tab//</tr>//crlf//</table>//crlf////crlf//<h2>Menu Items and Sales Mix</h2>//crlf//<p>ItemSelectionDetails.csv and ModifiersSelectionDetails.csv are consolidated vertically//crlf////tab//to produce a list of all menu items and a list of all menu items sold.</p>//crlf//<p>Note: The AllItemsReport.csv file is not used for sales mix because it does not contain//crlf////tab//an order ID or check ID.</p>//crlf////crlf//<h2>Export Files</h2>//crlf//<table class=\\quot\\bordered\\quot\\>//crlf////tab//<tr>//crlf////tab////tab//<td>POS_Toast_AllItemsReport</td>//crlf////tab////tab//<td>List of all menu items including those with a quantity sold of 0.  The numbers //crlf////tab////tab////tab////tab//in this table match the numbers in POS_Toast_ItemSelectionDetails driver.  However\\comma\\//crlf////tab////tab////tab////tab//the POS_Toast_ItemSelectionDetails driver contains additional information //crlf////tab////tab////tab////tab//including the check number\\comma\\ tax and server.//crlf////tab////tab//</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>POS_Toast_CashEntries</td>//crlf////tab////tab//<td>//amp//nbsp;</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>POS_Toast_CheckDetails</td>//crlf////tab////tab//<td>//amp//nbsp;</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>POS_Toast_ItemSelectionDetails</td>//crlf////tab////tab//<td>Sales mix including check number\\comma\\ server\\comma\\ tax and discounts.  This is the driver.//crlf////tab////tab////tab////tab//This driver in combination with POS_Toast_ModifiersSelectionDetails is used to //crlf////tab////tab////tab////tab//calculate the sales mix.//crlf////tab////tab//</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>POS_Toast_ModifiersSelectionDetails</td>//crlf////tab////tab//<td>//amp//nbsp;</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>POS_Toast_OrderDetails</td>//crlf////tab////tab//<td>//amp//nbsp;</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>POS_Toast_PaymentDetails</td>//crlf////tab////tab//<td>//amp//nbsp;</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>POS_Toast_TimeEntries</td>//crlf////tab////tab//<td>//amp//nbsp;</td>//crlf////tab//</tr>//crlf//</table>//crlf////crlf////crlf//^
ID=diagnostics|X=184|Y=44|W=1103|H=592|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<form name=\\quot\\toast_files_filter\\quot\\>//crlf////tab//Date <input type=\\quot\\text\\quot\\ name=\\quot\\date\\quot\\ ID=\\quot\\driver_include_date\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ datatype=\\quot\\time\\quot\\ control=\\quot\\date\\quot\\ value=\\quot\\12-22-2014\\quot\\ style=\\quot\\width:80px\\quot\\><br><br>//crlf//</form>//crlf////crlf//<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AllItemsReport');showDriverInclude('AllItemsReport')\\quot\\>AllItemsReport</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'CashEntries');showDriverInclude('CashEntries')\\quot\\>CashEntries</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'CheckDetails');showDriverInclude('CheckDetails')\\quot\\>CheckDetails</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ItemSelectionDetails');showDriverInclude('ItemSelectionDetails')\\quot\\>ItemSelectionDetails</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ModifiersSelectionDetails');showDriverInclude('ModifiersSelectionDetails')\\quot\\>ModifiersSelectionDetails</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'OrderDetails');showDriverInclude('OrderDetails')\\quot\\>OrderDetails</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'PaymentDetails');showDriverInclude('PaymentDetails')\\quot\\>PaymentDetails</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'TimeEntries');showDriverInclude('TimeEntries')\\quot\\>TimeEntries</span></td>//crlf////tab//</tr>//crlf//</table>//crlf////crlf//<!-- AllItemsReport -->//crlf//<div ID=\\quot\\AllItemsReport\\quot\\>//crlf////tab//<div ID=\\quot\\AllItemsReportContent\\quot\\ interval=\\quot\\-1\\quot\\ //crlf////tab////tab////tab////tab//_url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab////tab////tab//ID=getWidget//amp////crlf////tab////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp////crlf////tab////tab////tab////tab//Widget=POS Interface - Toast//amp////crlf////tab////tab////tab////tab//ContainerItemID=driver_include//amp////crlf////tab////tab////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab////tab////tab//ToastDriverID=POS_Toast_AllItemsReport\\quot\\>//crlf////tab//</div>//crlf//</div>//crlf////crlf//<!-- CashEntries -->//crlf//<div ID=\\quot\\CashEntries\\quot\\>//crlf////tab//<div ID=\\quot\\CashEntriesContent\\quot\\ interval=\\quot\\-1\\quot\\ //crlf////tab////tab////tab////tab//_url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab////tab////tab//ID=getWidget//amp////crlf////tab////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp////crlf////tab////tab////tab////tab//Widget=POS Interface - Toast//amp////crlf////tab////tab////tab////tab//ContainerItemID=driver_include//amp////crlf////tab////tab////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab////tab////tab//ToastDriverID=POS_Toast_CashEntries\\quot\\>//crlf////tab//</div>//crlf//</div>//crlf////crlf//<!-- CheckDetails -->//crlf//<div ID=\\quot\\CheckDetails\\quot\\>//crlf////tab//<div ID=\\quot\\CheckDetailsContent\\quot\\ interval=\\quot\\-1\\quot\\ //crlf////tab////tab////tab////tab//_url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab////tab////tab//ID=getWidget//amp////crlf////tab////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp////crlf////tab////tab////tab////tab//Widget=POS Interface - Toast//amp////crlf////tab////tab////tab////tab//ContainerItemID=driver_include//amp////crlf////tab////tab////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab////tab////tab//ToastDriverID=POS_Toast_CheckDetails\\quot\\>//crlf////tab//</div>//crlf//</div>//crlf////crlf//<!-- ItemSelectionDetails -->//crlf//<div ID=\\quot\\ItemSelectionDetails\\quot\\>//crlf////tab//<div ID=\\quot\\ItemSelectionDetailsContent\\quot\\ interval=\\quot\\-1\\quot\\ //crlf////tab////tab////tab////tab//_url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab////tab////tab//ID=getWidget//amp////crlf////tab////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp////crlf////tab////tab////tab////tab//Widget=POS Interface - Toast//amp////crlf////tab////tab////tab////tab//ContainerItemID=driver_include//amp////crlf////tab////tab////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab////tab////tab//ToastDriverID=POS_Toast_ItemSelectionDetails\\quot\\>//crlf////tab//</div>//crlf//</div>//crlf////crlf//<!-- ModifiersSelectionDetails -->//crlf//<div ID=\\quot\\ModifiersSelectionDetails\\quot\\>//crlf////tab//<div ID=\\quot\\ModifiersSelectionDetailsContent\\quot\\ interval=\\quot\\-1\\quot\\ //crlf////tab////tab////tab////tab//_url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab////tab////tab//ID=getWidget//amp////crlf////tab////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp////crlf////tab////tab////tab////tab//Widget=POS Interface - Toast//amp////crlf////tab////tab////tab////tab//ContainerItemID=driver_include//amp////crlf////tab////tab////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab////tab////tab//ToastDriverID=POS_Toast_ModifiersSelectionDetails\\quot\\>//crlf////tab//</div>//crlf//</div>//crlf////crlf//<!-- OrderDetails -->//crlf//<div ID=\\quot\\OrderDetails\\quot\\>//crlf////tab//<div ID=\\quot\\OrderDetailsContent\\quot\\ interval=\\quot\\-1\\quot\\ //crlf////tab////tab////tab////tab//_url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab////tab////tab//ID=getWidget//amp////crlf////tab////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp////crlf////tab////tab////tab////tab//Widget=POS Interface - Toast//amp////crlf////tab////tab////tab////tab//ContainerItemID=driver_include//amp////crlf////tab////tab////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab////tab////tab//ToastDriverID=POS_Toast_OrderDetails\\quot\\>//crlf////tab//</div>//crlf//</div>//crlf////crlf//<!-- PaymentDetails -->//crlf//<div ID=\\quot\\PaymentDetails\\quot\\>//crlf////tab//<div ID=\\quot\\PaymentDetailsContent\\quot\\ interval=\\quot\\-1\\quot\\ //crlf////tab////tab////tab////tab//_url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab////tab////tab//ID=getWidget//amp////crlf////tab////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp////crlf////tab////tab////tab////tab//Widget=POS Interface - Toast//amp////crlf////tab////tab////tab////tab//ContainerItemID=driver_include//amp////crlf////tab////tab////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab////tab////tab//ToastDriverID=POS_Toast_PaymentDetails\\quot\\>//crlf////tab//</div>//crlf//</div>//crlf////crlf//<!-- TimeEntries -->//crlf//<div ID=\\quot\\TimeEntries\\quot\\>//crlf////tab//<div ID=\\quot\\TimeEntriesContent\\quot\\ interval=\\quot\\-1\\quot\\ //crlf////tab////tab////tab////tab//_url=\\quot\\__RequestServer__/?Network=GreenLight//amp////crlf////tab////tab////tab////tab//ID=getWidget//amp////crlf////tab////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp////crlf////tab////tab////tab////tab//Widget=POS Interface - Toast//amp////crlf////tab////tab////tab////tab//ContainerItemID=driver_include//amp////crlf////tab////tab////tab////tab//Source=__LeftBarComputer__//amp////crlf////tab////tab////tab////tab//ToastDriverID=POS_Toast_TimeEntries\\quot\\>//crlf////tab//</div>//crlf//</div>//crlf////crlf//<div style=\\quot\\width:100px;height:800px\\quot\\></div>^
ID=driver_include|X=300|Y=128|W=822|H=688|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<_include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression; expression:(not(\\quot\\__query__\\quot\\=\\quot\\includeDriver\\quot\\)) or (\\quot\\__query__\\quot\\=\\quot\\getOptions\\quot\\)>//crlf////tab//<hr>//crlf////tab//<p><b>Note: To force re-processing of Toast files\\comma\\ delete files from Aspect7\posdata\yyyymmdd//crlf////tab//beginning with \\quot\\ID_\\quot\\ and \\quot\\Processed_\\quot\\ and delete all files in the \Aspect\posdata\mmddyyyy //crlf////tab//directory.  All files will be created again within 60 seconds.  This interface needs to//crlf////tab//be improved to provide a way to reprocess files without deleting them first.</b></p>//crlf////tab//<hr>//crlf////tab//<br>//crlf////crlf////tab//<form name=\\quot\\options\\quot\\>//crlf////tab////tab//Store <include type:expression; expression:htmlSelect(Aspect_BackOffice_Store_Name_By_ID\\comma\\\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_POS_Type\\comma\\\\quot\\Toast\\quot\\)\\comma\\\\quot\\ID='__salt__SelectStore'\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\(POS_Type=\\quot\\+quote(\\quot\\Toast\\quot\\)+\\quot\\)\\quot\\\\comma\\\\quot\\\\quot\\);>//crlf////crlf////tab////tab//<!-- get the date of the most recent export files -->//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//dt=date(0)//crlf////tab////tab////tab//arFiles=getMatchingFiles(getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\toast\*.*\\quot\\\\comma\\false\\comma\\true)//crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=replaceSubstring(getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\s=\\quot\\+s)//crlf////tab////tab////tab////tab//if(fileIsDirectory(s))//crlf////tab////tab////tab////tab////tab//s2=getElement(s\\comma\\getElementCount(s\\comma\\\\quot\\\\\quot\\)-1\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\s2=\\quot\\+s2)//crlf////tab////tab////tab////tab////tab//t=parseTime(s2\\comma\\\\quot\\yyyyMMdd\\quot\\) //crlf////tab////tab////tab////tab////tab//if(t>dt)//crlf////tab////tab////tab////tab////tab////tab//dt=t//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\dt=\\quot\\+dt)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(dateNumber(dt)=0)//crlf////tab////tab////tab////tab//dt=incrementTime(now()\\comma\\-1)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////don't roll past yesterday's date//crlf////tab////tab////tab//dtYesterday=incrementTime(parseTime(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)\\comma\\\\quot\\MMddyyyy\\quot\\)\\comma\\-1)//crlf////tab////tab////tab//if(dt>dtYesterday)//crlf////tab////tab////tab////tab//dt=dtYesterday//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//scriptSetResult(htmlConstant(\\quot\\DefaultDate\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)))//crlf////tab////tab//\\quot\\>//crlf////tab////tab//Date <input type=\\quot\\text\\quot\\ ID=\\quot\\__salt__SelectDate\\quot\\ name=\\quot\\__salt__date\\quot\\ value=\\quot\\__DefaultDate__\\quot\\ _value=\\quot\\{@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}\\quot\\ size='12' datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ control=\\quot\\date\\quot\\>//amp//nbsp;//crlf////crlf////tab////tab//Driver //crlf////tab////tab//<select ID=\\quot\\__salt__SelectDriver\\quot\\>//crlf////tab////tab////tab//<option value=\\quot\\doc\\quot\\>Documentation</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>*********************************************************************</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>--- POS Export Files ---//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>These are the original pos export files</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>*********************************************************************</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_AllItemsReport\\quot\\>AllItemsReport</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_CashEntries\\quot\\>CashEntries</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_CheckDetails\\quot\\>CheckDetails</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_ItemSelectionDetails\\quot\\>ItemSelectionDetails</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_ModifiersSelectionDetails\\quot\\>ModifiersSelectionDetails</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_OrderDetails\\quot\\>OrderDetails</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_PaymentDetails\\quot\\>PaymentDetails</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_TimeEntries\\quot\\>TimeEntries</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>*********************************************************************</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>-- Intermediary Files --</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>These drivers add calculated fields to the POS export files</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>to prepare them for the POS interface</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>*********************************************************************</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_CheckDetails_Comp_Names\\quot\\>CheckDetails - Comp Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_CheckDetails_Discount_Names\\quot\\>CheckDetails - Discount Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_CheckDetails_Check_Headers\\quot\\>CheckDetails - Check Headers</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_AllItemsReport_Departments\\quot\\>AllItemsReport - Department Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_AllItemsReport_Menu_Categories\\quot\\>AllItemsReport - Category Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_AllItemsReport_Menu_Items\\quot\\>AllItemsReport - Menu Items</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_ItemSelectionDetails_Departments\\quot\\>ItemSelectionDetails - Department Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_ItemSelectionDetails_Menu_Categories\\quot\\>ItemSelectionDetails - Category Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_ItemSelectionDetails_Menu_Items\\quot\\>ItemSelectionDetails - Menu Items</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_ItemSelectionDetails_Sales_Mix\\quot\\>ItemSelectionDetails - Sales Mix</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_ModifierSelectionDetails_Departments\\quot\\>ModifierSelectionDetails - Department Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_ModifierSelectionDetails_Menu_Categories\\quot\\>ModifierSelectionDetails - Category Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_ModifierSelectionDetails_Menu_Items\\quot\\>ModifierSelectionDetails - Menu Items</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_ModifierSelectionDetails_Sales_Mix\\quot\\>ModifierSelectionDetails - Sales Mix</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_Order_Details_Revenue_Centers\\quot\\>OrderDetails - Revenue Center Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_PaymentDetails_Tender_Names\\quot\\>PaymentDetails - Tender Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_TimeEntries_Employees\\quot\\>TimeEntries - Employees</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_TimeEntries_Job_Codes\\quot\\>TimeEntries - Job Code Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_TimeEntries_Timeclock\\quot\\>TimeEntries - Timeclock</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>*********************************************************************</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>-- Intermediary Files --</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>These drivers add calculated fields to the POS export files</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>to create drivers used to import check details</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>These drivers are consolidated vertically to produce the</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>complete check details.</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>*********************************************************************</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_ItemSelectionDetails_Menu_Item_Sale\\quot\\>ItemSelectionDetails - Menu Item Sale</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_ModifierSelectionDetails_Menu_Item_Sale\\quot\\>ModifierSelectionDetails - Menu Item Sale</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_ItemSelectionDetails_Comps\\quot\\>ItemSelectionDetails - Comps</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_CheckDetails_Comps\\quot\\>CheckDetails - Comps (Delete)</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_CheckDetails_Discounts\\quot\\>CheckDetails - Discounts</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_CheckDetails_Tax\\quot\\>CheckDetails - Tax</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_PaymentDetails_Tenders\\quot\\>PaymentDetails - Tenders</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_PaymentDetails_Tips\\quot\\>PaymentDetails - Tips</option>//crlf////crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>*********************************************************************</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>-- Intermediary Files --</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>These drivers consolidate the ItemSelectionDetails</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>and ModifierSelectionDetails to create a complete list</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>of menu items and sales mix</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>*********************************************************************</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_Consolidated_Items_Departments\\quot\\>Consolidated Items - Departments</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_Consolidated_Items_Menu_Categories\\quot\\>Consolidated Items - Menu Categories</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_Consolidated_Items_Menu_Items\\quot\\>Consolidated Items - Menu Items</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_Consolidated_Items_Sales_Mix\\quot\\>Consolidated Items - Sales Mix</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_Consolidated_Check_Details\\quot\\>Consolidated Check Details</option>//crlf////crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>*********************************************************************</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>-- Dummy Files --</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>These drivers are used to create names for identifiers that are not</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>available from the point of sale system.  They are created by setting the</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>delete mask so that all records in the file except the first one are flagged</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>as deleted.  The necessary fields are hardwired into the first record</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>*********************************************************************</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_CheckDetails_Comp_Names_Old\\quot\\>CheckDetails - Comp Names (Old)</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_CheckDetails_Gift_Cert_Names\\quot\\>CheckDetails - Gift Cert Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_CheckDetails_Paid_In_Names\\quot\\>CheckDetails - Paid In Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_CheckDetails_Paid_Out_Names\\quot\\>CheckDetails - Paid Out Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_CheckDetails_Tax_Names\\quot\\>CheckDetails - Tax Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_CheckDetails_Void_Names\\quot\\>CheckDetails - Void Names</option>//crlf////crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>-- Processed Files --</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>*********************************************************************</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>These are only available after the POS interface</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>has processed them</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>*********************************************************************</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Check_Details\\quot\\>Check Details</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Check_Headers\\quot\\>Check Headers</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Comp_Names\\quot\\>Comp Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Department_Names\\quot\\>Department Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Discount_Names\\quot\\>Discount Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Employee_Names\\quot\\>Employee Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_GiftCert_Names\\quot\\>Gift Certificate Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Job_Code_Names\\quot\\>Job Codes Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Category_Names\\quot\\>Menu Category Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Menu_Items\\quot\\>Menu Items</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Other_Totals\\quot\\>Other Totals</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Paid_InOut\\quot\\>Paid_In/Out</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Paid_In_Names\\quot\\>PaidIn Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Paid_Out_Names\\quot\\>PaidOut Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Revenue_Center_Names\\quot\\>Revenue Center Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Sales_Mix\\quot\\>Sales Mix Records</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Tax_Names\\quot\\>Tax Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Tender_Names\\quot\\>Tender Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Timeclock\\quot\\>Timeclock Records</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Toast_POS_Driver_Void_Names\\quot\\>Void Names</option>//crlf////tab////tab//</select>//crlf////crlf////tab////tab//<input //crlf////tab////tab////tab//type=\\quot\\button\\quot\\ //crlf////tab////tab////tab//value=\\quot\\Update\\quot\\ //crlf////tab////tab////tab//onClick=\\quot\\var d=document.getElementById('__salt__DriverOutput');//crlf////tab////tab////tab////tab//d.setAttribute('url'\\comma\\getServer()+d.getAttribute('_url')+//crlf////tab////tab////tab////tab//'//amp//StoreID='+document.getElementById('__salt__SelectStore').value+//crlf////tab////tab////tab////tab//'//amp//Date='+document.getElementById('__salt__SelectDate').value+//crlf////tab////tab////tab////tab//'//amp//Driver='+document.getElementById('__salt__SelectDriver').value+//crlf////tab////tab////tab////tab//'//amp//ForceProcess='+document.getElementById('__salt__ForceProcess').checked+//crlf////tab////tab////tab////tab//'//amp//Source={AspectHashID}');//crlf////tab////tab////tab////tab//setInterval(d\\comma\\0\\comma\\true);\\quot\\//crlf////tab////tab//>//crlf////crlf////tab////tab//<input type=\\quot\\checkbox\\quot\\ ID=\\quot\\__salt__ForceProcess\\quot\\ Checked=\\quot\\Checked\\quot\\> Force processing of file//crlf////tab//</form>//crlf////crlf////tab//<div ID=\\quot\\__salt__DriverOutput\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//source=//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Interface - Toast//amp//ContainerItemID=driver_include//amp//query=includeDriver//amp//storeID=//amp//driver=doc\\quot\\//crlf////tab////tab//_url=\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//source=//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Interface - Toast//amp//ContainerItemID=driver_include//amp//query=includeDriver\\quot\\//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression; expression:(\\quot\\__query__\\quot\\=\\quot\\includeDriver\\quot\\)>//crlf////tab//<conditional expression; expression:(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab////tab//No store selected//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression; expression:(\\quot\\__Driver__\\quot\\=\\quot\\doc\\quot\\)>//crlf////tab////tab//<div interval='0' style='width:800px;' url='__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//source=//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Interface - Toast//amp//ContainerItemID=documentation'>//crlf////tab////tab////tab//<img src='http://127.0.0.1:4446/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab////tab//</div> //crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression; expression:(not(\\quot\\__Driver__\\quot\\=\\quot\\doc\\quot\\)) and (not(\\quot\\__Driver__\\quot\\=\\quot\\0\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////tab//sStoreName=lookup(Aspect_BackOffice_Store_Name_By_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//sPOSDir=addDirSlash(lookup(Aspect_BackOffice_Store_POS_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab//sDriverDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/toast/\\quot\\ + formatDate(parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/\\quot\\//crlf////crlf////tab////tab////tab//s=htmlConstant(\\quot\\StoreName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sStoreName)//crlf////tab////tab////tab//s=s + htmlConstant(\\quot\\DriverDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sDriverDir)//crlf////tab////tab////tab//if(fileExists(sDriverDir))//crlf////tab////tab////tab////tab//s=s + htmlConstant(\\quot\\DirIsValid\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//s=s + htmlConstant(\\quot\\DirIsValid\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////crlf////tab////tab//<!conditional expression; expression:(\\quot\\__DirIsValid__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab////tab//Invalid directory __DriverDir__//crlf////tab////tab//</conditional>//crlf////tab////tab////crlf////tab////tab//<!conditional expression; expression:(\\quot\\__DirIsValid__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//<h2>Store: __StoreName__</h2>//crlf////tab////tab////tab//<h2>Store ID: __StoreID__</h2>//crlf////tab////tab////tab//<h2>Date: __Date__</h2>//crlf////tab////tab////tab//<h2>Driver: __Driver__</h2>//crlf////crlf////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//driver: \\quot\\__Driver__\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~DriverID=__Driver__~~pipe~~StoreID=__StoreID__~~pipe~~Dir=__DriverDir__~~pipe~~Date=__Date__~~pipe~~Metadata=__Driver__~~pipe~~ForceProcess=__ForceProcess__\\quot\\;//crlf////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</conditional>//crlf////tab//</conditional>//crlf//</conditional>^
ID=control_panel_items|X=300|Y=128|W=822|H=688|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(false) or (\\quot\\__query__\\quot\\=\\quot\\testAWSSetup\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//cred=awsGetCredentials()//crlf////tab////tab//result=\\quot\\Credentials=\\quot\\\\plus\\cred\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab//dt=incrementTime(now()\\comma\\-1)//crlf////tab////tab////sBucketName=\\quot\\restaurant-exports/KMcCutcheon/386/\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab//sBucketName=\\quot\\restaurant-exports/KMcCutcheonBG/\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab//result=result\\plus\\\\quot\\Bucket=\\quot\\\\plus\\sBucketName\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////this does not work.  Probably a permissions issue on aws//crlf////tab////tab////arkeys=awsListKeys(sBucketName\\plus\\\\quot\\/*.*\\quot\\)//crlf////tab////tab////result=result\\plus\\\\quot\\Keys=\\quot\\\\plus\\arkeys\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////download a file//crlf////tab////tab//sKey=\\quot\\PaymentDetails.csv\\quot\\//crlf////tab////tab//sTempFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\getSalt(4)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab//s=awsDownloadObject(sBucketName\\comma\\sKey\\comma\\sTempFilename)//crlf////tab////tab//iSize=fileSize(sTempFilename)//crlf////tab////tab//result=result\\plus\\\\quot\\Downloaded \\quot\\\\plus\\iSize\\plus\\\\quot\\ bytes to \\quot\\\\plus\\sTempFilename\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab//scriptSetResult(result)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\downloadJavaAWSLibraries\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sLog=\\quot\\\\quot\\//crlf////tab////crlf////tab////tab////list of required files//crlf////tab////tab//arFiles=\\quot\\aws-java-sdk-1.8.9.1.jar\\comma\\commons-logging-1.1.1.jar\\comma\\jackson-databind-2.1.1.jar\\comma\\jackson-core-2.1.1.jar\\comma\\jackson-annotations-2.1.1.jar\\comma\\httpclient-4.2.3.jar\\comma\\httpcore-4.2.jar\\comma\\joda-time-2.2.jar\\quot\\//crlf////crlf////tab////tab////download files from earthlink to aspect7/bin/lib/aws//crlf////tab////tab//c=getElementCount(arFiles)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sName=getElement(arFiles\\comma\\n)//crlf////tab////tab////tab//sRemoteFilename=\\quot\\http://www.aspect-software.net/Aspect7/libraries/aws_signed/\\quot\\\\plus\\sName//crlf////tab////tab////tab//sLocalFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\bin/lib/aws/\\quot\\\\plus\\sName//crlf////tab////tab////tab//if((not(fileExists(sLocalFilename))) or (fileSize(sName)=0))//crlf////tab////tab////tab////tab//s=fileGetContent(sRemoteFilename)//crlf////tab////tab////tab////tab//fileWriteContent(sLocalFilename\\comma\\s)//crlf////tab////tab////tab////tab//sLog=sLog\\plus\\appendToLog(\\quot\\Download \\quot\\\\plus\\sRemoteFilename\\plus\\\\quot\\ [\\quot\\\\plus\\len(s)\\plus\\\\quot\\] bytes\\quot\\)\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sLog=sLog\\plus\\appendToLog(\\quot\\File already exists: \\quot\\\\plus\\sLocalFilename)\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//scriptSetResult(sLog)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\getCredentials\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sUserHome=replaceSubstring(addDirslash(getProperty(\\quot\\user.home\\quot\\))\\comma\\\\quot\\\\\quot\\\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab//sResult=\\quot\\Reading credentials from \\quot\\\\plus\\sUserHome\\plus\\\\quot\\.aws/credentials\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab//s=awsGetCredentials()//crlf////tab////tab//if(len(trim(s))>0)//crlf////tab////tab////tab//sKey=getElement(s\\comma\\0)//crlf////tab////tab////tab//sSecretKey=//crlf////tab////tab////tab//sResult=sResult \\plus\\ \\quot\\Key: \\quot\\\\plus\\getElement(s\\comma\\0)\\plus\\\\quot\\ Secret Key: \\quot\\\\plus\\getElement(s\\comma\\1)//crlf////tab////tab//else//crlf////tab////tab////tab//sResult=sResult \\plus\\ \\quot\\Error: could not read credentials\\quot\\//crlf////tab////tab//endif//crlf////tab////tab//scriptSetResult(sResult)//tab////crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__query__\\quot\\=\\quot\\setCredentials\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab////tab//Sets AWS credentials//crlf////tab////tab////crlf////tab////tab//Params://crlf////tab////tab////tab//Accesskey- Accesskey//crlf////tab////tab////tab//SecretKey - Secret key//crlf////tab//</conditional>//crlf////tab////crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//if(undefined(\\quot\\__Accesskey__\\quot\\)) //crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing access key\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//if(undefined(\\quot\\__SecretKey__\\quot\\)) //crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing secret key\\quot\\)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////replace any spaces in the keys.  These are the result of plus symbols being//crlf////tab////tab////cleared out when the url is generated//crlf////tab////tab//sAccessKey=replaceSubstring(\\quot\\__Accesskey__\\quot\\\\comma\\\\quot\\ \\quot\\\\comma\\\\quot\\\\plus\\\\quot\\)//crlf////tab////tab//sSecretKey=replaceSubstring(\\quot\\__SecretKey__\\quot\\\\comma\\\\quot\\ \\quot\\\\comma\\\\quot\\\\plus\\\\quot\\)//crlf////crlf////tab////tab////workaround for Infinity Music - Norfolk.  Add a plus to the key which //crlf////tab////tab////is dropped when the action is called//crlf////tab////tab//if(sSecretKey=\\quot\\kFHjTK0P4u94UwT/6Cax/2GwtZnqmKizBpJviFP\\quot\\)//crlf////tab////tab////tab//sSecretKey=sSecretKey\\plus\\char(0x2B)//crlf////tab////tab//endif//crlf////crlf////tab////tab//appendToLog(\\quot\\sSecretKey=\\quot\\\\plus\\sSecretKey)//crlf////tab////tab//if(awsSetCredentials(sAccessKey\\comma\\sSecretKey))//crlf////tab////tab////tab//return(\\quot\\Ok: Credentials set.\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab//return(\\quot\\Error: Unable to set credentials\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//
</widget><widget name="Backoffice Home - Mobile" group="Home" category="" description="" type="Container" Mobile="true" Processing=0 metadata="" IncludeInViewer="false" PublicName="Backoffice Home - Mobile" modified="09-23-2015 10:03:46" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=09-03-2015 15:23:25:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=108|toolboxy=480|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Backoffice Home - Mobile.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class=\\apos\\codetabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\94243\\apos\\)\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\97035\\apos\\)\\quot\\>Aspect</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\left_bar_menu_table\\apos\\)\\quot\\>Left Bar Menu</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\485097\\apos\\)\\quot\\>Top Bar</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\\\apos\\debug_console\\apos\\)\\quot\\>Console</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=94243|X=1500|Y=22|W=778|H=675|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=97035|X=1500|Y=22|W=778|H=675|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=debug_console|X=1500|Y=22|W=778|H=675|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=109|W=1272|H=387|AutoHeight=true|AutoWidth=false|widthpcnt=100|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false-->//crlf////crlf//<state>//crlf////tab//__Package__//crlf////tab//__Menu__//crlf////tab//__LeftBarCompany__//crlf////tab//__LeftBarComputer__//crlf////tab//{@if(startsWith(\\quot\\__updateCompanyList__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\now())}//crlf////tab//{@if(not(startsWith(\\quot\\__package__\\quot\\\\comma\\\\quot\\__\\quot\\))\\comma\\fileSize(getToken(\\quot\\packageurl___package__\\quot\\)\\plus\\\\quot\\supporting_files/Menu_Items.dta\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(not(startsWith(\\quot\\__package__\\quot\\\\comma\\\\quot\\__\\quot\\))\\comma\\fileModified(getToken(\\quot\\packageurl___package__\\quot\\)\\plus\\\\quot\\supporting_files/Menu_Items.dta\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@fileSize(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\widget_library_metadata1.dta\\quot\\)}//crlf////tab//{@fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\widget_library_metadata1.dta\\quot\\)}//crlf////tab//debug=false//crlf//</state>//crlf////crlf//<!--//crlf////tab//left_bar_mobile//crlf////crlf////tab//The \\quot\\left_bar_mobile\\quot\\ text in the content of this widget causes Aspect7 to skip special//crlf////tab//processing of the left bar item.  Processing is only overriden for desktop documents //crlf////tab//which include the left_bar on every page.  Mobile devices only include it once on //crlf////tab//startup as a menu.//crlf//-->//crlf////crlf//<!--  This div is used to update the select box of computers when text is entered in the search field -->//crlf//<div ID=\\quot\\Collection_AllCustomer\\quot\\ style=\\quot\\display:none\\quot\\>{@fileGetContent(getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\Aspect_Support_Customer_Profile_By_Hash_ID.txt\\quot\\)}</div>//crlf////crlf//<!-- constants used for formatting -->//crlf//<constant name:__PanelWidth__; value:\\quot\\300px\\quot\\>//crlf//<constant name:__SelectWidth__; value:\\quot\\290px\\quot\\>//crlf////crlf//<_include type:script; commands:\\quot\\//crlf////tab////appendToLog(\\quot\\LeftBarCompany=__LeftBarCompany__\\quot\\)//crlf////tab////appendToLog(\\quot\\LeftBarComputer=__LeftBarComputer__\\quot\\)//crlf////tab//sResult=htmlConstant(\\quot\\package\\quot\\\\comma\\\\quot\\__package__\\quot\\\\comma\\\\quot\\Aspect_Support\\quot\\)\\plus\\char(10)//crlf////tab////sResult=htmlConstant(\\quot\\package\\quot\\\\comma\\\\quot\\__package__\\quot\\\\comma\\if(startsWith(\\quot\\__startpackage__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\\\quot\\Aspect_Support\\quot\\\\comma\\\\quot\\__startpackage__\\quot\\))\\plus\\char(10)//crlf////tab//sResult=sResult \\plus\\ htmlConstant(\\quot\\menu\\quot\\\\comma\\\\quot\\__menu__\\quot\\\\comma\\\\quot\\Aspect - Support\\quot\\)\\plus\\char(10)//crlf////tab//sResult=sResult \\plus\\ htmlConstant(\\quot\\LeftBarCompany\\quot\\\\comma\\\\quot\\__LeftBarCompany__\\quot\\\\comma\\getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\))\\plus\\char(10)//crlf////tab//sResult=sResult \\plus\\ htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))\\plus\\char(10)//crlf////tab//scriptSetResult(sResult)//crlf//\\quot\\>//crlf////crlf//<div>//crlf////tab//<!-- Select Boxes for Company and Store -->//crlf////tab//<h2 style=\\quot\\margin:20px 0px 0px 0px;padding:0px 0px 0px 0px;width:__SelectWidth__\\quot\\>//crlf////tab////tab//Computer//crlf////tab////tab//<img onClick=\\quot\\updateCompanyList()\\quot\\ class=\\quot\\hyperlink\\quot\\ style=\\quot\\float:right\\quot\\ src=\\quot\\__requestserver__/?network=greenlight\\amp\\id=getImage\\amp\\filename=refresh12x12.png\\quot\\>//crlf////tab//</h2>//crlf////crlf////tab//<!include type:script; name:\\quot\\initSelectBoxesForLeftBar\\quot\\; commands:\\quot\\//crlf////tab////tab////crlf////tab////tab////refresh company list//crlf////tab////tab//if(\\quot\\__updateCompanyList__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab////tab//scriptExec(Aspect_BackOffice_updateCompanyList\\comma\\true)//crlf////tab////tab//endif//crlf////crlf////tab////tab//driverOpen(Aspect_Back_Office_Company_List\\comma\\drvCompanyList\\comma\\READ)//crlf////tab////tab//driverSetFilter(drvCompanyList\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////get count of companies and computers//crlf////tab////tab//arCompany=\\quot\\\\quot\\//crlf////tab////tab//cCompany=0//crlf////tab////tab//cComputers=0//crlf////tab////tab//c=driverGetRecordCount(drvCompanyList)//crlf////tab////tab//n=0//crlf////tab////tab//while((n<c) and (cCompany<2))//crlf////tab////tab////tab//s=driverGetField(drvCompanyList\\comma\\\\quot\\Company_ID\\quot\\\\comma\\n)//crlf////tab////tab////tab//if(containsElement(arCompany\\comma\\s)<0)//crlf////tab////tab////tab////tab//arCompany=addElement(arCompany\\comma\\s)//crlf////tab////tab////tab////tab//cCompany=cCompany \\plus\\ 1//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//cComputers=cComputers \\plus\\ 1//crlf////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab//endwhile//crlf////crlf////tab////tab////select box for company.  Hide it if there are less than 2 companies//crlf////tab////tab//sSelectedCompany=if(startsWith(\\quot\\__LeftBarCompany__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\\\quot\\0\\quot\\\\comma\\\\quot\\__LeftBarCompany__\\quot\\)//crlf////tab////tab//if((not(startsWith(\\quot\\__LeftBarComputer__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (not(\\quot\\__LeftBarComputer__\\quot\\=\\quot\\0\\quot\\)))//crlf////tab////tab////tab//sSelectedCompany=lookup(Aspect_BackOffice_Lookup_Company_ID_By_Hash_ID\\comma\\\\quot\\__LeftBarComputer__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\sSelectedCompany=\\quot\\\\plus\\sSelectedCompany)//crlf////tab////tab//endif//crlf////crlf////tab////tab//sHtmlParams=\\quot\\onChange=\\apos\\leftBarCompanySelected(this)\\apos\\ ID=\\apos\\left_bar_select_company\\apos\\ \\quot\\//crlf////tab////tab//bShow=(cCompany>1) or (true)//crlf////tab////tab//if(bShow)//crlf////tab////tab////tab//sHtmlParams=sHtmlParams \\plus\\ \\quot\\ style=\\apos\\width:__SelectWidth__\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\margin:0px 0px 5px 0px\\apos\\\\quot\\//crlf////tab////tab//else//crlf////tab////tab////tab//sHtmlParams=sHtmlParams \\plus\\ \\quot\\ style=\\apos\\display:none\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\width:100\\percent\\\\apos\\\\quot\\//crlf////tab////tab//endif//crlf////tab////tab//sResult=htmlSelect(Aspect_BackOffice_Company_Names_By_ID\\comma\\\\quot\\left_bar_select_company\\quot\\\\comma\\sSelectedCompany\\comma\\sHtmlParams\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\)//crlf////tab////tab//sResult=sResult\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////select box for computers//crlf////tab////tab//sSelectedComputer=if(startsWith(\\quot\\__LeftBarComputer__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\\\quot\\0\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\)//crlf////tab////tab//sHtmlParams=\\quot\\onChange=\\apos\\leftBarComputerSelected(this)\\apos\\ ID=\\apos\\left_bar_select_computer\\apos\\\\quot\\//crlf////tab////tab//bShow=(cComputers<2) or (true)//crlf////tab////tab//if(bShow)//crlf////tab////tab////tab//sHtmlParams=sHtmlParams \\plus\\ \\quot\\ style=\\apos\\width:__SelectWidth__\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\margin:0px 0px 5px 0px\\apos\\\\quot\\//crlf////tab////tab//else//crlf////tab////tab////tab//sHtmlParams=sHtmlParams \\plus\\ \\quot\\ style=\\apos\\display:none\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\width:100\\percent\\\\apos\\\\quot\\//crlf////tab////tab//endif//crlf////crlf////tab////tab//sFilter=if(sSelectedCompany=\\quot\\0\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\Company_ID=\\quot\\\\plus\\quote(sSelectedCompany))//crlf////tab////tab//sResult=sResult \\plus\\ htmlSelect(Aspect_BackOffice_Computer_Names_By_ID\\comma\\\\quot\\left_bar_select_computer\\quot\\\\comma\\sSelectedComputer\\comma\\sHtmlParams\\comma\\\\quot\\\\quot\\\\comma\\sFilter)//crlf////crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf////crlf////tab//<!-- Input to search for customer ID -->//crlf////tab//<!--h2 style=\\quot\\margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;width:__SelectWidth__\\quot\\>//crlf////tab////tab//Search//crlf////tab//</h2-->//crlf////tab//<table class=\\apos\\form\\apos\\>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td style=\\quot\\padding:0px;margin:0px;width:40px\\quot\\>Search</td>//crlf////tab////tab////tab//<td style=\\quot\\padding:0px;margin:0px;\\quot\\><input style=\\quot\\padding:0px;margin:0px;width:148px\\quot\\ type=\\quot\\text\\quot\\ ID=\\quot\\search_customer_id\\quot\\ onKeyUp=\\quot\\HashIDSearchUpdated()\\quot\\ onInput=\\quot\\HashIDSearchUpdated()\\quot\\></td>//crlf////tab////tab////tab//<td style=\\quot\\padding:0px;margin:0px;\\quot\\><img onClick=\\quot\\HashIDSearchUpdated(true)\\quot\\ class=\\quot\\hyperlink\\quot\\ style=\\quot\\padding:0px 0px 0px 5px;margin:0px\\quot\\ src=\\quot\\__requestserver__/?network=greenlight\\amp\\id=getImage\\amp\\filename=greyX12x12.png\\quot\\>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf////crlf////tab//<!-- Connection info -->//crlf////tab//<conditional expression:(not(startsWith(\\quot\\__LeftBarComputer__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (not(\\quot\\__LeftBarComputer__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab////tab//<div ID=\\quot\\LeftBarConnectionInfo\\quot\\ style=\\quot\\padding:0px 0px 5px 0px;\\quot\\ interval=\\quot\\0\\quot\\ url=\\quot\\__RequestServer__/?Network=Greenlight\\amp\\ID=getWidget\\amp\\DocumentID=M2HDPGX49Sct3l6etItu5n1J\\amp\\Widget=Support Home\\amp\\ContainerItemID=AspectScript\\amp\\query=IsCustomerConnected\\amp\\CustomerID=__LeftBarComputer__\\quot\\>//crlf////tab////tab////tab//<img src=\\quot\\__requestserver__/?network=greenlight\\amp\\id=getImage\\amp\\filename=StatusActive01.gif\\quot\\>//crlf////tab////tab//</div>//crlf////tab//</conditional>//crlf////crlf////tab//<!-- Select Package / Menu -->//crlf////tab//<!!include type:script; commands:\\quot\\//crlf////tab////tab//bShow=(not(startsWith(\\quot\\__LeftBarComputer__\\quot\\\\comma\\\\quot\\__\\quot\\))) and (not(\\quot\\__LeftBarComputer__\\quot\\=\\quot\\0\\quot\\))//crlf////tab////tab//bShow=true//crlf////tab////tab//sHtmlParams=\\quot\\ID=\\quot\\\\plus\\quote(\\quot\\select_menu\\quot\\)\\plus\\\\quot\\ onChange=\\quot\\\\plus\\quote(\\quot\\menuSelected(\\apos\\mobile_menu\\apos\\)\\quot\\)//crlf////tab////tab//sHtmlParams=sHtmlParams\\plus\\\\quot\\ style=\\quot\\\\plus\\quote(\\quot\\margin:0px 0px 5px 0px\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\width:__SelectWidth__\\quot\\\\plus\\char(0x3B)\\plus\\if(not(bShow)\\comma\\\\quot\\display:none\\quot\\))//crlf////tab////tab//sSelected=\\quot\\__package__//power//__menu__\\quot\\//crlf////tab////tab//s=htmlSelect(Greenlight_Access_Menu_Names\\comma\\\\quot\\menu1\\quot\\\\comma\\sSelected\\comma\\sHtmlParams\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\((device=3) or (device=0)) and (Should_Show)\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</div>//crlf////crlf//<!-- //crlf////tab//This div loads the table of menu items.//crlf////tab//The baseurl is the same as the url\\comma\\ except the package and menu are not included as arguments.//crlf////tab//When a package is selected from the drop-down list\\comma\\ menuSelected()is called in Javascript2012.//crlf////tab//This function appends the selected package and menu to the baseurl and sets the new url.//crlf////tab//The interval is then set to 0 so the div refreshes.//crlf//-->//crlf//<div ID=\\quot\\left_bar_menu_div\\quot\\ //crlf////tab//interval=\\quot\\0\\quot\\ //crlf////tab//style=\\quot\\width:180px;height:auto\\quot\\ //crlf////tab//url=\\quot\\__RequestServer__/?Network=GreenLight\\amp\\ID=getWidget\\amp\\Source={AspectHashID}\\amp\\DocumentID=M2HDPGX49Sct3l6etItu5n1J\\amp\\Widget=Support Home - Mobile\\amp\\ContainerItemID=left_bar_menu_table\\amp\\ProcessContent=true\\amp\\Package=__Package__\\amp\\Menu=__Menu__\\amp\\LeftBarCompany=__LeftBarCompany__\\amp\\LeftBarComputer=__LeftBarComputer__\\amp\\hst=__RequestServer__\\quot\\ //crlf////tab//urlbase=\\quot\\__RequestServer__/?Network=GreenLight\\amp\\ID=getWidget\\amp\\Source={AspectHashID}\\amp\\DocumentID=M2HDPGX49Sct3l6etItu5n1J\\amp\\Widget=Support Home - Mobile\\amp\\ContainerItemID=left_bar_menu_table\\amp\\ProcessContent=true\\amp\\LeftBarCompany=__LeftBarCompany__\\amp\\LeftBarComputer=__LeftBarComputer__\\amp\\hst=__RequestServer__\\quot\\ //crlf//>//crlf//</div>//crlf////crlf//<conditional expression:false>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//ID: \\quot\\menu\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\<include type:expression; expression:getToken(\\quot\\AspectHashID\\quot\\)>\\quot\\;//crlf////tab////tab//driver: \\quot\\Greenlight_Access_Menu_Items\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~package=__package__~~pipe~~Menu=__Menu__~~pipe~~LeftBarCompany=__LeftBarCompany__~~pipe~~LeftBarComputer=__LeftBarComputer__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\Name\\quot\\;//crlf////tab////tab//fields: \\quot\\Menu_Item_For_Mobile\\quot\\;//crlf////tab////tab//_fields: \\quot\\Menu_Item\\quot\\;//crlf////tab////tab//sort: \\quot\\Name\\quot\\;//crlf////tab////tab//filter: \\quot\\(device=3) and (menu=\\apos\\__menu__\\apos\\) and (Should_Show)\\quot\\;//crlf////tab////tab//class: \\quot\\menu_option\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:100\\percent\\\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\false\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\false\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\false\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\false\\quot\\;//crlf////tab////tab//Messages: \\quot\\false\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//__servertimerresults__
^
ID=left_bar_menu_table|X=1500|Y=22|W=778|H=675|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__Package__//crlf////tab//__Menu__//crlf////tab//__LeftBarCompany__//crlf////tab//__LeftBarComputer__//crlf////tab//{@if(not(startsWith(\\quot\\__package__\\quot\\\\comma\\\\quot\\__\\quot\\))\\comma\\fileSize(getToken(\\quot\\packageurl___package__\\quot\\)+\\quot\\supporting_files/Menu_Items.dta\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(not(startsWith(\\quot\\__package__\\quot\\\\comma\\\\quot\\__\\quot\\))\\comma\\fileModified(getToken(\\quot\\packageurl___package__\\quot\\)+\\quot\\supporting_files/Menu_Items.dta\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//Debug=false//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<!--//crlf////tab//This is necessary.  The RequestServer token is not replaced when this content is//crlf////tab//called from a div with an interval.  The calling div passes the value in hst to work around this.//crlf//-->//crlf//<include type:expression; expression:htmlConstant(\\quot\\RequestServer\\quot\\\\comma\\\\quot\\__RequestServer__\\quot\\\\comma\\\\quot\\__hst__\\quot\\)>//crlf////crlf//<conditional expression:(\\quot\\__ProcessContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<conditional expression:(not(\\quot\\__LeftBarComputer__\\quot\\=\\quot\\0\\quot\\))>//crlf////crlf////tab////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//sResult=htmlConstant(\\quot\\package\\quot\\\\comma\\\\quot\\__package__\\quot\\\\comma\\\\quot\\Aspect_Support\\quot\\)+char(10)//crlf////tab////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\menu\\quot\\\\comma\\\\quot\\__menu__\\quot\\\\comma\\\\quot\\Aspect - Support\\quot\\)+char(10)//crlf////tab////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\LeftBarCompany\\quot\\\\comma\\\\quot\\__LeftBarCompany__\\quot\\\\comma\\getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\))+char(10)//crlf////tab////tab////tab////tab//sResult=sResult + htmlConstant(\\quot\\LeftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))+char(10)//crlf////tab////tab////tab////tab//scriptSetResult(sResult)//crlf////tab////tab////tab//\\quot\\>//crlf////crlf////tab////tab////tab//<!include type:driver;//crlf////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab//ID: \\quot\\menu\\quot\\;//crlf////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//driver: \\quot\\Greenlight_Access_Menu_Items\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~package=__package__~~pipe~~Menu=__Menu__~~pipe~~LeftBarCompany=__LeftBarCompany__~~pipe~~LeftBarComputer=__LeftBarComputer__\\quot\\;//crlf////tab////tab////tab////tab//keyDescription: \\quot\\Name\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\Menu_Item_For_Mobile\\quot\\;//crlf////tab////tab////tab////tab//_fields: \\quot\\Menu_Item\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\Name\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\(device=3) and (menu='__menu__') and (Should_Show)\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\menu_option\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//style: \\quot\\width:100\\percent\\\\quot\\;//crlf////tab////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//TableControls: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//TableHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//TableBorder: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//EditDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//Messages: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</conditional>//crlf//</conditional>//crlf//
^
ID=485097|X=1500|Y=22|W=847|H=582|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=top bar - back-office
^
ID=top_bar|X=0|Y=79|W=847|H=27|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="POS Interface - Aloha" group="POS Interface" category="Aloha" description="Contains scripts used to open Aloha drivers.  The agent runs every minute to ensure current filespecs are defined for Aloha export files.  These filespecs are recorded in the POSExportDirs and POSExportFiles tokens." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Aloha" modified="03-07-2024 04:53:32" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=09-03-2015 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=1 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(not(isServer())) and (getToken(\\quote\\AspectCoreVersion\\quote\\)\\gt\\=7.401) and (isPackageLoaded(\\quote\\POS_Aloha\\quote\\)) and (getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\aloha\\quote\\)" TaskConditional_Expression_Description="Executes when the Aloha package is loaded, the version if 7.401 or greater and the POS type of the active store is Aloha." TaskState_Function="if(len(getToken(\\quote\\POSExportDirs\\quote\\))*len(getToken(\\quote\\RequiredPOSExportFiles\\quote\\))=0,now(),formatDate(now(),\\quote\\MMddyyyy\\quote\\)+gfs(getToken(\\quote\\homedir\\quote\\)+\\quote\\\Aspect_BackOffice\store_list.dta\\quote\\))" TaskState_Expression_Description="Executes when filespecs are undefined, when the date changes and when the store list is modified." TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=20|toolboxy=200|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=POS Interface - Aloha.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=open_driver|X=1500|Y=25|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:\\quot\\('__action__'='openDriver')\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Aloha openPOSDriver\\quot\\; commands:\\quot\\//crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//This script opens a driver to read pos data for the given StoreID\\comma\\ DataType and Date.  //crlf////tab////tab//The return value is a pipe-delimited string in the form Status=n~~pipe~~Driver=DriverName~~pipe~~Modified=MM-dd-yyyy HH:mm:ss~~pipe~~Size=nnn//crlf////tab////tab//Status is -1=not valid\\comma\\ 0=valid but not available\\comma\\ 1=valid and available//crlf////tab////tab////crlf////tab////tab//Params://crlf////tab////tab////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab////tab//DataType - The ID of one of the datatypes defined in the Aspect_BackOffice_POS_Data_Types collection//crlf////tab////tab////tab//Date//tab// - A single date in the form MM-dd-yyyy//crlf////tab////tab////tab//OpenDriver - If false\\comma\\ the driver will not be opened but the expression used to test for data will be returned.//crlf////tab////tab////tab////tab////tab////tab//  This is used when adding tasks to the pos synch driver.//crlf////tab////tab////tab//Debug - If true\\comma\\ outputs debugging information to the log//crlf////tab////tab////crlf////tab////tab//Returns a string in the form://crlf////tab////tab////tab//status=n~~pipe~~Driver=drivername~~pipe~~modified=mm-dd-yyyy HH:mm:ss~~pipe~~size=nnn~~pipe~~DataAvailable=Expression~~pipe~~DataState=expression//crlf////tab////tab////crlf////tab////tab//Status is 1 on success or 0 if the data is not available.  Status is -1 if the datatype is not supported for the POS.//crlf////tab////tab//Modified is the date/time the data was last modified//crlf////tab////tab//Size is the number of records available (NOT the file size)//crlf////tab////tab////crlf////tab////tab//DataAvailable is an expression returned to test whether pos data is available or not.  It is used when//crlf////tab////tab//processing the synch tasks to avoid making calls to synchronize data when the pos data is not available.//crlf////tab////tab////crlf////tab////tab//DataState is an expression used to create a state value for the pos data.  It is generally a getFileSpecState//crlf////tab////tab//function.  This is used to determine when a synch task needs to be run because the pos data has been//crlf////tab////tab//modified//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//bDebug=(true) or (\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////crlf////tab////tab//bOpenDriver=if(startsWith(\\quot\\__OpenDriver__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\false\\comma\\boolean(\\quot\\__OpenDriver__\\quot\\))//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Aloha - OpenDriver __datatype__ __date__ __StoreID__ OpenDriver=\\quot\\+bOpenDriver)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////get driver ID//crlf////tab////tab//sDriverID=lookup(POS_Aloha_Associated_Driver_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//if(sDriverID=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Aloha returns \\quot\\+s+\\quot\\ because driver for datatype (__datatype__) is not defined\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get POS type//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////get business date//crlf////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////get the POSData directory//crlf////tab////tab//sPOSDataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/Aloha/\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/\\quot\\//crlf////crlf////tab////tab////get name of the POS Export file//crlf////tab////tab////sPOSExportFilename=sPOSDataDir+lookup(POS_Aloha_POS_Export_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//sPOSExportFilename=sPOSDataDir+lookup(POS_Aloha_Associated_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////abort if the POS export file is undefined//crlf////tab////tab//if((len(sPOSExportFilename)=0) or (pos(\\quot\\undefined\\quot\\\\comma\\sPOSExportFilename)>=0))//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Error: POS Interface - Aloha returns \\quot\\+s+\\quot\\ because pos export file not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////get name of the driver for the POS Export file//crlf////tab////tab//sPOSExportDriverName=lookup(POS_Aloha_POS_Export_Driver_Name_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////abort if the POS export driver name is undefined//crlf////tab////tab//if((len(sPOSExportDriverName)=0) or (sPOSExportDriverName=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Error: POS Interface - Aloha returns \\quot\\+s+\\quot\\ because pos export driver not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////get name of the processed file//crlf////tab////tab//sProcessedFilename=sPOSDataDir+lookup(POS_Aloha_Processed_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////get the expressions used to determine if the data is available or modified//crlf////tab////tab////sDataAvailableFilename=lookup(POS_Aloha_Data_Available_Filename_by_Datatype\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//sDataAvailableFilename=lookup(POS_Aloha_Associated_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////abort if data available filename is not defined//crlf////tab////tab//if((len(sDataAvailableFilename)=0) or (sDataAvailableFilename=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Error: POS Interface - Aloha returns \\quot\\+s+\\quot\\ because data available filename not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////The data available expression also checks for the existence of processed.txt.  This file//crlf////tab////tab////is created when the original exports are processed\\comma\\ after all processing is complete.//crlf////tab////tab////This is used to ensure that the pos synch task does not start while files are still//crlf////tab////tab////being processed.  The processed.txt file is deleted at the start of processing if it//crlf////tab////tab////exists and created at the end.//crlf////tab////tab//sProcessingCompleteFilename=sPOSDataDir+\\quot\\processed.txt\\quot\\//crlf////crlf////tab////tab//sDataAvailableFilename=sPOSDataDir+sDataAvailableFilename//crlf////tab////tab//sDataAvailableExpression=\\quot\\(fileSize(\\quot\\+quote(sProcessingCompleteFilename)+\\quot\\)\\quot\\+char(0x3E)+\\quot\\0) and (fileExists(\\quot\\+quote(sDataAvailableFilename)+\\quot\\))\\quot\\//crlf////tab////tab//sDataStateExpression=\\quot\\getFilespecState(\\quot\\+quote(sDataAvailableFilename)+\\quot\\)\\quot\\//crlf////crlf////tab////tab////Debugging Output//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Aloha - POS DriverID=\\quot\\+sPOSExportDriverName)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Aloha - POS Filename=\\quot\\+sPOSExportFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Aloha - Processed DriverID=\\quot\\+sDriverID)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Aloha - Processed Filename=\\quot\\+sProcessedFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Aloha - DataAvailableFilename=\\quot\\+sDataAvailableFilename)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////abort if the file does not exist//crlf////tab////tab//if(not(fileExists(sPOSExportFilename)))//crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////tab//appendToLog(\\quot\\POS Interface - Aloha - abort openDriver because \\quot\\+sPOSExportFilename+\\quot\\ not found\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////see if the file needs to be processed.  Processing needs to be done even if //crlf////tab////tab////OpenDriver is false since the data available expression depends on the processed//crlf////tab////tab////file being present//crlf////tab////tab//appendToLog(\\quot\\forceProcess=__ForceProcess__\\quot\\)//crlf////tab////tab//bForceProcess=(\\quot\\__ForceProcess__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab//if(bForceProcess)//crlf////tab////tab////tab//appendToLog(\\quot\\Forcing process of file\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//if((bForceProcess) or (not(fileExists(sProcessedFilename))) or (fileSize(sProcessedFilename)=0) or (fileModified(sPOSExportFilename)>fileModified(sProcessedFilename)))//crlf////tab////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Aloha - Processing driver\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Interface - Aloha\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ContainerItemID=open_driver\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=processAlohaExportFile\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//POSExportDriverName=\\quot\\+sPOSExportDriverName//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//POSExportFilename=\\quot\\+sPOSExportFilename//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//AssociatedDriverName=\\quot\\+sDriverID//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ProcessedFilename=\\quot\\+sProcessedFilename//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Date=__date__\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//DataType=__DataType__\\quot\\//crlf////tab////tab////tab//s=getWidget(sArgs)//crlf////tab////tab//else//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Aloha - File is already processed\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////just return the DataAvailable and DataState expressions if OpenDriver is false//crlf////tab////tab//if(not(bOpenDriver))//crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Aloha - openDriver returns \\quot\\+s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get name of the system driver that will be returned and params to pass to the driver//crlf////tab////tab//sDriverName=\\quot\\__datatype___\\quot\\+getSalt(8)//crlf////tab////tab//sDriverParams=\\quot\\Filename=\\quot\\+sProcessedFilename+\\quot\\~~pipe~~DataType=__DataType__~~pipe~~StoreID=__StoreID__~~pipe~~date=__date__~~pipe~~POS=\\quot\\+sPOSType//crlf////crlf////tab////tab////open the driver//crlf////tab////tab//driverOpen(sDriverID\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\sDriverParams)//crlf////tab////tab//driverSetFilter(sDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////set the result//crlf////tab////tab//s=\\quot\\status=1~~pipe~~Driver=\\quot\\+sDriverName+\\quot\\~~pipe~~modified=\\quot\\+formatDate(fileModified(sProcessedFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)+\\quot\\~~pipe~~size=\\quot\\+driverGetRecordCount(sDriverName\\comma\\true)//crlf////tab////tab//s=s+\\quot\\~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab//appendToLog(\\quot\\POS Interface - Aloha openDriver returns \\quot\\+s+\\quot\\ (\\quot\\+driverGetRecordCount(sDriverName)+\\quot\\ records)\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\processAlohaExportFile\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//processAlohaExportFile//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Aloha - processAlohaExportFile\\quot\\; commands:\\quot\\//crlf////tab////tab////Creates a processed file from a Aloha export file //crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//POSExportDriverName - ID of driver used to open the POS export file//crlf////tab////tab//////tab//POSExportFilename - Full filename of the pos export file//crlf////tab////tab//////tab//AssociatedDriverName - ID of driver used to open the processed file//crlf////tab////tab//////tab//ProcessedFilename - Full filename of the processed file//crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//////tab//DataType - The data type being processed//crlf////tab////tab//////crlf////tab////tab////Returns://crlf////tab////tab//////tab//OK or ERROR//crlf////crlf////tab////tab////open the Aloha export file//crlf////tab////tab//if((false) and (\\quot\\__DataType__\\quot\\=\\quot\\sales_mix\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\Opening Aloha export file: __POSExportDriverName__ Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\__POSExportDriverName__\\quot\\\\comma\\drvAlohaExport\\comma\\READ\\comma\\false\\comma\\\\quot\\Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//else//crlf////tab////tab////tab//appendToLog(\\quot\\Opening Aloha export file: __POSExportDriverName__ Filename=__POSExportFilename__\\quot\\)//crlf////tab////tab////tab//if(\\quot\\__DataType__\\quot\\=\\quot\\id_employee_records\\quot\\)//crlf////tab////tab////tab////tab//driverOpen(\\quot\\__POSExportDriverName__\\quot\\\\comma\\drvAlohaExport\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__POSExportFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//driverOpen(\\quot\\__POSExportDriverName__\\quot\\\\comma\\drvAlohaExport\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__POSExportFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////crlf////tab////tab//if(\\quot\\__DataType__\\quot\\=\\quot\\check_details\\quot\\)//crlf////tab////tab////tab////NOTE:  Both the gndsale and gnditem files contain sales records.  Menu item sales come //crlf////tab////tab////tab////from gnditem.  The records in dndsale are ignored by setting the rectype to -1.  //crlf////tab////tab////tab////This filter is used to avoid adding those records into the processed check details.//crlf////tab////tab////tab//driverSetFilter(drvAlohaExport\\comma\\\\quot\\(not(abs(Quantity)+abs(Amount)=0)) and (RecType\\quot\\+char(0x3E)+\\quot\\=0)\\quot\\\\comma\\true)//crlf////tab////tab//else//crlf////tab////tab////tab//driverSetFilter(drvAlohaExport\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the processed file.  Delete it first if it exists//crlf////tab////tab//if(fileExists(\\quot\\__ProcessedFilename__\\quot\\))//crlf////tab////tab////tab//fileDelete(\\quot\\__ProcessedFilename__\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//driverOpen(\\quot\\__AssociatedDriverName__\\quot\\\\comma\\drvProcessed\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__ProcessedFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//driverSetFilter(drvProcessed\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////remove quotes and commas from employee names//crlf////tab////tab//if(\\quot\\__DataType__\\quot\\=\\quot\\id_employee_records\\quot\\)//crlf////tab////tab////tab//c=driverGetRecordCount(drvAlohaExport)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sName=driverGetField(drvAlohaExport\\comma\\\\quot\\FirstName\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if((pos(char(0x22)\\comma\\sName)>=0) or (pos(char(0x2C)\\comma\\sName)>=0))//crlf////tab////tab////tab////tab////tab//sName=replaceSubstring(sName\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//sName=replaceSubstring(sName\\comma\\char(0x2C)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//driverPutField(drvAlohaExport\\comma\\\\quot\\FirstName\\quot\\\\comma\\n\\comma\\sName)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//sName=driverGetField(drvAlohaExport\\comma\\\\quot\\LastName\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if((pos(char(0x22)\\comma\\sName)>=0) or (pos(char(0x2C)\\comma\\sName)>=0))//crlf////tab////tab////tab////tab////tab//sName=replaceSubstring(sName\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//sName=replaceSubstring(sName\\comma\\char(0x2C)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//driverPutField(drvAlohaExport\\comma\\\\quot\\LastName\\quot\\\\comma\\n\\comma\\sName)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////tab////tab//endif//crlf////crlf////tab////tab////get fields to merge//crlf////tab////tab//arFieldID=driverGetFieldIDs(drvProcessed\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////merge the drivers//crlf////tab////tab//appendToLog(\\quot\\Merging driver.  Fields=\\quot\\+arFieldID)//crlf////tab////tab//appendToLog(\\quot\\Records in source driver=\\quot\\+driverGetRecordCount(drvAlohaExport))//crlf////tab////tab//s=driverMerge(true\\comma\\drvProcessed\\comma\\drvAlohaExport\\comma\\\\quot\\ID\\quot\\\\comma\\arFieldID\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////crlf////tab////tab//appendToLog(\\quot\\Process __DataType__: \\quot\\+s)//crlf////tab////tab//appendToLog(\\quot\\Records in dest driver: \\quot\\+driverGetRecordCount(drvProcessed\\comma\\true))//crlf////crlf////tab////tab//driverClose(drvAlohaExport)//crlf////tab////tab//driverClose(drvProcessed)//crlf////crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//^
ID=code|X=1500|Y=0|W=1200|H=765|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'743416')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>Aspect</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'open_driver')\\quot\\>Open Driver</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'driver_include')\\quot\\>Driver Include</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'533013')\\quot\\>Overview</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'760488')\\quot\\>Notes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=743416|X=1500|Y=25|W=834|H=764|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=760488|X=1500|Y=25|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=Notes^
ID=debug_console|X=1500|Y=25|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=25|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=driver_include|X=1500|Y=25|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//=========================================================================================//crlf//This items was originally used to provide a way to open various aloha drivers from a single//crlf//item.  It provided a form to prompt for the date and driver.//crlf////crlf//I has been modified to recognize the \\quot\\includeDriver\\quot\\ ocnditional\\comma\\ allowing a driver to be//crlf//specified by another source.  It is called by sections in the Overview tab to display//crlf//drivers when they are clicked in the overview tab.  The first section could now be removed.//crlf//Drivers to be opened are located in the homedir/posdata/aloha/yyyymmdd directory\\comma\\ so it is//crlf//not necessary to specify a store when opening a driver.//crlf//=========================================================================================//crlf//</conditional>//crlf////crlf//<_include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression; expression:(not(\\quot\\__query__\\quot\\=\\quot\\includeDriver\\quot\\)) or (\\quot\\__query__\\quot\\=\\quot\\getOptions\\quot\\)>//crlf////tab//<form name=\\quot\\options\\quot\\>//crlf////tab////tab//Store <include type:expression; expression:htmlSelect(Aspect_BackOffice_Store_Name_By_ID\\comma\\\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_POS_Type\\comma\\\\quot\\Aloha\\quot\\)\\comma\\\\quot\\ID='__salt__SelectStore'\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\(POS_Type=\\quot\\+quote(\\quot\\Aloha\\quot\\)+\\quot\\)\\quot\\\\comma\\\\quot\\\\quot\\);>//crlf////crlf////tab////tab//<!-- get the date of the most recent export files -->//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//dt=date(0)//crlf////tab////tab////tab//arFiles=getMatchingFiles(getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\aloha\*.*\\quot\\\\comma\\false\\comma\\true)//crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=replaceSubstring(getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\s=\\quot\\+s)//crlf////tab////tab////tab////tab//if(fileIsDirectory(s))//crlf////tab////tab////tab////tab////tab//s2=getElement(s\\comma\\getElementCount(s\\comma\\\\quot\\\\\quot\\)-1\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\s2=\\quot\\+s2)//crlf////tab////tab////tab////tab////tab//t=parseTime(s2\\comma\\\\quot\\yyyyMMdd\\quot\\) //crlf////tab////tab////tab////tab////tab//if(t>dt)//crlf////tab////tab////tab////tab////tab////tab//dt=t//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\dt=\\quot\\+dt)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(dateNumber(dt)=0)//crlf////tab////tab////tab////tab//dt=incrementTime(now()\\comma\\-1)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////don't roll past yesterday's date//crlf////tab////tab////tab//dtYesterday=incrementTime(parseTime(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)\\comma\\\\quot\\MMddyyyy\\quot\\)\\comma\\-1)//crlf////tab////tab////tab//if(dt>dtYesterday)//crlf////tab////tab////tab////tab//dt=dtYesterday//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//scriptSetResult(htmlConstant(\\quot\\DefaultDate\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)))//crlf////tab////tab//\\quot\\>//crlf////tab////tab//Date <input type=\\quot\\text\\quot\\ ID=\\quot\\__salt__SelectDate\\quot\\ name=\\quot\\__salt__date\\quot\\ value=\\quot\\__DefaultDate__\\quot\\ _value=\\quot\\{@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}\\quot\\ size='12' datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ control=\\quot\\date\\quot\\>//amp//nbsp;//crlf////crlf////tab////tab//Driver //crlf////tab////tab//<select ID=\\quot\\__salt__SelectDriver\\quot\\>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>-- Select Driver --</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>Grind files produced by Aloha</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_AdjustedTimeclock\\quot\\>Adjtime</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_Category\\quot\\>Cat</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_cit\\quot\\>Cit</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_Comp\\quot\\>Cmp</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_Employee\\quot\\>Emp</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_gif\\quot\\>Gif</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_GrindItem\\quot\\>GndItem</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_GrindSale\\quot\\>GndSale</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_Item\\quot\\>Itm</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_JobDefs\\quot\\>Job</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_Pet\\quot\\>Pet</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_pro\\quot\\>Pro</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_rev\\quot\\>Rev</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_tax\\quot\\>Tax</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_tdr\\quot\\>Tdr</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>Intermediary Files</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_Grind_Sale_Check_Headers\\quot\\>Grind Sale - Check Headers</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_Grind_Sale_Check_Details\\quot\\>Grind Sale - Check Details</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_Grind_Item_Check_Details\\quot\\>Grind Item - Check Details</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_Consolidated_Check_Details\\quot\\>Consolidated Check Details</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_Grind_Sale_Paid_InOut\\quot\\>Grind Sale - Paid In/Out</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_Item_Sold_Items_Only\\quot\\>Grind Item - Sold Items Only</option>//crlf////tab////tab////tab//<option value=\\quot\\Aloha_Grind_Item_Sales_Mix\\quot\\>Grind Item - Sales Mix</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_Grind_Item_Category_Names\\quot\\>Category Names from GndItem</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_Grind_Item_Department_Names\\quot\\>Department Names from GndItem</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>Processed Files</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Check_Headers\\quot\\>Check Headers</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Check_Details\\quot\\>Check Details</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Comp_Names\\quot\\>Comp Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Department_Names\\quot\\>Department Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Discount_Names\\quot\\>Discount Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Employee_Names\\quot\\>Employee Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_GiftCert_Names\\quot\\>Gift Certificate Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Job_Code_Names\\quot\\>Job Code Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Category_Names\\quot\\>Menu Category Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Menu_Items\\quot\\>Menu Items</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_Other_Totals\\quot\\>Other Totals (Not Implemented)</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_Paid_In_Out\\quot\\>Paid In Out</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Paid_In_Names\\quot\\>Paid In Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Paid_Out_Names\\quot\\>Paid Out Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Revenue_Center_Names\\quot\\>Revenue Center Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Sales_Mix\\quot\\>Sales Mix</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Tax_Names\\quot\\>Tax Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Tender_Names\\quot\\>Tender Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Timeclock\\quot\\>Timeclock *** Needs Breaks ***</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Aloha_POS_Driver_Void_Names\\quot\\>Void Names</option>//crlf////tab////tab//</select>//crlf////crlf////tab////tab//<input //crlf////tab////tab////tab//type=\\quot\\button\\quot\\ //crlf////tab////tab////tab//value=\\quot\\Update\\quot\\ //crlf////tab////tab////tab//onClick=\\quot\\var d=document.getElementById('__salt__DriverOutput');//crlf////tab////tab////tab////tab//d.setAttribute('url'\\comma\\getServer()+d.getAttribute('_url')+//crlf////tab////tab////tab////tab//'//amp//StoreID='+document.getElementById('__salt__SelectStore').value+//crlf////tab////tab////tab////tab//'//amp//Date='+document.getElementById('__salt__SelectDate').value+//crlf////tab////tab////tab////tab//'//amp//Driver='+document.getElementById('__salt__SelectDriver').value+//crlf////tab////tab////tab////tab//'//amp//ForceProcess='+document.getElementById('__salt__ForceProcess').checked+//crlf////tab////tab////tab////tab//'//amp//Source={AspectHashID}');//crlf////tab////tab////tab////tab//setInterval(d\\comma\\0\\comma\\true);\\quot\\//crlf////tab////tab//>//crlf////crlf////tab////tab//<input type=\\quot\\checkbox\\quot\\ ID=\\quot\\__salt__ForceProcess\\quot\\ Checked=\\quot\\Checked\\quot\\> Force processing of file//crlf////tab//</form>//crlf////crlf////tab//<div ID=\\quot\\__salt__DriverOutput\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//_url=\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//source=//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Interface - Aloha//amp//ContainerItemID=driver_include//amp//query=includeDriver\\quot\\//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression; expression:(\\quot\\__query__\\quot\\=\\quot\\includeDriver\\quot\\)>//crlf////tab//<conditional expression; expression:(\\quot\\__Driver__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab////tab//No driver selected//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression; expression:(not(\\quot\\__Driver__\\quot\\=\\quot\\0\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//sDriverDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/aloha/\\quot\\ + formatDate(parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/\\quot\\//crlf////tab////tab////tab//s=htmlConstant(\\quot\\DriverDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sDriverDir)//crlf////tab////tab////tab//s=s + htmlConstant(\\quot\\DirIsValid\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\if(fileExists(sDriverDir)\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\false\\quot\\))//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////crlf////tab////tab//<!conditional expression; expression:(\\quot\\__DirIsValid__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab////tab//Invalid directory __DriverDir__//crlf////tab////tab//</conditional>//crlf////tab////tab////crlf////tab////tab//<h1>Driver: __Driver__</h1>//crlf////tab////tab//<!conditional expression; expression:(\\quot\\__DirIsValid__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//driver: \\quot\\__Driver__\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~DriverID=__Driver__~~pipe~~StoreID=__StoreID__~~pipe~~Dir=__DriverDir__~~pipe~~Date=__Date__~~pipe~~Metadata=__Driver__~~pipe~~ForceProcess=__ForceProcess__\\quot\\;//crlf////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//<conditional expression:undefined(\\quot\\__MaxHeight__\\quot\\)>//crlf////tab////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//<conditional expression:defined(\\quot\\__MaxHeight__\\quot\\)>//crlf////tab////tab////tab////tab////tab//style: \\quot\\float:left;width:auto\\quot\\;//crlf////tab////tab////tab////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab////tab////tab//maxheight:\\quot\\__MaxHeight__\\quot\\;//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////tab////tab//</conditional>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=AgentStart|X=183|Y=40|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=847275|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|AgentReportTo=getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~AspectServerHashID~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|^
ID=307902|X=183|Y=501|W=119|H=47|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=setAlohaFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_POS Interface - Aloha\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Aloha\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 03-07-2024 04:52:57//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Aloha\\comma\\AgentAction\\comma\\847275\\comma\\0\\comma\\Set tokens defining filespecs for pos export files and posdata files//crlf////crlf////tab////tab////Set tokens defining filespecs for pos export files and posdata files//crlf////tab////tab//Result=execAgentAction(\\quot\\setAlohaFilespecs\\quot\\)//crlf////crlf////tab////tab////Success?//crlf////tab////tab//if(startsWith(\\quot\\result\\quot\\\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Aloha\\comma\\AgentTerminate\\comma\\307902\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Aloha\\comma\\AgentTerminate\\comma\\407292\\comma\\1\\comma\\Error//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;03072024//amp//nbsp;045257//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Aloha\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;03-07-2024//amp//nbsp;04:52:57</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Set//amp//nbsp;tokens//amp//nbsp;defining//amp//nbsp;filespecs//amp//nbsp;for//amp//nbsp;pos//amp//nbsp;export//amp//nbsp;files//amp//nbsp;and//amp//nbsp;posdata//amp//nbsp;files</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\setAlohaFilespecs\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(\\quot\\result\\quot\\\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__salt__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\alohadir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\addDirSlash(getToken(\\quot\\POSInterface_PosDir\\quot\\)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Tokens//crlf//--------------------------------------------------------------------------]//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=POS Aloha Tokens//amp//Selected=true\\quot\\;>//crlf////tab//<table>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<th align='left'>Token</th>//crlf////tab////tab////tab//<th align='left'>Value</th>//crlf////tab////tab//</tr>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td>RequiredPOSTimeclockExportFiles</td>//crlf////tab////tab////tab//<td>{@replaceSubstring(getToken(\\quot\\RequiredPOSTimeclockExportFiles\\quot\\)\\comma\\char(0x3B)\\comma\\getToken(\\quot\\br\\quot\\))}</td>//crlf////tab////tab//</tr>//crlf////tab//</table>//tab////tab////crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Directory listing of aloha grind files//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(getToken(\\quot\\POSInterface_PosDir\\quot\\)=\\quot\\undefined\\quot\\) or (len(getToken(\\quot\\POSInterface_PosDir\\quot\\))=0)>//crlf////tab//<p>Cannot get directory listing because POSInterface_PosDir token is undefined: [{POSInterface_PosDir}].</p?//crlf//</conditional>//crlf////crlf//<conditional expression:(not(getToken(\\quot\\POSInterface_PosDir\\quot\\)=\\quot\\undefined\\quot\\)) and (not(len(getToken(\\quot\\POSInterface_PosDir\\quot\\))=0))>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=__salt__Aloha Grind Files//amp//Selected=true\\quot\\;>//crlf////tab////tab//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir1'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of __alohadir__{@formatDate(incrementTime(LastBusinessDay()\\comma\\0)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf////tab////tab//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir1\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec=__alohadir__{@formatDate(incrementTime(LastBusinessDay()\\comma\\0)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf////tab////tab//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir2'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of __alohadir__{@formatDate(incrementTime(LastBusinessDay()\\comma\\-1)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf////tab////tab//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir2\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec=__alohadir__{@formatDate(incrementTime(LastBusinessDay()\\comma\\-1)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf////tab////tab//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir3'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of __alohadir__{@formatDate(incrementTime(LastBusinessDay()\\comma\\-2)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf////tab////tab//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir3\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec=__alohadir__{@formatDate(incrementTime(LastBusinessDay()\\comma\\-2)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf////tab////tab//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir4'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of __alohadir__{@formatDate(incrementTime(LastBusinessDay()\\comma\\-3)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf////tab////tab//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir4\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec=__alohadir__{@formatDate(incrementTime(LastBusinessDay()\\comma\\-3)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf//</conditional>//crlf//^
ID=AgentChart|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>03072024 045257</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart847275\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\124\\quot\\ style=\\quot\\width: 120px; height: 124px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>POS Interface - Aloha</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: getToken(\\quot\\AspectServerHashID\\quot\\)<br>Name Params: </div></div><div id=\\quot\\chart307902\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 461px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\83\\quot\\ style=\\quot\\width: 120px; height: 83px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart847275\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart131743\\quot\\ style=\\quot\\position: absolute; top: 188px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\119\\quot\\ style=\\quot\\width: 150px; height: 106px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Set tokens defining filespecs for pos export files and posdata files<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>setAlohaFilespecs<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart131743\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart307902\\quot\\ agentchildnonode=\\quot\\chart407292\\quot\\ style=\\quot\\position: absolute; top: 346px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\63\\quot\\ style=\\quot\\width: 150px; height: 63px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart407292\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 346px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\83\\quot\\ style=\\quot\\width: 120px; height: 83px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=sensor_list|X=1500|Y=25|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Aloha.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf//^
ID=action_list|X=1500|Y=25|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__Action__//crlf////tab//__Action_list__//crlf////tab//__ActionDescription__//crlf////tab//__ActionParams__//crlf////tab//__ActionReturns__//crlf////tab//__ActionExec__//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Aloha.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//POS Interface - Aloha\\comma\\setAlohaFilespecs\\comma\\action_list\\comma\\Action=setAlohaFilespecs\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//setAlohaFilespecs//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\setAlohaFilespecs\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Sets tokens containing filespecs pointing to pos export files and //crlf////tab////tab//data in the homedir\posdata directories.  Tokens are://crlf////tab////tab//-------------------------------------------------------------------------------------//crlf////tab////tab//POSExportDirs - A list of directories containing pos export files to all days in //crlf////tab////tab////tab//the synch period. (e.g. [dir]\*.*;[dir]\*.*...//crlf////tab////tab//RequiredPOSExportFiles - A list of all pos export files required in the synch period//crlf////tab////tab//POSDataDirs - List of directories under [homedir]\posdata//crlf////tab////tab//RequiredPOSDataFiles - List of all files under [homedir]\posdata for the synch period//crlf////tab////tab//-------------------------------------------------------------------------------------//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\setAlohaFilespecs\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////This script requires that tokens have been set by the POS Interface agent//crlf////tab////tab////tab////indicating the pos type\\comma\\ pos directory and number of synch days//crlf////crlf////tab////tab////tab////abort if pos type is not aloha//crlf////tab////tab////tab//if(getToken(\\quot\\POSInterface_PosType\\quot\\)<>\\quot\\aloha\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: POS type is not Aloha\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if pos directory is invalid.  Don't allow a single character like \ or ///crlf////tab////tab////tab//sPosDir=getToken(\\quot\\POSInterface_PosDir\\quot\\)//crlf////tab////tab////tab//if((len(sPosDir)<2) or (not(fileExists(sPosDir))) or (not(fileIsDirectory(sPosDir))))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid POS directory: \\quot\\+sPosDir)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sPosDir=addDirSlash(sPosDir)//crlf//            //crlf////tab////tab////tab////abort if synch days is not valid//crlf////tab////tab////tab//iSynchDays=value(getToken(\\quot\\POSInterface_SynchDays\\quot\\))//crlf////tab////tab////tab//if(iSynchDays=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Number of days to synch is invalid: \\quot\\+iSynchDays)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get start/end dates//crlf////tab////tab////tab//dt2=LastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab//dt1=incrementTime(dt2\\comma\\-(iSynchDays-1))//crlf////tab////crlf////tab////tab////tab////get set of Aloha export directories //crlf////tab////tab////tab//arDate=getSetTime(dt1\\comma\\dt2\\comma\\1440*60\\comma\\\\quot\\yyyyMMdd\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\$e$\*.*\\quot\\\\comma\\char(0x2C))//crlf////tab////tab////tab//arDir=getSetFor(sPosDir\\comma\\arDate)//crlf////tab////tab////tab//arDir=replaceSubstring(replaceSubstring(arDir\\comma\\char(0x2C)\\comma\\char(0x3B))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab//setToken(\\quot\\POSExportDirs\\quot\\\\comma\\arDir)//crlf////crlf////tab////tab////tab////get set of directories under [homedir]posdata//crlf////tab////tab////tab//arDir=getSetFor(getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\aloha\\\quot\\\\comma\\arDate)//crlf////tab////tab////tab//arDir=replaceSubstring(replaceSubstring(arDir\\comma\\char(0x2C)\\comma\\char(0x3B))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab//setToken(\\quot\\POSDataDirs\\quot\\\\comma\\arDir)//crlf////crlf////tab////tab////tab////get set of Aloha export files//crlf////tab////tab////tab//arRequired=getCollection(\\quot\\Aloha_Required_Files\\quot\\\\comma\\true\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\Key\\quot\\)//crlf////tab////tab////tab//arDate=getSetTime(dt1\\comma\\dt2\\comma\\1440*60\\comma\\\\quot\\yyyyMMdd\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\$e$\\\quot\\\\comma\\char(0x2C))//crlf////tab////tab////tab//arFiles=getSetFor(sPosDir\\comma\\arDate\\comma\\arRequired)//crlf////tab////tab////tab//arFiles=replaceSubstring(replaceSubstring(arFiles\\comma\\char(0x2C)\\comma\\char(0x3B))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab//setToken(\\quot\\RequiredPOSExportFiles\\quot\\\\comma\\arFiles)//crlf////crlf////tab////tab////tab////get set of adjtime.dbf files//crlf////tab////tab////tab//arDate=getSetTime(dt1\\comma\\dt2\\comma\\1440*60\\comma\\\\quot\\yyyyMMdd\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\$e$\\\quot\\\\comma\\char(0x2C))//crlf////tab////tab////tab//arFiles=getSetFor(sPosDir\\comma\\arDate\\comma\\\\quot\\adjtime.dbf\\quot\\)//crlf////tab////tab////tab//arFiles=replaceSubstring(replaceSubstring(arFiles\\comma\\char(0x2C)\\comma\\char(0x3B))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab//setToken(\\quot\\RequiredPOSTimeclockExportFiles\\quot\\\\comma\\arFiles)//crlf////crlf////tab////tab////tab////get set of files under [homedir]posdata//crlf////tab////tab////tab//arFiles=getSetFor(getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/Aloha/\\quot\\\\comma\\arDate\\comma\\arRequired)//crlf////tab////tab////tab//arFiles=replaceSubstring(replaceSubstring(arFiles\\comma\\char(0x2C)\\comma\\char(0x3B))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab//setToken(\\quot\\RequiredPOSDataFiles\\quot\\\\comma\\arFiles)//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=847275|X=183|Y=228|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=131743|AgentChildNoNode=|AgentSensor=0|AgentAction=setAlohaFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Set tokens defining filespecs for pos export files and posdata files|AgentNodeTermType=0|^
ID=131743|X=183|Y=386|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=307902|AgentChildNoNode=407292|AgentSensor=1|AgentAction=setAlohaFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~result~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=0|^
ID=407292|X=373|Y=386|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=setAlohaFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=533013|X=1500|Y=25|W=885|H=604|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<style>//crlf////tab//ul.POSDriversOverview {margin:0px;padding:0px;}//crlf////tab//li.POSDriversOverview {clear:both;padding:0px;margin:0px 0px 10px 20px;list-style-type:circle}//crlf////tab//span.POSDriverName {cursor:pointer;text-decoration:underline;}//crlf////tab//div.POSDriverOutput {display:none;border:none;margin:10px 0px;padding:0px 0px 10px 0px}//crlf//</style>//crlf////crlf//<script ID=\\quot\\POSInterfaceAloha_InspectDrivers\\quot\\>//crlf////tab//function togglePOSDriver(Salt\\comma\\DriverName) {//crlf////tab////tab//var e=document.getElementById(Salt+DriverName);//crlf////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Interface - Aloha\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//ContainerItemID=driver_include//amp//query=includeDriver\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//source={AspectHashID}\\quot\\;//crlf////tab////tab//sUrl +=\\quot\\//amp//Date=\\quot\\+document.getElementById(Salt+\\quot\\Date\\quot\\).value;//crlf////tab////tab//sUrl +=\\quot\\//amp//Driver=\\quot\\+DriverName+\\quot\\//amp//MaxHeight=300px\\quot\\;//crlf////tab////tab//e.setAttribute(\\quot\\url\\quot\\\\comma\\sUrl);//crlf////tab////tab//toggleVisible(e\\comma\\0\\comma\\false\\comma\\\\quot\\Loading...\\quot\\);//crlf////tab//};//crlf//</script>//crlf////crlf//<h1>Aloha POS Interface Files: __Date__</h1>//crlf//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__Date\\quot\\ value=\\quot\\__Date__\\quot\\>//crlf////crlf//<div style=\\quot\\width:100\\percent\\;max-width:1024px\\quot\\>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//Overview//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Overview\\quot\\;>//crlf////tab////tab//<h1>Overview</h1>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//POS Export Files//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=POS Export Files\\quot\\;>//crlf////tab////tab//<h1>POS Export Files</h1>//crlf////tab////tab//<ul class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_AdjustedTimeclock')\\quot\\>Adjtime.dbf</span>//crlf////tab////tab////tab////tab//: Employee timeclock//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_AdjustedTimeclock\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_tax')\\quot\\>tax.dbf</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_tax\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_tdr')\\quot\\>tdr.dbf</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_tdr\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_rev')\\quot\\>rev.dbf</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_rev\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_pro')\\quot\\>pro.dbf</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_pro\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_Pet')\\quot\\>pet.dbf</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_Pet\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_JobDefs')\\quot\\>job.dbf</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_JobDefs\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_Item')\\quot\\>itm.dbf</span>//crlf////tab////tab////tab////tab//: Menu item sales and sales by category.//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_Item\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_GrindSale')\\quot\\>gndsale.dbf</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_GrindSale\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_GrindItem')\\quot\\>gnditem.dbf</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_GrindItem\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_gif')\\quot\\>gif.dbf</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_gif\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_Employee')\\quot\\>emp.dbf</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_Employee\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_Comp')\\quot\\>cmp.dbf</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_Comp\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_cit')\\quot\\>cit.dbf</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_cit\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_Category')\\quot\\>cat.dbf</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_Category\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab//</ul>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//Intermediary Files//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Intermediary Files\\quot\\;>//crlf////tab////tab//<h1>Intermediary Files</h1>//crlf////crlf////tab////tab//<ul class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_Grind_Sale_Check_Headers')\\quot\\>Grind Sale - Check Headers</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_Grind_Sale_Check_Headers\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_Grind_Sale_Check_Details')\\quot\\>Grind Sale - Check Details</span>//crlf////tab////tab////tab////tab//: These are the check details from the gndsale file\\comma\\ not including menu item sales.  The menu item sales are//crlf////tab////tab////tab////tab//taken from gnditem.  The \\quot\\Grind Sale - Check Details\\quot\\ and \\quot\\Grind Item - Check Details\\quot\\ drivers//crlf////tab////tab////tab////tab//are consolidated to get a complete list of check details.//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_Grind_Sale_Check_Details\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_Grind_Item_Check_Details')\\quot\\>Grind Item - Check Details</span>//crlf////tab////tab////tab////tab//: These are sales record from the grind item file but with additional fields required to merge the data//crlf////tab////tab////tab////tab//to the standard Aspect check details file.//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_Grind_Item_Check_Details\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_Consolidated_Check_Details')\\quot\\>Consolidated Check Details</span>//crlf////tab////tab////tab////tab//: This is the consolidated check details file that contains all record types (sales\\comma\\ comps\\comma\\ discounts\\comma\\ etc) for//crlf////tab////tab////tab////tab//the final check details.  Records form the gndsale driver (excluding sales) are consolidated with sales//crlf////tab////tab////tab////tab//records from the gnditem driver to get the complete set of check details.//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_Consolidated_Check_Details\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_Grind_Sale_Paid_InOut')\\quot\\>Grind Sale - Paid In/Out</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_Grind_Sale_Paid_InOut\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_Item_Sold_Items_Only')\\quot\\>Grind Item - Sold Items Only</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_Item_Sold_Items_Only\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'Aloha_Grind_Item_Sales_Mix')\\quot\\>Grind Item - Sales Mix</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__Aloha_Grind_Item_Sales_Mix\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_Grind_Item_Category_Names')\\quot\\>Category Names from GndItem</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_Grind_Item_Category_Names\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_Grind_Item_Department_Names')\\quot\\>Department Names from GndItem</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_Grind_Item_Department_Names\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab//</ul>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//Processed Files//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Processed Files\\quot\\;>//crlf////tab////tab//<h1>Processed Files</h1>//crlf////crlf////tab////tab//<ul class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Check_Headers')\\quot\\>Check Headers</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Check_Headers\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Check_Details')\\quot\\>Check Details</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Check_Details\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Comp_Names')\\quot\\>Comp Names</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Comp_Names\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Department_Names')\\quot\\>Department Names</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Department_Names\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Discount_Names')\\quot\\>Discount Names</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Discount_Names\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Employee_Names')\\quot\\>Employee Names</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Employee_Names\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_GiftCert_Names')\\quot\\>Gift Certificate Names</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_GiftCert_Names\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Job_Code_Names')\\quot\\>Job Code Names</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Job_Code_Names\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Category_Names')\\quot\\>Menu Category Names</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Category_Names\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Menu_Items')\\quot\\>Menu Items</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Menu_Items\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_Other_Totals')\\quot\\>Other Totals (Not Implemented)</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_Other_Totals\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_Paid_In_Out')\\quot\\>Paid In Out</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_Paid_In_Out\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Paid_In_Names')\\quot\\>Paid In Names</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Paid_In_Names\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Paid_Out_Names')\\quot\\>Paid Out Names</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Paid_Out_Names\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Revenue_Center_Names')\\quot\\>Revenue Center Names</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Revenue_Center_Names\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Sales_Mix')\\quot\\>Sales Mix</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Sales_Mix\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Tax_Names')\\quot\\>Tax Names</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Tax_Names\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Tender_Names')\\quot\\>Tender Names</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Tender_Names\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Timeclock')\\quot\\>Timeclock *** Needs Breaks ***</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Timeclock\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab////tab//<li class=\\quot\\POSDriversOverview\\quot\\>//crlf////tab////tab////tab////tab//<span class=\\quot\\POSDriverName\\quot\\ onClick=\\quot\\togglePOSDriver('__salt__'\\comma\\'POS_Aloha_POS_Driver_Void_Names')\\quot\\>Void Names</span>//crlf////tab////tab////tab////tab//<div style=\\quot\\display:none\\quot\\ class=\\quot\\POSDriverOutput\\quot\\ ID=\\quot\\__salt__POS_Aloha_POS_Driver_Void_Names\\quot\\></div>//crlf////tab////tab////tab//</li>//crlf////tab////tab//</ul>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf//</div>
</widget><widget name="POS Interface - Positouch" group="POS Interface" category="Positouch" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Positouch" modified="07-19-2020 23:54:40" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=03-08-2019 22:20:58:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=0|toolboxy=314|aspectfuncx=1044|aspectfuncy=100|aspectfuncw=750|aspectfunch=810|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=POS Interface - Positouch.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=25|H=24|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=tabs_synch|X=183|Y=22|W=214|H=21|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table name=\\quot\\tabs_synch\\quot\\ class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'open_driver')\\quot\\>Open Driver</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'setup')\\quot\\>Setup</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'pos_notes')\\quot\\>Notes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'diagnostics')\\quot\\>Diagnostics</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'documentation')\\quot\\>Documentation</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=open_driver|X=183|Y=44|W=1041|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:\\quot\\('__action__'='openDriver')\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Positouch openPOSDriver\\quot\\; commands:\\quot\\//crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//This script opens a driver to read pos data for the given StoreID\\comma\\ DataType and Date.  //crlf////tab////tab//The return value is a pipe-delimited string in the form Status=n~~pipe~~Driver=DriverName~~pipe~~Modified=MM-dd-yyyy HH:mm:ss~~pipe~~Size=nnn//crlf////tab////tab//Status is -1=not valid\\comma\\ 0=valid but not available\\comma\\ 1=valid and available//crlf////tab////tab////crlf////tab////tab//Params://crlf////tab////tab////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab////tab//DataType - The ID of one of the datatypes defined in the Aspect_BackOffice_POS_Data_Types collection//crlf////tab////tab////tab//Date//tab// - A single date in the form MM-dd-yyyy//crlf////tab////tab////tab//OpenDriver - If false\\comma\\ the driver will not be opened but the expression used to test for data will be returned.//crlf////tab////tab////tab////tab////tab////tab//  This is used when adding tasks to the pos synch driver.//crlf////tab////tab////tab//Debug - If true\\comma\\ outputs debugging information to the log//crlf////tab////tab////tab//ForceProcess - If true\\comma\\ files will be processed even if they have previously been processed.//crlf////tab////tab////crlf////tab////tab//Returns a string in the form://crlf////tab////tab////tab//status=n~~pipe~~Driver=drivername~~pipe~~modified=mm-dd-yyyy HH:mm:ss~~pipe~~size=nnn~~pipe~~DataAvailable=Expression~~pipe~~DataState=expression//crlf////tab////tab////crlf////tab////tab//Status is 1 on success or 0 if the data is not available.  Status is -1 if the datatype is not supported for the POS.//crlf////tab////tab//Modified is the date/time the data was last modified//crlf////tab////tab//Size is the number of records available (NOT the file size)//crlf////tab////tab////crlf////tab////tab//DataAvailable is an expression returned to test whether pos data is available or not.  It is used when//crlf////tab////tab//processing the synch tasks to avoid making calls to synchronize data when the pos data is not available.//crlf////tab////tab////crlf////tab////tab//DataState is an expression used to create a state value for the pos data.  It is generally a getFileSpecState//crlf////tab////tab//function.  This is used to determine when a synch task needs to be run because the pos data has been//crlf////tab////tab//modified//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//bDebug=(true) or (\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////crlf////tab////tab//bOpenDriver=if(startsWith(\\quot\\__OpenDriver__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\false\\comma\\boolean(\\quot\\__OpenDriver__\\quot\\))//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Positouch - OpenDriver Datatype=__datatype__ Date=__date__ Store=__StoreID__ OpenDriver=\\quot\\+bOpenDriver)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////get driver ID//crlf////tab////tab//sDriverID=lookup(POS_Positouch_Associated_Driver_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//if(sDriverID=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Positouch returns \\quot\\+s+\\quot\\ because driver for datatype (__datatype__) is not defined\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get POS type//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////get business date//crlf////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////get the POSData directory//crlf////tab////tab//sPOSDataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/positouch/\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/\\quot\\//crlf////crlf////tab////tab////get name of the POS Export file//crlf////tab////tab//sPOSExportFilename=sPOSDataDir+lookup(POS_Positouch_POS_Export_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////abort if the POS export file is undefined//crlf////tab////tab//if(pos(\\quot\\undefined\\quot\\\\comma\\sPOSExportFilename)>=0)//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Positouch returns \\quot\\+s+\\quot\\ because pos export file not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////get name of the driver for the POS Export file//crlf////tab////tab//sPOSExportDriverName=lookup(POS_Positouch_POS_Export_Driver_Name_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////abort if the POS export driver name is undefined//crlf////tab////tab//if(sPOSExportDriverName=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Positouch returns \\quot\\+s+\\quot\\ because pos export driver not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////get name of the processed file//crlf////tab////tab//sProcessedFilename=sPOSDataDir+lookup(POS_Positouch_Processed_Filenames_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////get the expressions used to determine if the data is available or modified//crlf////tab////tab//sDataAvailableFilename=lookup(POS_Positouch_Data_Available_Filename_by_Datatype\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////abort if data available filename is not defined//crlf////tab////tab//if((len(sDataAvailableFilename)=0) or (sDataAvailableFilename=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Error: POS Interface - Positouch returns \\quot\\+s+\\quot\\ because data available filename not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab//sDataAvailableFilename=sPOSDataDir+sDataAvailableFilename//crlf////tab////tab//sDataAvailableExpression=\\quot\\fileExists(\\quot\\+quote(sDataAvailableFilename)+\\quot\\)\\quot\\//crlf////tab////tab//sDataStateExpression=\\quot\\getFilespecState(\\quot\\+quote(sDataAvailableFilename)+\\quot\\)\\quot\\//crlf////crlf////tab////tab////Debugging Output//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Positouch - POS DriverID=\\quot\\+sPOSExportDriverName)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Positouch - POS Filename=\\quot\\+sPOSExportFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Positouch - Processed DriverID=\\quot\\+sDriverID)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Positouch - Processed Filename=\\quot\\+sProcessedFilename)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////see if the file needs to be processed.  Processing needs to be done even if //crlf////tab////tab////OpenDriver is false since the data available expression depends on the processed//crlf////tab////tab////file being present//crlf////tab////tab//appendToLog(\\quot\\forceProcess=__ForceProcess__\\quot\\)//crlf////tab////tab//bForceProcess=(\\quot\\__ForceProcess__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab//if(bForceProcess)//crlf////tab////tab////tab//appendToLog(\\quot\\Forcing process of file\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//if((bForceProcess) or (not(fileExists(sProcessedFilename))) or (fileSize(sProcessedFilename)=0) or (fileModified(sPOSExportFilename)>fileModified(sProcessedFilename)))//crlf////tab////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Positouch - Processing driver\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Interface - Positouch\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ContainerItemID=open_driver\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=processPositouchExportFile\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//POSExportDriverName=\\quot\\+sPOSExportDriverName//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//POSExportFilename=\\quot\\+sPOSExportFilename//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//AssociatedDriverName=\\quot\\+sDriverID//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ProcessedFilename=\\quot\\+sProcessedFilename//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Date=__date__\\quot\\//crlf////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//DataType=__DataType__\\quot\\//crlf////tab////tab////tab//s=getWidget(sArgs)//crlf////tab////tab//else//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Positouch - File is already processed\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////just return the DataAvailable and DataState expressions if OpenDriver is false//crlf////tab////tab//if(not(bOpenDriver))//crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Positouch - openDriver returns \\quot\\+s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get name of the system driver that will be returned and params to pass to the driver//crlf////tab////tab//sDriverName=\\quot\\__datatype___\\quot\\+getSalt(8)//crlf////tab////tab//sDriverParams=\\quot\\Filename=\\quot\\+sProcessedFilename+\\quot\\~~pipe~~DataType=__DataType__~~pipe~~StoreID=__StoreID__~~pipe~~date=__date__~~pipe~~POS=\\quot\\+sPOSType//crlf////crlf////tab////tab////open the driver//crlf////tab////tab//driverOpen(sDriverID\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\sDriverParams)//crlf////tab////tab//driverSetFilter(sDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////set the result//crlf////tab////tab//s=\\quot\\status=1~~pipe~~Driver=\\quot\\+sDriverName+\\quot\\~~pipe~~modified=\\quot\\+formatDate(fileModified(sProcessedFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)+\\quot\\~~pipe~~size=\\quot\\+driverGetRecordCount(sDriverName\\comma\\true)//crlf////tab////tab//s=s+\\quot\\~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab//appendToLog(\\quot\\POS Interface - Positouch openDriver returns \\quot\\+s+\\quot\\ (\\quot\\+driverGetRecordCount(sDriverName)+\\quot\\ records)\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\processPositouchExportFile\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//processPositouchExportFile//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Positouch - processPositouchExportFile\\quot\\; commands:\\quot\\//crlf////tab////tab////Creates a processed file from a Positouch export file //crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//POSExportDriverName - ID of driver used to open the POS export file//crlf////tab////tab//////tab//POSExportFilename - Full filename of the pos export file//crlf////tab////tab//////tab//AssociatedDriverName - ID of driver used to open the processed file//crlf////tab////tab//////tab//ProcessedFilename - Full filename of the processed file//crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//////tab//DataType - The data type being processed//crlf////tab////tab//////crlf////tab////tab////Returns://crlf////tab////tab//////tab//OK or ERROR//crlf////crlf////tab////tab////open the Positouch export file//crlf////tab////tab//if((false) and (\\quot\\__DataType__\\quot\\=\\quot\\sales_mix\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\Opening Positouch export file: __POSExportDriverName__ Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\__POSExportDriverName__\\quot\\\\comma\\drvPositouchExport\\comma\\READ\\comma\\false\\comma\\\\quot\\Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//else//crlf////tab////tab////tab//appendToLog(\\quot\\Opening Positouch export file: __POSExportDriverName__ Filename=__POSExportFilename__\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\__POSExportDriverName__\\quot\\\\comma\\drvPositouchExport\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__POSExportFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//driverSetFilter(drvPositouchExport\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////open the processed file.  Delete it first if it exists//crlf////tab////tab//if(fileExists(\\quot\\__ProcessedFilename__\\quot\\))//crlf////tab////tab////tab//fileDelete(\\quot\\__ProcessedFilename__\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//driverOpen(\\quot\\__AssociatedDriverName__\\quot\\\\comma\\drvProcessed\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__ProcessedFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//driverSetFilter(drvProcessed\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////get fields to merge//crlf////tab////tab//arFieldID=driverGetFieldIDs(drvProcessed\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////merge the drivers//crlf////tab////tab//appendToLog(\\quot\\Merging driver.  Fields=\\quot\\+arFieldID)//crlf////tab////tab//appendToLog(\\quot\\Records in source driver=\\quot\\+driverGetRecordCount(drvPositouchExport))//crlf////tab////tab//s=driverMerge(true\\comma\\drvProcessed\\comma\\drvPositouchExport\\comma\\\\quot\\ID\\quot\\\\comma\\arFieldID\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////crlf////tab////tab//driverClose(drvPositouchExport)//crlf////tab////tab//driverClose(drvProcessed)//crlf////crlf////tab////tab//appendToLog(\\quot\\Process __DataType__: \\quot\\+s)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//
^
ID=setup|X=183|Y=44|W=1041|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=pos_notes|X=183|Y=44|W=1041|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=true|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<div style=\\quot\\width:450px\\quot\\>//crlf////crlf//</div>
^
ID=documentation|X=183|Y=44|W=868|H=663|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h2>Processing Files</h2>//crlf////crlf//<hr>//crlf//<table>//crlf////tab//<tr>//crlf////tab////tab//<th align='left'>Collection</th>//crlf////tab////tab//<th align='left'>Description</th>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>POS Export Filenames By Data Type</td>//crlf////tab////tab//<td>These are the Positouch export file names associated with each data type</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>POS Export Driver Name By Data Type</tdh>//crlf////tab////tab//<td>These are the drivers used to read the Positouch export files</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Processed Filenames By Data Type</td>//crlf////tab////tab//<td>These are the processed files created by Aspect7 from the Positouch export files.  These files are //crlf////tab////tab////tab//created automatically whenever a call is made to openDriver.  The files are not created again//crlf////tab////tab////tab//if they already exist and have a timestamp later than the pos export file(s) from which//crlf////tab////tab////tab//they are created.//crlf////tab////tab//</td>//crlf////tab//</tr>//crlf////tab//<tr>//crlf////tab////tab//<td>Associated Driver By Data Type</td>//crlf////tab////tab//<td>//crlf////tab////tab////tab////tab//These are the Aspect7 driver ID's returned when openDriver is called for a given data type///crlf////tab////tab////tab////tab//These drivers are used to read the processed files.//crlf////tab////tab//</td>//crlf////tab//</tr>//crlf//</table>//crlf//<hr>//crlf////crlf//<!include type:script; commands:\\quot\\//crlf////tab//hashCreate(\\quot\\hDatatype\\quot\\)//crlf////crlf////tab//arTitles=\\quot\\Data Type\\quot\\//crlf////tab//arCollections=\\quot\\POS_Positouch_POS_Export_Filenames_By_Data_Type\\comma\\POS_Positouch_POS_Export_Driver_Name_By_Data_Type\\comma\\POS_Positouch_Processed_Filenames_By_Data_Type\\comma\\POS_Positouch_Associated_Driver_By_Data_Type\\quot\\//crlf////tab//cCollection=getElementCount(arCollections)//crlf////tab//nCollection=0//crlf////tab//while(nCollection<cCollection) //crlf////tab////tab//sCollectionName=getElement(arCollections\\comma\\nCollection)//crlf////tab////tab//arTitles=addElement(arTitles\\comma\\replaceSubstring(replaceSubstring(sCollectionName\\comma\\\\quot\\_\\quot\\\\comma\\\\quot\\ \\quot\\)\\comma\\\\quot\\Pos Positouch \\quot\\\\comma\\\\quot\\\\quot\\))//crlf////tab////tab//arCollectionElements=getCollection(sCollectionName)//crlf////tab////tab//c=getElementCount(arCollectionElements\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//s=getElement(arCollectionElements\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//sElementName=getElement(s\\comma\\0\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab//sElementValue=getElement(s\\comma\\1\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab//if(not(hashContainsKey(hDatatype\\comma\\sElementName)))//crlf////tab////tab////tab////tab//hashPut(hDatatype\\comma\\sElementName\\comma\\sElementName+\\quot\\\\comma\\\\quot\\+sElementValue)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//hashPut(hDatatype\\comma\\sElementName\\comma\\hashGet(hDataType\\comma\\sElementName)+\\quot\\\\comma\\\\quot\\+sElementValue)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n=n+1//crlf////tab////tab//endwhile//crlf////tab////tab//nCollection=nCollection+1//crlf////tab//endwhile//crlf////tab////crlf////tab////get array of data types.  These could be gotten from the hashtable\\comma\\ but use collection//crlf////tab////instead so they can be ordered//crlf////tab//sKeys1=\\quot\\\\quot\\//crlf////tab//sKeys2=\\quot\\\\quot\\//crlf////tab//s=getCollection(Aspect_BackOffice_POS_Data_Types)//crlf////tab//c=getElementCount(s\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab//n=0//crlf////tab//while(n<c)//crlf////tab////tab//s1=getElement(getElement(s\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\0\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab//if(startsWith(s1\\comma\\\\quot\\ID\\quot\\))//crlf////tab////tab////tab//sKeys2=addElement(sKeys2\\comma\\s1)//crlf////tab////tab//else//crlf////tab////tab////tab//sKeys1=addElement(sKeys1\\comma\\s1)//crlf////tab////tab//endif//crlf////tab////tab//n=n+1//crlf////tab//endwhile//crlf////tab//sKeys=addElement(sKeys1\\comma\\sKeys2)//crlf////tab//appendToLog(\\quot\\skeys=\\quot\\+sKeys)//crlf////crlf////tab//sTable=\\quot\\\\quot\\//crlf////tab////sKeys=hashGetKeys(hDatatype)//crlf////tab//c=getElementCount(sKeys)//crlf////tab//n=0//crlf////tab//while(n<c)//crlf////tab////tab//sKey=getElement(sKeys\\comma\\n)//crlf////tab////tab//sValue=hashGet(hDatatype\\comma\\sKey)//crlf////tab////tab//if(len(sTable)>0)//crlf////tab////tab////tab//sTable=sTable+char(10)//crlf////tab////tab//endif//crlf////tab////tab//sTable=sTable+sValue//crlf////tab////tab//n=n+1//crlf////tab//endwhile//crlf////crlf////tab//scriptSetResult(htmlTable(sTable\\comma\\char(10)\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\arTitles\\comma\\\\quot\\bordered\\quot\\))//crlf//\\quot\\>//crlf////crlf//
^
ID=diagnostics|X=183|Y=44|W=1103|H=592|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=tabs_synch|AttachLeft=|AlignLeft=tabs_synch|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h2>Diagnostics</h2>
^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'934521')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'driver_include')\\quot\\>Driver Include</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'399908')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=934521|X=300|Y=122|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AspectScript|X=300|Y=122|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=debug_console|X=300|Y=122|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=399908|X=300|Y=122|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=driver_include|X=300|Y=122|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(fileExists(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Positouch.html\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//__query__//crlf////tab//__StoreID__//crlf////tab//__Driver__//crlf//</state>//crlf////crlf//<_include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression; expression:(not(\\quot\\__query__\\quot\\=\\quot\\includeDriver\\quot\\)) or (\\quot\\__query__\\quot\\=\\quot\\getOptions\\quot\\)>//crlf////tab//<form name=\\quot\\__salt__options\\quot\\>//crlf////tab////tab//Store <include type:expression; expression:htmlSelect(Aspect_BackOffice_Store_Name_By_ID\\comma\\\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\\\comma\\lookup(Aspect_BackOffice_Store_ID_by_POS_Type\\comma\\\\quot\\Positouch\\quot\\)\\comma\\\\quot\\ID=\\apos\\__salt__SelectStore\\apos\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\(POS_Type=\\quot\\\\plus\\quote(\\quot\\Positouch\\quot\\)\\plus\\\\quot\\)\\quot\\\\comma\\\\quot\\\\quot\\);>//crlf////crlf////tab////tab//<!-- get the date of the most recent export files -->//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//dt=date(0)//crlf////tab////tab////tab//arFiles=getMatchingFiles(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata\positouch\*.*\\quot\\\\comma\\false\\comma\\true)//crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=replaceSubstring(getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\s=\\quot\\\\plus\\s)//crlf////tab////tab////tab////tab//if(fileIsDirectory(s))//crlf////tab////tab////tab////tab////tab//s2=getElement(s\\comma\\getElementCount(s\\comma\\\\quot\\\\\quot\\)-1\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\s2=\\quot\\\\plus\\s2)//crlf////tab////tab////tab////tab////tab//t=parseTime(s2\\comma\\\\quot\\yyyyMMdd\\quot\\) //crlf////tab////tab////tab////tab////tab//if(t>dt)//crlf////tab////tab////tab////tab////tab////tab//dt=t//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\dt=\\quot\\\\plus\\dt)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(dateNumber(dt)=0)//crlf////tab////tab////tab////tab//dt=incrementTime(now()\\comma\\-1)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////don\\apos\\t roll past yesterday\\apos\\s date//crlf////tab////tab////tab//dtYesterday=incrementTime(parseTime(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)\\comma\\\\quot\\MMddyyyy\\quot\\)\\comma\\-1)//crlf////tab////tab////tab//if(dt>dtYesterday)//crlf////tab////tab////tab////tab//dt=dtYesterday//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//scriptSetResult(htmlConstant(\\quot\\DefaultDate\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)))//crlf////tab////tab//\\quot\\>//crlf////crlf////tab////tab//Date <input type=\\quot\\text\\quot\\ ID=\\quot\\__salt__SelectDate\\quot\\ name=\\quot\\__salt__date\\quot\\ value=\\quot\\__DefaultDate__\\quot\\ _value=\\quot\\{@formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)}\\quot\\ size=\\apos\\12\\apos\\ datatype=\\quot\\time\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ control=\\quot\\date\\quot\\>\\amp\\nbsp;//crlf////tab////tab//Driver //crlf////tab////tab//<select ID=\\quot\\__salt__SelectDriver\\quot\\//crlf////tab////tab////tab//onChange=\\quot\\var d=document.getElementById(\\apos\\__salt__DriverOutput\\apos\\);//crlf////tab////tab////tab////tab//d.setAttribute(\\apos\\url\\apos\\\\comma\\getServer()\\plus\\d.getAttribute(\\apos\\_url\\apos\\)\\plus\\//crlf////tab////tab////tab////tab//\\apos\\\\amp\\StoreID=\\apos\\\\plus\\document.getElementById(\\apos\\__salt__SelectStore\\apos\\).value\\plus\\//crlf////tab////tab////tab////tab//\\apos\\\\amp\\Date=\\apos\\\\plus\\document.getElementById(\\apos\\__salt__SelectDate\\apos\\).value\\plus\\//crlf////tab////tab////tab////tab//\\apos\\\\amp\\Driver=\\apos\\\\plus\\document.getElementById(\\apos\\__salt__SelectDriver\\apos\\).value\\plus\\//crlf////tab////tab////tab////tab//\\apos\\\\amp\\ForceProcess=\\apos\\\\plus\\document.getElementById(\\apos\\__salt__ForceProcess\\apos\\).checked\\plus\\//crlf////tab////tab////tab////tab//\\apos\\\\amp\\Source={AspectHashID}\\apos\\);//crlf////tab////tab////tab////tab//setInterval(d\\comma\\0\\comma\\true);\\quot\\//crlf////tab////tab//>//crlf////tab////tab////tab//<option value=\\quot\\doc\\quot\\>Documentation</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>Positouch Export Files - chktodbf.exe</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Check\\quot\\>Check</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_ItemDisc\\quot\\>ItemDisc</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_MainItem\\quot\\>MainItem</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_PayItem\\quot\\>PayItem</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Taxes\\quot\\>Taxes</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>Positouch Export Files - taw.exe</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_EmpFile\\quot\\>EmpFile</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Jobfile\\quot\\>Jobfile (Rates)</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>Positouch Export Files - tarw.exe</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_PayrPunc\\quot\\>PayrPunc</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>Positouch Export Files - posidbf</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_ChkHdr\\quot\\>ChkHdr</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_ChkItems\\quot\\>ChkItems</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Discount\\quot\\>Discount</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_FCOSTN\\quot\\>FCostn - Active Menu Items</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_FCOSTN_All_Items\\quot\\>FCostn - All Menu Items</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_ItmSales\\quot\\>ItmSales</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_ItmSales2\\quot\\>ItmSales2</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Journal\\quot\\>Journal</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_MajSales\\quot\\>MajSales</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_NameJob\\quot\\>NameJob</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Names\\quot\\>Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Names_Minor_Categories\\quot\\>NameMin (Minor Category Names)</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_PaidMast\\quot\\>PaidMast</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Paidouts\\quot\\>Paidouts</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Sales\\quot\\>Sales</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_SalesTax\\quot\\>SalesTax</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>Intermediary Files - Check Details</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Check_Details_Consolidated\\quot\\>Check Details - Consolidated</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Check_Details_Sales\\quot\\>Check Details - Sales</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Check_Details_Discounts\\quot\\>Check Details - Discounts</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Check_Details_Tax1\\quot\\>Check Details - Tax1</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Check_Details_Tax2\\quot\\>Check Details - Tax2</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Check_Details_Tax3\\quot\\>Check Details - Tax3</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Check_Details_Tax4\\quot\\>Check Details - Tax4</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Check_Details_Tender\\quot\\>Check Details - Tender</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Check_Details_Tip\\quot\\>Check Details - Tip</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>Intermediary Files</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Names_Major_Groups\\quot\\>Major Category Names (Departments)</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Names_Taxes\\quot\\>Tax Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Names_Tenders\\quot\\>Tender Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Names_Revenue_Centers\\quot\\>Revenue Center Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Names_Paid_Outs\\quot\\>Paid Out Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Names_Job_Codes\\quot\\>Job Code Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Names_Discounts\\quot\\>Discount Names</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\></option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>Processed Files</option>//crlf////tab////tab////tab//<option value=\\quot\\0\\quot\\>==========================</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_Check_Details\\quot\\>Check Details</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_Check_Headers\\quot\\>Check Headers</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Comp_Names\\quot\\>Comp Names (Not Available)</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_Department_Names\\quot\\>Department Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_Discount_Names\\quot\\>Discount Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_Employee_Names\\quot\\>Employee Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_GiftCert_Names\\quot\\>Gift Certificate Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_Job_Code_Names\\quot\\>Job Code Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_Category_Names\\quot\\>Menu Category Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_Menu_Items\\quot\\>Menu Items</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_Other_Totals\\quot\\>Other Totals (Incomplete)</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_Paid_InOut\\quot\\>Paid In Out</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_Paid_Out_Names\\quot\\>PaidOut Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_Revenue_Center_Names\\quot\\>Revenue Center Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_Sales_Mix\\quot\\>Sales Mix</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_Tax_Names\\quot\\>Tax Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_Tender_Names\\quot\\>Tender Names</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_Timeclock\\quot\\>Timeclock (Needs tips)</option>//crlf////tab////tab////tab//<option value=\\quot\\POS_Positouch_POS_Driver_Void_Names\\quot\\>Void Names</option>//crlf////tab////tab//</select>//crlf////crlf////tab////tab//<input //crlf////tab////tab////tab//type=\\quot\\button\\quot\\ //crlf////tab////tab////tab//value=\\quot\\Update\\quot\\ //crlf////tab////tab////tab//onClick=\\quot\\var d=document.getElementById(\\apos\\__salt__DriverOutput\\apos\\);//crlf////tab////tab////tab////tab//d.setAttribute(\\apos\\url\\apos\\\\comma\\getServer()\\plus\\d.getAttribute(\\apos\\_url\\apos\\)\\plus\\//crlf////tab////tab////tab////tab//\\apos\\\\amp\\StoreID=\\apos\\\\plus\\document.getElementById(\\apos\\__salt__SelectStore\\apos\\).value\\plus\\//crlf////tab////tab////tab////tab//\\apos\\\\amp\\Date=\\apos\\\\plus\\document.getElementById(\\apos\\__salt__SelectDate\\apos\\).value\\plus\\//crlf////tab////tab////tab////tab//\\apos\\\\amp\\Driver=\\apos\\\\plus\\document.getElementById(\\apos\\__salt__SelectDriver\\apos\\).value\\plus\\//crlf////tab////tab////tab////tab//\\apos\\\\amp\\ForceProcess=\\apos\\\\plus\\document.getElementById(\\apos\\__salt__ForceProcess\\apos\\).checked\\plus\\//crlf////tab////tab////tab////tab//\\apos\\\\amp\\Source={AspectHashID}\\apos\\);//crlf////tab////tab////tab////tab//setInterval(d\\comma\\0\\comma\\true);\\quot\\//crlf////tab////tab//>//crlf////crlf////tab////tab//<input type=\\quot\\checkbox\\quot\\ ID=\\quot\\__salt__ForceProcess\\quot\\ Checked=\\quot\\Checked\\quot\\> Force processing of file//crlf////tab//</form>//crlf////crlf////tab//<div ID=\\quot\\__salt__DriverOutput\\quot\\ interval=\\quot\\0\\quot\\ //crlf////tab////tab//url=\\quot\\__RequestServer__/?Network=GreenLight\\amp\\ID=getWidget\\amp\\source=\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=POS Interface - Positouch\\amp\\ContainerItemID=driver_include\\amp\\query=includeDriver\\amp\\storeID=\\amp\\driver=doc\\quot\\//crlf////tab////tab//_url=\\quot\\/?Network=GreenLight\\amp\\ID=getWidget\\amp\\source=\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=POS Interface - Positouch\\amp\\ContainerItemID=driver_include\\amp\\query=includeDriver\\quot\\//crlf////tab//>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//<conditional expression; expression:(\\quot\\__query__\\quot\\=\\quot\\includeDriver\\quot\\)>//crlf////tab//<conditional expression; expression:(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\)>//crlf////tab////tab//No store selected//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression; expression:(\\quot\\__Driver__\\quot\\=\\quot\\doc\\quot\\)>//crlf////tab////tab//<div interval=\\apos\\0\\apos\\ style=\\apos\\width:800px;\\apos\\ url=\\apos\\__RequestServer__/?Network=GreenLight\\amp\\ID=getWidget\\amp\\source=\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=POS Interface - Positouch\\amp\\ContainerItemID=documentation\\apos\\>//crlf////tab////tab////tab//<img src=\\apos\\http://127.0.0.1:4446/?Network=GreenLight\\amp\\ID=getImage\\amp\\filename=StatusActive01.gif\\apos\\>//crlf////tab////tab//</div> //crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:false>//crlf////tab//==============================================================//crlf////tab//Get the directory for the files from the date//crlf////tab//==============================================================//crlf////tab//</conditional>//crlf////tab//<conditional expression; expression:(not(\\quot\\__Driver__\\quot\\=\\quot\\doc\\quot\\)) and (not(\\quot\\__Driver__\\quot\\=\\quot\\0\\quot\\)) and (not(\\quot\\__StoreID__\\quot\\=\\quot\\0\\quot\\))>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab//sStoreName=lookup(Aspect_BackOffice_Store_Name_By_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////tab////tab////tab//sPOSDir=addDirSlash(lookup(Aspect_BackOffice_Store_POS_Directory_By_ID\\comma\\\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab//sDriverDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata/positouch/\\quot\\ \\plus\\ formatDate(parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\/\\quot\\//crlf////crlf////tab////tab////tab//s=htmlConstant(\\quot\\StoreName\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sStoreName)//crlf////tab////tab////tab//s=s \\plus\\ htmlConstant(\\quot\\DriverDir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\sDriverDir)//crlf////tab////tab////tab//if(fileExists(sDriverDir))//crlf////tab////tab////tab////tab//s=s \\plus\\ htmlConstant(\\quot\\DirIsValid\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//s=s \\plus\\ htmlConstant(\\quot\\DirIsValid\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\false)//crlf////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//==============================================================//crlf////tab////tab//Show invalid directory message//crlf////tab////tab//==============================================================//crlf////tab////tab//</conditional>//crlf////tab////tab//<!conditional expression; expression:(\\quot\\__DirIsValid__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab////tab//Invalid directory __DriverDir__//crlf////tab////tab//</conditional>//crlf////tab////tab////crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//==============================================================//crlf////tab////tab//Driver Include//crlf////tab////tab//==============================================================//crlf////tab////tab//</conditional>//crlf////tab////tab//<!conditional expression; expression:(\\quot\\__DirIsValid__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//<h2>Store: __StoreName__</h2>//crlf////tab////tab////tab//<h2>Store ID: __StoreID__</h2>//crlf////tab////tab////tab//<h2>Date: __Date__</h2>//crlf////tab////tab////tab//<h2>Driver: __Driver__</h2>//crlf////crlf////tab////tab////tab//<!!include type:driver;//crlf////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//driver: \\quot\\__Driver__\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~DriverID=__Driver__~~pipe~~StoreID=__StoreID__~~pipe~~Dir=__DriverDir__~~pipe~~Date=__Date__~~pipe~~Metadata=__Driver__~~pipe~~ForceProcess=__ForceProcess__\\quot\\;//crlf////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</conditional>//crlf////tab//</conditional>//crlf//</conditional>
</widget><widget name="Aspect6 Analytics" group="Analytics" category="" description="Disabled this agent 1/27/17 to cut down on traffic to the server." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Aspect6 Analytics" modified="12-20-2017 14:27:48" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=12-09-2017 21:37:07:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=10|toolboxy=10|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Aspect6 Analytics.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'55134')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'577567')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=55134|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Aspect6 Analytics.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Aspect6 Analytics.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Aspect6 Analytics\\comma\\recordAspect6Analytics\\comma\\action_list\\comma\\Action=recordAspect6Analytics\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//recordAspect6Analytics//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\recordAspect6Analytics\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Records Aspect6 analytics data on the server//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//none//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\recordAspect6Analytics\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////Note: Disabled this agent 1/27/17 to cut down on traffic to the server//crlf////tab////tab////tab////The agent itself is also disabled from running every minute//crlf////tab////tab////tab//scriptSetResult(\\quot\\Ok\\quot\\)//crlf////tab////tab////tab//exit//crlf////crlf////tab////tab////tab////get the Aspect6 log filename//crlf////tab////tab////tab//LogFilename=addDirSlash(getToken(\\quot\\Aspect6StartInDirectory\\quot\\))\\plus\\\\quot\\eodlog.txt\\quot\\//crlf////crlf////tab////tab////tab////abort if log file does not exizt//crlf////tab////tab////tab//if(not(fileExists(LogFilename)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Cannot locate \\quot\\\\plus\\LofFilename)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the time analytics were last recorded//crlf////tab////tab////tab//tLastUpdate=date(0)//crlf////tab////tab////tab//AnalyticsDateFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\aspect6.analytics\\quot\\//crlf////tab////tab////tab//if(fileExists(AnalyticsDateFilename))//crlf////tab////tab////tab////tab//tLastUpdate=parseTime(fileGetContent(AnalyticsDateFilename)\\comma\\\\quot\\MMddyyyy HHmmss\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////read Aspect6 log file//crlf////tab////tab////tab//LogContent=fileGetContent(LogFilename)//crlf////crlf////tab////tab////tab////remove carriage returns//crlf////tab////tab////tab//logContent=replaceSubstring(LogContent\\comma\\char(13)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////prepare the data to be recorded//crlf////tab////tab////tab//EventData=\\quot\\\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////iterate through the log//crlf////tab////tab////tab//cLine=getElementCount(LogContent\\comma\\char(10))//crlf////tab////tab////tab//nLine=0//crlf////tab////tab////tab//cData=0//crlf////tab////tab////tab//while(nLine<cLine)//crlf////tab////tab////tab////tab//s=getElement(LogContent\\comma\\nLine\\comma\\char(10))//crlf////tab////tab////tab////tab//Msg=trim(substring(s\\comma\\19))//crlf////crlf////tab////tab////tab////tab//if(startsWith(Msg\\comma\\\\quot\\Action\\quot\\))//crlf////tab////tab////tab////tab////tab//sTime=replaceSubstring(substring(s\\comma\\0\\comma\\18)\\comma\\\\quot\\ \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//t=parseTime(sTime\\comma\\\\quot\\MM-dd-yyHH:mm:ss\\quot\\)//crlf////tab////tab////tab////tab////tab//if(t>tLastUpdate)//crlf////tab////tab////tab////tab////tab////tab//EventType=1//crlf////tab////tab////tab////tab////tab////tab//sData=EventType\\plus\\\\quot\\~~pipe~~Aspect6 Log~~pipe~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sData=sData \\plus\\ \\quot\\~~pipe~~\\quot\\\\plus\\formatDate(t\\comma\\\\quot\\MMddyyyyHHmmss\\quot\\)\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\Msg//crlf////crlf////tab////tab////tab////tab////tab////tab//if(cData>0)//crlf////tab////tab////tab////tab////tab////tab////tab//EventData=EventData \\plus\\ \\quot\\\\amp\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//EventData=EventData\\plus\\\\quot\\Data\\quot\\\\plus\\cData\\plus\\\\quot\\=\\quot\\\\plus\\sData//crlf////crlf////tab////tab////tab////tab////tab////tab//tLastUpdate=t//crlf////tab////tab////tab////tab////tab////tab//cData=cData \\plus\\ 1//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//nLine=nLine\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////exit if there is nothing to report//crlf////tab////tab////tab//if(cData=0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: No events to record\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////record the data//crlf////tab////tab////tab//s=\\quot\\/?Network=GreenLight\\amp\\ID=recordAnalyticsEvent\\amp\\\\quot\\\\plus\\EventData//crlf////crlf////tab////tab////tab////use the http port first//crlf////tab////tab////tab////sResult=trim(fileGetContent(\\quot\\http://127.0.0.1:4446\\quot\\\\plus\\s))//crlf////tab////tab////tab//sResult=trim(fileGetContent(\\quot\\http://\\quot\\\\plus\\getToken(\\quot\\AspectServerIP2\\quot\\)\\plus\\s))//crlf////tab////tab////tab//if(sResult<>true) //crlf////tab////tab////tab////tab////try the https port //crlf////tab////tab////tab////tab//sResult=trim(fileGetContent(\\quot\\https://\\quot\\\\plus\\getToken(\\quot\\AspectServerIP1\\quot\\)\\plus\\s))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////update the time analytics were last recorded//crlf////tab////tab////tab//if(sResult=\\quot\\true\\quot\\)//crlf////tab////tab////tab////tab//fileWriteContent(AnalyticsDateFilename\\comma\\formatDate(tLastUpdate\\comma\\\\quot\\MMddyyyy HHmmss\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok:  Recorded \\quot\\\\plus\\cData\\plus\\\\quot\\ events\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Unable to record analytics\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=577567|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=45|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=742966|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=never|^
ID=994922|X=183|Y=328|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=0|AgentAction=recordAspect6Analytics|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Complete|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Aspect6 Analytics\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Aspect6 Analytics\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 04-13-2015 16:41:16//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Aspect6 Analytics\\comma\\AgentAction\\comma\\742966\\comma\\0\\comma\\recordAspect6Analytics()//crlf////tab////tab//result=execAgentAction(\\quot\\recordAspect6Analytics\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\recordAspect6Analytics ()=\\quot\\+left(result\\comma\\128))//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Aspect6 Analytics\\comma\\AgentTerminate\\comma\\994922\\comma\\0\\comma\\Complete//crlf////tab////tab//scriptSetResult(Result)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;04132015//amp//nbsp;164116//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Aspect6//amp//nbsp;Analytics\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;04-13-2015//amp//nbsp;16:41:16</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;result=<span class='keyword'>execAgentAction</span>(\\quot\\recordAspect6Analytics\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\recordAspect6Analytics//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>04132015 164116</state>//crlf//<canvas height=\\quot\\100\\quot\\ width=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\ id=\\quot\\agent_doc_canvas\\quot\\></canvas><div agentchildyesnode=\\quot\\chart742966\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chartAgentStart\\quot\\><canvas height=\\quot\\124\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 124px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Aspect6 Analytics</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 284px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart994922\\quot\\><canvas height=\\quot\\84\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Complete<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div agentchildyesnode=\\quot\\chart994922\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart742966\\quot\\><canvas height=\\quot\\56\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 56px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>recordAspect6Analytics<br></td></tr><tr><td><u>Return</u></td><td>result</td></tr></tbody></table></div></div>^
ID=742966|X=183|Y=220|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=994922|AgentChildNoNode=|AgentSensor=0|AgentAction=recordAspect6Analytics|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=result|AgentNodeComment=|AgentNodeTermType=0|
</widget><widget name="Aspect6 Labor Detail" group="Back-Office" category="Aspect6" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Aspect6 Labor Detail" modified="05-22-2015 16:23:27" modifiedby="Thnikpad" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-20-2015 22:04:23:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=64|toolboxy=277|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Aspect6 Labor Detail.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|
^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'54467')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'208384')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>
^
ID=54467|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=AspectScript|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=sensor_list|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Aspect6 Labor Detail.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//
^
ID=action_list|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Aspect6 Labor Detail.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//
^
ID=debug_console|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=208384|X=1500|Y=22|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
^
ID=120546|X=183|Y=22|W=793|H=686|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=LeftBarComputer|DefaultSource=true|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\leftBarComputer\\quot\\\\comma\\\\quot\\__LeftBarComputer__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//<conditional expression:not(\\quot\\__Action__\\quot\\=\\quot\\IncludeDriver\\quot\\)>//crlf////tab//<form name=\\quot\\select_store_dates\\quot\\>//crlf////tab////tab//store <include type:expression; expression:htmlSelect(Aspect6_Store_Codes\\comma\\\\quot\\Aspect6_Store_Codes\\quot\\\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\quote(\\quot\\select_store\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\\\quot\\);>//crlf////tab////tab//From <input type=\\quot\\text\\quot\\ ID=\\quot\\DtFrom\\quot\\ name=\\quot\\DtFrom\\quot\\ value=\\quot\\01-01-{@formatDate(incrementTime(now()\\comma\\-365)\\comma\\\\quot\\yyyy\\quot\\)}\\quot\\} pattern=\\quot\\MM-dd-yyyy\\quot\\ datatype=\\quot\\time\\quot\\ control=\\quot\\date\\quot\\ style=\\quot\\width:100px\\quot\\>//crlf////tab////tab//To <input type=\\quot\\text\\quot\\ ID=\\quot\\DtTo\\quot\\ name=\\quot\\DtTo\\quot\\ value=\\quot\\12-31-{@formatDate(incrementTime(now()\\comma\\-365)\\comma\\\\quot\\yyyy\\quot\\)}\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ datatype=\\quot\\time\\quot\\ control=\\quot\\date\\quot\\ style=\\quot\\width:100px\\quot\\>//crlf////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Refresh\\quot\\ //crlf////tab////tab////tab//onClick=\\quot\\//crlf////tab////tab////tab////tab//d=document.getElementById(\\apos\\IncludeDriver\\apos\\);//crlf////tab////tab////tab////tab//d.setAttribute(\\apos\\url\\apos\\\\comma\\d.getAttribute(\\apos\\_url\\apos\\)\\plus\\\\apos\\\\amp\\Date1=\\apos\\\\plus\\document.getElementById(\\apos\\DtFrom\\apos\\).value\\plus\\\\apos\\\\amp\\Date2=\\apos\\\\plus\\document.getElementById(\\apos\\DtTo\\apos\\).value\\plus\\\\apos\\\\amp\\store=\\apos\\\\plus\\document.getElementById(\\apos\\select_store\\apos\\).value);//crlf////tab////tab////tab////tab//setInterval(d\\comma\\0\\comma\\true);//crlf////tab////tab////tab//\\quot\\//crlf////tab////tab//>//crlf////tab//</form>//crlf////tab////crlf////tab//<div ID=\\quot\\IncludeDriver\\quot\\ Interval=\\quot\\-1\\quot\\ url=\\quot\\\\quot\\//crlf////tab////tab//_url=\\quot\\__RequestServer__/?source=__LeftBarComputer__\\amp\\network=greenlight\\amp\\id=getWidget\\amp\\//crlf////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\Widget=Aspect6 Labor Detail\\amp\\//crlf////tab////tab////tab//ContainerItemID=120546\\amp\\Action=IncludeDriver\\quot\\>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\IncludeDriver\\quot\\)>//crlf////crlf////tab//<!!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\//crlf////tab////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////tab//t1=parseTime(\\quot\\__Date1__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//t2=parseTime(\\quot\\__Date2__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//setDate=setWrap(getSetTime(t1\\comma\\t2)\\comma\\\\quot\\~~pipe~~Date=\\quot\\)//crlf////tab////tab////tab////tab//setStore=setWrap(\\quot\\__Store__\\quot\\\\comma\\\\quot\\~~pipe~~Code=\\quot\\)//crlf////tab////tab////tab////tab//setAll=getSetFor(setStore\\comma\\setDate)//crlf////tab////tab////tab////tab//sParams=\\quot\\$e$\\quot\\//crlf////tab////tab////tab////tab//setDriver=getSetDriver(\\quot\\Aspect6_Driver_Daily_Labor_Details\\quot\\\\comma\\setAll\\comma\\WRITE\\comma\\sParams)//crlf////tab////tab////tab////tab//s=getSetConsolidate(\\quot\\v\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\true\\quot\\\\comma\\\\quot\\__KeyExpression__\\quot\\\\comma\\setDriver)//crlf////tab////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//\\quot\\>//crlf////tab////tab//\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\true\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT6_DRIVER_DAILY_LABOR_DETAILS\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\ID\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT6_DRIVER_DAILY_LABOR_DETAILSDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf////tab//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//</conditional>//crlf////crlf//
</widget><widget name="Export Positouch data" group="POS Interface" category="Positouch" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Export Positouch Data" modified="06-13-2019 22:33:08" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=05-18-2015 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=10 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(hour(now())\\gt\\=5) and (hour(now())\\lt\\=6) and (getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\Positouch\\quote\\)" TaskConditional_Expression_Description="" TaskState_Function="getFileSpecstate(getToken(\\quote\\homedir\\quote\\) + \\quote\\posdata\*.*\\quote\\) + if(not(fileExists(addDirSlash(getToken(\\quote\\homedir\\quote\\))+\\quote\\posdata/positouch/\\quote\\+formatDate(LastBusinessDay(),\\quote\\yyyyMMdd\\quote\\)+\\quote\\/check.dbf\\quote\\)),now(),\\quote\\\\quote\\)" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=18|toolboxy=306|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Export Positouch data.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=740|H=660|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'724187')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'585247')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=724187|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Export Positouch data.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Export Positouch data\\comma\\getPositouchExportOffset\\comma\\sensor_list\\comma\\Sensor=getPositouchExportOffset\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//getPositouchExportOffset//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getPositouchExportOffset\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Calculates the offset needed to export Positouch data for a given date.//crlf////tab////tab//Yesterday is 1\\comma\\ the prior day is 2\\comma\\ etc.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - Date for which offset will be calculated (MM-dd-yyyy)//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Returns a numeric value greater than or equal 0 or -1 if an error occurs.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getPositouchExportOffset\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//if(undefined(\\quot\\__date__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(-1)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//scriptSetResult(floor((dateNumber(date(now()\\comma\\true))-dateNumber(dt))/(1440*60*1000)))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=action_list|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Export Positouch data.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Export Positouch data\\comma\\exportPositouchDataAllDays\\comma\\action_list\\comma\\Action=exportPositouchDataAllDays\\comma\\private//crlf////tab//Export Positouch data\\comma\\exportPositouchDataSingleDay\\comma\\action_list\\comma\\Action=exportPositouchDataSingleDay\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//exportPositouchDataSingleDay//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\exportPositouchDataSingleDay\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Creates Positouch export files for a single day//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - MM-dd-yyyy//crlf////tab////tab//POSDir - Pos directory containing Positouch executables//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\exportPositouchDataSingleDay\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//if(undefined(\\quot\\__date__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: Missing date\\quot\\))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(undefined(\\quot\\__POSDIR__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: Missing POSDir\\quot\\))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sPosDir=replaceSubstring(addDirSlash(\\quot\\__POSDir__\\quot\\)\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\~~backslash~~\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\POS directory=\\quot\\\\plus\\sPosDir)//crlf////tab////tab////tab//if((not(fileExists(sPosDir))) or (not(fileIsDirectory(sPosDir))))//crlf////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: Invalid POS directory: __POSDIR__\\quot\\))//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the offset of the day to be exported.  Yesterday is 1\\comma\\ etc.//crlf////tab////tab////tab//dt=parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//DayOffset=floor((dateNumber(date(now()\\comma\\true))-dateNumber(dt))/(1440*60*1000))//crlf////tab////tab////tab//appendToLog(\\quot\\DayOffset=\\quot\\\\plus\\DayOffset)//crlf////crlf////tab////tab////tab////get the output directory//crlf////tab////tab////tab//sOutputDir=replaceSubstring(getToken(\\quot\\homedir\\quot\\)\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\~~backslash~~\\quot\\)\\plus\\\\quot\\posdata~~backslash~~positouch~~backslash~~\\quot\\\\plus\\formatDate(\\quot\\__date__\\quot\\\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\~~backslash~~\\quot\\//crlf////tab////tab////tab//fileMakeDirectory(sOutputDir)//crlf////crlf////tab////tab////tab////====================================================//crlf////tab////tab////tab////copy files from the ~~backslash~~dbf directory//crlf////tab////tab////tab////It is assumed that another process will export these files.  If not\\comma\\ the posidbf.exe//crlf////tab////tab////tab////utility needs to be called here.  It is possible to direct the output to a //crlf////tab////tab////tab////particular directory and to create a smaller set of files using the /fixed//crlf////tab////tab////tab////command-ilne option.//crlf////tab////tab////tab////====================================================//crlf////tab////tab////tab//sDbfDir=fileDrive(sPosDir)\\plus\\\\quot\\~~backslash~~dbf~~backslash~~\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Copying files from \\quot\\\\plus\\sDbfDir)//crlf////tab////tab////tab//arFiles=\\quot\\names.dbf\\comma\\namejob.dbf\\comma\\namemin.dbf\\comma\\fcostn.dbf\\comma\\paidouts.dbf\\quot\\//crlf////tab////tab////tab//cFiles=getElementCount(arFiles)//crlf////tab////tab////tab//cVerify=0//crlf////tab////tab////tab//nFiles=0//crlf////tab////tab////tab//while(nFiles<cFiles)//crlf////tab////tab////tab////tab//sFilename=getElement(arFiles\\comma\\nFiles)//crlf////tab////tab////tab////tab//sSrcFile=sDbfDir\\plus\\sFilename//crlf////tab////tab////tab////tab//sDestFile=sOutputDir\\plus\\sFilename//crlf////tab////tab////tab////tab//if(fileExists(sSrcFile))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Copy \\quot\\\\plus\\sSrcFile\\plus\\\\quot\\ to \\quot\\\\plus\\sDestFile)//crlf////tab////tab////tab////tab////tab//fileCopy(sSrcFile\\comma\\sDestFile)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Cannot locate \\quot\\\\plus\\sSrcFile)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//cVerify=cVerify \\plus\\ if(fileExists(sDestFile)\\comma\\1\\comma\\0)//crlf////tab////tab////tab////tab//nFiles=nFiles\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////====================================================//crlf////tab////tab////tab////export check details//crlf////tab////tab////tab////====================================================//crlf////tab////tab////tab//arFiles=\\quot\\mainitem.dbf\\comma\\check.dbf\\quot\\//crlf////tab////tab////tab//cFiles=getElementCount(arFiles)//crlf////tab////tab////tab//cVerified=0//crlf////tab////tab////tab//nFiles=0//crlf////tab////tab////tab//while(nFiles<cFiles)//crlf////tab////tab////tab////tab//sFilename=sOutputDir\\plus\\getElement(arFiles\\comma\\nFiles)//crlf////tab////tab////tab////tab//cVerified=cVerified \\plus\\ if(fileExists(sFilename)\\comma\\1\\comma\\0)//crlf////tab////tab////tab////tab//nFiles=nFiles\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab//if(cVerified<cFiles)//crlf////tab////tab////tab////tab////CHKTODBF.EXE may be located in the ~~backslash~~sc directory//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Exporting check details\\quot\\)//crlf////tab////tab////tab////tab//sExe=sPosDir\\plus\\\\quot\\CHKTODBF.EXE\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Executing \\quot\\\\plus\\sExe\\plus\\\\quot\\ in \\quot\\\\plus\\sPosDir\\plus\\\\quot\\ 1 \\quot\\\\plus\\DayOffset\\plus\\\\quot\\ /LOC-\\quot\\\\plus\\sOutputDir)//crlf////tab////tab////tab////tab//s=launchApplication(sExe\\comma\\sPosDir\\comma\\true\\comma\\1\\comma\\DayOffset\\comma\\\\quot\\/LOC-\\quot\\\\plus\\sOutputDir)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Exporting check details complete\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////====================================================//crlf////tab////tab////tab////export employee names//crlf////tab////tab////tab////====================================================//crlf////tab////tab////tab//arFiles=\\quot\\empfile.dbf\\quot\\//crlf////tab////tab////tab//cFiles=getElementCount(arFiles)//crlf////tab////tab////tab//cVerified=0//crlf////tab////tab////tab//nFiles=0//crlf////tab////tab////tab//while(nFiles<cFiles)//crlf////tab////tab////tab////tab//sFilename=sOutputDir\\plus\\getElement(arFiles\\comma\\nFiles)//crlf////tab////tab////tab////tab//cVerified=cVerified \\plus\\ if(fileExists(sFilename)\\comma\\1\\comma\\0)//crlf////tab////tab////tab////tab//nFiles=nFiles\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab//if(cVerified<cFiles)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Exporting employee names (TAW.EXE)\\quot\\)//crlf////tab////tab////tab////tab//sExe=sPosDir\\plus\\\\quot\\TAW.EXE\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Executing \\quot\\\\plus\\sExe\\plus\\\\quot\\ in \\quot\\\\plus\\sPosDir\\plus\\\\quot\\ export \\quot\\\\plus\\sOutputDir)//crlf////tab////tab////tab////tab//s=launchApplication(sExe\\comma\\sPosDir\\comma\\true\\comma\\\\quot\\export\\quot\\\\comma\\sOutputDir)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Exporting employee names complete\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////====================================================//crlf////tab////tab////tab////export timeclock.  These are exported to the ~~backslash~~altdbf directory so they//crlf////tab////tab////tab////must be copied to the date subdirectory//crlf////tab////tab////tab////====================================================//crlf////tab////tab////tab//arFiles=\\quot\\payrpunc.dbf\\comma\\payrhead.dbf\\comma\\payrjobd.dbf\\quot\\//crlf////tab////tab////tab//cFiles=getElementCount(arFiles)//crlf////tab////tab////tab//cVerified=0//crlf////tab////tab////tab//nFiles=0//crlf////tab////tab////tab//while(nFiles<cFiles)//crlf////tab////tab////tab////tab//sFilename=sOutputDir\\plus\\getElement(arFiles\\comma\\nFiles)//crlf////tab////tab////tab////tab//cVerified=cVerified \\plus\\ if(fileExists(sFilename)\\comma\\1\\comma\\0)//crlf////tab////tab////tab////tab//nFiles=nFiles\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab//if(cVerified<cFiles)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Exporting timeclock (TARW.EXE)\\quot\\)//crlf////tab////tab////tab////tab//sExe=sPosDir\\plus\\\\quot\\TARW.EXE\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Executing \\quot\\\\plus\\sExe\\plus\\\\quot\\ in \\quot\\\\plus\\sPosDir\\plus\\\\quot\\ -R 52 1 \\quot\\\\plus\\DayOffset\\plus\\\\quot\\ /ALT\\quot\\)//crlf////tab////tab////tab////tab//s=launchApplication(sExe\\comma\\sPosDir\\comma\\true\\comma\\\\quot\\-R\\quot\\\\comma\\52\\comma\\1\\comma\\DayOffset\\comma\\\\quot\\/ALT\\quot\\)//crlf////tab////tab////tab////tab//sDbfDir=fileDrive(sPosDir)\\plus\\\\quot\\~~backslash~~altdbf~~backslash~~\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Copying files from \\quot\\\\plus\\sDbfDir)//crlf////tab////tab////tab////tab//fileCopy(sDbfDir\\plus\\\\quot\\PAYRHEAD.DBF\\quot\\\\comma\\sOutputDir\\plus\\\\quot\\PAYRHEAD.DBF\\quot\\)//crlf////tab////tab////tab////tab//fileCopy(sDbfDir\\plus\\\\quot\\PAYRJOBD.DBF\\quot\\\\comma\\sOutputDir\\plus\\\\quot\\PAYRJOBD.DBF\\quot\\)//crlf////tab////tab////tab////tab//fileCopy(sDbfDir\\plus\\\\quot\\PAYRPUNC.DBF\\quot\\\\comma\\sOutputDir\\plus\\\\quot\\PAYRPUNC.DBF\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Exporting timeclock complete\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////====================================================//crlf////tab////tab////tab////verify all files//crlf////tab////tab////tab////====================================================//crlf////tab////tab////tab//arRequiredFiles=getToken(\\quot\\POS_Positouch_Required_POS_Files\\quot\\)//crlf////tab////tab////tab//cRequiredFiles=getElementCount(arRequiredFiles)//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//appendToLog(\\quot\\Verifying export of Positouch files in \\quot\\\\plus\\sOutputDir)//crlf////tab////tab////tab//nRequiredFiles=0//crlf////tab////tab////tab//while(nRequiredFiles<cRequiredFiles)//crlf////tab////tab////tab////tab//sFilename=sOutputDir\\plus\\getElement(arRequiredFiles\\comma\\nRequiredFiles)//crlf////tab////tab////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: File does not exist: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab//cError=cError \\plus\\ 1//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nRequiredFiles=nRequiredFiles\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////delete check.dbf if it is less than 1k which indicates no data.  This will cause the agent to //crlf////tab////tab////tab////run again.//crlf////tab////tab////tab//sz=fileSize(addDirSlash(sOutputDir)\\plus\\\\quot\\check.dbf\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Size of check.dbf: \\quot\\\\plus\\sz\\plus\\\\quot\\ bytes\\quot\\)//crlf////tab////tab////tab//if(sz<1024)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Deleting check.dbf because it contains no data\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: No data in check.dbf\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(cError=0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Missing \\quot\\\\plus\\cError\\plus\\\\quot\\ Positouch export files\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//exportPositouchDataAllDays//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\exportPositouchDataAllDays\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Exports Positouch data for a range of days//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//SynchDays - Number of past days to synchronize//crlf////tab////tab//POSDir - Pos directory containing Positouch executables//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\exportPositouchDataAllDays\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Export Positouch data for last __SynchDays__ days\\quot\\)//crlf////tab////tab////tab//sPOSDir=addDirSlash(\\quot\\__POSDir__\\quot\\)//crlf////tab////crlf////tab////tab////tab////abort if pos directory is invalid//crlf////tab////tab////tab//if(not(dirExists(sPOSDir)))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid POS directory: __POSDir__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the number of days is missing //crlf////tab////tab////tab//if(undefined(\\quot\\__SynchDays__\\quot\\))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid number of synch days: __SynchDays__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the number of days is 0//crlf////tab////tab////tab//if(__SynchDays__=0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid number of synch days: __Date__\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the number of days is greater than 365//crlf////tab////tab////tab//if(__SynchDays__>365)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Cannot synchronize more than 365 days\\quot\\)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get required POS files//crlf////tab////tab////tab//arRequiredFiles=getToken(\\quot\\POS_Positouch_Required_POS_Files\\quot\\)//crlf////tab////tab////tab//cRequiredFiles=getElementCount(arRequiredFiles)//crlf////crlf////tab////tab////tab//sPOSDataDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata/positouch/\\quot\\//crlf////crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//dt=incrementTime(date(now()\\comma\\true)\\comma\\-1)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<__SynchDays__)//crlf////tab////tab////tab////tab////see if all files exist//crlf////tab////tab////tab////tab//sDir=sPOSDataDir\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\~~backslash~~\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Checking for Positouch export files in \\quot\\\\plus\\sDir)//crlf////tab////tab////tab////tab//bDoExport=false//crlf////tab////tab////tab////tab//nRequiredFiles=0//crlf////tab////tab////tab////tab//while((not(bDoExport)) and (nRequiredFiles<cRequiredFiles))//crlf////tab////tab////tab////tab////tab//sFilename=sDir\\plus\\getElement(arRequiredFiles\\comma\\nRequiredFiles)//crlf////tab////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\File already exists: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\File does not exist: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab////tab//bDoExport=true//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//nRequiredFiles=nRequiredFiles\\plus\\1//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////do the export//crlf////tab////tab////tab////tab//if(bDoExport)//tab////crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Exporting data for \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//s=trim(execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Export Positouch data\\quot\\\\comma\\\\quot\\Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)))//crlf////tab////tab////tab////tab////tab//if(not(startsWith(s\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab//cError=cError\\plus\\1//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\-1)//crlf////tab////tab////tab////tab//n=n\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(cError=0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Could not process files for \\quot\\\\plus\\cError\\plus\\\\quot\\ days.\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=585247|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=40|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=389704|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=never|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Export Positouch data\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Export Positouch data\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 06-05-2015 10:21:41//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////crlf////tab////tab////Is a POS directory defined?//crlf////tab////tab//POSDir=getSensorValue(\\quot\\Get POS Directory\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\Decision:Get POS Directory ()=\\quot\\+left(POSDir\\comma\\128))//crlf////tab////tab//appendToLog(\\quot\\((len(POSDir)'+char(0x3e)+'0) and (not(startsWith(POSDir\\comma\\'error'))))=\\quot\\+((len(POSDir)>0) and (not(startsWith(POSDir\\comma\\\\quot\\error\\quot\\)))))//crlf////tab////tab//if((len(POSDir)>0) and (not(startsWith(POSDir\\comma\\\\quot\\error\\quot\\))))//crlf////crlf////tab////tab////tab////Is a date specified?//crlf////tab////tab////tab//appendToLog(\\quot\\(defined('__date__'))=\\quot\\+(defined(\\quot\\__date__\\quot\\)))//crlf////tab////tab////tab//if(defined(\\quot\\__date__\\quot\\))//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Export Positouch data\\comma\\AgentAction\\comma\\193533\\comma\\0\\comma\\Export data for a single day//crlf////crlf////tab////tab////tab////tab////Export data for a single day//crlf////tab////tab////tab////tab//Result=execAgentAction(\\quot\\exportPositouchDataSingleDay\\quot\\\\comma\\\\quot\\Date=__Date__//amp//POSDir=\\quot\\+POSDir)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\exportPositouchDataSingleDay ('Date=__Date__//amp//POSDir='+POSDir)=\\quot\\+left(Result\\comma\\128))//crlf////crlf////tab////tab////tab////tab////Success?//crlf////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(trim(Result)\\comma\\'ok'))=\\quot\\+(startsWith(trim(Result)\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab//if(startsWith(trim(Result)\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Export Positouch data\\comma\\AgentTerminate\\comma\\405280\\comma\\0\\comma\\Data was exported successfully//crlf////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Export Positouch data\\comma\\AgentTerminate\\comma\\869658\\comma\\1\\comma\\Did not export successfully//crlf////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////crlf////tab////tab////tab////tab////Is the Positouch package loaded?//crlf////tab////tab////tab////tab//appendToLog(\\quot\\(isPackageLoaded('pos_positouch'))=\\quot\\+(isPackageLoaded(\\quot\\pos_positouch\\quot\\)))//crlf////tab////tab////tab////tab//if(isPackageLoaded(\\quot\\pos_positouch\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////Is the POS type Positouch?//crlf////tab////tab////tab////tab////tab//POSType=getSensorValue(\\quot\\Get POS Type\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:Get POS Type ()=\\quot\\+left(POSType\\comma\\128))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\(POSType='Positouch')=\\quot\\+(POSType=\\quot\\Positouch\\quot\\))//crlf////tab////tab////tab////tab////tab//if(POSType=\\quot\\Positouch\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab////Get the number of days to synchronize//crlf////tab////tab////tab////tab////tab////tab//SynchDays=getSensorValue(\\quot\\Get Synch Days\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:Get Synch Days ()=\\quot\\+left(SynchDays\\comma\\128))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\((len(result)'+char(0x3e)+'0) and (not(startsWith(result\\comma\\'error'))))=\\quot\\+((len(result)>0) and (not(startsWith(result\\comma\\\\quot\\error\\quot\\)))))//crlf////tab////tab////tab////tab////tab////tab//if((len(result)>0) and (not(startsWith(result\\comma\\\\quot\\error\\quot\\))))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////Is the number of days to synch zero?//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(SynchDays'+char(0x3e)+'0)=\\quot\\+(SynchDays>0))//crlf////tab////tab////tab////tab////tab////tab////tab//if(SynchDays>0)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////Is the number of days to synch less than 365//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(SynchDays'+char(0x3c)+'365)=\\quot\\+(SynchDays<365))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(SynchDays<365)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Export Positouch data\\comma\\AgentAction\\comma\\154111\\comma\\0\\comma\\Export data for all days in synch range//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////Export data for all days in synch range//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//Result=execAgentAction(\\quot\\exportPositouchDataAllDays\\quot\\\\comma\\\\quot\\PosDir=\\quot\\+PosDir+\\quot\\//amp//SynchDays=\\quot\\+SynchDays)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\exportPositouchDataAllDays ('PosDir='+PosDir+'//amp//SynchDays='+SynchDays)=\\quot\\+left(Result\\comma\\128))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////Was data exported successfully?//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(trim(Result)\\comma\\'ok'))=\\quot\\+(startsWith(trim(Result)\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(startsWith(trim(Result)\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Export Positouch data\\comma\\AgentTerminate\\comma\\787505\\comma\\0\\comma\\All days exported succcessfully//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Export Positouch data\\comma\\AgentTerminate\\comma\\766392\\comma\\1\\comma\\Could not export one or more days//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Export Positouch data\\comma\\AgentTerminate\\comma\\675941\\comma\\1\\comma\\Too many synch days.  The limit is 365.//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Too many synch days.  The limit is 365.\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Export Positouch data\\comma\\AgentTerminate\\comma\\466123\\comma\\1\\comma\\Invalid number of synch days.  Check the store settings.//crlf////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Invalid number of synch days (\\quot\\+SynchDays+\\quot\\).  Check the store settings.\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Export Positouch data\\comma\\AgentTerminate\\comma\\247989\\comma\\1\\comma\\Could not get the number of days to synchronize with the POS system.//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Export Positouch data\\comma\\AgentTerminate\\comma\\447045\\comma\\1\\comma\\Error: POS type is not Positouch//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: POS type is not Positouch\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Export Positouch data\\comma\\AgentTerminate\\comma\\516219\\comma\\1\\comma\\Error: Positouch package not loaded.//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Positouch package not loaded\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Export Positouch data\\comma\\AgentTerminate\\comma\\283933\\comma\\1\\comma\\Error: Could not get POS directory of active store//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;06052015//amp//nbsp;102141//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Export//amp//nbsp;Positouch//amp//nbsp;data\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;06-05-2015//amp//nbsp;10:21:41</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;a//amp//nbsp;POS//amp//nbsp;directory//amp//nbsp;defined?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;POSDir=<span class='keyword'>getSensorValue</span>(\\quot\\Get//amp//nbsp;POS//amp//nbsp;Directory\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:Get//amp//nbsp;POS//amp//nbsp;Directory//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(POSDir\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\((<span class='keyword'>len</span>(POSDir)'+<span class='keyword'>char</span>(0x3e)+'0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSDir\\comma\\'error'))))=\\quot\\+((<span class='keyword'>len</span>(POSDir)//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSDir\\comma\\\\quot\\error\\quot\\)))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>len</span>(POSDir)//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSDir\\comma\\\\quot\\error\\quot\\))))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;a//amp//nbsp;date//amp//nbsp;specified?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>defined</span>('__date__'))=\\quot\\+(<span class='keyword'>defined</span>(\\quot\\__date__\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__date__\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Export//amp//nbsp;data//amp//nbsp;for//amp//nbsp;a//amp//nbsp;single//amp//nbsp;day</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\exportPositouchDataSingleDay\\quot\\\\comma\\\\quot\\Date=__Date__//amp//POSDir=\\quot\\+POSDir)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\exportPositouchDataSingleDay//amp//nbsp;('Date=__Date__//amp//POSDir='+POSDir)=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(<span class='keyword'>trim</span>(Result)\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(<span class='keyword'>trim</span>(Result)\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(<span class='keyword'>trim</span>(Result)\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;Positouch//amp//nbsp;package//amp//nbsp;loaded?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>isPackageLoaded</span>('pos_positouch'))=\\quot\\+(<span class='keyword'>isPackageLoaded</span>(\\quot\\pos_positouch\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>isPackageLoaded</span>(\\quot\\pos_positouch\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;POS//amp//nbsp;type//amp//nbsp;Positouch?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;POSType=<span class='keyword'>getSensorValue</span>(\\quot\\Get//amp//nbsp;POS//amp//nbsp;Type\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:Get//amp//nbsp;POS//amp//nbsp;Type//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(POSType\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(POSType='Positouch')=\\quot\\+(POSType=\\quot\\Positouch\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(POSType=\\quot\\Positouch\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Get//amp//nbsp;the//amp//nbsp;number//amp//nbsp;of//amp//nbsp;days//amp//nbsp;to//amp//nbsp;synchronize</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;SynchDays=<span class='keyword'>getSensorValue</span>(\\quot\\Get//amp//nbsp;Synch//amp//nbsp;Days\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:Get//amp//nbsp;Synch//amp//nbsp;Days//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(SynchDays\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\((<span class='keyword'>len</span>(result)'+<span class='keyword'>char</span>(0x3e)+'0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(result\\comma\\'error'))))=\\quot\\+((<span class='keyword'>len</span>(result)//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\error\\quot\\)))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>len</span>(result)//amp//gt;0)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(result\\comma\\\\quot\\error\\quot\\))))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;number//amp//nbsp;of//amp//nbsp;days//amp//nbsp;to//amp//nbsp;synch//amp//nbsp;zero?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(SynchDays'+<span class='keyword'>char</span>(0x3e)+'0)=\\quot\\+(SynchDays//amp//gt;0))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(SynchDays//amp//gt;0)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;number//amp//nbsp;of//amp//nbsp;days//amp//nbsp;to//amp//nbsp;synch//amp//nbsp;less//amp//nbsp;than//amp//nbsp;365</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(SynchDays'+<span class='keyword'>char</span>(0x3c)+'365)=\\quot\\+(SynchDays//amp//lt;365))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(SynchDays//amp//lt;365)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Export//amp//nbsp;data//amp//nbsp;for//amp//nbsp;all//amp//nbsp;days//amp//nbsp;in//amp//nbsp;synch//amp//nbsp;range</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\exportPositouchDataAllDays\\quot\\\\comma\\\\quot\\PosDir=\\quot\\+PosDir+\\quot\\//amp//SynchDays=\\quot\\+SynchDays)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\exportPositouchDataAllDays//amp//nbsp;('PosDir='+PosDir+'//amp//SynchDays='+SynchDays)=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Was//amp//nbsp;data//amp//nbsp;exported//amp//nbsp;successfully?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(<span class='keyword'>trim</span>(Result)\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(<span class='keyword'>trim</span>(Result)\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(<span class='keyword'>trim</span>(Result)\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Too//amp//nbsp;many//amp//nbsp;synch//amp//nbsp;days.//amp//nbsp;//amp//nbsp;The//amp//nbsp;limit//amp//nbsp;is//amp//nbsp;365.\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Invalid//amp//nbsp;number//amp//nbsp;of//amp//nbsp;synch//amp//nbsp;days//amp//nbsp;(\\quot\\+SynchDays+\\quot\\).//amp//nbsp;//amp//nbsp;Check//amp//nbsp;the//amp//nbsp;store//amp//nbsp;settings.\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;POS//amp//nbsp;type//amp//nbsp;is//amp//nbsp;not//amp//nbsp;Positouch\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Positouch//amp//nbsp;package//amp//nbsp;not//amp//nbsp;loaded\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>06052015 102141</state>//crlf//<canvas height=\\quot\\100\\quot\\ width=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\ id=\\quot\\agent_doc_canvas\\quot\\></canvas><div agentchildyesnode=\\quot\\chart389704\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chartAgentStart\\quot\\><canvas height=\\quot\\124\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 124px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Export Positouch data</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div agentchildnonode=\\quot\\chart831333\\quot\\ agentchildyesnode=\\quot\\chart193533\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 305px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart654607\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is a date specified?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart447045\\quot\\ agentchildyesnode=\\quot\\chart556800\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 434px; left: 350px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart319779\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the POS type Positouch?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Get//amp//nbsp;POS//amp//nbsp;Type<br></td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart516219\\quot\\ agentchildyesnode=\\quot\\chart319779\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 305px; left: 350px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart831333\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the Positouch package loaded?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 305px; left: 540px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart516219\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Positouch package not loaded.<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 434px; left: 540px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart447045\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: POS type is not Positouch<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart283933\\quot\\ agentchildyesnode=\\quot\\chart654607\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart389704\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is a POS directory defined?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Get//amp//nbsp;POS//amp//nbsp;Directory<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart283933\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error: Could not get POS directory of active store<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart247989\\quot\\ agentchildyesnode=\\quot\\chart4233\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 563px; left: 350px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart556800\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Get the number of days to synchronize<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Get//amp//nbsp;Synch//amp//nbsp;Days<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 563px; left: 540px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart247989\\quot\\><canvas height=\\quot\\123\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 123px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Could not get the number of days to synchronize with the POS system.<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart466123\\quot\\ agentchildyesnode=\\quot\\chart612218\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 692px; left: 350px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart4233\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the number of days to synch zero?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 692px; left: 540px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart466123\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Invalid number of synch days.  Check the store settings.<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildnonode=\\quot\\chart675941\\quot\\ agentchildyesnode=\\quot\\chart154111\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 821px; left: 350px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart612218\\quot\\><canvas height=\\quot\\90\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the number of days to synch less than 365<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 821px; left: 540px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart675941\\quot\\><canvas height=\\quot\\110\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Too many synch days.  The limit is 365.<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildyesnode=\\quot\\chart552995\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 950px; left: 350px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart154111\\quot\\><canvas height=\\quot\\95\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Export data for all days in synch range<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>exportPositouchDataAllDays<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart766392\\quot\\ agentchildyesnode=\\quot\\chart787505\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 1097px; left: 350px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart552995\\quot\\><canvas height=\\quot\\77\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Was data exported successfully?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1097px; left: 540px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart766392\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Could not export one or more days<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div agentchildyesnode=\\quot\\chart933420\\quot\\ content_type=\\quot\\AgentAction\\quot\\ style=\\quot\\position: absolute; top: 421px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart193533\\quot\\><canvas height=\\quot\\95\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Export data for a single day<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>exportPositouchDataSingleDay<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div agentchildnonode=\\quot\\chart869658\\quot\\ agentchildyesnode=\\quot\\chart405280\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ style=\\quot\\position: absolute; top: 568px; left: 0px; width: 150px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart933420\\quot\\><canvas height=\\quot\\64\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 568px; left: 190px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart869658\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Did not export successfully<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 684px; left: 0px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart405280\\quot\\><canvas height=\\quot\\46\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1226px; left: 350px; width: 120px; height: auto; display: block;\\quot\\ isagentdoc=\\quot\\true\\quot\\ id=\\quot\\chart787505\\quot\\><canvas height=\\quot\\97\\quot\\ width=\\quot\\120\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>All days exported succcessfully<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div>^
ID=654607|X=151|Y=353|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=193533|AgentChildNoNode=831333|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=defined(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~__date__~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Is a date specified?|AgentNodeTermType=0|^
ID=319779|X=501|Y=482|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=556800|AgentChildNoNode=447045|AgentSensor=Get POS Type|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=POSType~~backslash~~equals~~backslash~~~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Positouch~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=POSType|AgentNodeComment=Is the POS type Positouch?|AgentNodeTermType=1|^
ID=831333|X=501|Y=353|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=319779|AgentChildNoNode=516219|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=isPackageLoaded(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~pos_positouch~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Is the Positouch package loaded?|AgentNodeTermType=0|^
ID=516219|X=691|Y=353|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: Positouch package not loaded~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Error: Positouch package not loaded.|AgentNodeTermType=1|^
ID=447045|X=691|Y=482|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get POS Type|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: POS type is not Positouch~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Error: POS type is not Positouch|AgentNodeTermType=1|^
ID=389704|X=151|Y=224|W=149|H=63|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=654607|AgentChildNoNode=283933|AgentSensor=Get POS Directory|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(len(POSDir)>0) and (not(startsWith(POSDir//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~error~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)))|AgentNodeActionReturnValue=POSDir|AgentNodeComment=Is a POS directory defined?|AgentNodeTermType=1|^
ID=283933|X=341|Y=224|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error: Could not get POS directory of active store|AgentNodeTermType=1|^
ID=556800|X=501|Y=611|W=149|H=78|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=4233|AgentChildNoNode=247989|AgentSensor=Get Synch Days|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(len(result)>0) and (not(startsWith(result//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~error~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)))|AgentNodeActionReturnValue=SynchDays|AgentNodeComment=Get the number of days to synchronize|AgentNodeTermType=1|^
ID=247989|X=691|Y=611|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Could not get the number of days to synchronize with the POS system.|AgentNodeTermType=1|^
ID=4233|X=501|Y=740|W=149|H=76|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=612218|AgentChildNoNode=466123|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=SynchDays>0|AgentNodeActionReturnValue=|AgentNodeComment=Is the number of days to synch zero?|AgentNodeTermType=1|^
ID=466123|X=691|Y=740|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: Invalid number of synch days (~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//plus//SynchDays//plus//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~).  Check the store settings.~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Invalid number of synch days.  Check the store settings.|AgentNodeTermType=1|^
ID=612218|X=501|Y=869|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=154111|AgentChildNoNode=675941|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=SynchDays<365|AgentNodeActionReturnValue=|AgentNodeComment=Is the number of days to synch less than 365|AgentNodeTermType=1|^
ID=675941|X=691|Y=869|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: Too many synch days.  The limit is 365.~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Too many synch days.  The limit is 365.|AgentNodeTermType=1|^
ID=154111|X=501|Y=998|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=552995|AgentChildNoNode=|AgentSensor=1|AgentAction=exportPositouchDataAllDays|AgentNodeNotes=|AgentNodeParams=\\quot\\PosDir~~backslash~~equals~~backslash~~\\quot\\//plus//PosDir//plus//\\quot\\\\amp\\SynchDays~~backslash~~equals~~backslash~~\\quot\\//plus//SynchDays|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Export data for all days in synch range|AgentNodeTermType=1|^
ID=552995|X=501|Y=1145|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=787505|AgentChildNoNode=766392|AgentSensor=1|AgentAction=exportPositouchDataAllDays|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(trim(Result)//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Was data exported successfully?|AgentNodeTermType=1|^
ID=766392|X=691|Y=1145|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=exportPositouchDataAllDays|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Could not export one or more days|AgentNodeTermType=1|^
ID=193533|X=151|Y=469|W=149|H=96|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=933420|AgentChildNoNode=|AgentSensor=1|AgentAction=exportPositouchDataSingleDay|AgentNodeNotes=|AgentNodeParams=\\quot\\Date~~backslash~~equals~~backslash~~__Date__\\amp\\POSDir~~backslash~~equals~~backslash~~\\quot\\//plus//POSDir|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Export data for a single day|AgentNodeTermType=1|^
ID=933420|X=151|Y=616|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=405280|AgentChildNoNode=869658|AgentSensor=1|AgentAction=exportPositouchDataSingleDay|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(trim(Result)//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=1|^
ID=869658|X=341|Y=616|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=exportPositouchDataSingleDay|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Did not export successfully|AgentNodeTermType=1|^
ID=405280|X=151|Y=732|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=exportPositouchDataAllDays|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Data was exported successfully|AgentNodeTermType=0|^
ID=787505|X=501|Y=1274|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=exportPositouchDataAllDays|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=All days exported succcessfully|AgentNodeTermType=0|
</widget><widget name="Notification Container" group="Notifications" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Notification Container" modified="04-27-2024 22:56:48" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=04-21-2024 02:18:30:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=81|toolboxy=303|aspectfuncx=193|aspectfuncy=100|aspectfuncw=750|aspectfunch=810|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Notification Container.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'289573')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'182361')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=289573|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Notification Container.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Notification Container.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=182361|X=1500|Y=25|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=25461|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<select onChange=\\quot\\showTab(this)\\quot\\>//crlf////tab////tab//<option value='685780'>Support Contact Info</option>//crlf////tab////tab//<option value='881679'>All Guides Container</option>//crlf////tab////tab//<option value='563738'>POS Synch Task Scheduler</option>//crlf////tab////tab//<option value='348560'>Stores</option>//crlf////tab////tab//<option value='177137'>Store Groups</option>//crlf////tab////tab//<option value='143531'>Time Periods</option>//crlf////tab////tab//<option value='select_store_and_dates'>Select Store //amp// Dates</option>//crlf////tab////tab//<option value='inspect_driver'>Inspect Driver</option>//crlf////tab////tab//<option value='drivers'>Drivers</option>//crlf////tab////tab//<option value='689975'>Driver Documentation</option>//crlf////tab////tab//<option value='33317'>Javascript</option>//crlf////tab////tab//<option value='72036'>Stylesheet</option>//crlf////tab////tab//<option value='396084'>Enable Aspect6 Polling Auto-Import</option>//crlf////tab////tab//<option value='690373'>Back-Office Faq</option>//crlf////tab////tab//<option value='929364'>Aspect6 Integer IDs</option>//crlf//</select>//crlf//^
ID=select_store_and_dates|X=183|Y=32|W=717|H=578|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=25461|AttachLeft=|AlignLeft=25461|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<_conditional expression:false>//crlf//===================================================================================//crlf//This item provides a standardized way to get a store and one//crlf//or two dates.//crlf////crlf//Params://crlf////tab//select - Store\\comma\\ group or all.  Determines selections available in the select box//crlf////tab//from - If true\\comma\\ an input for a starting date will be displayed//crlf////tab//to - If true\\comma\\  an input for an ending date will be displayed//crlf////tab//func - The name of a javascript function to call when the selection is made//crlf////tab//salt - A unique character string//crlf////crlf//When the icon is clicked to update the selection\\comma\\ the javascript function defined by//crlf//\\quot\\func\\quot\\ is called\\comma\\ passing Sale and StoreID as the first two arguments.  The From and//crlf//To dates are passed as additional arguments if enabled.  For example://crlf////crlf//myFunc(Salt\\comma\\StoreID)//crlf//myFunc(Salt\\comma\\StoreID\\comma\\From)//crlf//myFunc(Salt\\comma\\StoreID\\comma\\From\\comma\\To)//crlf////crlf//Example - Get store and no dates//crlf////tab//include type:widget; server:{aspecthashid}; secure:false; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\select_store_and_dates\\quot\\; params:\\quot\\Select=store//amp//From=true//amp//To=true//amp//func=myFunc//amp//salt=__salt__\\quot\\//crlf//===================================================================================//crlf//</conditional>//crlf////crlf//<state>//crlf////tab//__select__//crlf////tab//__from__//crlf////tab//__to__//crlf////tab//__func__//crlf////tab//The only time this state element will come into play is when salt is passed//crlf////tab//as a parameter and that should only happen when there is no chance that the//crlf////tab//item will not occur twice in the same document.//crlf////tab//{@if(undefined(\\quot\\__salt__\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<_conditional expression:(\\quot\\__w__\\quot\\=\\quot\\notification container\\quot\\)>//crlf////tab//<!-- For Debugging -->//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\select\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\store\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\from\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\true\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\to\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//<_include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__salt__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<form name=\\quot\\Form__salt__\\quot\\ style=\\quot\\width:100\\percent\\\\quot\\>//crlf////tab//<conditional expression:(\\quot\\__select__\\quot\\=\\quot\\store\\quot\\)>//crlf////tab////tab//<!include type:Collection;//crlf////tab////tab////tab//ID:\\quot\\Store__salt__\\quot\\;//crlf////tab////tab////tab//Name:\\quot\\SelectStore\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\0\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(\\quot\\__select__\\quot\\=\\quot\\group\\quot\\)>//crlf////tab////tab//<!include type:Collection;//crlf////tab////tab////tab//ID:\\quot\\Store__salt__\\quot\\;//crlf////tab////tab////tab//Name:\\quot\\SelectStore\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Store_Group_By_ID\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\0\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(\\quot\\__select__\\quot\\=\\quot\\all\\quot\\)>//crlf////tab////tab//<!include type:Collection;//crlf////tab////tab////tab//ID:\\quot\\Store__salt__\\quot\\;//crlf////tab////tab////tab//Name:\\quot\\SelectStore\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Stores_And_Groups\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\0\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(\\quot\\__from__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<input type=\\quot\\text\\quot\\ name=\\quot\\__salt__From\\quot\\ value=\\quot\\06-17-2015\\quot\\ style=\\quot\\width:80px\\quot\\ ID=\\quot\\From__Salt__\\quot\\ control=\\quot\\date\\quot\\>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(\\quot\\__to__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<conditional expression:(\\quot\\__from__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////amp//nbsp;-//amp//nbsp;//crlf////tab////tab//</conditional>//crlf////tab////tab//<input type=\\quot\\text\\quot\\ name=\\quot\\__salt__To\\quot\\ value=\\quot\\06-17-2015\\quot\\ style=\\quot\\width:80px\\quot\\ ID=\\quot\\To__Salt__\\quot\\ control=\\quot\\date\\quot\\>//crlf////tab//</conditional>//crlf////crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab//sFunc=\\quot\\__func__('__salt__'\\comma\\\\quot\\//crlf////tab////tab//sFunc=sFunc + \\quot\\document.getElementById('Store__salt__').value\\quot\\//crlf////tab////tab//if(\\quot\\__from__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab////tab//sFunc=sFunc + char(0x2c)+\\quot\\document.getElementById('From__salt__').value\\quot\\//crlf////tab////tab//endif//crlf////tab////tab//if(\\quot\\__to__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////tab////tab//sFunc=sFunc + char(0x2c)+\\quot\\document.getElementById('To__salt__').value\\quot\\//crlf////tab////tab//endif//crlf////tab////tab//sFunc=sFunc + \\quot\\)\\quot\\//crlf////tab////tab//htmlParams=\\quot\\class='hyperlink' style='position:relative\\quot\\+char(0x3b)+\\quot\\top:5px\\quot\\+char(0x3b)+\\quot\\left:10px' onClick=\\quot\\+quote(sFunc)//crlf////tab////tab//s=img(\\quot\\edit.gif\\quot\\\\comma\\htmlParams)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</form>//crlf////crlf//^
ID=inspect_driver|X=183|Y=32|W=753|H=576|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=25461|AttachLeft=|AlignLeft=25461|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<_conditional expression:false>//crlf//===================================================================================//crlf////crlf//                       04-03-2016: THIS ITEM IS OBSOLETE//crlf////crlf//This item provides a standardized way to open any driver.  If a driver ID is //crlf//supplied\\comma\\ the appropriate date options will be displayed.  If a driver is not //crlf//specified\\comma\\ a drop-down list will be displayed.//crlf////crlf//Params://crlf////tab//DriverID - Optional DriverID specifying the driver to open.  If none is specified\\comma\\//crlf////tab////tab////tab////tab////tab////tab////tab//a drop-down list will be presented//crlf////tab//Select - Store\\comma\\ group or all.  Determines selections available in the select box//crlf////tab//DefaultFrom - Optional starting date//crlf////tab//DefaultTo - Optional ending date//crlf////tab//salt - A unique character string//crlf////tab//Prompt - If true\\comma\\ selections will be presented to open the driver.  If false\\comma\\ //crlf////tab////tab////tab////tab////tab////tab//the driver will be opened using the parameters passed//crlf//===================================================================================//crlf//</conditional>//crlf////crlf//<state>//crlf////tab//__DriverID__//crlf////tab//__select__//crlf////tab//__DefaultFrom__//crlf////tab//__Defaulto__//crlf////tab//__Prompt__//crlf////tab//The only time this state element will come into play is when salt is passed//crlf////tab//as a parameter and that should only happen when there is no chance that the//crlf////tab//item will not occur twice in the same document.//crlf////tab//{@if(undefined(\\quot\\__salt__\\quot\\)\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<_conditional expression:(\\quot\\__w__\\quot\\=\\quot\\notification container\\quot\\)>//crlf////tab//<!-- For Debugging -->//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DriverID\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\0\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\Select\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\store\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DefaultFrom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\07-01-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\DefaultTo\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\07-05-2015\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\prompt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//<_include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__salt__\\quot\\\\comma\\getSalt(4))>//crlf////crlf//<conditional expression:false>//crlf//==========================================================================//crlf//Include Javascript functions and stylesheet used to open an inspect window//tab////crlf//==========================================================================//crlf//</conditional>//crlf//<include type:widget; server:{AspectHashID}; secure:false; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\33317\\quot\\; params:\\quot\\\\quot\\;>//crlf//<include type:widget; server:{AspectHashID}; secure:false; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\72036\\quot\\; params:\\quot\\\\quot\\;>//crlf//<include type:widget; server:{AspectHashID}; secure:false; documentID:\\quot\\KAV7tpXDgrrC34l3qOMpj1Sy\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\318619\\quot\\; params:\\quot\\\\quot\\;>//crlf////crlf//<conditional expression:false>//crlf////tab//==========================================================================//crlf////tab//Set constants used to determine if the store list\\comma\\ date from and date to//crlf////tab//fields should be displayed initially//crlf////tab//==========================================================================//crlf//</conditional>//crlf//<include type:script; commands:\\quot\\//crlf////tab////tab//bDisplayStore=false//crlf////tab////tab//bDisplayFrom=false//crlf////tab////tab//bDisplayTo=false//crlf////crlf////tab////tab//if((defined(\\quot\\__DriverID__\\quot\\)) and (not(\\quot\\__DriverID__\\quot\\)=\\quot\\0\\quot\\))//crlf////tab////tab////tab//s=getCollection(\\quot\\Aspect_BackOffice_Driver_List\\quot\\)//crlf////tab////tab////tab//c=getElementCount(s\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//result=\\quot\\\\quot\\//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//e1=getElement(s\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//DriverID=getElement(e1\\comma\\0\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab////tab//if(DriverID=\\quot\\__DriverID++\\quot\\)//crlf////tab////tab////tab////tab////tab//Params=getElement(e1\\comma\\1\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab////tab////tab//bDisplayStore=(pos(\\quot\\//power//store\\quot\\\\comma\\Params)>=0)//crlf////tab////tab////tab////tab////tab//bDisplayFrom=(pos(\\quot\\//power//from\\quot\\\\comma\\Params)>=0)//crlf////tab////tab////tab////tab////tab//bDisplayTo=(pos(\\quot\\//power//to\\quot\\\\comma\\Params)>=0)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////tab////tab//endif//crlf////crlf////tab////tab//s=htmlConstant(\\quot\\DisplayStore\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\if(bDisplayStore\\comma\\\\quot\\inline\\quot\\\\comma\\\\quot\\none\\quot\\))//crlf////tab////tab//s=s+htmlConstant(\\quot\\DisplayFrom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\if(bDisplayFrom\\comma\\\\quot\\inline\\quot\\\\comma\\\\quot\\none\\quot\\))//crlf////tab////tab//s=s+htmlConstant(\\quot\\DisplayTo\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\if(bDisplayTo\\comma\\\\quot\\inline\\quot\\\\comma\\\\quot\\none\\quot\\))//crlf////tab////tab//scriptSetResult(s)//crlf//\\quot\\>//crlf////crlf//<conditional expression:false>//crlf////tab//==========================================================================//crlf////tab//This is the javascript used by this container item.//crlf////tab//Three arrays are defined first\\comma\\ using Aspect scripts to create the arrays//crlf////tab//from a collection.  The arrays are used to create a list of drivers //crlf////tab//that can be selected\\comma\\ the inputs required for each driver (store\\comma\\ from\\comma\\ to) //crlf////tab//and the widget parameters used to display each driver when selected.//crlf////tab//==========================================================================//crlf//</conditional>//crlf//<script ID=\\quot\\JSInspectDriver\\quot\\>//crlf////tab//var arInspectDriverID=new Array(<include type:script; commands:\\quot\\//crlf////tab////tab//s=getCollection(\\quot\\Aspect_BackOffice_Driver_List\\quot\\)//crlf////tab////tab//c=getElementCount(s\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//result=\\quot\\\\quot\\//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//e1=getElement(s\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//e2=getElement(e1\\comma\\0\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab//result=addElement(result\\comma\\quote(e2))//crlf////tab////tab////tab//n++//crlf////tab////tab//endwhile//crlf////tab////tab//scriptSetResult(result)//crlf////tab//\\quot\\>);//crlf////tab//var arInspectDriverParams=new Array(<include type:script; commands:\\quot\\//crlf////tab////tab//s=getCollection(\\quot\\Aspect_BackOffice_Driver_List_Required_Params\\quot\\)//crlf////tab////tab//c=getElementCount(s\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//result=\\quot\\\\quot\\//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//e1=getElement(s\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//e2=getElement(e1\\comma\\1\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab//result=addElement(result\\comma\\quote(e2))//crlf////tab////tab////tab//n++//crlf////tab////tab//endwhile//crlf////tab////tab//scriptSetResult(result)//crlf////tab//\\quot\\>);//crlf////tab//var arInspectWidgetParams=new Array(<include type:script; commands:\\quot\\//crlf////tab////tab//s=getCollection(\\quot\\Aspect_BackOffice_Driver_List_Widget_Params\\quot\\)//crlf////tab////tab//c=getElementCount(s\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//result=\\quot\\\\quot\\//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//e1=getElement(s\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//e2=\\quot\\\\quot\\//crlf////tab////tab////tab//p=pos(\\quot\\=\\quot\\\\comma\\e1)//crlf////tab////tab////tab//if((p>=0) and (pos(\\quot\\==\\quot\\\\comma\\e1)<0))//crlf////tab////tab////tab////tab//e2=substring(e1\\comma\\p+1)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//result=addElement(result\\comma\\quote(e2))//crlf////tab////tab////tab//n++//crlf////tab////tab//endwhile//crlf////tab////tab//scriptSetResult(result)//crlf////tab//\\quot\\>);//crlf////crlf////tab//<conditional expression:false>//crlf////tab//==========================================================================//crlf////tab//Called when a driver is selected in the drop-down list.  Shows or hides//crlf//`//tab//the input fields - store\\comma\\ from date and to date.//crlf////tab//==========================================================================//crlf////tab//</conditional>//crlf////tab//function inspectDriverSelected(Salt) {//crlf////tab////tab//var DriverID=document.getElementById(\\quot\\DriverID\\quot\\+Salt).value;//crlf////tab////tab//for(var i=0;i<arInspectDriverID.length;i++) {//crlf////tab////tab////tab//if(arInspectDriverID[i].equalsIgnoreCase(DriverID)) {//crlf////tab////tab////tab////tab//var sParams=\\quot\\//power//\\quot\\+arInspectDriverParams[i].toUpperCase();//crlf////tab////tab////tab////tab//setVisible(Salt+\\quot\\StoreInput\\quot\\\\comma\\sParams.indexOf(\\quot\\//power//STORE\\quot\\)>=0);//crlf////tab////tab////tab////tab//setVisible(Salt+\\quot\\FromInput\\quot\\\\comma\\sParams.indexOf(\\quot\\//power//FROM\\quot\\)>=0);//crlf////tab////tab////tab////tab//setVisible(Salt+\\quot\\ToInput\\quot\\\\comma\\sParams.indexOf(\\quot\\//power//TO\\quot\\)>=0);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf////crlf////tab//<conditional expression:false>//crlf////tab//==========================================================================//crlf////tab//Called when the icon is clicked to display a driver.  Creates a url using//crlf////tab//the appropriate widget parameters and updates a div using the url.//crlf////tab//==========================================================================//crlf////tab//</conditional>//crlf////tab//function inspectDriver(Salt) {//crlf////tab////tab//var DriverID=document.getElementById(\\quot\\DriverID\\quot\\+Salt).value;//crlf////tab////tab//for(var i=0;i<arInspectDriverID.length;i++) {//crlf////tab////tab////tab//if(arInspectDriverID[i].equalsIgnoreCase(DriverID)) {//crlf////tab////tab////tab////tab//var sParams=arInspectWidgetParams[i];//crlf////tab////tab////tab////tab//sParams +=\\quot\\//amp//StoreID=\\quot\\+document.getElementById(\\quot\\Store\\quot\\+Salt).value;//crlf////tab////tab////tab////tab//sParams +=\\quot\\//amp//DateFrom=\\quot\\+document.getElementById(\\quot\\From\\quot\\+Salt).value;//crlf////tab////tab////tab////tab//sParams +=\\quot\\//amp//DateTo=\\quot\\+document.getElementById(\\quot\\To\\quot\\+Salt).value;//crlf////tab////tab////tab////tab//sParams +=\\quot\\//amp//Date=\\quot\\+document.getElementById(\\quot\\To\\quot\\+Salt).value;//crlf////tab////tab////tab////tab//var e=document.getElementById(Salt+\\quot\\DriverOutput\\quot\\);//crlf////tab////tab////tab////tab//var Source=e.getAttribute(\\quot\\Source\\quot\\);//crlf////tab////tab////tab////tab//var url=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget\\quot\\;//crlf////tab////tab////tab////tab//url +=\\quot\\//amp//Source=\\quot\\+Source+\\quot\\//amp//\\quot\\+sParams;//crlf////tab////tab////tab////tab////alert(\\quot\\url=\\quot\\+url);//crlf////tab////tab////tab////tab//e.setAttribute(\\quot\\url\\quot\\\\comma\\url);//crlf////tab////tab////tab////tab//setInterval(e\\comma\\0\\comma\\true);//crlf////tab////tab////tab//};//crlf////tab////tab//};//crlf////tab//};//crlf//</script>//crlf////crlf//<conditional expression:false>//crlf//==========================================================================//crlf//This is the form used to get the driver\\comma\\ store and date from/to//crlf//==========================================================================//crlf//</conditional>//crlf//<form name=\\quot\\Form__salt__\\quot\\>//crlf////crlf////tab//<conditional expression:false>//crlf////tab//==========================================================================//crlf////tab//The driver selection is always displayed//crlf////tab//==========================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:Collection;//crlf////tab////tab//ID:\\quot\\DriverID__salt__\\quot\\;//crlf////tab////tab//Name:\\quot\\SelectDriver\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Driver_List\\quot\\;//crlf////tab////tab//Selected:\\quot\\select\\quot\\;//crlf////tab////tab//HtmlParams:onChange=\\quot\\inspectDriverSelected('__salt__')\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//<conditional expression:false>//crlf////tab//==========================================================================//crlf////tab//One of three store selections is displayed - stores\\comma\\ groups or stores and groups //crlf////tab//==========================================================================//crlf////tab//</conditional>//crlf////tab//<span ID=\\quot\\__salt__StoreInput\\quot\\ style=\\quot\\display:__DisplayStore__\\quot\\>//crlf////tab////tab//<conditional expression:(\\quot\\__select__\\quot\\=\\quot\\store\\quot\\)>//crlf////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab//ID:\\quot\\Store__salt__\\quot\\;//crlf////tab////tab////tab////tab//Name:\\quot\\SelectStore\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<conditional expression:(\\quot\\__select__\\quot\\=\\quot\\group\\quot\\)>//crlf////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab//ID:\\quot\\Store__salt__\\quot\\;//crlf////tab////tab////tab////tab//Name:\\quot\\SelectStore\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Store_Group_By_ID\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//<conditional expression:(\\quot\\__select__\\quot\\=\\quot\\all\\quot\\)>//crlf////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab//ID:\\quot\\Store__salt__\\quot\\;//crlf////tab////tab////tab////tab//Name:\\quot\\SelectStore\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Stores_And_Groups\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</conditional>//crlf////tab//</span>//crlf////crlf////tab//<conditional expression:false>//crlf////tab//==========================================================================//crlf////tab//From date//crlf////tab//==========================================================================//crlf////tab//</conditional>//crlf////tab//<span ID=\\quot\\__salt__FromInput\\quot\\ style=\\quot\\display:__DisplayFrom__\\quot\\>//crlf////tab////tab//<input type=\\quot\\text\\quot\\ name=\\quot\\__salt__From\\quot\\ value=\\quot\\06-29-2015\\quot\\ style=\\quot\\width:80px\\quot\\ ID=\\quot\\From__Salt__\\quot\\ control=\\quot\\date\\quot\\>//crlf////tab//</span>//crlf////crlf////tab//<conditional expression:false>//crlf////tab//==========================================================================//crlf////tab//To date//crlf////tab//==========================================================================//crlf////tab//</conditional>//crlf////tab//<span ID=\\quot\\__salt__ToInput\\quot\\ style=\\quot\\display:__DisplayTo__\\quot\\>//crlf////tab////tab//<input type=\\quot\\text\\quot\\ name=\\quot\\__salt__To\\quot\\ value=\\quot\\07-05-2015\\quot\\ style=\\quot\\width:80px\\quot\\ ID=\\quot\\To__Salt__\\quot\\ control=\\quot\\date\\quot\\>//crlf////tab//</span>//crlf////crlf////tab//<conditional expression:false>//crlf////tab//==========================================================================//crlf////tab//This is the icon clicked to display a driver.//crlf////tab//==========================================================================//crlf////tab//</conditional>//crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab//sFunc=\\quot\\inspectDriver('__salt__')\\quot\\//crlf////tab////tab//htmlParams=\\quot\\class='hyperlink' style='position:relative\\quot\\+char(0x3b)+\\quot\\top:5px\\quot\\+char(0x3b)+\\quot\\left:10px' onClick=\\quot\\+quote(sFunc)//crlf////tab////tab//s=img(\\quot\\edit.gif\\quot\\\\comma\\htmlParams)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</form>//crlf////crlf//<conditional expression:false>//crlf//==========================================================================//crlf//When a driver is selected\\comma\\ the url in this div is updated and the div is//crlf//refreshed using setInterval().//crlf//==========================================================================//crlf//</conditional>//crlf//<div ID=\\quot\\__salt__DriverOutput\\quot\\ Source=\\quot\\{AspectHashID}\\quot\\></div>//crlf////crlf//<div style=\\quot\\width:800px;height:100px\\quot\\></div>^
ID=drivers|X=183|Y=32|W=1064|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=25461|AttachLeft=|AlignLeft=25461|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//==================================================================//crlf//This item is used to create the aspect_backoffice\drivers.csv file.//crlf//This file lists all of the drivers that can be viewed and edited.//crlf//These drivers are opened using the inspect_driver container item.//crlf////crlf//The table below is formatted as://crlf////crlf//Driver ID\\comma\\ Description\\comma\\ Required Params\\comma\\ Widget Params//crlf////crlf//Driver ID is the ID of the driver.  It doesn't necessarily have//crlf////tab//to correspond to an actual driver ID.  Any ID could be used since//crlf////tab//the widget params are used to open the driver//crlf////crlf//Description - A description of the driver//crlf////crlf//Required Params - A //power// delimited list containing the possible values//crlf////tab//store\\comma\\ from\\comma\\ to.  These are used to show or hide inputs as necessary//crlf////tab//when opening the driver.//crlf////crlf//Widget Params - The widget params used to open the driver.  The//crlf////tab//store\\comma\\ from and to values are appended to the params when the//crlf////tab//widget is opened.//crlf//==================================================================//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\updateFile\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//s=getWidget(\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Notification Container//amp//ContainerItemID=drivers//amp//Action=getList\\quot\\)//crlf////crlf////tab////tab////remove tabs//crlf////tab////tab//s=replaceSubstring(s\\comma\\char(9)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab//fileWriteContent(getToken(\\quot\\homedir\\quot\\)+\\quot\\aspect_backoffice\drivers.csv\\quot\\\\comma\\trim(s))//crlf////tab////tab////scriptSetResult(\\quot\\Ok: Updated back-office driver list in drivers.csv\\quot\\)//crlf////tab////tab////scriptSetResult(\\quot\\Ok\\quot\\)//crlf////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab//\\quot\\> //crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\getList\\quot\\)>//crlf////tab//select\\comma\\Select Driver//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//0\\comma\\*** Documentation ***//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//Documentation\\comma\\Documentation\\comma\\\\comma\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Notification Container//amp//ContainerItemID=689975//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//0\\comma\\*** Sales ***//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//POS_Generic_Daily_Sales\\comma\\Daily Sales\\comma\\store//power//to\\comma\\DocumentID=VWaUGu88BMN0hDYWzZj57VpG//amp//Widget=Daily Sales//amp//ContainerItemID=daily_sales//crlf////tab//POS_Generic_Check_Detail_Dta\\comma\\Check Details\\comma\\store//power//to\\comma\\DocumentID=VWaUGu88BMN0hDYWzZj57VpG//amp//Widget=Daily Sales//amp//ContainerItemID=check_details//crlf////tab//POS_Generic_SalesMix_Dta\\comma\\Sales Mix\\comma\\store//power//to\\comma\\DocumentID=VWaUGu88BMN0hDYWzZj57VpG//amp//Widget=Sales Drivers//amp//ContainerItemID=858896//crlf////tab//POS_Generic_Sales_Summary\\comma\\Sales Summary\\comma\\store//power//from//power//to\\comma\\DocumentID=VWaUGu88BMN0hDYWzZj57VpG//amp//Widget=Sales Summary//amp//ContainerItemID=sales_summary//crlf////tab//POS_Generic_Sales_Summary_Driverstruct\\comma\\Sales Structure\\comma\\store\\comma\\DocumentID=VWaUGu88BMN0hDYWzZj57VpG//amp//Widget=Sales Structure//amp//ContainerItemID=sales_structure//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//0\\comma\\*** Labor ***//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//POS_Generic_JobCode_Dta\\comma\\JobCodes\\comma\\store\\comma\\DocumentID=oi85fK8kFTQDVVcRTsBH6W5i//amp//Widget=Labor Drivers//amp//ContainerItemID=364243//crlf////tab//POS_Generic_Employee_Dta\\comma\\Employees\\comma\\store\\comma\\DocumentID=oi85fK8kFTQDVVcRTsBH6W5i//amp//Widget=Labor Drivers//amp//ContainerItemID=406328//crlf////tab//POS_Generic_Labor_Detail_Dta\\comma\\Daily Labor\\comma\\store//power//to\\comma\\DocumentID=oi85fK8kFTQDVVcRTsBH6W5i//amp//Widget=Labor Drivers//amp//ContainerItemID=380092//crlf////tab//POS_Generic_Labor_Detail_Dta_Consolidated\\comma\\Labor Detail\\comma\\store//power//from//power//to\\comma\\DocumentID=oi85fK8kFTQDVVcRTsBH6W5i//amp//Widget=Labor Drivers//amp//ContainerItemID=582639//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//0\\comma\\*** Inventory Items ***//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//Aspect_Back_Office_Inventory_Item_Group\\comma\\Inventory Item Groups\\comma\\store\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=680528//crlf////tab//Aspect_Back_Office_Inventory_Item\\comma\\Inventory Items\\comma\\store\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=139558//crlf////tab//Aspect_Back_Office_Conversions\\comma\\Conversions\\comma\\store\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=867471//crlf////tab//Aspect_Back_Office_Size\\comma\\Sizes\\comma\\store\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=98169//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//0\\comma\\*** Menu Items ***//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//POS_Generic_Menu_Item_Dta\\comma\\Menu Items (POS)\\comma\\store\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=716923//crlf////tab//Aspect_Back_Office_Menu_Item_Detail\\comma\\Menu Item Detail\\comma\\store\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=426565//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//0\\comma\\*** Inventory Count ***//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//Aspect_Back_Office_Count_Group\\comma\\Count Groups\\comma\\store\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=420191//crlf////tab//Aspect_Back_Office_Physical_Count_List\\comma\\Physical Count List\\comma\\store\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=493460//crlf////tab//Aspect_Back_Office_Physical_Count_List_All_Items\\comma\\Physical Count List (with All Items)\\comma\\store\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=493460//amp//ShowAllItems=true//crlf////tab//Aspect_Back_Office_Physical_Count\\comma\\Physical Count\\comma\\store//power//to\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=639719//crlf////tab//Aspect_BackOffice_Physical_Count_Batch_Detail\\comma\\Physical Count Batch Detail\\comma\\store//power//to\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=610700//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//0\\comma\\*** Prep Count ***//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//Aspect_Back_Office_Prep_List\\comma\\Prep List\\comma\\store\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=337711//crlf////tab//Aspect_Back_Office_Prep_List_All_Items\\comma\\Prep List (with All Items)\\comma\\store\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=694859//crlf////tab//Aspect_Back_Office_Prep_Log\\comma\\Prep Log\\comma\\store//power//to\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=594454//crlf////tab//Aspect_Back_Office_Prep_Log_Batch_Detail\\comma\\Prep Log Batch Detail\\comma\\store//power//to\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=154486//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//0\\comma\\*** Waste Count ***//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//Aspect_Back_Office_Waste_Count_List\\comma\\Waste Count List\\comma\\store\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=734354//crlf////tab//Aspect_Back_Office_Waste_Count\\comma\\Waste Count\\comma\\store//power//to\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=599267//crlf////tab//Aspect_BackOffice_Waste_Count_Batch_Detail\\comma\\Waste Count Batch Detail\\comma\\store//power//to\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=222939//crlf////tab//Aspect_BackOffice_Waste_Count_Batch_Detail_Summary\\comma\\Waste Count Batch Detail Summary\\comma\\store//power//from//power//to\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=48876//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//0\\comma\\*** Invoices ***//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//Aspect_Back_Office_Vendor\\comma\\Vendors\\comma\\store\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=829102//crlf////tab//Aspect_Back_Office_Invoice\\comma\\Invoices\\comma\\store\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=170904//crlf////tab//Aspect_Back_Office_Invoice_Detail\\comma\\Invoice Details\\comma\\store//power//To\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=10476//crlf////tab//Aspect_Back_Office_Invoice_Detail_Concatenated\\comma\\Invoice Details (Concatenated)\\comma\\store\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=726284//crlf////tab//Aspect_Back_Office_Invoice_Detail_Summary\\comma\\Invoice Detail Summary\\comma\\store//power//From//power//To\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=284436//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//0\\comma\\*** Legitimate Usages ***//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//Aspect_Back_Office_Legitimate_Usage\\comma\\Legitimate Usage\\comma\\store//power//To\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=92301//crlf////tab//Aspect_Back_Office_Legitimate_Usage_Summary\\comma\\Legitimate Usage Summary\\comma\\store//power//From//power//To\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=609798//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//0\\comma\\*** Dependent Drivers ***//crlf////tab//0\\comma\\---------------------------------------------//crlf////tab//Aspect_Back_Office_Daily_Inventory_Summary\\comma\\Daily Inventory Summary\\comma\\store//power//To\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=441164//crlf////tab//Aspect_BackOffice_Period_Inventory_Summary\\comma\\Period Inventory Summary\\comma\\store//power//From//power//To\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=515979//crlf////tab//Aspect_Back_Office_Inventory_Extensions\\comma\\Inventory Extensions\\comma\\store//power//From//power//To\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=205178//crlf////tab//Aspect_Back_Office_Inventory_Extensions_Part1\\comma\\Inventory Extensions (Part 1)\\comma\\store//power//From//power//To\\comma\\DocumentID=KAV7tpXDgrrC34l3qOMpj1Sy//amp//Widget=Inventory Drivers//amp//ContainerItemID=117863//crlf//</conditional>//crlf//^
ID=689975|X=183|Y=32|W=851|H=712|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=25461|AttachLeft=|AlignLeft=25461|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h1>Driver Documentation</h1>//crlf////crlf//<h2>Physical Count</h2>//crlf//<h2>Waste Count</h2>//crlf//<h2>Prep Count</h2>^
ID=33317|X=183|Y=32|W=812|H=616|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=25461|AttachLeft=|AlignLeft=25461|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<script ID=\\quot\\JS-BackOffice\\quot\\>//crlf////tab//function closeInspectWindow(EditWindowID) {//crlf////tab////tab////don't allow closing of the actual container item during development//crlf////tab////tab//if(EditWindowID.equalsIgnoreCase(\\quot\\26020\\quot\\)) return;//crlf////tab////tab//if(EditWindowID.equalsIgnoreCase(\\quot\\__EditWindowID__\\quot\\)) return;//crlf////crlf////tab////tab//var e=document.getElementById(EditWindowID);//crlf////tab////tab//if(e) e.parentNode.removeChild(e);//crlf////tab//};//crlf////crlf////tab//function createInspectWindow(eClicked) {//crlf////tab////tab////get coordinates for new item//crlf////tab////tab//var xy=getPosition2012(eClicked\\comma\\\\quot\\absolute\\quot\\\\comma\\document.getElementsByTagName('BODY')[0]);//crlf////tab////tab//var X=xy[0];//crlf////tab////tab//var Y=xy[1]+eClicked.offsetHeight;//crlf////crlf////tab////tab////create a new item//crlf////tab////tab//var e=newTarget();//crlf////tab////tab//e.setAttribute(\\quot\\Temporary\\quot\\\\comma\\true);//crlf////tab////tab//e.setAttribute(\\quot\\RawWidth\\quot\\\\comma\\\\quot\\820\\quot\\);//crlf////tab////tab//e.setAttribute(\\quot\\RawHeight\\quot\\\\comma\\\\quot\\500\\quot\\);//crlf////tab////tab//e.setAttribute(\\quot\\AutoHeight\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////tab////tab//e.setAttribute(\\quot\\AutoWidth\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////tab////tab//e.setAttribute(\\quot\\Background\\quot\\\\comma\\\\quot\\white\\quot\\);//crlf////tab////tab//e.setAttribute(\\quot\\DragDeployed\\quot\\\\comma\\\\quot\\true\\quot\\);//crlf////tab////tab//e.setAttribute(\\quot\\ProcessContent\\quot\\\\comma\\false);//crlf////tab////tab//e.setAttribute(\\quot\\LockEditing\\quot\\\\comma\\true);//crlf////tab////tab//e.setAttribute(\\quot\\zindex\\quot\\\\comma\\3);//crlf////tab////tab//e.style.zIndex=3;//crlf////tab////tab//e.style.width=\\quot\\auto\\quot\\;//crlf////tab////tab//e.style.height=\\quot\\auto\\quot\\;//crlf////tab////tab//e.style.borderStyle=\\quot\\solid\\quot\\;//crlf////tab////tab//e.style.borderWidth=\\quot\\1\\quot\\;//crlf////tab////tab//e.style.borderColor=\\quot\\black\\quot\\;//crlf////crlf////tab////tab//e.style.left=X+\\quot\\px\\quot\\;//crlf////tab////tab//e.style.top=Y+\\quot\\px\\quot\\;//crlf////crlf////tab////tab//var s=\\quot\\<div style='width:100\\percent\\;height:10px;background-color://pound//c9c9c9'></div>\\quot\\;//crlf////tab////tab//s +=\\quot\\<img class='hyperlink' style='position:absolute;top:10px;right:5px;z-index=99' src='{ImageHostUrl}close20x20.png' onClick='closeInspectWindow(\\\quot\\\\quot\\+e.id+\\quot\\\\\quot\\)'>\\quot\\;//crlf////tab////tab//e.innerHTML=s;//crlf////tab////tab//e.setAttribute(\\quot\\RawContent\\quot\\\\comma\\e.innerHTML);//crlf////crlf////tab////tab//return(e);//crlf////tab//};//crlf//</script>^
ID=72036|X=183|Y=32|W=778|H=649|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=25461|AttachLeft=|AlignLeft=25461|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<style ID=\\quot\\CSS-BackOffice\\quot\\>//crlf////tab//td.inspect {background-color://pound//e9e9e9}//crlf////tab//td.inspect:hover {background-color://pound//c7c7c7;cursor:pointer;;border:solid 2px black}//crlf////tab//div.inspect_div {padding-left:5px;padding-right:5px}//crlf//</style>//crlf//^
ID=348560|X=183|Y=32|W=1012|H=624|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=25461|AttachLeft=|AlignLeft=25461|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<conditional expression:(true) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACKOFFICE_STORE\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_STORE\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Driver Dialogs~~pipe~~Aspect_BackOffice_Store~~pipe~~Aspect7Store~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf//^
ID=177137|X=183|Y=32|W=761|H=685|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=25461|AttachLeft=|AlignLeft=25461|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<conditional expression:(true) or (\\quot\\__action__\\quot\\=\\quot\\getStoreGroups\\quot\\)>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACKOFFICE_STORE_GROUP\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_STORE_GROUP\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\ID\\comma\\Name\\comma\\Description\\comma\\Sub_Of_ID\\comma\\Parent\\comma\\Sort_Key\\comma\\IsSubOfParent\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Driver Dialogs~~pipe~~Aspect_BackOffice_Store_Group~~pipe~~Aspect7StoreGroup~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf//</conditional>^
ID=143531|X=183|Y=32|W=827|H=612|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=25461|AttachLeft=|AlignLeft=25461|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<conditional expression:(true) or (\\quot\\__action__\\quot\\=\\quot\\getTimePeriods\\quot\\)>//crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACKOFFICE_TIME_PERIOD\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_TIME_PERIOD\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\-1\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Driver Dialogs~~pipe~~Aspect_BackOffice_Time_Periods~~pipe~~ASPECT_BACKOFFICE_TIME_PERIOD~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf//</conditional>^
ID=563738|X=183|Y=32|W=1073|H=599|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=25461|AttachLeft=|AlignLeft=25461|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!include type:driver;//crlf////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab//title: \\quot\\\\quot\\;//crlf////tab//ID: \\quot\\\\quot\\;//crlf////tab//HashID: \\quot\\\\quot\\;//crlf////tab//driver: \\quot\\ASPECT_BACK_OFFICE_POS_SYNCH\\quot\\;//crlf////tab//name: \\quot\\\\quot\\;//crlf////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab//dispose: \\quot\\false\\quot\\;//crlf////tab//state: \\quot\\\\quot\\;//crlf////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_POS_SYNCH\\quot\\;//crlf////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab//display: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\\\quot\\;//crlf////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab//sort: \\quot\\ID\\quot\\;//crlf////tab//filter: \\quot\\true\\quot\\;//crlf////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab//height:\\quot\\auto\\quot\\;//crlf////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab//EditDialogID: \\quot\\ASPECT_BACK_OFFICE_POS_SYNCHDialog\\quot\\;//crlf////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab//Menu: \\quot\\\\quot\\;//crlf////tab//Messages: \\quot\\true\\quot\\;//crlf////tab//ChartType: \\quot\\\\quot\\;//crlf////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab//debug: \\quot\\false\\quot\\;//crlf//>//crlf////crlf//<div style=\\quot\\width:100px;height:400px\\quot\\></div>^
ID=396084|X=183|Y=32|W=831|H=602|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=25461|AttachLeft=|AlignLeft=25461|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getContent\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Enabling auto-import of polling files\\quot\\)//crlf////tab////tab//setToken(\\quot\\Aspect_BackOffice_Pref_Poll_AutoImport\\quot\\\\comma\\\\quot\\true\\quot\\)//crlf////tab////tab//driverOpen(\\quot\\Aspect_BackOffice_Preferences\\quot\\\\comma\\d\\comma\\WRITE)//crlf////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Aspect_BackOffice_Pref_Poll_AutoImport\\quot\\\\comma\\0\\comma\\\\quot\\true\\quot\\)//crlf////tab////tab//driverClose(d)//crlf////tab////tab//appendToLog(\\quot\\Before read pref Aspect_BackOffice_Pref_Poll_AutoImport=\\quot\\+getToken(\\quot\\Aspect_BackOffice_Pref_Poll_AutoImport\\quot\\))//crlf////tab////tab//scriptExec(Aspect_BackOffice_Preferences_Read\\comma\\true)//crlf////tab////tab//appendToLog(\\quot\\After read pref Aspect_BackOffice_Pref_Poll_AutoImport=\\quot\\+getToken(\\quot\\Aspect_BackOffice_Pref_Poll_AutoImport\\quot\\))//crlf////tab////tab//scriptSetResult(\\quot\\Aspect_BackOffice_Pref_Poll_AutoImport=\\quot\\+getToken(\\quot\\Aspect_BackOffice_Pref_Poll_AutoImport\\quot\\))//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=690373|X=183|Y=32|W=967|H=805|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=25461|AttachLeft=|AlignLeft=25461|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(true) or (\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:widget; //crlf////tab////tab//server:{AspectServerHashID}; //crlf////tab////tab//secure:false; //crlf////tab////tab//documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; //crlf////tab////tab//widget:\\quot\\Support Tasks\\quot\\; //crlf////tab////tab//containerItemID:\\quot\\905764\\quot\\; //crlf////tab////tab//params:\\quot\\getContent=true\\quot\\;>//crlf//</conditional>//crlf////crlf//^
ID=881679|X=183|Y=32|W=947|H=706|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=25461|AttachLeft=|AlignLeft=25461|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@getUIViewsState()}//crlf//</state>//crlf////crlf//<include type:view; viewid:\\quot\\9HbyZhcE\\quot\\; Source:\\quot\\\\quot\\; params:\\quot\\\\quot\\;>//crlf////crlf//^
ID=929364|X=183|Y=32|W=979|H=817|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=25461|AttachLeft=|AlignLeft=25461|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowerCase(getSalt(4)))>//crlf////crlf//<conditional expression:(true) or (\\quot\\__getcontent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!-- Dialog used to edit a record -->//crlf////tab//<div ID=\\quot\\ASPECT6_INTEGER_IDDialog\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:auto; min-width:300px; display:none;\\quot\\>//crlf////tab////tab//<div style=\\quot\\padding:5px;width:100\\percent\\\\quot\\>//crlf////tab////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////crlf////tab////tab////tab//<!-- The TableEditDialogTabsContainerExclusive and TableEditDialogSelectContainerExclusive//crlf////tab////tab////tab////tab//classes are used to make either the tabs or the select box visible\\comma\\ depending on the//crlf////tab////tab////tab////tab//size of the browser.  If only one or two tabs are to be included\\comma\\ the //crlf////tab////tab////tab////tab//TableEditDialogTabsContainer class can be used for the tabs and the select box can//crlf////tab////tab////tab////tab//be ommitted.//crlf////tab////tab////tab//-->//crlf////tab////tab////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__Value')\\quot\\>Value</span></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//tab////crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab//<select onChange=\\quot\\showTab(this);this.blur();\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab////tab//<option value='__salt__main'>Main</option>//crlf////tab////tab////tab////tab//</select>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<!-- Value -->//crlf////tab////tab////tab//<div ID=\\quot\\__salt__Value\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Value</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:300px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Value\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Contains text//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab//ID:\\quot\\__salt__FilterContainsText\\quot\\;//crlf////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab//Expression:\\quot\\gte(pos('$value$'\\comma\\Value)\\comma\\0\\comma\\n)\\quot\\;//crlf////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\placeholder='Contains text'\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab//>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT6_INTEGER_ID\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=DiskIndex~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT6_INTEGER_ID\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\300\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab//InsertPosition: \\quot\\top\\quot\\;//crlf////tab////tab//RefreshOnDataSubmit: \\quot\\true\\quot\\;//crlf////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT6_INTEGER_IDDialog\\quot\\;//crlf////tab////tab//_EditDialogID: \\quot\\DocumentID~~pipe~~Widget~~pipe~~Item~~pipe~~ASPECT6_INTEGER_ID~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\__salt__FilterContainsText\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf//</conditional>^
ID=685780|X=183|Y=32|W=448|H=295|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=25461|AttachLeft=|AlignLeft=25461|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Site Map - Customer Support//crlf//--------------------------------------------------------------------------]//crlf////tab////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<include type:script; commands:\\quot\\//crlf////tab//s=\\quot\\Customer_Support_General\\quot\\//crlf////tab//if(getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)=\\quot\\store\\quot\\)//crlf////tab////tab//s=addElement(s\\comma\\\\quot\\Customer_Support_POSGeneral\\quot\\)//crlf////tab////tab//if(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Heartland\\quot\\)//crlf////tab////tab////tab//s=addElement(s\\comma\\\\quot\\Customer_Support_POSHeartland\\quot\\)//crlf////tab////tab//endif//crlf////tab//endif//crlf////tab//return(htmlConstant(\\quot\\GuideParams\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\s))//crlf//\\quot\\>//crlf////crlf//<!include type:view; viewid:\\quot\\xAD6VG6s\\quot\\; Source:\\quot\\\\quot\\; params:\\quot\\Tags=__GuideParams__\\quot\\;>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Contact info.  Skip two lines if it\\apos\\s an office because there will be no elements//crlf//to display in the guide and there will not be a header//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression; expression:not(getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)=\\quot\\store\\quot\\)>//crlf////tab//<br><br>//crlf//</conditional>//crlf////crlf//<table>//crlf////tab//<tr><td>support@aspect-software.net</td></tr>//crlf////tab//<tr><td>406-273-8586</td></tr>//crlf//</table>
</widget><widget name="UI Param Definitions" group="UI 2015" category="" description="Parameter definitions for views" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Ui Param Definitions" modified="06-07-2019 00:52:29" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=03-08-2019 22:20:58:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=1004|toolboxy=113|aspectfuncx=202|aspectfuncy=100|aspectfuncw=841|aspectfunch=814|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=UI Param Definitions.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=237682|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<select onChange=\\quot\\showTab(this)\\quot\\>//crlf////tab//<option value='1047'>Select Company</option>//crlf////tab//<option value='72279'>Select Computer</option>//crlf////tab//<option value='737595'>Select Store</option>//crlf////tab//<option value='467527'>Select Store / Group</option>//crlf////tab//<option value='739268'>Identifiers</option>//crlf////tab//<option value='239633'>Sales Mix</option>//crlf////tab//<option value='252517'>Check Headers</option>//crlf////tab//<option value='248039'>Check Details</option>//crlf////tab//<option value='710461'>Select Store Directory</option>//crlf////tab//<option value='403339'>Select POS ID</option>//crlf////tab//<option value='478014'>Select POS DataType For Synch Past Data</option>//crlf////tab//<option value='792750'>Select Aspect6 XML Report</option>//crlf////tab//<option value='385921'>Select Payroll Export Format</option>//crlf////tab//<option value='189750'>Select Invoice Export Format</option>//crlf////tab//<option value='113313'>Select Sales Export Format</option>//crlf////tab//<option value='854322'>Select Controllables Period</option>//crlf////tab//<option value='951343'>Select Enterprise Report Period (Old)</option>//crlf////tab//<option value='485232'>Select Enterprise Report Period</option>//crlf////tab//<option value='434664'>Select Enterprise Store</option>//crlf////tab//<option value='45973'>Select Restaurant Manager Current Data Driver</option>//crlf//</select>//crlf//^
ID=1047|X=183|Y=32|W=841|H=641|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__ParamID__//crlf////tab//__ParamName__//crlf////tab//__CompanyID__//crlf////tab//{@if(undefined(\\quot\\__CompanyID__\\quot\\)\\comma\\getDefault(\\quot\\__ParamName__\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//1.02//crlf////tab//@now()//crlf//</state>//crlf////crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab////Note: Need to allow for including a Select option or not.  I.e. - whether to//crlf////tab////tab////tab////allow company to be unspecified //crlf////tab////tab////tab////if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!!include type:Collection;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//Name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Company_Names_By_ID\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\Status=0\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\false\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=72279|X=183|Y=32|W=841|H=641|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__ParamID__//crlf////tab//__ParamName__//crlf////tab//__CompanyID__//crlf////tab//__ComputerID__//crlf////tab//{@if(undefined(\\quot\\__ComputerID__\\quot\\)\\comma\\getDefault(\\quot\\__ParamName__\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//@now()//crlf//</state>//crlf////crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!!include type:Collection;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//Name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Computer_Names_By_ID\\quot\\;//crlf////tab////tab//Selected:\\quot\\<!include type:expression; expression:if(defined(\\quot\\__ComputerID__\\quot\\)\\comma\\\\quot\\__ComputerID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\(Status=0) and (<!include type:expression; expression:if((defined(\\quot\\__CompanyID__\\quot\\)) and (not(\\quot\\__CompanyID__\\quot\\=\\quot\\0\\quot\\))\\comma\\\\quot\\Company_ID='__CompanyID__'\\quot\\\\comma\\\\quot\\true\\quot\\)>)\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=737595|X=183|Y=32|W=841|H=641|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__ParamID__//crlf////tab//__ParamName__//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\getDefault(\\quot\\__ParamName__\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//1.02//crlf////tab//@now()//crlf//</state>//crlf////crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//Name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@if(defined(\\quot\\__StoreID__\\quot\\)\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\getDefault(\\quot\\__ParamName__\\quot\\\\comma\\0))}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=739268|X=183|Y=32|W=841|H=641|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//==============================================================================//crlf//Param definitions for POS identifier tables - comps\\comma\\ discounts\\comma\\ etc.//crlf//==============================================================================//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\StoreID\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////tab////crlf////tab//Store <!include type:Collection;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//Name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Stores_And_Groups\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamID__\\quot\\\\comma\\\\quot\\\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\DataType\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//Identifier <select//tab//name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\ onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ value=\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\>//crlf////tab////tab//<option value=\\quot\\id_menu_categories\\quot\\>Menu Categories</option>//crlf////tab////tab//<option value=\\quot\\id_menu_items\\quot\\>Menu Items</option>//crlf////tab////tab//<option value=\\quot\\id_employee_records\\quot\\>Employee Records</option>//crlf////tab////tab//<option value=\\quot\\id_job_codes\\quot\\>Job Code Names</option>//crlf////tab////tab//<option value=\\quot\\id_discount\\quot\\>Discount Names</option>//crlf////tab////tab//<option value=\\quot\\id_comps\\quot\\>Comp Names</option>//crlf////tab////tab//<option value=\\quot\\id_departments\\quot\\>Department Names</option>//crlf////tab////tab//<option value=\\quot\\id_gift_certificates\\quot\\>Gift Certificate Names</option>//crlf////tab////tab//<option value=\\quot\\id_paid_in\\quot\\>Paid In Names</option>//crlf////tab////tab//<option value=\\quot\\id_paid_out\\quot\\>Paid Out Names</option>//crlf////tab////tab//<option value=\\quot\\id_revenue_centers\\quot\\>Revenue Center Names</option>//crlf////tab////tab//<option value=\\quot\\id_tax\\quot\\>Tax Names</option>//crlf////tab////tab//<option value=\\quot\\id_tender\\quot\\>Tender Names</option>//crlf////tab////tab//<option value=\\quot\\id_void\\quot\\>Void Names</option>//tab//</select>//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\orientation\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//Combine //crlf////tab//<select//tab//name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\ onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ value=\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\>//crlf////tab////tab//<option value=\\quot\\vertical\\quot\\>Vertical</option>//crlf////tab////tab//<option value=\\quot\\Horizontal\\quot\\>Side By Side</option>//crlf////tab//</select>//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\Key\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<conditional expression:(\\quot\\__Orientation__\\quot\\=\\quot\\horizontal\\quot\\)>//crlf////tab////tab//Key //crlf////tab////tab//<select//tab//name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\ onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ value=\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\>//crlf////tab////tab////tab//<option value=\\quot\\Name\\quot\\>Name</option>//crlf////tab////tab////tab//<option value=\\quot\\Number\\quot\\>Number</option>//crlf////tab////tab//</select>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__Orientation__\\quot\\=\\quot\\horizontal\\quot\\)>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\ value=\\quot\\\\quot\\>//crlf////tab//</conditional>//crlf////crlf//</conditional>//crlf////crlf////crlf//^
ID=239633|X=183|Y=32|W=841|H=641|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//==============================================================================//crlf//Param definitions for consolidated sales mix//crlf//==============================================================================//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\StoreID\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////tab////crlf////tab//Store <!include type:Collection;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//Name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Stores_And_Groups\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamID__\\quot\\\\comma\\\\quot\\\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\DateFrom\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value.length==0) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////tab////crlf////tab//<form name=\\quot\\{@getSalt()}__ParamID__DateForm\\quot\\ style=\\quot\\display:inline;margin:0px;padding:0px\\quot\\>//crlf////tab////tab//From //crlf////tab////tab//<input type=\\quot\\text\\quot\\ ID=\\quot\\__ParamID__\\quot\\ Name=\\quot\\__ParamName__\\quot\\ value={@getDefault(\\quot\\__ParamID__\\quot\\\\comma\\formatDate(LastBusinessDay(\\quot\\00:00\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\))} onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ style=\\quot\\width:80px\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ datatype=\\quot\\time\\quot\\ control=\\quot\\date\\quot\\>//crlf////tab//</form>//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\DateTo\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value.length==0) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////tab////crlf////tab//<form name=\\quot\\{@getSalt()}__ParamID__DateForm\\quot\\ style=\\quot\\display:inline;margin:0px;padding:0px\\quot\\>//crlf////tab////tab//To //crlf////tab////tab//<input type=\\quot\\text\\quot\\ ID=\\quot\\__ParamID__\\quot\\ Name=\\quot\\__ParamName__\\quot\\ value={@getDefault(\\quot\\__ParamID__\\quot\\\\comma\\formatDate(LastBusinessDay(\\quot\\00:00\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\))} onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ style=\\quot\\width:80px\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ datatype=\\quot\\time\\quot\\ control=\\quot\\date\\quot\\>//crlf////tab//</form>//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\orientation\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//Combine //crlf////tab//<select//tab//name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\ onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ value=\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\>//crlf////tab////tab//<option value=\\quot\\vertical\\quot\\>Vertical</option>//crlf////tab////tab//<option value=\\quot\\Horizontal\\quot\\>Side By Side</option>//crlf////tab//</select>//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\Key\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<conditional expression:(\\quot\\__Orientation__\\quot\\=\\quot\\horizontal\\quot\\)>//crlf////tab////tab//Key //crlf////tab////tab//<select//tab//name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\ onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ value=\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\>//crlf////tab////tab////tab//<option value=\\quot\\Item_Name\\quot\\>Name</option>//crlf////tab////tab////tab//<option value=\\quot\\MenuItemID\\quot\\>Number</option>//crlf////tab////tab//</select>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__Orientation__\\quot\\=\\quot\\horizontal\\quot\\)>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\ value=\\quot\\\\quot\\>//crlf////tab//</conditional>//crlf////crlf//</conditional>//crlf////crlf////crlf//^
ID=252517|X=183|Y=32|W=841|H=641|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//==============================================================================//crlf//Param definitions for consolidated sales mix//crlf//==============================================================================//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\StoreID\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////tab////crlf////tab//Store <!include type:Collection;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//Name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Stores_And_Groups\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamID__\\quot\\\\comma\\\\quot\\\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\DateFrom\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value.length==0) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////tab////crlf////tab//<form name=\\quot\\{@getSalt()}__ParamID__DateForm\\quot\\ style=\\quot\\display:inline;margin:0px;padding:0px\\quot\\>//crlf////tab////tab//From //crlf////tab////tab//<input type=\\quot\\text\\quot\\ ID=\\quot\\__ParamID__\\quot\\ Name=\\quot\\__ParamName__\\quot\\ value={@getDefault(\\quot\\__ParamID__\\quot\\\\comma\\formatDate(LastBusinessDay(\\quot\\00:00\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\))} onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ style=\\quot\\width:80px\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ datatype=\\quot\\time\\quot\\ control=\\quot\\date\\quot\\>//crlf////tab//</form>//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\DateTo\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value.length==0) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////tab////crlf////tab//<form name=\\quot\\{@getSalt()}__ParamID__DateForm\\quot\\ style=\\quot\\display:inline;margin:0px;padding:0px\\quot\\>//crlf////tab////tab//To //crlf////tab////tab//<input type=\\quot\\text\\quot\\ ID=\\quot\\__ParamID__\\quot\\ Name=\\quot\\__ParamName__\\quot\\ value={@getDefault(\\quot\\__ParamID__\\quot\\\\comma\\formatDate(LastBusinessDay(\\quot\\00:00\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\))} onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ style=\\quot\\width:80px\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ datatype=\\quot\\time\\quot\\ control=\\quot\\date\\quot\\>//crlf////tab//</form>//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\orientation\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//Combine //crlf////tab//<select//tab//name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\ onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ value=\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\>//crlf////tab////tab//<option value=\\quot\\vertical\\quot\\>Vertical</option>//crlf////tab////tab//<option value=\\quot\\Horizontal\\quot\\>Side By Side</option>//crlf////tab//</select>//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\Key\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<conditional expression:(\\quot\\__Orientation__\\quot\\=\\quot\\horizontal\\quot\\)>//crlf////tab////tab//Key //crlf////tab////tab//<select//tab//name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\ onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ value=\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\>//crlf////tab////tab////tab//<option value=\\quot\\Item_Name\\quot\\>Name</option>//crlf////tab////tab////tab//<option value=\\quot\\MenuItemID\\quot\\>Number</option>//crlf////tab////tab//</select>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__Orientation__\\quot\\=\\quot\\horizontal\\quot\\)>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\ value=\\quot\\\\quot\\>//crlf////tab//</conditional>//crlf////crlf//</conditional>//crlf////crlf////crlf//^
ID=248039|X=183|Y=32|W=841|H=641|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//==============================================================================//crlf//Param definitions for consolidated sales mix//crlf//==============================================================================//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\StoreID\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////tab////crlf////tab//Store <!include type:Collection;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//Name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Stores_And_Groups\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamID__\\quot\\\\comma\\\\quot\\\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\DateFrom\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value.length==0) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////tab////crlf////tab//<form name=\\quot\\{@getSalt()}__ParamID__DateForm\\quot\\ style=\\quot\\display:inline;margin:0px;padding:0px\\quot\\>//crlf////tab////tab//From [__ParamID__] //crlf////tab////tab//<input type=\\quot\\text\\quot\\ ID=\\quot\\__ParamID__\\quot\\ Name=\\quot\\__ParamName__\\quot\\ value={@getDefault(\\quot\\__ParamID__\\quot\\\\comma\\formatDate(LastBusinessDay(\\quot\\00:00\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\))} onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ style=\\quot\\width:80px\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ datatype=\\quot\\time\\quot\\ control=\\quot\\date\\quot\\>//crlf////tab//</form>//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\DateTo\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value.length==0) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////tab////crlf////tab//<form name=\\quot\\{@getSalt()}__ParamID__DateForm\\quot\\ style=\\quot\\display:inline;margin:0px;padding:0px\\quot\\>//crlf////tab////tab//To //crlf////tab////tab//<input type=\\quot\\text\\quot\\ ID=\\quot\\__ParamID__\\quot\\ Name=\\quot\\__ParamName__\\quot\\ value={@getDefault(\\quot\\__ParamID__\\quot\\\\comma\\formatDate(LastBusinessDay(\\quot\\00:00\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\))} onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ style=\\quot\\width:80px\\quot\\ pattern=\\quot\\MM-dd-yyyy\\quot\\ datatype=\\quot\\time\\quot\\ control=\\quot\\date\\quot\\>//crlf////tab//</form>//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\orientation\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//Combine //crlf////tab//<select//tab//name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\ onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ value=\\quot\\{@getDefault(\\quot\\__ParamID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\>//crlf////tab////tab//<option value=\\quot\\vertical\\quot\\>Vertical</option>//crlf////tab////tab//<option value=\\quot\\Horizontal\\quot\\>Side By Side</option>//crlf////tab//</select>//crlf//</conditional>//crlf////crlf//<conditional expression:(false) or (\\quot\\__ParamName__\\quot\\=\\quot\\Key\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<conditional expression:(\\quot\\__Orientation__\\quot\\=\\quot\\horizontal\\quot\\)>//crlf////tab////tab//Key //crlf////tab////tab//<select//tab//name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\ onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ value=\\quot\\{@getDefault(\\quot\\__ParamID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\>//crlf////tab////tab////tab//<option value=\\quot\\Item_Name\\quot\\>Name</option>//crlf////tab////tab////tab//<option value=\\quot\\MenuItemID\\quot\\>Number</option>//crlf////tab////tab//</select>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__Orientation__\\quot\\=\\quot\\horizontal\\quot\\)>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\ value=\\quot\\\\quot\\>//crlf////tab//</conditional>//crlf////crlf//</conditional>//crlf////crlf////crlf//^
ID=467527|X=183|Y=32|W=841|H=641|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__ParamName__//crlf////tab//__ParamDefID__//crlf////tab//{@getDefault(\\quot\\__ParamID__\\quot\\)+getDefault(\\quot\\__ParamName__\\quot\\)}//crlf////tab//{@gfs(getToken(\\quot\\homedir\\quot\\)+\\quot\\Aspect_BackOffice\store_list.dta\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//Name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Stores_And_Groups\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@if(defined(\\quot\\__StoreID__\\quot\\)\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\getDefault(\\quot\\__ParamID__\\quot\\\\comma\\0))}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=710461|X=183|Y=32|W=841|H=641|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__ParamID__//crlf////tab//__ParamName__//crlf////tab//1.02//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//__Label__ <!include type:Collection;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//Name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Select_Store_Directories_By_Name\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamID__\\quot\\\\comma\\0)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=403339|X=183|Y=32|W=841|H=641|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//Comment: \\quot\\Use ~0x3B~ for semicolon in htmlparams to separate multiple javascript commands\\quot\\;//crlf////tab////tab//Comment: \\quot\\Single or double quotes are ok in filter.  If the filter is modified using javascript\\comma\\\\quot\\;//crlf////tab////tab//Comment: \\quot\\use single quotes in the javascript.  The getHtmlSelectOptions query in the notificaiton container\\quot\\;//crlf////tab////tab//Comment: \\quot\\converts single quotes to double quotes before calling getCollection.\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//Name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_POS_Names\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=385921|X=183|Y=32|W=841|H=641|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(true) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//Comment: \\quot\\Use ~0x3B~ for semicolon in htmlparams to separate multiple javascript commands\\quot\\;//crlf////tab////tab//Comment: \\quot\\Single or double quotes are ok in filter.  If the filter is modified using javascript\\comma\\\\quot\\;//crlf////tab////tab//Comment: \\quot\\use single quotes in the javascript.  The getHtmlSelectOptions query in the notificaiton container\\quot\\;//crlf////tab////tab//Comment: \\quot\\converts single quotes to double quotes before calling getCollection.\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//Name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Payroll_Exports\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ \\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=792750|X=183|Y=32|W=841|H=641|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////tab////crlf////tab//<select//tab//name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\ onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ value=\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\6\\quot\\)}\\quot\\>//crlf////tab////tab//<option value=\\quot\\0\\quot\\>-- Select XML Export --</option>//crlf////tab////tab//<option value=\\quot\\6\\quot\\>Labor Detail</option>//crlf////tab////tab//<option value=\\quot\\5\\quot\\>Inventory Extensions</option>//crlf////tab////tab//<option value=\\quot\\2\\quot\\>Cost of Sales</option>//crlf////tab//</select>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=189750|X=183|Y=32|W=841|H=641|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(true) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//Comment: \\quot\\Use ~0x3B~ for semicolon in htmlparams to separate multiple javascript commands\\quot\\;//crlf////tab////tab//Comment: \\quot\\Single or double quotes are ok in filter.  If the filter is modified using javascript\\comma\\\\quot\\;//crlf////tab////tab//Comment: \\quot\\use single quotes in the javascript.  The getHtmlSelectOptions query in the notificaiton container\\quot\\;//crlf////tab////tab//Comment: \\quot\\converts single quotes to double quotes before calling getCollection.\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//Name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Imvoice_Export_Formats\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ \\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=113313|X=183|Y=32|W=841|H=641|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(true) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//Comment: \\quot\\Use ~0x3B~ for semicolon in htmlparams to separate multiple javascript commands\\quot\\;//crlf////tab////tab//Comment: \\quot\\Single or double quotes are ok in filter.  If the filter is modified using javascript\\comma\\\\quot\\;//crlf////tab////tab//Comment: \\quot\\use single quotes in the javascript.  The getHtmlSelectOptions query in the notificaiton container\\quot\\;//crlf////tab////tab//Comment: \\quot\\converts single quotes to double quotes before calling getCollection.\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//Name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Sales_Export\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\c:\\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\ \\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=854322|X=183|Y=32|W=912|H=725|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//This param input was used during the initial creation of the controllables //crlf//report.  That report has been replaced by the table of controllables reports.//crlf//This parameter is no longer needed and can be deleted.  The POS_Generic_Report_Period//crlf//collection can also be deleted.//crlf////crlf//Used to select a period (day\\comma\\ week\\comma\\ month) //crlf////crlf//Params://crlf////tab//None//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\POS_Generic_Report_Period\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\1\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=viewParamModified('__ParamID__')\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=478014|X=183|Y=32|W=818|H=715|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__ParamID__//crlf////tab//__ParamName__//crlf////tab//{@if(undefined(\\quot\\__StoreID__\\quot\\)\\comma\\getDefault(\\quot\\__ParamName__\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//1.02//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(Value);//crlf////crlf////tab////tab////tab////all data//crlf////tab////tab////tab//if(Value==\\quot\\1\\quot\\) return(\\quot\\check_details\\comma\\check_headers\\comma\\sales_mix\\comma\\paidinout\\comma\\othertotals\\comma\\id_menu_categories\\comma\\id_menu_items\\comma\\id_discount\\comma\\id_comps\\comma\\id_departments\\comma\\id_gift_certificates\\comma\\id_paid_in\\comma\\id_paid_out\\comma\\id_revenue_centers\\comma\\id_tax\\comma\\id_tender\\comma\\id_void\\comma\\id_menu_categories\\comma\\id_menu_items\\comma\\id_employee_records\\comma\\id_job_codes\\comma\\id_discount\\comma\\id_comps\\comma\\id_departments\\comma\\id_gift_certificates\\comma\\id_paid_in\\comma\\id_paid_out\\comma\\id_revenue_centers\\comma\\id_tax\\comma\\id_tender\\comma\\id_void\\comma\\All Data\\comma\\timeclock\\comma\\\\comma\\id_employee_records\\comma\\id_job_codes\\quot\\);//crlf////crlf////tab////tab////tab////sales//crlf////tab////tab////tab//if(Value==\\quot\\2\\quot\\) return(\\quot\\check_details\\comma\\check_headers\\comma\\sales_mix\\comma\\paidinout\\comma\\othertotals\\comma\\id_menu_categories\\comma\\id_menu_items\\comma\\id_discount\\comma\\id_comps\\comma\\id_departments\\comma\\id_gift_certificates\\comma\\id_paid_in\\comma\\id_paid_out\\comma\\id_revenue_centers\\comma\\id_tax\\comma\\id_tender\\comma\\id_void\\quot\\);//crlf////crlf////tab////tab////tab////labor//crlf////tab////tab////tab//if(Value==\\quot\\3\\quot\\) return(\\quot\\timeclock\\comma\\id_employee_records\\comma\\id_job_codes\\quot\\);//crlf////crlf////tab////tab////tab////identifiers//crlf////tab////tab////tab//if(Value==\\quot\\4\\quot\\) return(\\quot\\id_menu_categories\\comma\\id_menu_items\\comma\\id_employee_records\\comma\\id_job_codes\\comma\\id_discount\\comma\\id_comps\\comma\\id_departments\\comma\\id_gift_certificates\\comma\\id_paid_in\\comma\\id_paid_out\\comma\\id_revenue_centers\\comma\\id_tax\\comma\\id_tender\\comma\\id_void\\quot\\);//crlf////crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//Name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_POS_Data_Types_For_Import_Past_Data\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamName__\\quot\\\\comma\\0)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\viewParamModified('__ParamID__')\\quot\\\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//^
ID=951343|X=183|Y=32|W=917|H=635|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Used to select a period to the X dimension in an enterprise report.  //crlf//Available periods are Day\\comma\\ Week\\comma\\ Month and Quarter.//crlf////crlf//Params://crlf////tab//None//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\POS_Generic_Enterprise_Report_Period\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\1\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=viewParamModified('__ParamID__')\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=434664|X=183|Y=32|W=1048|H=671|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Used to select a single enterprise store//crlf////crlf//Params://crlf////tab//None//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\POS_Generic_Available_Consolidated_Store_Name_by_HashID\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\1\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=viewParamModified('__ParamID__')\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\coll=AvailableConsolidatedData\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=45973|X=183|Y=32|W=1019|H=651|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Used to select a Restaurant Manager driver containing current data from the //crlf//POS.  These drivers are copied to the Aspect7/posdata/restaurant_manager/current//crlf//directory.//crlf////crlf//Params://crlf////tab//None//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\POS_Restaurant_Manager_Drivers_For_Current_Data\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\1\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=viewParamModified('__ParamID__')\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=485232|X=183|Y=32|W=974|H=696|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=237682|AttachLeft=|AlignLeft=237682|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//Used to select a period to the X dimension in an enterprise report.  //crlf//Available periods are Day\\comma\\ Week\\comma\\ Month and Quarter.//crlf////crlf//Params://crlf////tab//None//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!include type:Collection;//crlf////tab////tab//name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Select_Date_Range\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\1\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=viewParamModified(\\apos\\__ParamID__\\apos\\)\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//
</widget><widget name="Process Aloha Grind Files - 2015" group="POS Interface" category="Aloha" description="Contains agent actions used to copy the original Aloha grind files to the Aspect7/posdata directory.  The itm and cit files are processed to include only the menu items actually sold on the day being copied.  The agent runs every 60 seconds as needed and updates all days in the period specified in the store settings." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Process Aloha Grind Files - 2015" modified="03-07-2024 04:51:55" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=10-18-2015 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=1 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(hour(now())\\gt\\4) and (not(isServer())) and (getToken(\\quote\\AspectCoreVersion\\quote\\)\\gt\\=7.401) and (isPackageLoaded(\\quote\\POS_Aloha\\quote\\)) and (getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\aloha\\quote\\)" TaskConditional_Expression_Description="" TaskState_Function="getFilespecState(getToken(\\quote\\RequiredPOSExportFiles\\quote\\))+getFilespecState(getToken(\\quote\\RequiredPOSDataFiles\\quote\\))+gfs(getToken(\\quote\\homedir\\quote\\)+\\quote\\Aspect_BackOffice/store_list.dta\\quote\\)" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=29|toolboxy=229|aspectfuncx=198|aspectfuncy=100|aspectfuncw=875|aspectfunch=817|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Process Aloha Grind Files - 2015.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=870|H=664|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'100961')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'903538')\\quot\\>Agent Expressions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'291102')\\quot\\>Condition/State</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'646784')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=100961|X=1500|Y=25|W=870|H=664|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=25|W=870|H=664|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=25|W=870|H=664|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files - 2015.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=1500|Y=25|W=870|H=664|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__Action__//crlf////tab//__Action_list__//crlf////tab//__ActionDescription__//crlf////tab//__ActionParams__//crlf////tab//__ActionReturns__//crlf////tab//__ActionExec__//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files - 2015.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Process Aloha Grind Files - 2015\\comma\\processAlohaFiles_Day\\comma\\action_list\\comma\\Action=processAlohaFiles_Day\\comma\\private//crlf////tab//Process Aloha Grind Files - 2015\\comma\\processAlohaFiles_Period\\comma\\action_list\\comma\\Action=processAlohaFiles_Period\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//processAlohaFiles_Day//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\processAlohaFiles_Day\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Copies Aloha export files for a specific date to homedir\posdata\aloha\yyyymmdd.//crlf////tab////tab//The itm and cit files//tab//are processed to remove unused records.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - The date to be processed - MM-dd-yyyy //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\processAlohaFiles_Day\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\processAlohaFiles_Day started Date=__Date__\\quot\\)//crlf////crlf////tab////tab////tab////abort if already executing//crlf////tab////tab////tab//cInstance=scriptCount(this\\comma\\\\quot\\Date=\\quot\\+quote(\\quot\\__Date__\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\Instance count=\\quot\\+cInstance)//crlf////tab////tab////tab//if(cInstance>1)//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Aborted because another instance is already running for __Date__\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sPOSDir=getSensorValue(\\quot\\Get POS Directory\\quot\\)//crlf////crlf////tab////tab////tab////abort if pos directory is invalid//crlf////tab////tab////tab//if(not(dirExists(sPOSDir)))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Getting POS directory from POSInterface_PosDir\\quot\\)//crlf////tab////tab////tab////tab//sPOSDir=getToken(POSInterface_PosDir)//crlf////tab////tab////tab////tab//if(not(dirExists(sPOSDir)))//crlf////tab////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Invalid POS directory: \\quot\\+sPosDir))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the date is missing or invalid//crlf////tab////tab////tab//if(startsWith(\\quot\\__Date__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Invalid date1: __Date__\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//dt=parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//if((year(dt)<2000) or (year(dt)>2099))//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Invalid date2: __Date__\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the directory containing the files//crlf////tab////tab////tab//sDataDir=addDirSlash(sPOSDir+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\DataDir=\\quot\\+sDataDir)//crlf////tab////tab////tab////crlf////tab////tab////tab////abort if the directory doesn't exist//crlf////tab////tab////tab//if(not(dirExists(sDataDir)))//crlf////tab////tab////tab////tab////don't return an error if processing the current date and it's earlier than 8am//crlf////tab////tab////tab////tab//if((formatDate(incrementTime(now()\\comma\\-1)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)=\\quot\\__Date__\\quot\\) and (hour(now())<8))//crlf////tab////tab////tab////tab////tab//return(appendToLog(\\quot\\Ok: Waiting until 8am before reporting missing directory error\\quot\\))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Invalid directory1: \\quot\\+sDataDir))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the destination directory//crlf////tab////tab////tab//sDestDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/aloha/\\quot\\+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\DestDir=\\quot\\+sDestDir)//crlf////crlf////tab////tab////tab////delete the processed.txt file if it exists.  This is used by the data available//crlf////tab////tab////tab////expression in the pos synch task to determine if all files have been processed.//crlf////tab////tab////tab////This prevents the synch task from running before processing is complete//crlf////tab////tab////tab//if(fileExists(sDestDir+\\quot\\processed.txt\\quot\\))//crlf////tab////tab////tab////tab//fileSetLength(sDestDir+\\quot\\processed.txt\\quot\\\\comma\\0)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Set length of \\quot\\+sDestDir+\\quot\\processed.txt\\quot\\+\\quot\\ to \\quot\\+fileSize(sDestDir+\\quot\\processed.txt\\quot\\)+\\quot\\ bytes\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////====================================================================//crlf////tab////tab////tab////make a collection of all menu items sales in the gndsale file//crlf////tab////tab////tab////Both the key and the value are the Aloha menu number//crlf////tab////tab////tab////====================================================================//crlf////tab////tab////tab//File1=sDataDir+\\quot\\gnditem.dbf\\quot\\//crlf////tab////tab////tab//File2=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\gnditem\\quot\\+getSalt(4)+\\quot\\.$$$\\quot\\//crlf////tab////tab////tab//fileCopy(File1\\comma\\File2)//crlf////tab////tab////tab//appendToLog(\\quot\\Copy \\quot\\+File1+\\quot\\ (\\quot\\+fileSize(File1)+\\quot\\ bytes) to \\quot\\+File2+\\quot\\ (\\quot\\+fileSize(File2)+\\quot\\ bytes)\\quot\\)//crlf////tab////tab////tab//hashCreate(hashItmSale)//crlf////tab////tab////tab//driverOpen(Aloha_GrindItem\\comma\\drvGndItem\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+File2)//crlf////tab////tab////tab//c=driverGetRecordCount(drvGndItem\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\drvGndItem record count=\\quot\\+c)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//iItem=driverGetFieldAbsolute(drvGndItem\\comma\\\\quot\\ITEM\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(not(hashContainsKey(hashItmSale\\comma\\iItem)))//crlf////tab////tab////tab////tab////tab//hashPut(hashItmSale\\comma\\iItem\\comma\\iItem)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n=n+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(drvGndItem)//crlf////tab////tab////tab//fileDelete(File2)//crlf////tab////tab////tab//appendToLog(\\quot\\Found \\quot\\+hashSize(hashItmSale)+\\quot\\ used menu items of \\quot\\+c+\\quot\\ total\\quot\\)//crlf////crlf////tab////tab////tab////04-2017: abort if no items were found.  This might mean that the aloha files are not//crlf////tab////tab////tab////fully created.  Sometimes the gnditem file is not accessible.//crlf////tab////tab////tab////06-2017: Do not abort after 8 because need to allow for situation in which labor is //crlf////tab////tab////tab////imported but sales are not (Firehouse Wine Cellar only uses Aloha for labor//crlf////tab////tab////tab////04-2020: Modified this to exclude Smokejumper Station and Firehouse Wine Cellar because //crlf////tab////tab////tab////they do not import sales.  The state expression was causing this action to not be called again//crlf////tab////tab////tab////after the first failure.//crlf////tab////tab////tab//sHashID=getToken(\\quot\\AspectHashID\\quot\\)//crlf////tab////tab////tab//if((sHashID=\\quot\\t4ivg04ph\\quot\\) or (sHashID=\\quot\\butt1n0ah\\quot\\))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Not aborting for HashID=\\quot\\+sHashID+\\quot\\ because no sales are expected\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Size of hashItmSale=\\quot\\+hashSize(hashItmSale))//crlf////tab////tab////tab////tab//if(hashSize(hashItmSale)=0)//crlf////tab////tab////tab////tab////tab//if(formatDate(incrementTime(now()\\comma\\-1)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)=\\quot\\__Date__\\quot\\) //crlf////tab////tab////tab////tab////tab////tab//if(hour(now())<8)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Waiting until 8am before reporting error reading gnditem.dbf.  Current time is \\quot\\+formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Gnditem contains no data but continuing since it's 8 or later\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////====================================================================//crlf////tab////tab////tab////process the itm file//crlf////tab////tab////tab////====================================================================//crlf////tab////tab////tab//File1=sDataDir+\\quot\\itm.dbf\\quot\\//crlf////tab////tab////tab//File2=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\itm.$$$\\quot\\//crlf////tab////tab////tab//fileCopy(File1\\comma\\File2)//crlf////tab////tab////tab//driverOpen(Aloha_Item\\comma\\drvItmRead\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+File2)//crlf////tab////tab////tab//driverOpen(Aloha_Item\\comma\\drvItmWrite\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sDestDir+\\quot\\itm.dbf\\quot\\)//crlf////crlf////tab////tab////tab//cItem=driverGetRecordCount(drvItmRead\\comma\\true)//crlf////tab////tab////tab//nItem=0//crlf////tab////tab////tab//while(nItem<cItem)//crlf////tab////tab////tab////tab//iItem=driverGetFieldAbsolute(drvItmRead\\comma\\\\quot\\ID\\quot\\\\comma\\nItem)//crlf////tab////tab////tab////tab//if(hashContainsKey(hashItmSale\\comma\\iItem))//crlf////tab////tab////tab////tab////tab//driverCopyRecord(drvItmRead\\comma\\nItem\\comma\\drvItmWrite)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nItem=nItem+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(drvItmRead)//crlf////tab////tab////tab//driverClose(drvItmWrite)//crlf////tab////tab////tab//fileDelete(File2)//crlf////crlf////tab////tab////tab////====================================================================//crlf////tab////tab////tab////process the cit file//crlf////tab////tab////tab////====================================================================//crlf////tab////tab////tab//File1=sDataDir+\\quot\\cit.dbf\\quot\\//crlf////tab////tab////tab//File2=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\cit.$$$\\quot\\//crlf////tab////tab////tab//fileCopy(File1\\comma\\File2)//crlf////tab////tab////tab//driverOpen(Aloha_Cit\\comma\\drvItmRead\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=\\quot\\+File2)//crlf////tab////tab////tab//driverOpen(Aloha_Cit\\comma\\drvItmWrite\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\+sDestDir+\\quot\\cit.dbf\\quot\\)//crlf////crlf////tab////tab////tab//cItem=driverGetRecordCount(drvItmRead\\comma\\true)//crlf////tab////tab////tab//nItem=0//crlf////tab////tab////tab//while(nItem<cItem)//crlf////tab////tab////tab////tab//iItem=driverGetFieldAbsolute(drvItmRead\\comma\\\\quot\\ITEMID\\quot\\\\comma\\nItem)//crlf////tab////tab////tab////tab//if(hashContainsKey(hashItmSale\\comma\\iItem))//crlf////tab////tab////tab////tab////tab//driverCopyRecord(drvItmRead\\comma\\nItem\\comma\\drvItmWrite)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nItem=nItem+1//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(drvItmRead)//crlf////tab////tab////tab//driverClose(drvItmWrite)//crlf////tab////tab////tab//fileDelete(File2)//crlf////crlf////tab////tab////tab////====================================================================//crlf////tab////tab////tab////copy remaining files//crlf////tab////tab////tab////====================================================================//crlf////tab////tab////tab//arRequiredFiles=getCollection(\\quot\\Aloha_Required_Files\\quot\\\\comma\\true\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2c)\\comma\\\\quot\\Value\\quot\\)//crlf////tab////tab////tab//arFilespec=replaceSubstring(getSetFor(sDataDir\\comma\\arRequiredFiles)\\comma\\char(0x2C)\\comma\\char(0x3B))//crlf////tab////tab////tab//appendToLog(\\quot\\xCopy(\\quot\\+arFilespec+\\quot\\\\comma\\\\quot\\+sDestDir+\\quot\\)\\quot\\)//crlf////tab////tab////tab//xCopy(arFilespec\\comma\\sDestDir)//crlf////crlf////tab////tab////tab////copy the gndsale file.  This may be created by the POS_Aloha_GndSale_Amount_by_ID collection //crlf////tab////tab////tab////if it is used in a user-defined field in the sales record.  The file will contain no data //crlf////tab////tab////tab////and must be replace.  The xcopy command above will not replace the empty file.//crlf////tab////tab////tab//File1=sDataDir+\\quot\\gndsale.dbf\\quot\\//crlf////tab////tab////tab//File2=sDestDir+\\quot\\gndsale.dbf\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Copy \\quot\\+File1+\\quot\\ to \\quot\\+File2)//crlf////tab////tab////tab//fileCopy(File1\\comma\\File2\\comma\\true)//crlf////crlf////tab////tab////tab////set timestamp of all files in destdir//crlf////tab////tab////tab//dt=parseTime(\\quot\\__Date__ 22:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)//crlf////tab////tab////tab//arFiles=getMatchingFiles(sDestDir+\\quot\\*.*\\quot\\\\comma\\false\\comma\\false)//crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Setting timestamp of \\quot\\+c+\\quot\\ files\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFilename=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//fileSetModified(sFilename\\comma\\dt)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\set timestamp of \\quot\\+sFilename+\\quot\\ to \\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////Write the processed.txt file used by the pos synch task to determine if data //crlf////tab////tab////tab////is available//crlf////tab////tab////tab//fileWriteContent(sDestDir+\\quot\\processed.txt\\quot\\\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss:SSS\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\Wrote \\quot\\+fileSize(sDestDir+\\quot\\processed.txt\\quot\\)+\\quot\\ bytes to \\quot\\+sDestDir+\\quot\\processed.txt\\quot\\)//crlf////crlf////tab////tab////tab//return(appendToLog(\\quot\\Ok: Copied files from \\quot\\+sDataDir+\\quot\\ to \\quot\\+sDestDir))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//processAlohaFiles_Period//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\processAlohaFiles_Period\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Copies Aloha export files to homedir\posdata\aloha\yyyymmdd for the//crlf////tab////tab//number of days specified in the store settings.  The itm and cit files//crlf////tab////tab//are processed to remove unused records.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//SynchDays - The number of days to check//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\processAlohaFiles_Period\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\processAlohaFiles_Period SynchDays=__SynchDays__\\quot\\)//crlf////crlf////tab////tab////tab//sPOSDir=getSensorValue(\\quot\\Get POS Directory\\quot\\)//crlf////crlf////tab////tab////tab////abort if pos directory is invalid//crlf////tab////tab////tab//if(not(dirExists(sPOSDir)))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Got invalid POS directory from sensor: \\quot\\+sPOSDir)//crlf////tab////tab////tab////tab//sPOSDir=getToken(\\quot\\POSInterface_PosDir\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Got POS Dir from POSInterface_PosDir: \\quot\\+sPOSDir)//crlf////tab////tab////tab////tab//if(not(dirExists(sPOSDir)))//crlf////tab////tab////tab////tab////tab//return(\\quot\\Error: Invalid POS directory: \\quot\\+sPOSDir)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the number of days is missing //crlf////tab////tab////tab//if(startsWith(\\quot\\__SynchDays__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid number of synch days: __SynchDays__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the number of days is 0//crlf////tab////tab////tab//if(__SynchDays__=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid number of synch days: __Date__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the number of days is greater than 365//crlf////tab////tab////tab//if(__SynchDays__>5*365)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot synchronize more than 365 days\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get start/end dates//crlf////tab////tab////tab//t1=incrementTime(LastBusinessDay(\\quot\\00:00\\quot\\)\\comma\\-__SynchDays__)//crlf////tab////tab////tab//t2=LastBusinessDay(\\quot\\00:00\\quot\\)//crlf////crlf////tab////tab////tab////get collection of directories the will be checked to see if files exist//crlf////tab////tab////tab//setDate=getSetTime(t1\\comma\\t2\\comma\\1440*60\\comma\\\\quot\\MM-dd-yyyy\\quot\\\\comma\\true\\comma\\\\quot\\$e$\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\)//crlf////tab////tab////tab//setDir=getSetTime(t1\\comma\\t2\\comma\\1440*60\\comma\\\\quot\\yyyyMMdd\\quot\\\\comma\\true\\comma\\getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/aloha/$e$\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\)//crlf////tab////tab////tab////crlf////tab////tab////tab////set the command to be executed by execSetCommand//crlf////tab////tab////tab//cmd=\\quot\\isSubset(getCollection(\\quot\\Aloha_Required_Files\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\value\\quot\\)\\comma\\getFiles($e$\\comma\\0\\comma\\false\\comma\\\\quot\\\\comma\\\\quot\\))\\quot\\//crlf////crlf////tab////tab////tab////execute the command.  The result will be a linefeed delimited list of boolean//crlf////tab////tab////tab////values indicating whether files exist in each directory or not//crlf////tab////tab////tab//s=execSetCommand(setDir\\comma\\cmd)//crlf////crlf////tab////tab////tab//cProcessed=0//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//c=getElementCount(setDate)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//bIsSubset=boolean(trim(getElement(s\\comma\\n\\comma\\char(10))))//crlf////tab////tab////tab////tab//if(not(bIsSubset))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Update files for \\quot\\+getElement(setDir\\comma\\n)+\\quot\\ Date=\\quot\\+getElement(setDate\\comma\\n))//crlf//  //tab////tab////tab////tab//s=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Process Aloha Grind Files - 2015\\quot\\\\comma\\\\quot\\Date=\\quot\\+getElement(setDate\\comma\\n))//crlf////tab////tab////tab////tab////tab//if(not(startsWith(s\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab//cError++//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//cProcessed++//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(cError>0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Processed files for \\quot\\+cProcessed+\\quot\\ days with errors on \\quot\\+cError+\\quot\\ days\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Return a simple \\quot\\ok\\quot\\ so the result is consistent and the agent will not report to //crlf////tab////tab////tab////the server unnecessarily.//crlf////tab////tab////tab////return(\\quot\\Ok: Processed files for \\quot\\+cProcessed+\\quot\\ days\\quot\\)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=1500|Y=25|W=870|H=664|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=646784|X=1500|Y=25|W=870|H=664|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=40|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=412936|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=never|AgentReportTo=if(defined(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~__Date__~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma//getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~AspectServerHashID~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~))|AgentNameParams=__Date__|^
ID=97404|X=183|Y=621|W=149|H=65|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=567897|AgentChildNoNode=559366|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=defined(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~__date__~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Is a date specified?|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Process Aloha Grind Files - 2015:__Date__\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files - 2015:__Date__\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 03-07-2024 04:51:21//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////crlf////tab////tab////Is the Aloha package loaded?//crlf////tab////tab//appendToLog(\\quot\\(isPackageLoaded(\\apos\\pos_aloha\\apos\\))=\\quot\\\\plus\\(isPackageLoaded(\\quot\\pos_aloha\\quot\\)))//crlf////tab////tab//if(isPackageLoaded(\\quot\\pos_aloha\\quot\\))//crlf////crlf////tab////tab////tab////Is the POS type Aloha?//crlf////tab////tab////tab//appendToLog(\\quot\\((getToken(\\apos\\POSInterface_PosType\\apos\\)=\\apos\\Aloha\\apos\\))=\\quot\\\\plus\\((getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Aloha\\quot\\)))//crlf////tab////tab////tab//if((getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Aloha\\quot\\))//crlf////crlf////tab////tab////tab////tab////Is a POS directory defined?//crlf////tab////tab////tab////tab//appendToLog(\\quot\\(not(startsWith(getToken(\\apos\\POSInterface_PosDir\\apos\\)\\comma\\\\apos\\undefined\\apos\\)))=\\quot\\\\plus\\(not(startsWith(getToken(\\quot\\POSInterface_PosDir\\quot\\)\\comma\\\\quot\\undefined\\quot\\))))//crlf////tab////tab////tab////tab//if(not(startsWith(getToken(\\quot\\POSInterface_PosDir\\quot\\)\\comma\\\\quot\\undefined\\quot\\)))//crlf////crlf////tab////tab////tab////tab////tab////Is a date specified?//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\(defined(\\apos\\__date__\\apos\\))=\\quot\\\\plus\\(defined(\\quot\\__date__\\quot\\)))//crlf////tab////tab////tab////tab////tab//if(defined(\\quot\\__date__\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files - 2015:__Date__\\comma\\AgentAction\\comma\\567897\\comma\\0\\comma\\Process files for a single day//crlf////crlf////tab////tab////tab////tab////tab////tab////Process files for a single day//crlf////tab////tab////tab////tab////tab////tab//Result=execAgentAction(\\quot\\processAlohaFiles_Day\\quot\\\\comma\\\\quot\\Date=__Date__\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\processAlohaFiles_Day (\\apos\\Date=__Date__\\apos\\)=\\quot\\\\plus\\left(Result\\comma\\128))//crlf////crlf////tab////tab////tab////tab////tab////tab////Success?//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(Result\\comma\\\\apos\\ok\\apos\\))=\\quot\\\\plus\\(startsWith(Result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files - 2015:__Date__\\comma\\AgentTerminate\\comma\\285110\\comma\\0\\comma\\Ok//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files - 2015:__Date__\\comma\\AgentTerminate\\comma\\475746\\comma\\1\\comma\\Error//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////crlf////tab////tab////tab////tab////tab////tab////Is the number of days to synchronize valid?//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(value(getToken(\\apos\\POSInterface_SynchDays\\apos\\))\\apos\\\\plus\\char(0x3e)\\plus\\\\apos\\0)=\\quot\\\\plus\\(value(getToken(\\quot\\POSInterface_SynchDays\\quot\\))>0))//crlf////tab////tab////tab////tab////tab////tab//if(value(getToken(\\quot\\POSInterface_SynchDays\\quot\\))>0)//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files - 2015:__Date__\\comma\\AgentAction\\comma\\524498\\comma\\0\\comma\\Process files for range of days//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////Process files for range of days//crlf////tab////tab////tab////tab////tab////tab////tab//Result=execAgentAction(\\quot\\processAlohaFiles_Period\\quot\\\\comma\\\\quot\\SynchDays=\\quot\\\\plus\\value(getToken(\\quot\\POSInterface_SynchDays\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\processAlohaFiles_Period (\\apos\\SynchDays=\\apos\\\\plus\\value(getToken(\\apos\\POSInterface_SynchDays\\apos\\)))=\\quot\\\\plus\\left(Result\\comma\\128))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////Success?//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(Result\\comma\\\\apos\\ok\\apos\\))=\\quot\\\\plus\\(startsWith(Result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files - 2015:__Date__\\comma\\AgentTerminate\\comma\\267847\\comma\\0\\comma\\Ok//crlf////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files - 2015:__Date__\\comma\\AgentTerminate\\comma\\874058\\comma\\1\\comma\\Error//crlf////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files - 2015:__Date__\\comma\\AgentTerminate\\comma\\514145\\comma\\1\\comma\\Number of days to synch is 0 or more than 45//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Number of days to synch is 0 or more than 45\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files - 2015:__Date__\\comma\\AgentTerminate\\comma\\663569\\comma\\1\\comma\\POS Directory is undefined//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: POS Directory is undefined\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files - 2015:__Date__\\comma\\AgentTerminate\\comma\\605027\\comma\\1\\comma\\POS type is not Aloha//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: POS type is not Aloha\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Process Aloha Grind Files - 2015:__Date__\\comma\\AgentTerminate\\comma\\296656\\comma\\1\\comma\\Aloha package is not loaded//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Aloha package is not loaded\\quot\\)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;03072024//amp//nbsp;045121//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Process//amp//nbsp;Aloha//amp//nbsp;Grind//amp//nbsp;Files//amp//nbsp;-//amp//nbsp;2015:__Date__\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;03-07-2024//amp//nbsp;04:51:21</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;Aloha//amp//nbsp;package//amp//nbsp;loaded?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>isPackageLoaded</span>(\\apos\\pos_aloha\\apos\\))=\\quot\\\\plus\\(<span class='keyword'>isPackageLoaded</span>(\\quot\\pos_aloha\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>isPackageLoaded</span>(\\quot\\pos_aloha\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;POS//amp//nbsp;type//amp//nbsp;Aloha?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\((<span class='keyword'>getToken</span>(\\apos\\POSInterface_PosType\\apos\\)=\\apos\\Aloha\\apos\\))=\\quot\\\\plus\\((<span class='keyword'>getToken</span>(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Aloha\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>getToken</span>(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Aloha\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;a//amp//nbsp;POS//amp//nbsp;directory//amp//nbsp;defined?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(<span class='keyword'>getToken</span>(\\apos\\POSInterface_PosDir\\apos\\)\\comma\\\\apos\\undefined\\apos\\)))=\\quot\\\\plus\\(<span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(<span class='keyword'>getToken</span>(\\quot\\POSInterface_PosDir\\quot\\)\\comma\\\\quot\\undefined\\quot\\))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(<span class='keyword'>getToken</span>(\\quot\\POSInterface_PosDir\\quot\\)\\comma\\\\quot\\undefined\\quot\\)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;a//amp//nbsp;date//amp//nbsp;specified?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>defined</span>(\\apos\\__date__\\apos\\))=\\quot\\\\plus\\(<span class='keyword'>defined</span>(\\quot\\__date__\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__date__\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Process//amp//nbsp;files//amp//nbsp;for//amp//nbsp;a//amp//nbsp;single//amp//nbsp;day</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\processAlohaFiles_Day\\quot\\\\comma\\\\quot\\Date=__Date__\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\processAlohaFiles_Day//amp//nbsp;(\\apos\\Date=__Date__\\apos\\)=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(Result\\comma\\\\apos\\ok\\apos\\))=\\quot\\\\plus\\(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;number//amp//nbsp;of//amp//nbsp;days//amp//nbsp;to//amp//nbsp;synchronize//amp//nbsp;valid?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>value</span>(<span class='keyword'>getToken</span>(\\apos\\POSInterface_SynchDays\\apos\\))\\apos\\\\plus\\<span class='keyword'>char</span>(0x3e)\\plus\\\\apos\\0)=\\quot\\\\plus\\(<span class='keyword'>value</span>(<span class='keyword'>getToken</span>(\\quot\\POSInterface_SynchDays\\quot\\))//amp//gt;0))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>value</span>(<span class='keyword'>getToken</span>(\\quot\\POSInterface_SynchDays\\quot\\))//amp//gt;0)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Process//amp//nbsp;files//amp//nbsp;for//amp//nbsp;range//amp//nbsp;of//amp//nbsp;days</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\processAlohaFiles_Period\\quot\\\\comma\\\\quot\\SynchDays=\\quot\\\\plus\\<span class='keyword'>value</span>(<span class='keyword'>getToken</span>(\\quot\\POSInterface_SynchDays\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\processAlohaFiles_Period//amp//nbsp;(\\apos\\SynchDays=\\apos\\\\plus\\<span class='keyword'>value</span>(<span class='keyword'>getToken</span>(\\apos\\POSInterface_SynchDays\\apos\\)))=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(Result\\comma\\\\apos\\ok\\apos\\))=\\quot\\\\plus\\(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Number//amp//nbsp;of//amp//nbsp;days//amp//nbsp;to//amp//nbsp;synch//amp//nbsp;is//amp//nbsp;0//amp//nbsp;or//amp//nbsp;more//amp//nbsp;than//amp//nbsp;45\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;POS//amp//nbsp;Directory//amp//nbsp;is//amp//nbsp;undefined\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;POS//amp//nbsp;type//amp//nbsp;is//amp//nbsp;not//amp//nbsp;Aloha\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Aloha//amp//nbsp;package//amp//nbsp;is//amp//nbsp;not//amp//nbsp;loaded\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__salt__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\alohadir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\addDirSlash(getToken(\\quot\\POSInterface_PosDir\\quot\\)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Directory listing of aloha grind files//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(getToken(\\quot\\POSInterface_PosDir\\quot\\)=\\quot\\undefined\\quot\\) or (len(getToken(\\quot\\POSInterface_PosDir\\quot\\))=0)>//crlf////tab//<p>Cannot get directory listing because POSInterface_PosDir token is undefined: [{POSInterface_PosDir}].</p?//crlf//</conditional>//crlf//<conditional expression:(not(getToken(\\quot\\POSInterface_PosDir\\quot\\)=\\quot\\undefined\\quot\\)) and (not(len(getToken(\\quot\\POSInterface_PosDir\\quot\\))=0))>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=__salt__Aloha Grind Files//amp//Selected=true\\quot\\;>//crlf////tab////tab//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir1'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of __alohadir__{@formatDate(incrementTime(LastBusinessDay()\\comma\\0)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf////tab////tab//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir1\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec=__alohadir__{@formatDate(incrementTime(LastBusinessDay()\\comma\\0)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf////tab////tab//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir2'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of __alohadir__{@formatDate(incrementTime(LastBusinessDay()\\comma\\-1)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf////tab////tab//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir2\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec=__alohadir__{@formatDate(incrementTime(LastBusinessDay()\\comma\\-1)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf////tab////tab//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir3'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of __alohadir__{@formatDate(incrementTime(LastBusinessDay()\\comma\\-2)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf////tab////tab//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir3\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec=__alohadir__{@formatDate(incrementTime(LastBusinessDay()\\comma\\-2)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf////tab////tab//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir4'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of __alohadir__{@formatDate(incrementTime(LastBusinessDay()\\comma\\-3)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf////tab////tab//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir4\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec=__alohadir__{@formatDate(incrementTime(LastBusinessDay()\\comma\\-3)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf//</conditional>//crlf//^
ID=AgentChart|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>03072024 045121</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart412936\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\136\\quot\\ style=\\quot\\width: 120px; height: 136px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Process Aloha Grind Files - 2015</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: never<br>Report To: if(defined(\\quot\\__Date__\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\))<br>Name Params: __Date__</div></div><div id=\\quot\\chart97404\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart567897\\quot\\ agentchildnonode=\\quot\\chart559366\\quot\\ style=\\quot\\position: absolute; top: 581px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\63\\quot\\ style=\\quot\\width: 150px; height: 63px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is a date specified?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart285110\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 960px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\83\\quot\\ style=\\quot\\width: 120px; height: 83px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart524498\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart744680\\quot\\ style=\\quot\\position: absolute; top: 710px; left: 350px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\93\\quot\\ style=\\quot\\width: 150px; height: 93px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Process files for range of days<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>processAlohaFiles_Period<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart412936\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart143708\\quot\\ agentchildnonode=\\quot\\chart296656\\quot\\ style=\\quot\\position: absolute; top: 207px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\76\\quot\\ style=\\quot\\width: 150px; height: 76px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the Aloha package loaded?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart296656\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 207px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\96\\quot\\ style=\\quot\\width: 120px; height: 96px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Aloha package is not loaded<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart796284\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart97404\\quot\\ agentchildnonode=\\quot\\chart663569\\quot\\ style=\\quot\\position: absolute; top: 452px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\76\\quot\\ style=\\quot\\width: 150px; height: 63px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is a POS directory defined?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart663569\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 452px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\96\\quot\\ style=\\quot\\width: 120px; height: 96px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>POS Directory is undefined<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart143708\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart796284\\quot\\ agentchildnonode=\\quot\\chart605027\\quot\\ style=\\quot\\position: absolute; top: 336px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\76\\quot\\ style=\\quot\\width: 150px; height: 63px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the POS type Aloha?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart605027\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 336px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\96\\quot\\ style=\\quot\\width: 120px; height: 96px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>POS type is not Aloha<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart267847\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 973px; left: 350px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\83\\quot\\ style=\\quot\\width: 120px; height: 83px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart559366\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart524498\\quot\\ agentchildnonode=\\quot\\chart514145\\quot\\ style=\\quot\\position: absolute; top: 581px; left: 350px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\88\\quot\\ style=\\quot\\width: 150px; height: 76px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the number of days to synchronize valid?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart514145\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 581px; left: 540px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\109\\quot\\ style=\\quot\\width: 120px; height: 109px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Number of days to synch is 0 or more than 45<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart744680\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart267847\\quot\\ agentchildnonode=\\quot\\chart874058\\quot\\ style=\\quot\\position: absolute; top: 857px; left: 350px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\63\\quot\\ style=\\quot\\width: 150px; height: 63px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart874058\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 857px; left: 540px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\83\\quot\\ style=\\quot\\width: 120px; height: 83px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart567897\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart924513\\quot\\ style=\\quot\\position: absolute; top: 697px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\93\\quot\\ style=\\quot\\width: 150px; height: 93px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Process files for a single day<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>processAlohaFiles_Day<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart924513\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart285110\\quot\\ agentchildnonode=\\quot\\chart475746\\quot\\ style=\\quot\\position: absolute; top: 844px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\63\\quot\\ style=\\quot\\width: 150px; height: 63px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart475746\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 844px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\83\\quot\\ style=\\quot\\width: 120px; height: 83px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=285110|X=183|Y=1000|W=119|H=47|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=processAlohaFiles_Day|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=524498|X=533|Y=750|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=744680|AgentChildNoNode=|AgentSensor=Get POS Type|AgentAction=processAlohaFiles_Period|AgentNodeNotes=|AgentNodeParams=\\quot\\SynchDays~~backslash~~equals~~backslash~~\\quot\\//plus//value(getToken(\\quot\\POSInterface_SynchDays\\quot\\))|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: Date is undefined~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=Result|AgentNodeComment=Process files for range of days|AgentNodeTermType=1|^
ID=412936|X=183|Y=247|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=143708|AgentChildNoNode=296656|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=isPackageLoaded(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~pos_aloha~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Is the Aloha package loaded?|AgentNodeTermType=0|^
ID=296656|X=373|Y=247|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get POS Type|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: Aloha package is not loaded~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Aloha package is not loaded|AgentNodeTermType=1|^
ID=796284|X=183|Y=492|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=97404|AgentChildNoNode=663569|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=not(startsWith(getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~POSInterface_PosDir~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~undefined~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~))|AgentNodeActionReturnValue=POSDir|AgentNodeComment=Is a POS directory defined?|AgentNodeTermType=0|^
ID=663569|X=373|Y=492|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get POS Type|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: POS Directory is undefined~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=POS Directory is undefined|AgentNodeTermType=1|^
ID=143708|X=183|Y=376|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=796284|AgentChildNoNode=605027|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~POSInterface_PosType~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)~~backslash~~equals~~backslash~~~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Aloha~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=POSType|AgentNodeComment=Is the POS type Aloha?|AgentNodeTermType=0|^
ID=605027|X=373|Y=376|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get POS Type|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: POS type is not Aloha~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=POS type is not Aloha|AgentNodeTermType=1|^
ID=267847|X=533|Y=1013|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=559366|X=533|Y=621|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=524498|AgentChildNoNode=514145|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=value(getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~POSInterface_SynchDays~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~))>0|AgentNodeActionReturnValue=|AgentNodeComment=Is the number of days to synchronize valid?|AgentNodeTermType=1|^
ID=514145|X=723|Y=621|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get Synch Days|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: Number of days to synch is 0 or more than 45~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Number of days to synch is 0 or more than 45|AgentNodeTermType=1|^
ID=744680|X=533|Y=897|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=267847|AgentChildNoNode=874058|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=1|^
ID=874058|X=723|Y=897|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=567897|X=183|Y=737|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=924513|AgentChildNoNode=|AgentSensor=1|AgentAction=processAlohaFiles_Day|AgentNodeNotes=|AgentNodeParams=\\quot\\Date~~backslash~~equals~~backslash~~__Date__\\quot\\|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Process files for a single day|AgentNodeTermType=1|^
ID=924513|X=183|Y=884|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=285110|AgentChildNoNode=475746|AgentSensor=1|AgentAction=processAlohaFiles_Day|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=1|^
ID=475746|X=373|Y=884|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=processAlohaFiles_Day|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=291102|X=1500|Y=25|W=870|H=664|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<p>These expressions are used in the conditional expression and state expression for the agent.</p>//crlf//<p>This is an area to test the expressions.</p>//crlf////crlf//<h1>Conditional expression</h1>//crlf//<ul>//crlf////tab//<li>A required file is missing for one or more days in Aspect7/posdata/yyyyMMdd</li>//crlf////tab//<li>Aloha data for the most recent day is not available or it has been modified more//crlf////tab////tab//than 5 minutes ago.  Takes into consideration that there may be other days to//crlf////tab////tab//process even if the most recent day is missing.</li>//crlf//</ul>//crlf//<br>//crlf////crlf//<b>Expression</b><br>//crlf//<br>//crlf//<ul style=\\quot\\margin:0px;\\quot\\>//crlf////tab//<li style=\\quot\\list-style-type:none\\quot\\>Token: <code>{@replaceSubstring(getToken(\\quot\\Aloha_process_files_2015_conditional_expression\\quot\\)\\comma\\\\quot\\x\\quot\\+\\quot\\22\\quot\\\\comma\\char(0x22))}</code></li>//crlf////tab//<li style=\\quot\\list-style-type:none\\quot\\>Token Result: {@(isPackageLoaded(\\quot\\Aspect_Support\\quot\\)) and (indirect(replaceSubstring(getToken(\\quot\\Aloha_process_files_2015_conditional_expression\\quot\\)\\comma\\\\quot\\x\\quot\\+\\quot\\22\\quot\\\\comma\\char(0x22))))}</li>//crlf//</ul>//crlf//<br>//crlf////crlf//<h1>State expression</h1>//crlf//<ul>//crlf////tab//<li>The state of the Aloha grind files changes for any of the last X days</li>//crlf////tab//<li>The state of the Aspect/posdata files changes for any of the last X days</li>//crlf//</ul>//crlf//<br><br>//crlf////crlf//<b>State of Aspect7 and Aloha data files:</b><br>//crlf//<br>//crlf//<ul style=\\quot\\margin:0px;\\quot\\>//crlf////tab//<li style=\\quot\\list-style-type:none\\quot\\>Token: <code>{@replaceSubstring(getToken(\\quot\\Aloha_process_files_2015_state_expression\\quot\\)\\comma\\\\quot\\x\\quot\\+\\quot\\22\\quot\\\\comma\\char(0x22))}</code></li>//crlf////tab//<li style=\\quot\\list-style-type:none\\quot\\>Token Result: {@indirect(replaceSubstring(replaceSubstring(getToken(\\quot\\Aloha_process_files_2015_state_expression\\quot\\)\\comma\\\\quot\\X2A\\quot\\\\comma\\\\quot\\*\\quot\\)\\comma\\\\quot\\x\\quot\\+\\quot\\22\\quot\\\\comma\\char(0x22)))}</li>//crlf//</ul>//crlf//<br><br>//crlf////crlf//^
ID=903538|X=1500|Y=25|W=836|H=669|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="BackOffice Home 2015" group="UI 2015" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Aspect Back-Office" modified="12-11-2019 01:13:42" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=03-08-2019 22:20:58:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=796|toolboxy=270|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=BackOffice Home 2015.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar2015|X=0|Y=0|W=1240|H=34|AutoHeight=true|AutoWidth=false|widthpcnt=100|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(fileExists(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache/WidgetEdit_M2HDPGX49Sct3l6etItu5n1J_Support Home 2015.html\\quot\\)\\comma\\getFilespecState(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache/WidgetEdit_M2HDPGX49Sct3l6etItu5n1J_Support Home 2015.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice/company_list.dta\\quot\\)}//crlf////tab//{@getFilespecState(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\ui_user_profile_views.bin\\quot\\)}//crlf////tab//{@getUIViewsState()}//crlf////tab//{@getUIViewsCategoryState()}//crlf////tab//1.04//crlf////tab//@now()//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\04302017\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<_include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\FixedSalt\\quot\\)>//crlf////crlf//[!------------------------------------------------------------------------//crlf//These elements are used in the javascript below to avoid opening the registration\\comma\\ //crlf//guide and login twice.  The script runs once when the content is loaded and //crlf//appears to run a second time\\comma\\ probably when the script is moved into the head element.//crlf//--------------------------------------------------------------------------]//crlf//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\InitialViewOpened_Registration\\quot\\ value=\\quot\\0\\quot\\>//crlf//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\InitialViewOpened_AllGuides\\quot\\ value=\\quot\\0\\quot\\>//crlf//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\InitialViewOpened_Login\\quot\\ value=\\quot\\0\\quot\\>//crlf////crlf//<script ID=\\quot\\JSTopBar\\quot\\>//crlf////tab//var bMenuOpen=false;//crlf////tab//var imgMenu=new Image();//crlf////tab//imgMenu.src=\\quot\\__RequestServer__/?Network=GreenLight\\amp\\ID=getImage\\amp\\filename=menu20x20.png\\quot\\;//crlf////tab//var imgMenuClose=new Image();//crlf////tab//imgMenuClose.src=\\quot\\__RequestServer__/?Network=GreenLight\\amp\\ID=getImage\\amp\\filename=menuclose20x20.png\\quot\\;//crlf////crlf////tab//<include type:script; name:\\quot\\AspectBackofficeHomeInit\\quot\\; commands:\\quot\\//crlf////tab////tab////check registration//crlf////tab////tab//appendToLog(\\quot\\Check registration\\quot\\)//crlf////tab////tab//bOpenRegistration=false//crlf////tab////tab//bOpenRegistration=(bOpenRegistration) or (len(trim(getToken(\\quot\\Aspect_BackOffice_PollPasswd\\quot\\)))=0)//crlf////tab////tab//bOpenRegistration=(bOpenRegistration) or (len(trim(getToken(\\quot\\Aspect_BackOffice_Pref_Contact_Company\\quot\\)))=0)//crlf////tab////tab//bOpenRegistration=(bOpenRegistration) or (len(trim(getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)))=0)//crlf////crlf////tab////tab//if(not(bOpenRegistration))//crlf////tab////tab////tab//appendToLog(\\quot\\Reading local preferences\\quot\\)//crlf////tab////tab////tab//driverOpen(ReadLocalPreferences\\comma\\d\\comma\\READ)//crlf////tab////tab////tab//bOpenRegistration=(bOpenRegistration) or (len(trim(driverGetFieldAbsolute(d\\comma\\\\quot\\Organization_Name\\quot\\\\comma\\0)))=0)//crlf////tab////tab////tab//bOpenRegistration=(bOpenRegistration) or (len(trim(driverGetFieldAbsolute(d\\comma\\\\quot\\Contact_Email\\quot\\\\comma\\0)))=0)//crlf////tab////tab////tab//bOpenRegistration=(bOpenRegistration) or (len(trim(driverGetFieldAbsolute(d\\comma\\\\quot\\Contact_Name\\quot\\\\comma\\0)))=0)//crlf////tab////tab////tab//bOpenRegistration=(bOpenRegistration) or (len(trim(driverGetFieldAbsolute(d\\comma\\\\quot\\Contact_Phone\\quot\\\\comma\\0)))=0)//crlf////tab////tab//endif//crlf////crlf////tab////tab//s=\\quot\\\\quot\\//crlf////crlf////tab////tab//bOpenRegistration=false//crlf////crlf////tab////tab//if(bOpenRegistration)//crlf////tab////tab////tab//s=s\\plus\\\\quot\\setTimeout(\\apos\\openUIRegistration()\\apos\\\\comma\\1)\\quot\\\\plus\\char(0x3B)\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab//endif//crlf////crlf////tab////tab//if(\\quot\\__session1__\\quot\\=\\quot\\local\\quot\\))//crlf////tab////tab////tab//s=s\\plus\\\\quot\\setTimeout(\\apos\\openUILogin()\\apos\\\\comma\\1)\\quot\\\\plus\\char(0x3B)\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab//else//crlf////tab////tab////tab//s=s\\plus\\\\quot\\setTimeout(\\apos\\openAllGuides()\\apos\\\\comma\\1)\\quot\\\\plus\\char(0x3B)\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab//endif//crlf////crlf////tab////tab//appendToLog(\\quot\\s=\\quot\\\\plus\\s)//crlf////tab////tab//return(s)//crlf////tab//\\quot\\>//crlf////crlf////tab//function openUIRegistration() {//crlf////tab////tab//if(document.getElementById(\\quot\\InitialViewOpened_Registration\\quot\\).value==\\quot\\1\\quot\\) return;//crlf////tab////tab//if((!bExecOnLoadComplete) ~~pipe~~~~pipe~~ (!document.getElementById(\\quot\\UISelectedUser\\quot\\))  ~~pipe~~~~pipe~~ (!document.getElementById(\\quot\\UIselect_user_profile\\quot\\)) ~~pipe~~~~pipe~~ (!document.getElementById(\\quot\\view_params_container\\quot\\))) {//crlf////tab////tab////tab//setTimeout(\\quot\\openUIRegistration()\\quot\\\\comma\\1000);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////tab////tab//document.getElementById(\\quot\\InitialViewOpened_Registration\\quot\\).value=\\quot\\1\\quot\\;//crlf////tab////tab//openInspectWindow(\\quot\\Registration\\quot\\\\comma\\\\quot\\ViewID=8OFn3iOJ\\quot\\);//crlf////tab//};//crlf////crlf////tab//function openUILogin() {//crlf////tab////tab//if(document.getElementById(\\quot\\InitialViewOpened_Login\\quot\\).value==\\quot\\1\\quot\\) return;//crlf////tab////tab//if((!bExecOnLoadComplete) ~~pipe~~~~pipe~~ (!document.getElementById(\\quot\\UISelectedUser\\quot\\))  ~~pipe~~~~pipe~~ (!document.getElementById(\\quot\\UIselect_user_profile\\quot\\)) ~~pipe~~~~pipe~~ (!document.getElementById(\\quot\\view_params_container\\quot\\))) {//crlf////tab////tab////tab//setTimeout(\\quot\\openUILogin()\\quot\\\\comma\\1000);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////tab////tab//document.getElementById(\\quot\\InitialViewOpened_Login\\quot\\).value=\\quot\\1\\quot\\;//crlf////tab////tab//openInspectWindow(\\quot\\Log In\\quot\\\\comma\\\\quot\\ViewID=r63bIXdW\\quot\\);//crlf////tab//};//crlf////crlf////tab//function openAllGuides() {//crlf////tab////tab//if(document.getElementById(\\quot\\InitialViewOpened_AllGuides\\quot\\).value==\\quot\\1\\quot\\) return;//crlf////tab////tab//if((!bExecOnLoadComplete) ~~pipe~~~~pipe~~ (!document.getElementById(\\quot\\UISelectedUser\\quot\\))  ~~pipe~~~~pipe~~ (!document.getElementById(\\quot\\UIselect_user_profile\\quot\\)) ~~pipe~~~~pipe~~ (!document.getElementById(\\quot\\view_params_container\\quot\\))) {//crlf////tab////tab////tab//setTimeout(\\quot\\openAllGuides()\\quot\\\\comma\\1000);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////tab////tab//document.getElementById(\\quot\\InitialViewOpened_AllGuides\\quot\\).value=\\quot\\1\\quot\\;//crlf////tab////tab//openInspectWindow(\\quot\\All Guides\\quot\\\\comma\\\\quot\\ViewID=dogPKjk8\\quot\\);//crlf////tab//};//crlf////crlf////tab//function toggleUIMenu() {//crlf////tab////tab//if(bMenuOpen) {//crlf////tab////tab////tab//setVisible(\\quot\\UIMenuContainer\\quot\\\\comma\\false);//crlf////tab////tab////tab//document.getElementById(\\quot\\UIMenuIcon\\quot\\).src=imgMenu.src;//crlf////tab////tab////tab//bMenuOpen=false;//crlf////tab////tab//}//crlf////tab////tab//else {//crlf////tab////tab////tab//setVisible(\\quot\\UIMenuContainer\\quot\\\\comma\\true);//crlf////tab////tab////tab//document.getElementById(\\quot\\UIMenuIcon\\quot\\).src=imgMenuClose.src;//crlf////tab////tab////tab//bMenuOpen=true;//crlf////tab////tab//};//crlf////crlf////tab////tab//positionItems();//crlf////tab//};//crlf//</script>//crlf////crlf//<div ID=\\quot\\MenuBarComtainer\\quot\\>//crlf////crlf////tab//<ul ID=\\quot\\SelectedUserComputerView\\quot\\ class=\\quot\\MenuBar\\quot\\>//crlf////tab////tab//<li ID=\\quot\\UISelectedUser\\quot\\  class=\\quot\\MenuBarLeft\\quot\\ onClick=\\quot\\toggleUserPopup()\\quot\\>//crlf////tab////tab////tab//<div ID=\\quot\\UISelectedUserIcon\\quot\\></div>//crlf////tab////tab////tab//<span ID=\\quot\\UISelectedUserText\\quot\\>User</span>//crlf////tab////tab//</li>//crlf////tab////tab//<li ID=\\quot\\UISelectedComputer\\quot\\ //crlf////tab////tab////tab//class=\\quot\\MenuBarMiddle\\quot\\ //crlf////tab////tab////tab//<conditional expression:not((getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)=\\quot\\VhGFwJcWHG2CnERns1zILedS\\quot\\) and (getToken(POSInterface_PosType)=\\quot\\Restaurant_Manager\\quot\\))>//crlf////tab////tab////tab////tab//onClick=\\quot\\toggleComputerPopup()\\quot\\//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//>//crlf////tab////tab////tab//<div ID=\\quot\\UISelectedComputerIcon\\quot\\></div>//crlf////tab////tab////tab//<span ID=\\quot\\UISelectedComputerText\\quot\\>Computer</span>//crlf////tab////tab//</li>//crlf////tab////tab//<li ID=\\quot\\UISelectedView\\quot\\ class=\\quot\\MenuBarMiddle\\quot\\ onClick=\\quot\\toggleViewPopup()\\quot\\>//crlf////tab////tab////tab//<div ID=\\quot\\UISelectedViewIcon\\quot\\></div>//crlf////tab////tab////tab//<span ID=\\quot\\UISelectedViewText\\quot\\>View</span>//crlf////tab////tab//</li>//crlf////tab////tab//<li ID=\\quot\\UISettings\\quot\\ class=\\quot\\MenuBarRight\\quot\\ onClick=\\quot\\toggleSettingsPopup()\\quot\\>//crlf////tab////tab////tab//<!--//crlf////tab////tab////tab//<div class=\\quot\\UILeftBarIcon\\quot\\ ID=\\quot\\UILeftBarIcon\\quot\\>\\amp\\nbsp;</div>//crlf////tab////tab////tab//-->//crlf////tab////tab////tab//<div ID=\\quot\\UISettingsIcon\\quot\\></div>//crlf////tab////tab////tab//<span ID=\\quot\\UISettingsText\\quot\\></span>//crlf////tab////tab//</li>//crlf////tab//</ul>//crlf////crlf////tab//<!--//crlf////tab//<img ID=\\quot\\UIMenuIcon\\quot\\ onClick=\\quot\\toggleUIMenu()\\quot\\ style=\\quot\\position:relative;top:4px;cursor:pointer;padding:0px;\\quot\\ src=\\quot\\__requestserver__/?network=greenlight\\amp\\id=getimage\\amp\\filename=menu20x20.png\\quot\\/>//crlf////tab//-->//crlf////crlf////tab//<conditional expression:false>//crlf////tab//========================================================================//crlf////tab//Pop-up menu//crlf////tab//========================================================================//crlf////tab//</conditional>//crlf////tab//<div ID=\\quot\\UIMenuContainer\\quot\\ style=\\quot\\display:none;background-color:\\pound\\F0F0F0\\quot\\>//crlf////tab////tab//Pop up menu//crlf////tab//</div>//crlf////crlf////tab//<div style=\\quot\\width:100px;height:1px\\quot\\></div>//crlf//</div>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//This div contains a list of the available companies and computers.  It//crlf//is processed by the local computer and when the page first loads and not again.//crlf////crlf//The processed content contains two hidden span tags: UICollection_Company//crlf//and UICollection_Computer.  //crlf////crlf//Company information is in the form://crlf////tab//CompanyID=CompanyName~~pipe~~CompanyID=CompanyName//crlf////crlf//Computer information is in the form//crlf////tab//HashID=CompanyID//power//ComputerName~~pipe~~HashID=CompanyID//power//ComputerName//crlf//========================================================================//crlf//</conditional>//crlf//<div ID=\\quot\\UIAvailableComputers\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab//<!include type:widget; //crlf////tab////tab//server:{AspectHashID}; //crlf////tab////tab//secure:true; //crlf////tab////tab//documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; //crlf////tab////tab//widget:\\quot\\User Interface Setup\\quot\\; //crlf////tab////tab//containerItemID:\\quot\\473820\\quot\\; //crlf////tab////tab//params:\\quot\\getContent=true\\quot\\;>//crlf//</div>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//This div is updated by a javascript function whenever the computer //crlf//selection changes.  It contains span tags containing information about //crlf//the packages\\comma\\ view categories and views available to the selected user //crlf//on the selected computer.  The contents of this div is used to update //crlf//the selections using javascript rather than http requests.//crlf//========================================================================//crlf//</conditional>//crlf//<div ID=\\quot\\UIAvailableViews\\quot\\ style=\\quot\\display:none\\quot\\>//crlf////tab//<!include type:widget; //crlf////tab////tab//server:{AspectHashID}; //crlf////tab////tab//secure:true; //crlf////tab////tab//documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; //crlf////tab////tab//widget:\\quot\\User Interface Setup\\quot\\; //crlf////tab////tab//containerItemID:\\quot\\935691\\quot\\; //crlf////tab////tab//params:\\quot\\getContent=true\\amp\\IsSupport={@IsPackageLoaded(\\quot\\Aspect_Support\\quot\\)}\\quot\\;>//crlf//</div>//crlf////crlf//^
ID=869512|X=0|Y=26|W=985|H=31|AutoHeight=true|AutoWidth=false|widthpcnt=100|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar2015|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf////tab//NOTE: The onMouseOver event is disabled because it causes the view popup to//crlf////tab//close when a view is selected from the drop-down list that is outside the//crlf////tab//bounds of the popup.  There does not seem to be a way to limit the height//crlf////tab//of the select box.//crlf//</conditional>//crlf//<div ID=\\quot\\ViewOutputContainer\\quot\\ onClick=\\quot\\hidePopups()\\quot\\ _onMouseOver=\\quot\\hidePopups()\\quot\\>//crlf////crlf////tab//<!-- button used to close all views.  Nor used -->//crlf////tab//<!-- //crlf////tab//<input type=\\quot\\button\\quot\\ ID=\\quot\\UICloseAllViews\\quot\\ onClick=\\quot\\closeAllViews()\\quot\\ value=\\quot\\Close All\\quot\\>//crlf////tab//-->//crlf////crlf////tab//<!-- a container is used so that it can be made visible using a media query when//crlf////tab////tab//the screen is small.  Making the actual select visible is done by js depending//crlf////tab////tab//on whether is contains any elements.  This avoids an empty select box being//crlf////tab////tab//displayed by a media query -->//crlf////tab//<div ID=\\quot\\OutputSelectContainer\\quot\\>//crlf////tab////tab//<!-- //crlf////tab////tab////tab//Icon used to close the selected view.  Used to close a view when the select//crlf////tab////tab////tab//box is used to selecting views.  This icon is no longer used.//crlf////tab////tab//-->//crlf////tab////tab//<!--//crlf////tab////tab//<div ID=\\quot\\UICloseSelectedView\\quot\\ onClick=\\quot\\closeSelectedView()\\quot\\></div>//crlf////tab////tab//-->//crlf////crlf////tab////tab//<!-- Note: The blur() function is to address a bug in Android Chrome in which//crlf////tab////tab////tab//the select box does not update after selecting a value -->//crlf////tab////tab//<select ID=\\quot\\OutputSelect\\quot\\ onChange=\\quot\\this.blur();hidePopups();showUITab(this)\\quot\\></select>//crlf////tab//</div>//crlf////crlf////tab//<!-- This is the table containing the tab names used to select a tab.  It is just like a normal tabbed dialog//crlf////tab////tab//except that the rows (tabs) are added programatically when a widget is selected //crlf////tab//-->//crlf////tab//<table ID=\\quot\\OutputTabs\\quot\\ class='tabdialog'>//crlf////tab////tab//<tr>//crlf////tab////tab//</tr>//crlf////tab//</table>//crlf////tab////crlf////tab//<!-- When a new tab is opened\\comma\\ a div is added inside this one containing the content -->//crlf////tab//<div ID=\\quot\\OutputDivs\\quot\\ style=\\quot\\position:relative;height:auto;width:auto\\quot\\></div>//crlf////tab////crlf////tab//<div style=\\quot\\width:95\\percent\\; height:500px\\quot\\></div>//crlf//</div>//crlf////crlf//^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'601142')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'popups')\\quot\\>Popups</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'749653')\\quot\\>CSS</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'136617')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=601142|X=1500|Y=26|W=739|H=659|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=26|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\putDefault\\quot\\)>//crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab//appendToLog(\\quot\\Key=__key__ Value=__value__\\quot\\)//crlf////tab////tab//if((defined(\\quot\\__key__\\quot\\)) and (defined(\\quot\\__value__\\quot\\)))//crlf////tab////tab////tab//if(defined(\\quot\\__AltKey__\\quot\\))//crlf////tab////tab////tab////tab//putDefault(\\quot\\__key__\\quot\\\\comma\\\\quot\\__value__\\quot\\\\comma\\\\quot\\__AltKey__\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//putDefault(\\quot\\__key__\\quot\\\\comma\\\\quot\\__value__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//appendToLog(\\quot\\PutDefault __key__=__value__\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=1500|Y=26|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=136617|X=1500|Y=26|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h1>Deployed views</h1>//crlf//<p>The IsSupport parameter is defined in three places</p>//crlf//<ul>//crlf////tab//<li>The item containing the top menu in this container.  This is where the list of available views is originally created when the page is loaded.</li>//crlf////tab//<li>Popups in the code section of this container.  This determines the initial content of the select boxes.</li>//crlf////tab//<li>In updateAvailableViews() which is called when the computer selection changes</li>//crlf//</ul>^
ID=749653|X=1500|Y=26|W=872|H=629|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=css|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=popups|X=1500|Y=26|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//======================================================================================//crlf//User Popup//crlf//======================================================================================//crlf//</conditional>//crlf//<include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\User Interface Setup\\quot\\; containerItemID:\\quot\\401915\\quot\\; params:\\quot\\\\quot\\;>//crlf////crlf//<conditional expression:false>//crlf//======================================================================================//crlf//Computer Popup//crlf//======================================================================================//crlf//</conditional>//crlf//<include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\User Interface Setup\\quot\\; containerItemID:\\quot\\587495\\quot\\; params:\\quot\\\\quot\\;>//crlf////crlf//<conditional expression:false>//crlf//======================================================================================//crlf//View Popup//crlf//======================================================================================//crlf//</conditional>//crlf//<include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\User Interface Setup\\quot\\; containerItemID:\\quot\\267406\\quot\\; params:\\quot\\IsSupport={@isPackageLoaded(\\quot\\Aspect_Support\\quot\\)}\\quot\\;>//crlf////crlf//<conditional expression:false>//crlf//======================================================================================//crlf//Settings Popup//crlf//======================================================================================//crlf//</conditional>//crlf//<include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\User Interface Setup\\quot\\; containerItemID:\\quot\\387657\\quot\\; params:\\quot\\\\quot\\;>//crlf//^
ID=debugDataSubmissionWrapper|X=685|Y=12|W=842|H=112|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=true|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=3|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<script ID=\\quot\\SpportHomedebugDataSubmissionWrapper\\quot\\>//crlf////tab//setVisible(\\quot\\debugDataSubmissionWrapper\\quot\\\\comma\\false);//crlf//</script>//crlf////crlf//[!-- Top border used for dragging --]//crlf//<div style=\\quot\\width:100\\percent\\; height:10px; background-color://pound//000093; margin:0px\\quot\\></div>//crlf////crlf//<div style=\\quot\\padding:5px\\quot\\>//crlf////tab//[!-- icon used to clear logs --]//crlf////tab//<div style=\\quot\\cursor:pointer;float:right\\quot\\ onClick=\\quot\\showDataSubmissionStatus(false)\\quot\\>//crlf////tab////tab//<span class=\\quot\\clear\\quot\\></span>//crlf////tab//</div>//crlf////crlf////tab//<div style=\\quot\\cursor:pointer\\quot\\ onClick=\\quot\\clearDatasubmissionLog()\\quot\\>//crlf////tab////tab//<span class=\\quot\\refresh\\quot\\></span> Reset//crlf////tab//</div>//crlf////crlf////tab//[!-- Div used to display data submission table --]//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Data Submissions\\quot\\;>//crlf////tab////tab//<div ID=\\quot\\debugDataSubmission_\\quot\\ style=\\quot\\width:100\\percent\\;height:250px;overflow:auto;border:solid 1px black\\quot\\></div>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////crlf////tab//[!-- Div used to display data submission log --]//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Not//tab//ification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Data Submissions Log\\quot\\;>//crlf////tab////tab//<textarea ID=\\quot\\debugDataSubmissionLog_\\quot\\ wrap=\\quot\\off\\quot\\ style=\\quot\\width:100\\percent\\;height:250px;overflow:auto;border:solid 1px black\\quot\\></textarea>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf//</div>//crlf//
</widget><widget name="Initialize Views From Templates" group="System" category="Setup" description="Adds views (e.g. Controllables and Enterprise views), dimensional reports and email tasks to the local package." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Initialize Views From Templates" modified="12-04-2018 20:54:59" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=04-29-2016 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=1 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(value(getToken(\\quote\\AspectCoreVersion\\quote\\))\\gt\\=7.52) and (not (isSubset (\\quote\\_lgWbT21\\quote\\, getCollection(Grenlight_Lookup_UI_View_ID_by_View_ID,\\quote\\\\quote\\,\\quote\\Package=Local\\quote\\,\\quote\\\\quote\\,char(0x2C),\\quote\\key\\quote\\))))" TaskConditional_Expression_Description="Executes when the local package has been created and one or more view templates do not exist in the local package." TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=35|toolboxy=133|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Initialize Views From Templates.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=151|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=265831|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=AgentTabs|X=151|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Initialize Views From Templates\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Initialize Views From Templates\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 11-09-2018 19:56:23//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Initialize Views From Templates\\comma\\AgentAction\\comma\\265831\\comma\\0\\comma\\Create Local package if necessary//crlf////crlf////tab////tab////Create Local package if necessary//crlf////tab////tab//Result1=execAgentAction(\\quot\\createLocalPackage\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Initialize Views From Templates\\comma\\AgentAction\\comma\\330804\\comma\\0\\comma\\Merge Default Views from templates//crlf////crlf////tab////tab////Merge Default Views from templates//crlf////tab////tab//Result2=execAgentAction(\\quot\\mergeDefaultViews\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Initialize Views From Templates\\comma\\AgentAction\\comma\\111355\\comma\\0\\comma\\Merge default dimensional reports//crlf////crlf////tab////tab////Merge default dimensional reports//crlf////tab////tab//Result3=execAgentAction(\\quot\\MergeDefaultDimensionalReports\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Initialize Views From Templates\\comma\\AgentAction\\comma\\749591\\comma\\0\\comma\\Merge default email tasks//crlf////crlf////tab////tab////Merge default email tasks//crlf////tab////tab//Result4=execAgentAction(\\quot\\mergeDefaultEmailTasks\\quot\\)//crlf////crlf////tab////tab////Success?//crlf////tab////tab//if(pos(\\quot\\Error\\quot\\\\comma\\Result1\\plus\\Result2\\plus\\Result3\\plus\\Result4)<0)//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Initialize Views From Templates\\comma\\AgentTerminate\\comma\\440582\\comma\\2\\comma\\Ok//crlf////tab////tab////tab//scriptSetResult(Result1\\plus\\\\quot\\\\comma\\ \\quot\\\\plus\\Result2\\plus\\\\quot\\\\comma\\ \\quot\\\\plus\\Result4\\plus\\\\quot\\\\comma\\ \\quot\\\\plus\\Result4)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Initialize Views From Templates\\comma\\AgentTerminate\\comma\\52153\\comma\\1\\comma\\Error//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: \\quot\\\\plus\\Result1\\plus\\\\quot\\\\comma\\ \\quot\\\\plus\\Result2\\plus\\\\quot\\\\comma\\ \\quot\\\\plus\\Result4\\plus\\\\quot\\\\comma\\ \\quot\\\\plus\\Result4)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;11092018//amp//nbsp;195623//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Initialize//amp//nbsp;Views//amp//nbsp;From//amp//nbsp;Templates\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;11-09-2018//amp//nbsp;19:56:23</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Create//amp//nbsp;Local//amp//nbsp;package//amp//nbsp;if//amp//nbsp;necessary</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result1=<span class='keyword'>execAgentAction</span>(\\quot\\createLocalPackage\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Merge//amp//nbsp;Default//amp//nbsp;Views//amp//nbsp;from//amp//nbsp;templates</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result2=<span class='keyword'>execAgentAction</span>(\\quot\\mergeDefaultViews\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Merge//amp//nbsp;default//amp//nbsp;dimensional//amp//nbsp;reports</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result3=<span class='keyword'>execAgentAction</span>(\\quot\\MergeDefaultDimensionalReports\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Merge//amp//nbsp;default//amp//nbsp;email//amp//nbsp;tasks</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result4=<span class='keyword'>execAgentAction</span>(\\quot\\mergeDefaultEmailTasks\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>pos</span>(\\quot\\Error\\quot\\\\comma\\Result1\\plus\\Result2\\plus\\Result3\\plus\\Result4)//amp//lt;0)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result1\\plus\\\\quot\\\\comma\\//amp//nbsp;\\quot\\\\plus\\Result2\\plus\\\\quot\\\\comma\\//amp//nbsp;\\quot\\\\plus\\Result4\\plus\\\\quot\\\\comma\\//amp//nbsp;\\quot\\\\plus\\Result4)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;\\quot\\\\plus\\Result1\\plus\\\\quot\\\\comma\\//amp//nbsp;\\quot\\\\plus\\Result2\\plus\\\\quot\\\\comma\\//amp//nbsp;\\quot\\\\plus\\Result4\\plus\\\\quot\\\\comma\\//amp//nbsp;\\quot\\\\plus\\Result4)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>11092018 195623</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart265831\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\111\\quot\\ style=\\quot\\width: 120px; height: 111px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Initialize Views From Templates</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart629300\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart450940\\quot\\ style=\\quot\\position: absolute; top: 470px; left: 442px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\56\\quot\\ style=\\quot\\width: 150px; height: 56px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>initializeViewsFromTemplates<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart415569\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart440582\\quot\\ agentchildnonode=\\quot\\chart52153\\quot\\ style=\\quot\\position: absolute; top: 738px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart52153\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 738px; left: 190px; width: 120px; height: 48px; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\46\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart265831\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart330804\\quot\\ style=\\quot\\position: absolute; top: 163px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Create Local package if necessary<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>createLocalPackage<br></td></tr><tr><td><u>Return</u></td><td>Result1</td></tr></tbody></table></div></div><div id=\\quot\\chart330804\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart111355\\quot\\ style=\\quot\\position: absolute; top: 310px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Merge Default Views from templates<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>mergeDefaultViews<br></td></tr><tr><td><u>Return</u></td><td>Result2</td></tr></tbody></table></div></div><div id=\\quot\\chart111355\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart749591\\quot\\ style=\\quot\\position: absolute; top: 457px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Merge default dimensional reports<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>MergeDefaultDimensionalReports<br></td></tr><tr><td><u>Return</u></td><td>Result3</td></tr></tbody></table></div></div><div id=\\quot\\chart440582\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 854px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:black\\quot\\>Other</span></div></div><div id=\\quot\\chart450940\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 578px; left: 442px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\46\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div><div id=\\quot\\chart749591\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart415569\\quot\\ style=\\quot\\position: absolute; top: 604px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Merge default email tasks<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>mergeDefaultEmailTasks<br></td></tr><tr><td><u>Return</u></td><td>Result4</td></tr></tbody></table></div></div>^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'841860')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'202020')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=841860|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Initialize Views From Templates.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Initialize Views From Templates.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Initialize Views From Templates\\comma\\mergeDefaultEmailTasks\\comma\\action_list\\comma\\Action=mergeDefaultEmailTasks\\comma\\private//crlf////tab//Initialize Views From Templates\\comma\\MergeDefaultDimensionalReports\\comma\\action_list\\comma\\Action=MergeDefaultDimensionalReports\\comma\\private//crlf////tab//Initialize Views From Templates\\comma\\mergeDefaultViews\\comma\\action_list\\comma\\Action=mergeDefaultViews\\comma\\private//crlf////tab//Initialize Views From Templates\\comma\\initializeViewsFromTemplates\\comma\\action_list\\comma\\Action=initializeViewsFromTemplates\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//mergeDefaultEmailTasks//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\mergeDefaultEmailTasks\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Merges default email tasks from the back-office package to the local //crlf////tab////tab//package.  The ID in the local package is the same as the template except the //crlf////tab////tab//first character is replaced with an underscore.  A task will only be merged //crlf////tab////tab//if it doesn\\apos\\t already exist\\comma\\ so edited tasks will not be overrwritten.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\mergeDefaultEmailTasks\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////merge email tasks//crlf////tab////tab////tab//sParams=\\quot\\MergeID=hZRggETi\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\SourceDriverParams=Package=Aspect_BackOffice\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DestDriverParams=\\quot\\//crlf////tab////tab////tab//s=execAgentAction(\\quot\\executeMergeDefinition\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////crlf////tab////tab////tab////merge email task content//crlf////tab////tab////tab//sParams=\\quot\\MergeID=aPfdifL8\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\SourceDriverParams=Package=Aspect_BackOffice\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DestDriverParams=\\quot\\//crlf////tab////tab////tab//s=execAgentAction(\\quot\\executeMergeDefinition\\quot\\\\comma\\sParams)//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//MergeDefaultDimensionalReports//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\MergeDefaultDimensionalReports\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Merges dimensional reports from the Aspect Back-Office package to the local package.  The //crlf////tab////tab//ID is the same in the local package except the first character is replaced with //crlf////tab////tab//an underscore.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\MergeDefaultDimensionalReports\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////merge Dimensional Report Categories//crlf////tab////tab////tab//sParams=\\quot\\MergeID=buQir1s2\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\SourceDriverParams=Package=Aspect_BackOffice\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DestDriverParams=Package=Local\\quot\\//crlf////tab////tab////tab//s=execAgentAction(\\quot\\executeMergeDefinition\\quot\\\\comma\\sParams)//crlf////crlf////tab////tab////tab////merge Dimensional Reports//crlf////tab////tab////tab//sParams=\\quot\\MergeID=WD8Bttnt\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\SourceDriverParams=Package=Aspect_BackOffice\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DestDriverParams=Package=Local\\quot\\//crlf////tab////tab////tab//s=execAgentAction(\\quot\\executeMergeDefinition\\quot\\\\comma\\sParams)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//mergeDefaultViews//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\mergeDefaultViews\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Merges views from the Aspect Back-Office package to the local package.  The //crlf////tab////tab//ID is the same in the local package except the first character is replaced with //crlf////tab////tab//an underscore.  Only views with Enable_As_Template are included in the merge.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\mergeDefaultViews\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////merge view categories//crlf////tab////tab////tab//sParams=\\quot\\MergeID=OeiaMJOa\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\SourceDriverParams=Package=Aspect_BackOffice\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DestDriverParams=Package=Local\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\SourceDriverFilter=(Enable_As_Template)\\quot\\//crlf////tab////tab////tab//s=execAgentAction(\\quot\\executeMergeDefinition\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////crlf////tab////tab////tab////merge views//crlf////tab////tab////tab//sParams=\\quot\\MergeID=7LlfFqpy\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\SourceDriverParams=Package=Aspect_BackOffice\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DestDriverParams=Package=Local\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\SourceDriverFilter=(Enable_As_Template)\\quot\\//crlf////tab////tab////tab//s=execAgentAction(\\quot\\executeMergeDefinition\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////crlf////tab////tab////tab////merge embedded views//crlf////tab////tab////tab//sParams=\\quot\\MergeID=uzYXxWIW\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\SourceDriverParams=Package=Aspect_BackOffice\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DestDriverParams=Package=Local\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\SourceDriverFilter=(Enable_As_Template)\\quot\\//crlf////tab////tab////tab//s=execAgentAction(\\quot\\executeMergeDefinition\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//initializeViewsFromTemplates//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\initializeViewsFromTemplates\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports specific templates into the back-office package//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\initializeViewsFromTemplates\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if already executing//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Aborted because another instance is already running\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////make sure the local package exists.  This is done because it is difficult to //crlf////tab////tab////tab////determine when the local package has been loaded when it is first created.//crlf////tab////tab////tab////The isPackageLoaded function seems to use an old collection when the function //crlf////tab////tab////tab////is used in a task condition.    This agent now runs whenever the views do not //crlf////tab////tab////tab////exist and it creates the local package if needed.  The createLocalPackage action//crlf////tab////tab////tab////will abort if the package already exists//crlf////tab////tab////tab//execAgentAction(\\quot\\createLocalPackage\\quot\\)//crlf////crlf////tab////tab////tab////create view categories in the local package.  The ID\\apos\\s of these categories//crlf////tab////tab////tab////are hard-wired.  They begin with an underscore so they can be identified as//crlf////tab////tab////tab////pre-defined categories.  This is used to disable editing of the name.//crlf////tab////tab////tab//driverOpen(Greenlight_UI_View_Category\\comma\\dCategory\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Package=Local\\quot\\)//crlf////tab////tab////tab//arCategoryID=\\quot\\_control\\quot\\//crlf////tab////tab////tab//arCategoryName=\\quot\\Controllables\\quot\\//crlf////tab////tab////tab//c=getElementCount(arCategoryID)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sID=getElement(arCategoryID\\comma\\n)//crlf////tab////tab////tab////tab//sName=getElement(arCategoryName\\comma\\n)//crlf////tab////tab////tab////tab//r=driverFindRecordAbsolute(dCategory\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\quote(sID))//crlf////tab////tab////tab////tab//if(r<0)//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(dCategory)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dCategory\\comma\\\\quot\\ID\\quot\\\\comma\\r\\comma\\sID)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dCategory\\comma\\\\quot\\Name\\quot\\\\comma\\r\\comma\\sName)//tab////tab////tab////crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(dCategory)//crlf////crlf////tab////tab////tab////import templates from the backoffice package to the local package//crlf////tab////tab////tab//arTemplateID=\\quot\\lgWbT21Z\\quot\\//crlf////tab////tab////tab//arCategoryID=\\quot\\_control\\quot\\//crlf////tab////tab////tab//sParams=\\quot\\ImportViewID=\\quot\\\\plus\\arTemplateID\\plus\\\\quot\\\\amp\\ImportPackageID=local\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\CategoryID=\\quot\\\\plus\\arCategoryID//crlf////tab////tab////tab//execAgentAction(\\quot\\importViewFromTemplate\\quot\\\\comma\\sParams)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=202020|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=629300|X=593|Y=511|W=149|H=57|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=450940|AgentChildNoNode=|AgentSensor=0|AgentAction=initializeViewsFromTemplates|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=|AgentNodeTermType=0|^
ID=415569|X=151|Y=779|W=149|H=65|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=440582|AgentChildNoNode=52153|AgentSensor=1|AgentAction=initializeViewsFromTemplates|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=pos(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma//Result1~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result2~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result3~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result4)<0|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=0|^
ID=52153|X=341|Y=779|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=initializeViewsFromTemplates|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: ~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result1~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma// ~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result2~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma// ~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result4~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma// ~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result4|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=265831|X=151|Y=204|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=330804|AgentChildNoNode=|AgentSensor=|AgentAction=createLocalPackage|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result1|AgentNodeComment=Create Local package if necessary|AgentNodeTermType=|^
ID=330804|X=151|Y=351|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=111355|AgentChildNoNode=|AgentSensor=|AgentAction=mergeDefaultViews|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result2|AgentNodeComment=Merge Default Views from templates|AgentNodeTermType=|^
ID=111355|X=151|Y=498|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=749591|AgentChildNoNode=|AgentSensor=|AgentAction=MergeDefaultDimensionalReports|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result3|AgentNodeComment=Merge default dimensional reports|AgentNodeTermType=|^
ID=440582|X=151|Y=895|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result1~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma// ~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result2~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma// ~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result4~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma// ~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result4|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=|^
ID=450940|X=593|Y=619|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=749591|X=151|Y=645|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=415569|AgentChildNoNode=|AgentSensor=|AgentAction=mergeDefaultEmailTasks|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result4|AgentNodeComment=Merge default email tasks|AgentNodeTermType=|
</widget><widget name="POS Interface - Restaurant Manager" group="POS Interface" category="Restaurant Manager" description="Sets values for tokens used to copy files from the rmwin directory to the posdata directory.  These include: POSExportDirs, POSDataDirs, RequiredPOSExportFiles, RequiredPOSDataFiles" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Restaurant Manager" modified="03-20-2022 20:41:37" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=04-07-2017 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=1 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(not(isServer())) and (getToken(\\quote\\AspectCoreVersion\\quote\\)\\gt\\=7.592) and (isPackageLoaded(\\quote\\POS_Restaurant_Manager\\quote\\)) and (getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\Restaurant_Manager\\quote\\)" TaskConditional_Expression_Description="Executes when the Restaurant Manager package is loaded, the version if 7.592 or greater and the POS type of the active store is Restaurant Manager." TaskState_Function="if(len(getToken(\\quote\\POSExportDirs\\quote\\))*len(getToken(\\quote\\RequiredPOSExportFiles\\quote\\))=0,now(),formatDate(now(),\\quote\\MMddyyyy\\quote\\)+gfs(getToken(\\quote\\homedir\\quote\\)+\\quote\\\Aspect_BackOffice\store_list.dta\\quote\\))" TaskState_Expression_Description="Executes when filespecs are undefined, when the date changes and when the store list is modified." TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=34|toolboxy=220|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=POS Interface - Restaurant_Manager.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=open_driver|X=300|Y=117|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=true|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:\\quot\\('__action__'='openDriver')\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Restaurant_Manager openPOSDriver\\quot\\; commands:\\quot\\//crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//This script opens a driver to read pos data for the given StoreID\\comma\\ DataType and Date.  //crlf////tab////tab//The return value is a pipe-delimited string in the form Status=n~~pipe~~Driver=DriverName~~pipe~~Modified=MM-dd-yyyy HH:mm:ss~~pipe~~Size=nnn//crlf////tab////tab//Status is -1=not valid\\comma\\ 0=valid but not available\\comma\\ 1=valid and available//crlf////tab////tab////crlf////tab////tab//Params://crlf////tab////tab////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab////tab//DataType - The ID of one of the datatypes defined in the Aspect_BackOffice_POS_Data_Types collection//crlf////tab////tab////tab//Date//tab// - A single date in the form MM-dd-yyyy//crlf////tab////tab////tab//OpenDriver - If false\\comma\\ the driver will not be opened but the expression used to test for data will be returned.//crlf////tab////tab////tab////tab////tab////tab//  This is used when adding tasks to the pos synch driver.//crlf////tab////tab////tab//Debug - If true\\comma\\ outputs debugging information to the log//crlf////tab////tab////crlf////tab////tab//Returns a string in the form://crlf////tab////tab////tab//status=n~~pipe~~Driver=drivername~~pipe~~modified=mm-dd-yyyy HH:mm:ss~~pipe~~size=nnn~~pipe~~DataAvailable=Expression~~pipe~~DataState=expression//crlf////tab////tab////crlf////tab////tab//Status is 1 on success or 0 if the data is not available.  Status is -1 if the datatype is not supported for the POS.//crlf////tab////tab//Modified is the date/time the data was last modified//crlf////tab////tab//Size is the number of records available (NOT the file size)//crlf////tab////tab////crlf////tab////tab//DataAvailable is an expression returned to test whether pos data is available or not.  It is used when//crlf////tab////tab//processing the synch tasks to avoid making calls to synchronize data when the pos data is not available.//crlf////tab////tab////crlf////tab////tab//DataState is an expression used to create a state value for the pos data.  It is generally a getFileSpecState//crlf////tab////tab//function.  This is used to determine when a synch task needs to be run because the pos data has been//crlf////tab////tab//modified//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//bDebug=(true) or (\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////crlf////tab////tab//bOpenDriver=if(startsWith(\\quot\\__OpenDriver__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\false\\comma\\boolean(\\quot\\__OpenDriver__\\quot\\))//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Restaurant_Manager - OpenDriver __datatype__ __date__ __StoreID__ OpenDriver=\\quot\\+bOpenDriver)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////get driver ID.  This is the driver used to import data into Aspect.  It may be a driver that uses a //crlf////tab////tab////processed file.//crlf////tab////tab//sDriverID=lookup(POS_Restaurant_Manager_Processed_Driver_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//if(sDriverID=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Restaurant_Manager returns \\quot\\+s+\\quot\\ because driver for datatype (__datatype__) is not defined\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get POS type//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////get business date//crlf////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////get the POSData directory//crlf////tab////tab//sPOSDataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/Restaurant_Manager/\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/\\quot\\//crlf////crlf////tab////tab////get name of the POS Export file.  This is the filename of the file produced by the POS system.//crlf////tab////tab//sPOSExportFilename=sPOSDataDir+lookup(POS_Restaurant_Manager_POS_Export_FileName_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//sPOSExportFilename=replaceSubstring(sPOSExportFilename\\comma\\\\quot\\[MMyy]\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\MMyy\\quot\\))//crlf////tab////tab//sPOSExportFilename=replaceSubstring(sPOSExportFilename\\comma\\\\quot\\[yy]\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\yy\\quot\\))//crlf////crlf////tab////tab////abort if the POS export file is undefined//crlf////tab////tab//if((len(sPOSExportFilename)=0) or (pos(\\quot\\undefined\\quot\\\\comma\\sPOSExportFilename)>=0))//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Error: POS Interface - Restaurant_Manager returns \\quot\\+s+\\quot\\ because pos export file not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////get name of the driver for the POS Export file.  This is the driver used to open the POS export file//crlf////tab////tab//sPOSExportDriverName=lookup(POS_Restaurant_Manager_POS_Export_Driver_Name_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////abort if the POS export driver name is undefined//crlf////tab////tab//if((len(sPOSExportDriverName)=0) or (sPOSExportDriverName=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Error: POS Interface - Restaurant_Manager returns \\quot\\+s+\\quot\\ because pos export driver not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////get name of the processed file.  This is the name of the processed file created from the POS export file//crlf////tab////tab//sProcessedFilename=sPOSDataDir+lookup(POS_Restaurant_Manager_Processed_Filename_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//sProcessedFilename=replaceSubstring(sProcessedFilename\\comma\\\\quot\\[MMyy]\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\MMyy\\quot\\))//crlf////tab////tab//sProcessedFilename=replaceSubstring(sProcessedFilename\\comma\\\\quot\\[yy]\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\yy\\quot\\))//crlf////crlf////tab////tab////The data available expression also checks for the existence of processed.txt.  This file//crlf////tab////tab////is created when the original exports are processed\\comma\\ after all processing is complete.//crlf////tab////tab////This is used to ensure that the pos synch task does not start while files are still//crlf////tab////tab////being processed.  The processed.txt file is deleted at the start of processing if it//crlf////tab////tab////exists and created at the end.//crlf////tab////tab//sProcessingCompleteFilename=sPOSDataDir+\\quot\\processed.txt\\quot\\//crlf////crlf////tab////tab//sDataAvailableFilename=sPOSExportFilename//crlf////tab////tab//sDataAvailableExpression=\\quot\\(fileSize(\\quot\\+quote(sProcessingCompleteFilename)+\\quot\\)\\quot\\+char(0x3E)+\\quot\\0) and (fileExists(\\quot\\+quote(sDataAvailableFilename)+\\quot\\))\\quot\\//crlf////tab////tab//sDataStateExpression=\\quot\\getFilespecState(\\quot\\+quote(sDataAvailableFilename)+\\quot\\)\\quot\\//crlf////crlf////tab////tab////Debugging Output//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Restaurant_Manager - POS DriverID=\\quot\\+sPOSExportDriverName)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Restaurant_Manager - POS Filename=\\quot\\+sPOSExportFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Restaurant_Manager - Processed DriverID=\\quot\\+sDriverID)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Restaurant_Manager - Processed Filename=\\quot\\+sProcessedFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Restaurant_Manager - DataAvailableFilename=\\quot\\+sDataAvailableFilename)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////abort if the POS export file does not exist//crlf////tab////tab//if(not(fileExists(sPOSExportFilename)))//crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Restaurant_Manager - abort openDriver because \\quot\\+sPOSExportFilename+\\quot\\ not found\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////crlf////tab////tab////see if the file needs to be processed.  Processing is only done when the processed filename does not //crlf////tab////tab////match the pos export filename//crlf////tab////tab//if(sPOSExportFilename<>sProcessedFilename)//crlf////tab////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Restaurant_Manager - Check processing of \\quot\\+sProcessedFilename).\\quot\\\\quot\\)//crlf////tab////tab////tab//if((not(fileExists(sProcessedFilename))) or (fileSize(sProcessedFilename)=0) or (fileModified(sPOSExportFilename)>fileModified(sProcessedFilename)))//crlf////tab////tab////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Restaurant_Manager - Processing driver\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Interface - Restaurant_Manager\\quot\\//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ContainerItemID=open_driver\\quot\\//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=processRestaurant_ManagerExportFile\\quot\\//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//POSExportDriverName=\\quot\\+sPOSExportDriverName//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//POSExportFilename=\\quot\\+sPOSExportFilename//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//AssociatedDriverName=\\quot\\+sDriverID//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ProcessedFilename=\\quot\\+sProcessedFilename//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Date=__date__\\quot\\//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//DataType=__DataType__\\quot\\//crlf////tab////tab////tab////tab//s=getWidget(sArgs)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Restaurant_Manager - File is already processed\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Restaurant_Manager - No processing required for \\quot\\+sProcessedFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////just return the DataAvailable and DataState expressions if OpenDriver is false//crlf////tab////tab//if(not(bOpenDriver))//crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Restaurant_Manager - openDriver returns \\quot\\+s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////crlf////tab////tab////get name of the system driver that will be returned and params to pass to the driver//crlf////tab////tab//sDriverName=\\quot\\__datatype___\\quot\\+getSalt(8)//crlf////tab////tab//sDriverParams=\\quot\\Filename=\\quot\\+sProcessedFilename+\\quot\\~~pipe~~DataType=__DataType__~~pipe~~StoreID=__StoreID__~~pipe~~date=__date__~~pipe~~POS=\\quot\\+sPOSType//crlf////crlf////tab////tab////open the driver//crlf////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Restaurant_Manager - Opening \\quot\\+sDriverID+\\quot\\ Params=\\quot\\+sDriverParams)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//driverOpen(sDriverID\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\sDriverParams)//crlf////tab////tab//driverSetFilter(sDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////crlf////tab////tab////set the result//crlf////tab////tab//s=\\quot\\status=1~~pipe~~Driver=\\quot\\+sDriverName+\\quot\\~~pipe~~modified=\\quot\\+formatDate(fileModified(sProcessedFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)+\\quot\\~~pipe~~size=\\quot\\+driverGetRecordCount(sDriverName\\comma\\true)//crlf////tab////tab//s=s+\\quot\\~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab//appendToLog(\\quot\\POS Interface - Restaurant_Manager openDriver returns \\quot\\+s+\\quot\\ (\\quot\\+driverGetRecordCount(sDriverName)+\\quot\\ records)\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\processRestaurant_ManagerExportFile\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//processRestaurant_ManagerExportFile//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Restaurant_Manager - processRestaurant_ManagerExportFile\\quot\\; commands:\\quot\\//crlf////tab////tab////Creates a processed file from a Restaurant_Manager export file //crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//POSExportDriverName - ID of driver used to open the POS export file//crlf////tab////tab//////tab//POSExportFilename - Full filename of the pos export file//crlf////tab////tab//////tab//AssociatedDriverName - ID of driver used to open the processed file//crlf////tab////tab//////tab//ProcessedFilename - Full filename of the processed file//crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//////tab//DataType - The data type being processed//crlf////tab////tab//////crlf////tab////tab////Returns://crlf////tab////tab//////tab//OK or ERROR//crlf////crlf////tab////tab////open the Restaurant_Manager export file//crlf////tab////tab//if((false) and (\\quot\\__DataType__\\quot\\=\\quot\\sales_mix\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\Opening Restaurant_Manager export file: __POSExportDriverName__ Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\__POSExportDriverName__\\quot\\\\comma\\drvRestaurant_ManagerExport\\comma\\READ\\comma\\false\\comma\\\\quot\\Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//else//crlf////tab////tab////tab//appendToLog(\\quot\\Opening Restaurant_Manager export file: __POSExportDriverName__ Filename=__POSExportFilename__\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\__POSExportDriverName__\\quot\\\\comma\\drvRestaurant_ManagerExport\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__POSExportFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab//if(\\quot\\__DataType__\\quot\\=\\quot\\check_details\\quot\\)//crlf////tab////tab////tab////NOTE:  Both the gndsale and gnditem files contain sales records.  Menu item sales come //crlf////tab////tab////tab////from gnditem.  The records in dndsale are ignored by setting the rectype to -1.  //crlf////tab////tab////tab////This filter is used to avoid adding those records into the processed check details.//crlf////tab////tab////tab//driverSetFilter(drvRestaurant_ManagerExport\\comma\\\\quot\\(not(abs(Quantity)+abs(Amount)=0)) and (RecType\\quot\\+char(0x3E)+\\quot\\=0)\\quot\\\\comma\\true)//crlf////tab////tab//else//crlf////tab////tab////tab//driverSetFilter(drvRestaurant_ManagerExport\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the processed file.  Delete it first if it exists//crlf////tab////tab//if(fileExists(\\quot\\__ProcessedFilename__\\quot\\))//crlf////tab////tab////tab//fileDelete(\\quot\\__ProcessedFilename__\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//driverOpen(\\quot\\__AssociatedDriverName__\\quot\\\\comma\\drvProcessed\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__ProcessedFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//driverSetFilter(drvProcessed\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////get fields to merge//crlf////tab////tab//arFieldID=driverGetFieldIDs(drvProcessed\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////merge the drivers//crlf////tab////tab//appendToLog(\\quot\\Merging driver.  Fields=\\quot\\+arFieldID)//crlf////tab////tab//appendToLog(\\quot\\Records in source driver=\\quot\\+driverGetRecordCount(drvRestaurant_ManagerExport))//crlf////tab////tab//s=driverMerge(true\\comma\\drvProcessed\\comma\\drvRestaurant_ManagerExport\\comma\\\\quot\\ID\\quot\\\\comma\\arFieldID\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////crlf////tab////tab//driverClose(drvRestaurant_ManagerExport)//crlf////tab////tab//driverClose(drvProcessed)//crlf////crlf////tab////tab//appendToLog(\\quot\\Process __DataType__: \\quot\\+s)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=code|X=300|Y=100|W=1200|H=765|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<select onChange=\\quot\\showTab(this)\\quot\\>//crlf////tab//<option value='743416'>Javascript</option>//crlf////tab//<option value='AspectScript'>Aspect</option>//crlf////tab//<option value='sensor_list'>Sensors</option>//crlf////tab//<option value='action_list'>Actions</option>//crlf////tab//<option value='open_driver'>Open Driver</option>//crlf////tab//<option value='783232'>Current POS Data Driver</option>//crlf////tab//<option value='760488'>Notes</option>//crlf//</select>//crlf////crlf//^
ID=743416|X=300|Y=117|W=834|H=764|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=760488|X=300|Y=117|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=Notes^
ID=AspectScript|X=300|Y=117|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=151|Y=40|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=847275|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=onchange|^
ID=307902|X=183|Y=514|W=119|H=47|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=setRestaurant_ManagerFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=151|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=151|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_POS Interface - Restaurant Manager\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Restaurant Manager\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 04-15-2017 15:21:14//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Restaurant Manager\\comma\\AgentAction\\comma\\847275\\comma\\0\\comma\\Set tokens defining filespecs for pos export files and posdata files//crlf////crlf////tab////tab////Set tokens defining filespecs for pos export files and posdata files//crlf////tab////tab//Result=execAgentAction(\\quot\\setRestaurant_ManagerFilespecs\\quot\\)//crlf////crlf////tab////tab////Success?//crlf////tab////tab//if(startsWith(\\quot\\result\\quot\\\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Restaurant Manager\\comma\\AgentTerminate\\comma\\307902\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Restaurant Manager\\quot\\\\comma\\\\quot\\307902\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Restaurant Manager\\comma\\AgentTerminate\\comma\\407292\\comma\\1\\comma\\Error//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Restaurant Manager\\quot\\\\comma\\\\quot\\407292\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=151|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;04152017//amp//nbsp;152114//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Restaurant//amp//nbsp;Manager\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;04-15-2017//amp//nbsp;15:21:14</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Set//amp//nbsp;tokens//amp//nbsp;defining//amp//nbsp;filespecs//amp//nbsp;for//amp//nbsp;pos//amp//nbsp;export//amp//nbsp;files//amp//nbsp;and//amp//nbsp;posdata//amp//nbsp;files</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\setRestaurant_ManagerFilespecs\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(\\quot\\result\\quot\\\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Restaurant//amp//nbsp;Manager\\quot\\\\comma\\\\quot\\307902\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Restaurant//amp//nbsp;Manager\\quot\\\\comma\\\\quot\\407292\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=151|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=151|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=151|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>04152017 152114</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart847275\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\137\\quot\\ style=\\quot\\width: 120px; height: 137px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>POS Interface - Restaurant Manager</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: onchange<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart307902\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 469px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart847275\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart131743\\quot\\ style=\\quot\\position: absolute; top: 193px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\121\\quot\\ style=\\quot\\width: 150px; height: 108px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Set tokens defining filespecs for pos export files and posdata files<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>setRestaurant_ManagerFilespecs<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart131743\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart307902\\quot\\ agentchildnonode=\\quot\\chart407292\\quot\\ style=\\quot\\position: absolute; top: 353px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart407292\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 353px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=sensor_list|X=300|Y=117|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Restaurant_Manager.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//POS Interface - Restaurant Manager\\comma\\getRepFieldValue\\comma\\sensor_list\\comma\\Sensor=getRepFieldValue\\comma\\private\\comma\\text//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//getRepFieldValue//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getRepFieldValue\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Gets the value of a field from rep.dbf for a given start date//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - Start date of session - MM-dd-yyyy//crlf////tab////tab//FieldID - Field to be returned//crlf////tab////tab//Filename - Optional filename.  If not defined\\comma\\ rep.dbf will be read from the //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Value of he field or an error message//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getRepFieldValue\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\getRepFieldValue: Date=__Date__ FieldID=__FieldID__ Filename=__Filename__\\quot\\)//crlf////crlf////tab////tab////tab////abort if the date is not defined//crlf////tab////tab////tab//if(not(defined(\\quot\\__Date__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if FieldID is not defined//crlf////tab////tab////tab//if(not(defined(\\quot\\__FieldID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing FieldID\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////tab////get the filename.  Copy the file to the temporary_directory so there\\apos\\s no chance of //crlf////tab////tab////tab////creating a rep.dbf if one doesn\\apos\\t already exist//crlf////tab////tab////tab//sTempFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\getSalt(4)\\plus\\\\quot\\.$$$\\quot\\//crlf////crlf////tab////tab////tab//if(defined(\\quot\\__Filename__\\quot\\))//crlf////tab////tab////tab////tab//sFilename=\\quot\\__Filename__\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sFilename=addDirSlash(getToken(\\quot\\POSInterface_PosDir\\quot\\))\\plus\\\\quot\\rep\\quot\\\\plus\\right(\\quot\\__date__\\quot\\\\comma\\2)\\plus\\\\quot\\.dbf\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the file doesn\\apos\\t exist//crlf////tab////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: File does not exist: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////copy the file to the temp file//crlf////tab////tab////tab//fileCopy(sFilename\\comma\\sTempFilename)//crlf////crlf////tab////tab////tab////open the rep driver//crlf////tab////tab////tab//appendToLog(\\quot\\Opening driver from: \\quot\\\\plus\\sTempFilename)//crlf////tab////tab////tab//driverOpen(Pos_Rm_Rep_Dbf_All_Records\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\sTempFilename)//crlf////crlf////tab////tab////tab////locate the record containing the start date//crlf////tab////tab////tab//r=driverFindRecordAbsolute(d\\comma\\0\\comma\\\\quot\\Date_Start_Text=\\quot\\\\plus\\quote(\\quot\\__Date__\\quot\\))//crlf////crlf////tab////tab////tab////abort if record not found//crlf////tab////tab////tab//if(r<0)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot locate session with start date: __Date__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the fieldID is invalid//crlf////tab////tab////tab//if(not(driverContainsField(d\\comma\\\\quot\\__FieldID__\\quot\\)))//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid FieldID: __FieldID__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the value of the field//crlf////tab////tab////tab//s=drivergetFieldAbsolute(d\\comma\\\\quot\\__FieldID__\\quot\\\\comma\\r)//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=117|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__Action__//crlf////tab//__Action_list__//crlf////tab//__ActionDescription__//crlf////tab//__ActionParams__//crlf////tab//__ActionReturns__//crlf////tab//__ActionExec__//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Restaurant_Manager.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//1.02//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//POS Interface - Restaurant Manager\\comma\\copyCurrentRMPOSFile\\comma\\action_list\\comma\\Action=copyCurrentRMPOSFile\\comma\\private//crlf////tab//POS Interface - Restaurant_Manager\\comma\\setRestaurant_ManagerFilespecs\\comma\\action_list\\comma\\Action=setRestaurant_ManagerFilespecs\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//copyCurrentRMPOSFile//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\copyCurrentRMPOSFile\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Copies a Restaurant Manager file from the POS directory to the //crlf////tab////tab//[homedir]posdata/restaurant_manager/current directory.  This action is used in the //crlf////tab////tab//driver dependencies for drivers in the 4 - Current POS Export Files category.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - Date (MM-dd-yyyy)//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\copyCurrentRMPOSFile\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////abort if date is undefined//crlf////tab////tab////tab//if(not(defined(\\quot\\__Date__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the POS directory//crlf////tab////tab////tab//sStoreID=if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\\\comma\\\\quot\\dDqDiP2B3SSYRNb1z7ju6uge\\quot\\\\comma\\getToken(\\quot\\POSInterface_StoreID\\quot\\))//crlf////tab////tab////tab//sPosDir=lookup(Aspect_BackOffice_Store_POS_Directory_By_ID\\comma\\sStoreID)//crlf////crlf////tab////tab////tab////abort if POS directory is invalid//crlf////tab////tab////tab//appendToLog(\\quot\\StoreID=\\quot\\+sStoreID+\\quot\\ PosDir=\\quot\\+sPosDir)//crlf////tab////tab////tab//if(len(sPosDir)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot determine POS directory.  StoreID=\\quot\\+sStoreID)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the destination directory//crlf////tab////tab////tab//sDestDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/restaurant_manager/current/\\quot\\//crlf////crlf////tab////tab////tab////make an array of filenames to be copied//crlf////tab////tab////tab//dt=parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//arFilename=\\quot\\PMT\\quot\\+formatDate(dt\\comma\\\\quot\\MMyy\\quot\\)+\\quot\\.DBF\\quot\\//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\POUT\\quot\\+formatDate(dt\\comma\\\\quot\\MMyy\\quot\\)+\\quot\\.DBF\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\REP\\quot\\+formatDate(dt\\comma\\\\quot\\yy\\quot\\)+\\quot\\.DBF\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\SDET\\quot\\+formatDate(dt\\comma\\\\quot\\MMyy\\quot\\)+\\quot\\.DBF\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\SLS\\quot\\+formatDate(dt\\comma\\\\quot\\MMyy\\quot\\)+\\quot\\.DBF\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\TAX\\quot\\+formatDate(dt\\comma\\\\quot\\MMyy\\quot\\)+\\quot\\.DBF\\quot\\)//crlf////tab////tab////tab//arFilename=addElement(arFilename\\comma\\\\quot\\TIPOPAG.DBF\\quot\\)//crlf////crlf////tab////tab////tab//cCopied=0//crlf////tab////tab////tab//c=getElementCount(arFilename)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFilename=getElement(arFilename\\comma\\n)//crlf////tab////tab////tab////tab//sSrcFilename=addDirSlash(sPosDir)+sFilename//crlf////tab////tab////tab////tab//sDestFilename=addDirSlash(sDestDir)+sFilename//crlf////tab////tab////tab////tab//appendToLog(\\quot\\sSrcFilename=\\quot\\+sSrcFilename)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\sDestFilename=\\quot\\+sDestFilename)//crlf////tab////tab////tab////tab//if(fileSize(sSrcFilename)<>fileSize(sDestFilename))//crlf////tab////tab////tab////tab////tab//fileCopy(sSrcFilename\\comma\\sDestFilename)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Copied \\quot\\+sSrcFilename+\\quot\\ to \\quot\\+sDestFilename)//crlf////tab////tab////tab////tab////tab//cCopied++//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: \\quot\\+sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//setRestaurant_ManagerFilespecs//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\setRestaurant_ManagerFilespecs\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Sets tokens containing filespecs pointing to pos export files and //crlf////tab////tab//data in the homedir\posdata directories.  Tokens are://crlf////tab////tab//-------------------------------------------------------------------------------------//crlf////tab////tab//POSExportDirs - A list of directories containing pos export files to all days in //crlf////tab////tab////tab//the synch period. (e.g. [dir]\*.*;[dir]\*.*...//crlf////tab////tab//RequiredPOSExportFiles - A list of all pos export files required in the synch period//crlf////tab////tab//POSDataDirs - List of directories under [homedir]\posdata//crlf////tab////tab//RequiredPOSDataFiles - List of all files under [homedir]\posdata for the synch period//crlf////tab////tab//-------------------------------------------------------------------------------------//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\setRestaurant_ManagerFilespecs\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////This script requires that tokens have been set by the POS Interface agent//crlf////tab////tab////tab////indicating the pos type\\comma\\ pos directory and number of synch days//crlf////tab////tab////tab//appendToLog(\\quot\\setRestaurant_ManagerFilespecs started\\quot\\)//crlf////crlf////tab////tab////tab////abort if pos type is not Restaurant_Manager//crlf////tab////tab////tab//if(getToken(\\quot\\POSInterface_PosType\\quot\\)<>\\quot\\Restaurant_Manager\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: POS type is not Restaurant_Manager\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if pos directory is invalid.  Don't allow a single character like \ or ///crlf////tab////tab////tab//sPosDir=getToken(\\quot\\POSInterface_PosDir\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\setRestaurant_ManagerFilespecs sPosDir=\\quot\\+sPosDir)//crlf////tab////tab////tab//if((len(sPosDir)<2) or (not(fileExists(sPosDir))) or (not(fileIsDirectory(sPosDir))))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid POS directory: \\quot\\+sPosDir)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sPosDir=addDirSlash(sPosDir)//crlf//            //crlf////tab////tab////tab////abort if synch days is not valid//crlf////tab////tab////tab//iSynchDays=value(getToken(\\quot\\POSInterface_SynchDays\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\setRestaurant_ManagerFilespecs iSynchDays=\\quot\\+iSynchDays)//crlf////tab////tab////tab//if(iSynchDays=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Number of days to synch is invalid: \\quot\\+iSynchDays)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get start/end dates//crlf////tab////tab////tab//dt2=LastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab//dt1=incrementTime(dt2\\comma\\-(iSynchDays-1))//crlf////tab////crlf////tab////tab////tab////get set of Restaurant_Manager export directories.//crlf////tab////tab////tab////There is only one since files are not located in dated directories//crlf////tab////tab////tab//setToken(\\quot\\POSExportDirs\\quot\\\\comma\\sPosDir)//crlf////tab////tab////tab//appendToLog(\\quot\\setRestaurant_ManagerFilespecs POSExportDirs=\\quot\\+getToken(\\quot\\POSExportDirs\\quot\\))//crlf////crlf////tab////tab////tab////get set of directories under [homedir]posdata//crlf////tab////tab////tab//arDir=getSetFor(getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\Restaurant_Manager\\\quot\\\\comma\\arDate)//crlf////tab////tab////tab//arDir=replaceSubstring(replaceSubstring(arDir\\comma\\char(0x2C)\\comma\\char(0x3B))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab//setToken(\\quot\\POSDataDirs\\quot\\\\comma\\arDir)//crlf////tab////tab////tab//appendToLog(\\quot\\setRestaurant_ManagerFilespecs POSDataDirs=\\quot\\+getToken(\\quot\\POSDataDirs\\quot\\))//crlf////crlf////tab////tab////tab////get set of Restaurant_Manager export files//crlf////tab////tab////tab//arRequired=getCollection(\\quot\\POS_RM_POS_Export_Files\\quot\\\\comma\\true\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\value\\quot\\)//crlf////tab////tab////tab//arDate=getSetTime(dt1\\comma\\dt2\\comma\\1440*60\\comma\\\\quot\\yyyyMMdd\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\$e$\\\quot\\\\comma\\char(0x2C))//crlf////tab////tab////tab//arRequiredPOSExportFiles=\\quot\\\\quot\\//crlf////tab////tab////tab//arRequiredPOSDataFiles=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arDate)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sDate=getElement(arDate\\comma\\n)//crlf////tab////tab////tab////tab//cRequired=getElementCount(arRequired)//crlf////tab////tab////tab////tab//nRequired=0//crlf////tab////tab////tab////tab//while(nRequired<cRequired)//crlf////tab////tab////tab////tab////tab//sRequired=getElement(arRequired\\comma\\nRequired)//crlf////tab////tab////tab////tab////tab//s=sRequired//crlf////tab////tab////tab////tab////tab//dt=parseTime(sDate\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\[yy]\\quot\\\\comma\\formatDate(dt\\comma\\\\quot\\yy\\quot\\))//crlf////tab////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\[MMyy]\\quot\\\\comma\\formatDate(dt\\comma\\\\quot\\MMyy\\quot\\))//crlf////tab////tab////tab////tab////tab//if(n=(c-1))//crlf////tab////tab////tab////tab////tab////tab//arRequiredPOSExportFiles=addElement(arRequiredPOSExportFiles\\comma\\sPosDir+s)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//arRequiredPOSDataFiles=addElement(arRequiredPOSDataFiles\\comma\\getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/Restaurant_Manager/\\quot\\+sDate+s)//crlf////tab////tab////tab////tab////tab//nRequired++//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//arRequiredPOSExportFiles=replaceSubstring(arRequiredPOSExportFiles\\comma\\char(0x2C)\\comma\\char(0x3B))//crlf////tab////tab////tab//arRequiredPOSDataFiles=replaceSubstring(arRequiredPOSDataFiles\\comma\\char(0x2C)\\comma\\char(0x3B))//crlf////crlf////tab////tab////tab//setToken(\\quot\\RequiredPOSExportFiles\\quot\\\\comma\\arRequiredPOSExportFiles)//crlf////tab////tab////tab//setToken(\\quot\\RequiredPOSDataFiles\\quot\\\\comma\\arRequiredPOSDataFiles)//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=847275|X=183|Y=238|W=149|H=107|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=131743|AgentChildNoNode=|AgentSensor=0|AgentAction=setRestaurant_ManagerFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Set tokens defining filespecs for pos export files and posdata files|AgentNodeTermType=0|^
ID=131743|X=183|Y=398|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=307902|AgentChildNoNode=407292|AgentSensor=1|AgentAction=setRestaurant_ManagerFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(\\quot\\result\\quot\\//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=0|^
ID=407292|X=373|Y=398|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=setRestaurant_ManagerFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=783232|X=300|Y=117|W=1180|H=654|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional Expression:defined(\\quot\\__DriverID__\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Dir\\quot\\\\comma\\\\quot\\__Dir__\\quot\\\\comma\\getToken(\\quot\\HomeDir\\quot\\)+\\quot\\posdata/restaurant_manager/current\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Date\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\\\quot\\12-27-2018\\quot\\)>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\__DriverID__\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Dir=__Dir__~~pipe~~Date=__Date__~~pipe~~Metadata=__DriverID__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\POS_RM_PMT_DBF_CURRENTDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//tab//
</widget><widget name="Convert Restaurant Manager Export Files" group="POS Interface" category="Restaurant Manager" description="Copies files from the rmwin directory to the date aspect7\posdata directories." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Convert Restaurant Manager Export Files" modified="04-27-2024 23:24:37" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=04-10-2017 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=1 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(not(isServer())) and (getToken(\\quote\\AspectCoreVersion\\quote\\)\\gt\\=7.592) and (isPackageLoaded(\\quote\\POS_Restaurant_Manager\\quote\\)) and (getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\Restaurant_Manager\\quote\\) and (hour(now())\\gt\\0)" TaskConditional_Expression_Description="" TaskState_Function="getFilespecState(addDirSlash(getToken(\\quote\\POSInterface_PosDir\\quote\\))+\\quote\\rep*.dbf\\quote\\)+getFilespecState(getToken(\\quote\\RequiredPOSDataFiles\\quote\\))+gfs(getToken(\\quote\\homedir\\quote\\)+\\quote\\Aspect_BackOffice/store_list.dta\\quote\\)" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=83|toolboxy=201|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Convert Restaurant Manager Export Files.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=870|H=664|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'100961')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'903538')\\quot\\>Agent Expressions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'291102')\\quot\\>Condition/State</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'646784')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=100961|X=1500|Y=25|W=870|H=664|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=25|W=870|H=664|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=25|W=870|H=664|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Convert Restaurant Manager Export Files.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Convert Restaurant Manager Export Files\\comma\\getCurrentRMSessionStatus\\comma\\sensor_list\\comma\\Sensor=getCurrentRMSessionStatus\\comma\\private\\comma\\text//crlf////tab//Convert Restaurant Manager Export Files\\comma\\getCurrentRMSessionStart\\comma\\sensor_list\\comma\\Sensor=getCurrentRMSessionStart\\comma\\private\\comma\\text//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//getCurrentRMSessionStatus//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getCurrentRMSessionStatus\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Gets informaiton about the most recent status//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Error or comma-delimited file in the form Session Number\\comma\\Start Date\\comma\\Start Time//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getCurrentRMSessionStatus\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\getCurrentRMSessionStatus started\\quot\\)//crlf////crlf////tab////tab////tab////get the POS data directory//crlf////tab////tab////tab//if(trim(getSystemValue(\\quot\\DevelopmentMode\\quot\\))=\\quot\\true\\quot\\)//crlf////tab////tab////tab////tab//sPOSDir=\\quot\\C:\aspect7\posdata\Restaurant_Manager\tudors_hurricane\20210520\\\quot\\//crlf////tab////tab////tab//else//tab////crlf////tab////tab////tab////tab//sPOSDir=addDirSlash(getSensorValue(\\quot\\Get POS Directory\\quot\\))//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//appendToLog(\\quot\\sPosDir=\\quot\\+sPosDir)//crlf////crlf////tab////tab////tab////get the current date plus 12 hours.  This is used to determine the name of the rep file.  //crlf////tab////tab////tab////12 hours is added in case the session is started before midnight//crlf////tab////tab////tab//dtNow=incrementTime(now()\\comma\\0\\comma\\12)//crlf////crlf////tab////tab////tab////get the rep file name//crlf////tab////tab////tab//sRepFilename=sPOSDir+\\quot\\rep\\quot\\+formatDate(dtNow\\comma\\\\quot\\yy\\quot\\)+\\quot\\.dbf\\quot\\//crlf////crlf////tab////tab////tab////abort if the file does not exist//crlf////tab////tab////tab//if(not(fileExists(sRepFilename)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot locate \\quot\\+sRepFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////copy the file to a temp file//crlf////tab////tab////tab//sTempFilename=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\rep_\\quot\\+getSalt(4)+\\quot\\.$$$\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Copy \\quot\\+sRepFilename+\\quot\\ to \\quot\\+sTempFilename)//crlf////tab////tab////tab//fileCopy(sRepFilename\\comma\\sTempFilename)//crlf////crlf////tab////tab////tab////open the rep file//crlf////tab////tab////tab//appendToLog(\\quot\\Open rep file: \\quot\\+sTempFilename)//crlf////tab////tab////tab//driverOpen(Pos_Rm_Rep_Dbf\\comma\\d\\comma\\\\quot\\READ\\quot\\\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+sTempFilename)//crlf////tab////tab////tab////crlf////tab////tab////tab////get data from the last record//crlf////tab////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////crlf////tab////tab////tab//iSessionNumber=driverGetFieldAbsolute(d\\comma\\\\quot\\Session_No\\quot\\\\comma\\c-1)//crlf////tab////tab////tab//dtStart=driverGetFieldAbsolute(d\\comma\\\\quot\\Date_Start\\quot\\\\comma\\c-1)//crlf////tab////tab////tab//sTimeStart=driverGetFieldAbsolute(d\\comma\\\\quot\\Time_Start\\quot\\\\comma\\c-1)//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//s=formatNumber(iSessionNumber\\comma\\\\quot\\//pound//\\quot\\)+\\quot\\\\comma\\\\quot\\+formatDate(dtStart\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\\\comma\\\\quot\\+sTimeStart//crlf////tab////tab////tab//appendToLog(\\quot\\getCurrentRMSessionStatus: \\quot\\+s)//crlf////crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//getCurrentRMSessionStart//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getCurrentRMSessionStart\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Gets the date of the most recent restaurant manager session start.  This is used to determine //crlf////tab////tab//if a new session has been started.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date of the current session in MM-dd-yyyy format or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getCurrentRMSessionStart\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////get the POS data directory//crlf////tab////tab////tab//if(trim(getSystemValue(\\quot\\DevelopmentMode\\quot\\))=\\quot\\true\\quot\\)//crlf////tab////tab////tab////tab//sPOSDir=\\quot\\C:\aspect7\posdata\Restaurant_Manager\tudors_hurricane\20210520\\\quot\\//crlf////tab////tab////tab//else//tab////crlf////tab////tab////tab////tab//sPOSDir=addDirSlash(getSensorValue(\\quot\\Get POS Directory\\quot\\))//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//appendToLog(\\quot\\sPosDir=\\quot\\+sPosDir)//crlf////crlf////tab////tab////tab////get the current date plus 12 hours.  This is used to determine the name of the rep file.  //crlf////tab////tab////tab////12 hours is added in case the session is started before midnight//crlf////tab////tab////tab//dtNow=incrementTime(now()\\comma\\0\\comma\\12)//crlf////crlf////tab////tab////tab////get the rep file name//crlf////tab////tab////tab//sRepFilename=sPOSDir+\\quot\\rep\\quot\\+formatDate(dtNow\\comma\\\\quot\\yy\\quot\\)+\\quot\\.dbf\\quot\\//crlf////crlf////tab////tab////tab////abort if the file does not exist//crlf////tab////tab////tab//if(not(fileExists(sRepFilename)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot locate \\quot\\+sRepFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////copy the file to a temp file//crlf////tab////tab////tab//sTempFilename=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\rep_\\quot\\+getSalt(4)+\\quot\\.$$$\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Copy \\quot\\+sRepFilename+\\quot\\ to \\quot\\+sTempFilename)//crlf////tab////tab////tab//fileCopy(sRepFilename\\comma\\sTempFilename)//crlf////crlf////tab////tab////tab////get array of dates//crlf////tab////tab////tab//arDate=getCollection(POS_Restaurant_Manager_Lookup_Session_Number_by_Date\\comma\\true\\comma\\\\quot\\Filename=\\quot\\+sTempFilename\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\keys\\quot\\)//crlf////crlf////tab////tab////tab////get the most recent date//crlf////tab////tab////tab//dtLast=date(0)//crlf////tab////tab////tab//c=getElementCount(arDate)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(arDate\\comma\\n)//crlf////tab////tab////tab////tab//dt=parseTime(s\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//if((n=0) or (dateNumber(dt)>dateNumber(dtLast)))//crlf////tab////tab////tab////tab////tab//dtLast=dt//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab//return(formatDate(dtLast\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf////crlf//^
ID=action_list|X=1500|Y=25|W=870|H=664|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__Action__//crlf////tab//__Action_list__//crlf////tab//__ActionDescription__//crlf////tab//__ActionParams__//crlf////tab//__ActionReturns__//crlf////tab//__ActionExec__//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Convert Restaurant Manager Export Files.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//1.0//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Convert Restaurant Manager Export Files\\comma\\processRestaurantManagerFiles_Day\\comma\\action_list\\comma\\Action=processRestaurantManagerFiles_Day\\comma\\private//crlf////tab//Convert Restaurant Manager Export Files\\comma\\processRestaurantManagerFiles_Period\\comma\\action_list\\comma\\Action=processRestaurantManagerFiles_Period\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//processRestaurantManagerFiles_Day//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\processRestaurantManagerFiles_Day\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Copies Restaurant Manager export files for a specific date to homedir\posdata\Restaurant_Manager\yyyymmdd.//crlf////tab////tab//The itm and cit files//tab//are processed to remove unused records.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - The date to be processed - MM-dd-yyyy //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\processRestaurantManagerFiles_Day\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\processRestaurantManagerFiles_Day started Date=__Date__\\quot\\)//crlf////tab////tab////tab//sPOSDir=getSensorValue(\\quot\\Get POS Directory\\quot\\)//crlf////crlf////tab////tab////tab////abort if pos directory is invalid//crlf////tab////tab////tab//if(not(dirExists(sPOSDir)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid POS directory: __POSDir__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the date is missing or invalid//crlf////tab////tab////tab//if(startsWith(\\quot\\__Date__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid date1: __Date__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//dt=parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//if((year(dt)<2000) or (year(dt)>2099))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid date2: __Date__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the directory containing the files//crlf////tab////tab////tab//sDataDir=addDirSlash(sPOSDir)//crlf////tab////tab////tab//appendToLog(\\quot\\DataDir=\\quot\\+sDataDir)//crlf////tab////tab////tab////crlf////tab////tab////tab////abort if the directory doesn't exist//crlf////tab////tab////tab//if(not(dirExists(sDataDir)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid directory: \\quot\\+sDataDir)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the destination directory//crlf////tab////tab////tab//sDestDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/Restaurant_Manager/\\quot\\+formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\DestDir=\\quot\\+sDestDir)//crlf////crlf////tab////tab////tab////copy the rep file to the posdata directory//crlf////tab////tab////tab//s=sDataDir+\\quot\\rep\\quot\\+formatDate(dt\\comma\\\\quot\\yy\\quot\\)+\\quot\\.dbf\\quot\\//crlf////tab////tab////tab//if(not(fileExists(s)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot locate \\quot\\+s)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//sRepFilename=sDestDir+\\quot\\rep\\quot\\+formatDate(dt\\comma\\\\quot\\yy\\quot\\)+\\quot\\.dbf\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Copy \\quot\\+s+\\quot\\ to \\quot\\+sRepFilename)//crlf////tab////tab////tab//fileCopy(s\\comma\\sRepFilename)//crlf////crlf////tab////tab////tab////get the session number for the date//crlf////tab////tab////tab//iSessionNumber=lookup(POS_Restaurant_Manager_Lookup_Session_Number_by_Date\\comma\\\\quot\\__Date__\\quot\\\\comma\\0\\comma\\\\quot\\Filename=\\quot\\+sRepFilename)//crlf////tab////tab////tab////crlf////tab////tab////tab////abort if the session number is invalid//crlf////tab////tab////tab//if(value(iSessionNumber)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot locate session number for __date__ in [\\quot\\+sRepFilename+\\quot\\]\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////get starting check number for session//crlf////tab////tab////tab//iSessionStartCheck=lookup(POS_Restaurant_Manager_Lookup_Start_Check_Number_by_Session_No\\comma\\iSessionNumber\\comma\\0\\comma\\\\quot\\Filename=\\quot\\+sRepFilename)//crlf////tab////tab////tab////crlf////tab////tab////tab////abort if the starting check number is invalid//crlf////tab////tab////tab//if(value(iSessionStartCheck)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid starting check number in session=\\quot\\+iSessionNumber+\\quot\\ Date=__Date__ Filenaem=\\quot\\+sRepFilename)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////get ending check number for session//crlf////tab////tab////tab//iSessionEndCheck=lookup(POS_Restaurant_Manager_Lookup_End_Check_Number_by_Session_No\\comma\\iSessionNumber\\comma\\0\\comma\\\\quot\\Filename=\\quot\\+sRepFilename)//crlf////tab////tab////tab////crlf////tab////tab////tab////abort if the ending check number is invalid//crlf////tab////tab////tab//if(value(iSessionEndCheck)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid ending check number in session=\\quot\\+iSessionNumber+\\quot\\ Date=__Date__ Filenaem=\\quot\\+sRepFilename)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////delete the processed.txt file if it exists.  This is used by the data available//crlf////tab////tab////tab////expression in the pos synch task to determine if all files have been processed.//crlf////tab////tab////tab////This prevents the synch task from running before processing is complete//crlf////tab////tab////tab//if(fileExists(sDestDir+\\quot\\processed.txt\\quot\\))//crlf////tab////tab////tab////tab//fileSetLength(sDestDir+\\quot\\processed.txt\\quot\\\\comma\\0)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Set length of \\quot\\+sDestDir+\\quot\\processed.txt\\quot\\+\\quot\\ to \\quot\\+fileSize(sDestDir+\\quot\\processed.txt\\quot\\)+\\quot\\ bytes\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////====================================================================//crlf////tab////tab////tab////copy files//crlf////tab////tab////tab////====================================================================//crlf////tab////tab////tab//arRequiredFiles=getCollection(\\quot\\POS_RM_Required_Files\\quot\\\\comma\\true\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2c)\\comma\\\\quot\\Value\\quot\\)//crlf////tab////tab////tab//arPosFiles=getCollection(\\quot\\POS_RM_POS_Export_Files\\quot\\\\comma\\true\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2c)\\comma\\\\quot\\Value\\quot\\)//crlf////tab////tab////tab////crlf////tab////tab////tab////replace the MM and MMYY tokens in the array of pos files.  E.g. changes sdet[MMYY] to sdet0117//crlf////tab////tab////tab//arPosFiles=replaceSubstring(arPosFiles\\comma\\\\quot\\[YY]\\quot\\\\comma\\formatDate(dt\\comma\\\\quot\\yy\\quot\\))//crlf////tab////tab////tab//arPosFiles=replaceSubstring(arPosFiles\\comma\\\\quot\\[MMYY]\\quot\\\\comma\\formatDate(dt\\comma\\\\quot\\MMyy\\quot\\))//crlf////crlf////tab////tab////tab////====================================================================//crlf////tab////tab////tab////Copy remaining files.  Files that have already been processed will not //crlf////tab////tab////tab////be replaced by the xcopy function//crlf////tab////tab////tab////(As of now\\comma\\ no files are processed.  All files are just copied over)//crlf////tab////tab////tab////====================================================================//crlf////tab////tab////tab//arFilespec=replaceSubstring(getSetFor(sDataDir\\comma\\arPosFiles)\\comma\\char(0x2C)\\comma\\char(0x3B))//crlf////tab////tab////tab//arDestFilespec=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arFilespec\\comma\\char(0x3B))//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(arFilespec\\comma\\n\\comma\\char(0x3B))//crlf////tab////tab////tab////tab//arDestFilespec=addElement(arDestFilespec\\comma\\sDestDir\\comma\\char(0x3B))//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//appendToLog(\\quot\\xCopy(\\quot\\+arFilespec+\\quot\\\\comma\\\\quot\\+arDestFilespec+\\quot\\)\\quot\\)//crlf////tab////tab////tab//xCopy(arFilespec\\comma\\arDestFilespec)//crlf////crlf////tab////tab////tab////Write the processed.txt file used by the pos synch task to determine if data //crlf////tab////tab////tab////is available//crlf////tab////tab////tab//fileWriteContent(sDestDir+\\quot\\processed.txt\\quot\\\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss:SSS\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\Wrote \\quot\\+fileSize(sDestDir+\\quot\\processed.txt\\quot\\)+\\quot\\ bytes to \\quot\\+sDestDir+\\quot\\processed.txt\\quot\\)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Copied files from \\quot\\+sDataDir+\\quot\\ to \\quot\\+sDestDir)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//processRestaurantManagerFiles_Period//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\processRestaurantManagerFiles_Period\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Copies Restaurant Manager export files to homedir\posdata\Restaurant_Manager\yyyymmdd for the//crlf////tab////tab//number of days specified in the store settings.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//SynchDays - The number of days to check//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\processRestaurantManagerFiles_Period\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\processRestaurantManagerFiles_Period\\quot\\)//crlf////crlf////tab////tab////tab//sPOSDir=getSensorValue(\\quot\\Get POS Directory\\quot\\)//crlf////crlf////tab////tab////tab////abort if pos directory is invalid//crlf////tab////tab////tab//if(not(dirExists(sPOSDir)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid POS directory: \\quot\\+sPOSDir)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the number of days is missing //crlf////tab////tab////tab//if(startsWith(\\quot\\__SynchDays__\\quot\\\\comma\\\\quot\\__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid number of synch days: __SynchDays__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the number of days is 0//crlf////tab////tab////tab//if(__SynchDays__=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid number of synch days: __Date__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the number of days is greater than 365//crlf////tab////tab////tab//if(__SynchDays__>365)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot synchronize more than 365 days\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get start/end dates//crlf////tab////tab////tab//t1=incrementTime(LastBusinessDay(\\quot\\00:00\\quot\\)\\comma\\-__SynchDays__)//crlf////tab////tab////tab//t2=LastBusinessDay(\\quot\\00:00\\quot\\)//crlf////crlf////tab////tab////tab////get collection of directories the will be checked to see if files exist//crlf////tab////tab////tab//setDate=getSetTime(t1\\comma\\t2\\comma\\1440*60\\comma\\\\quot\\MM-dd-yyyy\\quot\\\\comma\\true\\comma\\\\quot\\$e$\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\)//crlf////tab////tab////tab//setDir=getSetTime(t1\\comma\\t2\\comma\\1440*60\\comma\\\\quot\\yyyyMMdd\\quot\\\\comma\\true\\comma\\getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/Restaurant_Manager/$e$\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\)//crlf////tab////tab////tab////crlf////tab////tab////tab////set the command to be executed by execSetCommand//crlf////tab////tab////tab//cmd=\\quot\\isSubset(getCollection(\\quot\\POS_RM_Required_Files\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\value\\quot\\)\\comma\\getFiles($e$\\comma\\0\\comma\\false\\comma\\\\quot\\\\comma\\\\quot\\))\\quot\\//crlf////crlf////tab////tab////tab////execute the command.  The result will be a linefeed delimited list of boolean//crlf////tab////tab////tab////values indicating whether files exist in each directory or not//crlf////tab////tab////tab//s=execSetCommand(setDir\\comma\\cmd)//crlf////crlf////tab////tab////tab//c=getElementCount(setDate)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//bIsSubset=boolean(trim(getElement(s\\comma\\n\\comma\\char(10))))//crlf////tab////tab////tab////tab//if(not(bIsSubset))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Update files for \\quot\\+getElement(setDir\\comma\\n)+\\quot\\ Date=\\quot\\+getElement(setDate\\comma\\n))//crlf////tab////tab////tab////tab////tab//s=execAgentAction(\\quot\\processRestaurantManagerFiles_Day\\quot\\\\comma\\\\quot\\Date=\\quot\\+getElement(setDate\\comma\\n))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//return(\\quot\\Ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>^
ID=debug_console|X=1500|Y=25|W=870|H=664|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=646784|X=1500|Y=25|W=870|H=664|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=40|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=412936|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|AgentReportTo=getToken(\\quot\\AspectServerHashID\\quot\\)|^
ID=97404|X=183|Y=647|W=149|H=65|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=567897|AgentChildNoNode=559366|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=defined(\\quot\\__date__\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Is a date specified?|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Convert Restaurant Manager Export Files\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Restaurant Manager Export Files\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 03-07-2024 04:58:05//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////crlf////tab////tab////Is the Restaurant Manager package loaded?//crlf////tab////tab//if(isPackageLoaded(\\quot\\pos_restaurant_manager\\quot\\))//crlf////crlf////tab////tab////tab////Is the POS type Restaurant Manager?//crlf////tab////tab////tab//POSType=getSensorValue(\\quot\\Get POS Type\\quot\\)//crlf////tab////tab////tab//if((POSType=\\quot\\Restaurant_Manager\\quot\\))//crlf////crlf////tab////tab////tab////tab////Is a POS directory defined?//crlf////tab////tab////tab////tab//POSDir=getSensorValue(\\quot\\Get POS Directory\\quot\\)//crlf////tab////tab////tab////tab//if(not(startsWith(POSDir\\comma\\\\quot\\error\\quot\\)))//crlf////crlf////tab////tab////tab////tab////tab////Is a date specified?//crlf////tab////tab////tab////tab////tab//if(defined(\\quot\\__date__\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Restaurant Manager Export Files\\comma\\AgentAction\\comma\\567897\\comma\\0\\comma\\Process files for a single day//crlf////crlf////tab////tab////tab////tab////tab////tab////Process files for a single day//crlf////tab////tab////tab////tab////tab////tab//Result=execAgentAction(\\quot\\processRestaurantManagerFiles_Day\\quot\\\\comma\\\\quot\\Date=__Date__\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab////Success?//crlf////tab////tab////tab////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Restaurant Manager Export Files\\comma\\AgentTerminate\\comma\\285110\\comma\\0\\comma\\Ok//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Restaurant Manager Export Files\\comma\\AgentTerminate\\comma\\475746\\comma\\1\\comma\\Error//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////crlf////tab////tab////tab////tab////tab////tab////Is the number of days to synchronize valid?//crlf////tab////tab////tab////tab////tab////tab//SynchDays=getSensorValue(\\quot\\Get Synch Days\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//if((SynchDays>0) and (SynchDays<=370))//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Restaurant Manager Export Files\\comma\\AgentAction\\comma\\524498\\comma\\0\\comma\\Process files for range of days//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////Process files for range of days//crlf////tab////tab////tab////tab////tab////tab////tab//Result=execAgentAction(\\quot\\processRestaurantManagerFiles_Period\\quot\\\\comma\\\\quot\\SynchDays=\\quot\\\\plus\\SynchDays)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////Success?//crlf////tab////tab////tab////tab////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Restaurant Manager Export Files\\comma\\AgentTerminate\\comma\\267847\\comma\\0\\comma\\Ok//crlf////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Restaurant Manager Export Files\\comma\\AgentTerminate\\comma\\874058\\comma\\1\\comma\\Error//crlf////tab////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Restaurant Manager Export Files\\comma\\AgentTerminate\\comma\\514145\\comma\\1\\comma\\Number of days to synch is 0 or more than 370//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Number of days to synch is 0 or more than 45\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Restaurant Manager Export Files\\comma\\AgentTerminate\\comma\\663569\\comma\\1\\comma\\POS Directory is undefined//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: POS Directory is undefined\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Restaurant Manager Export Files\\comma\\AgentTerminate\\comma\\605027\\comma\\1\\comma\\POS type is not Restaurant Manager//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: POS type is not Restaurant Manager\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Convert Restaurant Manager Export Files\\comma\\AgentTerminate\\comma\\296656\\comma\\1\\comma\\Restaurant Manager package is not loaded//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Restaurant Manager package is not loaded\\quot\\)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;03072024//amp//nbsp;045805//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Convert//amp//nbsp;Restaurant//amp//nbsp;Manager//amp//nbsp;Export//amp//nbsp;Files\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;03-07-2024//amp//nbsp;04:58:05</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;Restaurant//amp//nbsp;Manager//amp//nbsp;package//amp//nbsp;loaded?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>isPackageLoaded</span>(\\quot\\pos_restaurant_manager\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;POS//amp//nbsp;type//amp//nbsp;Restaurant//amp//nbsp;Manager?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;POSType=<span class='keyword'>getSensorValue</span>(\\quot\\Get//amp//nbsp;POS//amp//nbsp;Type\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(POSType=\\quot\\Restaurant_Manager\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;a//amp//nbsp;POS//amp//nbsp;directory//amp//nbsp;defined?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;POSDir=<span class='keyword'>getSensorValue</span>(\\quot\\Get//amp//nbsp;POS//amp//nbsp;Directory\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>not</span>(<span class='keyword'>startsWith</span>(POSDir\\comma\\\\quot\\error\\quot\\)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;a//amp//nbsp;date//amp//nbsp;specified?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>defined</span>(\\quot\\__date__\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Process//amp//nbsp;files//amp//nbsp;for//amp//nbsp;a//amp//nbsp;single//amp//nbsp;day</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\processRestaurantManagerFiles_Day\\quot\\\\comma\\\\quot\\Date=__Date__\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;number//amp//nbsp;of//amp//nbsp;days//amp//nbsp;to//amp//nbsp;synchronize//amp//nbsp;valid?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;SynchDays=<span class='keyword'>getSensorValue</span>(\\quot\\Get//amp//nbsp;Synch//amp//nbsp;Days\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(SynchDays//amp//gt;0)//amp//nbsp;and//amp//nbsp;(SynchDays//amp//lt;=370))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Process//amp//nbsp;files//amp//nbsp;for//amp//nbsp;range//amp//nbsp;of//amp//nbsp;days</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\processRestaurantManagerFiles_Period\\quot\\\\comma\\\\quot\\SynchDays=\\quot\\\\plus\\SynchDays)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Number//amp//nbsp;of//amp//nbsp;days//amp//nbsp;to//amp//nbsp;synch//amp//nbsp;is//amp//nbsp;0//amp//nbsp;or//amp//nbsp;more//amp//nbsp;than//amp//nbsp;45\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;POS//amp//nbsp;Directory//amp//nbsp;is//amp//nbsp;undefined\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;POS//amp//nbsp;type//amp//nbsp;is//amp//nbsp;not//amp//nbsp;Restaurant//amp//nbsp;Manager\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Restaurant//amp//nbsp;Manager//amp//nbsp;package//amp//nbsp;is//amp//nbsp;not//amp//nbsp;loaded\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>03072024 045805</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart412936\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\149\\quot\\ style=\\quot\\width: 120px; height: 149px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Convert Restaurant Manager Export Files</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: getToken(\\quot\\AspectServerHashID\\quot\\)<br>Name Params: </div></div><div id=\\quot\\chart97404\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart567897\\quot\\ agentchildnonode=\\quot\\chart559366\\quot\\ style=\\quot\\position: absolute; top: 607px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is a date specified?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart285110\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 986px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart524498\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart744680\\quot\\ style=\\quot\\position: absolute; top: 736px; left: 350px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Process files for range of days<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>processRestaurantManagerFiles_Period<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart412936\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart143708\\quot\\ agentchildnonode=\\quot\\chart296656\\quot\\ style=\\quot\\position: absolute; top: 220px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\90\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the Restaurant Manager package loaded?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart296656\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 220px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\110\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Restaurant Manager package is not loaded<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart796284\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart97404\\quot\\ agentchildnonode=\\quot\\chart663569\\quot\\ style=\\quot\\position: absolute; top: 478px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is a POS directory defined?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Get//amp//nbsp;POS//amp//nbsp;Directory<br></td></tr></tbody></table></div></div><div id=\\quot\\chart663569\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 478px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>POS Directory is undefined<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart143708\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart796284\\quot\\ agentchildnonode=\\quot\\chart605027\\quot\\ style=\\quot\\position: absolute; top: 349px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the POS type Restaurant Manager?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Get//amp//nbsp;POS//amp//nbsp;Type<br></td></tr></tbody></table></div></div><div id=\\quot\\chart605027\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 349px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>POS type is not Restaurant Manager<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart267847\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 999px; left: 350px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart559366\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart524498\\quot\\ agentchildnonode=\\quot\\chart514145\\quot\\ style=\\quot\\position: absolute; top: 607px; left: 350px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\90\\quot\\ style=\\quot\\width: 150px; height: 77px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the number of days to synchronize valid?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Get//amp//nbsp;Synch//amp//nbsp;Days<br></td></tr></tbody></table></div></div><div id=\\quot\\chart514145\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 607px; left: 540px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\110\\quot\\ style=\\quot\\width: 120px; height: 110px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Number of days to synch is 0 or more than 370<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart744680\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart267847\\quot\\ agentchildnonode=\\quot\\chart874058\\quot\\ style=\\quot\\position: absolute; top: 883px; left: 350px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart874058\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 883px; left: 540px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart567897\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart924513\\quot\\ style=\\quot\\position: absolute; top: 723px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Process files for a single day<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>processRestaurantManagerFiles_Day<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart924513\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart285110\\quot\\ agentchildnonode=\\quot\\chart475746\\quot\\ style=\\quot\\position: absolute; top: 870px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart475746\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 870px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=285110|X=183|Y=1026|W=119|H=47|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=processAlohaFiles_Day|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=524498|X=533|Y=776|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=744680|AgentChildNoNode=|AgentSensor=Get POS Type|AgentAction=processRestaurantManagerFiles_Period|AgentNodeNotes=|AgentNodeParams=\\quot\\SynchDays\equals\\\quot\\//plus//SynchDays|AgentNodeExpression=\\quot\\Error: Date is undefined\\quot\\|AgentNodeActionReturnValue=Result|AgentNodeComment=Process files for range of days|AgentNodeTermType=1|^
ID=412936|X=183|Y=260|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=143708|AgentChildNoNode=296656|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=isPackageLoaded(\\quot\\pos_restaurant_manager\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Is the Restaurant Manager package loaded?|AgentNodeTermType=0|^
ID=296656|X=373|Y=260|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get POS Type|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Restaurant Manager package is not loaded\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Restaurant Manager package is not loaded|AgentNodeTermType=1|^
ID=796284|X=183|Y=518|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=97404|AgentChildNoNode=663569|AgentSensor=Get POS Directory|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=not(startsWith(POSDir//comma//\\quot\\error\\quot\\))|AgentNodeActionReturnValue=POSDir|AgentNodeComment=Is a POS directory defined?|AgentNodeTermType=0|^
ID=663569|X=373|Y=518|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get POS Type|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: POS Directory is undefined\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=POS Directory is undefined|AgentNodeTermType=1|^
ID=143708|X=183|Y=389|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=796284|AgentChildNoNode=605027|AgentSensor=Get POS Type|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(POSType\equals\\\quot\\Restaurant_Manager\\quot\\)|AgentNodeActionReturnValue=POSType|AgentNodeComment=Is the POS type Restaurant Manager?|AgentNodeTermType=0|^
ID=605027|X=373|Y=389|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get POS Type|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: POS type is not Restaurant Manager\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=POS type is not Restaurant Manager|AgentNodeTermType=1|^
ID=267847|X=533|Y=1039|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=559366|X=533|Y=647|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=524498|AgentChildNoNode=514145|AgentSensor=Get Synch Days|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(SynchDays>0) and (SynchDays<\equals\370)|AgentNodeActionReturnValue=SynchDays|AgentNodeComment=Is the number of days to synchronize valid?|AgentNodeTermType=1|^
ID=514145|X=723|Y=647|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=Get Synch Days|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Number of days to synch is 0 or more than 45\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Number of days to synch is 0 or more than 370|AgentNodeTermType=1|^
ID=744680|X=533|Y=923|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=267847|AgentChildNoNode=874058|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=1|^
ID=874058|X=723|Y=923|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=567897|X=183|Y=763|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=924513|AgentChildNoNode=|AgentSensor=1|AgentAction=processRestaurantManagerFiles_Day|AgentNodeNotes=|AgentNodeParams=\\quot\\Date\equals\__Date__\\quot\\|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Process files for a single day|AgentNodeTermType=1|^
ID=924513|X=183|Y=910|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=285110|AgentChildNoNode=475746|AgentSensor=1|AgentAction=processAlohaFiles_Day|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=1|^
ID=475746|X=373|Y=910|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=processAlohaFiles_Day|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=291102|X=1500|Y=25|W=870|H=664|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<p>These expressions are used in the conditional expression and state expression for the agent.</p>//crlf//<p>This is an area to test the expressions.</p>//crlf////crlf//<h1>Conditional expression</h1>//crlf//<ul>//crlf////tab//<li>A required file is missing for one or more days in Aspect7/posdata/yyyyMMdd</li>//crlf////tab//<li>Aloha data for the most recent day is not available or it has been modified more//crlf////tab////tab//than 5 minutes ago.  Takes into consideration that there may be other days to//crlf////tab////tab//process even if the most recent day is missing.</li>//crlf//</ul>//crlf//<br>//crlf////crlf//<b>Expression</b><br>//crlf//<br>//crlf//<ul style=\\quot\\margin:0px;\\quot\\>//crlf////tab//<li style=\\quot\\list-style-type:none\\quot\\>Token: <code>{@replaceSubstring(getToken(\\quot\\Aloha_process_files_2015_conditional_expression\\quot\\)\\comma\\\\quot\\x\\quot\\+\\quot\\22\\quot\\\\comma\\char(0x22))}</code></li>//crlf////tab//<li style=\\quot\\list-style-type:none\\quot\\>Token Result: {@(isPackageLoaded(\\quot\\Aspect_Support\\quot\\)) and (indirect(replaceSubstring(getToken(\\quot\\Aloha_process_files_2015_conditional_expression\\quot\\)\\comma\\\\quot\\x\\quot\\+\\quot\\22\\quot\\\\comma\\char(0x22))))}</li>//crlf//</ul>//crlf//<br>//crlf////crlf//<h1>State expression</h1>//crlf//<ul>//crlf////tab//<li>The state of the Aloha grind files changes for any of the last X days</li>//crlf////tab//<li>The state of the Aspect/posdata files changes for any of the last X days</li>//crlf//</ul>//crlf//<br><br>//crlf////crlf//<b>State of Aspect7 and Aloha data files:</b><br>//crlf//<br>//crlf//<ul style=\\quot\\margin:0px;\\quot\\>//crlf////tab//<li style=\\quot\\list-style-type:none\\quot\\>Token: <code>{@replaceSubstring(getToken(\\quot\\Aloha_process_files_2015_state_expression\\quot\\)\\comma\\\\quot\\x\\quot\\+\\quot\\22\\quot\\\\comma\\char(0x22))}</code></li>//crlf////tab//<li style=\\quot\\list-style-type:none\\quot\\>Token Result: {@indirect(replaceSubstring(replaceSubstring(getToken(\\quot\\Aloha_process_files_2015_state_expression\\quot\\)\\comma\\\\quot\\X2A\\quot\\\\comma\\\\quot\\*\\quot\\)\\comma\\\\quot\\x\\quot\\+\\quot\\22\\quot\\\\comma\\char(0x22)))}</li>//crlf//</ul>//crlf//<br><br>//crlf////crlf//^
ID=903538|X=1500|Y=25|W=836|H=669|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="Export Aspect6 Labor" group="Back-Office" category="Aspect6" description="Temporary widget created for a customer to export labor for a number of stores." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Export Aspect6 Labor" modified="04-14-2017 00:55:29" modifiedby="Thnikpad2" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=04-12-2017 10:26:06:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=34|toolboxy=250|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Export Aspect6 Labor.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'665798')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'191109')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=665798|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Export Aspect6 Labor.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Export Aspect6 Labor.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Export Aspect6 Labor\\comma\\launchExportAspect6Labor\\comma\\action_list\\comma\\Action=launchExportAspect6Labor\\comma\\private//crlf////tab//Export Aspect6 Labor\\comma\\exportAspect6Labor\\comma\\action_list\\comma\\Action=exportAspect6Labor\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//launchExportAspect6Labor//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\launchExportAspect6Labor\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Launches this agent to execute the exportAspect6Labor action.  This is done //crlf////tab////tab//so a notification will not wait for the action to complete.  This waiting causes//crlf////tab////tab//the service to restart the program when the action is called directly from //crlf////tab////tab//a notification//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//RootDir - Root directory//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\launchExportAspect6Labor\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Export Aspect6 Labor\\quot\\\\comma\\\\quot\\RootDir=__RootDir__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\false)//crlf////tab////tab////tab//return(\\quot\\Ok: Executing exportAspect6Labor on \\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\plus\\\\quot\\ RootDir=__RootDir__ Ver 1.0\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//exportAspect6Labor//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\exportAspect6Labor\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Exports labor information for a number of Aspect6 store directories.  Labor is //crlf////tab////tab//exported to a .csv file for each employee.  The export filename is //crlf////tab////tab//[homedir]aspect6_labor~~backslash~~[employee name]_[aspect6_store_directory].csv.//crlf////crlf////tab////tab//This is a routine created for a single customer 4/17 to address a need for a //crlf////tab////tab//labor lawsuit.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//RootDir - Root directory containing all store directories.  Directories are recursed //crlf////tab////tab////tab//from the root to determine all of the store directories.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\exportAspect6Labor\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//profile(true)//crlf////crlf////tab////tab////tab////abort if already executing//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Aborted because an instance is already running\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing rootdir//crlf////tab////tab////tab//if(undefined(\\quot\\__RootDir__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing RootDir\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab//sRootDir=\\quot\\__RootDir__\\quot\\//crlf////crlf////tab////tab////tab////get list of all store directories under the root directory.  This is done by looking for //crlf////tab////tab////tab////employee.def files recursively//crlf////tab////tab////tab//arFiles=getMatchingFiles(addDirSlash(sRootDir)\\plus\\\\quot\\employee.def\\quot\\\\comma\\true\\comma\\false\\comma\\10)//crlf////crlf////tab////tab////tab//arrayCreate(arDirectory)//crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFilename=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sDir=fileDrive(sFilename)\\plus\\fileDir(sFilename)//crlf////tab////tab////tab////tab//if(arrayContains(arDirectory\\comma\\sFilename)<0)//crlf////tab////tab////tab////tab////tab//arrayAdd(arDirectory\\comma\\sDir)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Added directory: \\quot\\\\plus\\sDir)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////crlf////tab////tab////tab//tNow=now()//crlf////crlf////tab////tab////tab////iterate through each store directory//crlf////tab////tab////tab//cDir=arraySize(arDirectory)//crlf////tab////tab////tab//nDir=0//crlf////tab////tab////tab//while(nDir<cDir)//crlf////tab////tab////tab////tab////get the store directory//crlf////tab////tab////tab////tab//sDir=arrayGet(arDirectory\\comma\\nDir)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Processing directory: \\quot\\\\plus\\sDir)//crlf////tab////crlf////tab////tab////tab////tab//sOutputFilename=fileDir(sDir)\\plus\\\\quot\\.csv\\quot\\//crlf////tab////tab////tab////tab//sOutputFilename=replaceSubstring(sOutputFilename\\comma\\\\quot\\~~backslash~~\\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab////tab////tab//sOutputFilename=replaceSubstring(sOutputFilename\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab////tab////tab//sOutputFilename=replaceSubstring(sOutputFilename\\comma\\\\quot\\:\\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab////tab////tab//sOutputFilename=replaceSubstring(sOutputFilename\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab////tab////tab//sOutputFilename=replaceSubstring(sOutputFilename\\comma\\\\quot\\_.\\quot\\\\comma\\\\quot\\.\\quot\\)//crlf////tab////tab////tab////tab//if(startsWith(sOutputFilename\\comma\\\\quot\\_\\quot\\))//crlf////tab////tab////tab////tab////tab//sOutputFilename=substring(sOutputFilename\\comma\\1)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//sOutputFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\aspect6_labor~~backslash~~\\quot\\\\plus\\sOutputFilename//crlf////crlf////tab////tab////tab////tab//fileDelete(sOutputFilename)//crlf////tab////tab////tab////tab//if(fileExists(sOutputFilename))//crlf////tab////tab////tab////tab////tab//fileSetLength(sOutputFilename\\comma\\0)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////initialize output content//crlf////tab////tab////tab////tab//sOutput=\\quot\\Name\\comma\\Job\\comma\\Time in\\comma\\Time out\\comma\\Date Number\\quot\\\\plus\\char(13)\\plus\\char(10)//crlf////crlf////tab////tab////tab////tab//arFiles=getMatchingFiles(sDir\\plus\\\\quot\\*.lbr\\quot\\\\comma\\false\\comma\\false)//crlf////tab////tab////tab////tab//cFiles=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//nFiles=0//crlf////tab////tab////tab////tab//while(nFiles<cFiles)//crlf////tab////tab////tab////tab////tab//sFilename=getElement(arFiles\\comma\\nFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//driverOpen(Aspect6_Daily_Labor_Details_By_Filename\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\sFilename)//crlf////crlf////tab////tab////tab////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Exporting \\quot\\\\plus\\c\\plus\\\\quot\\ records from \\quot\\\\plus\\sFilename\\plus\\\\quot\\ (file \\quot\\\\plus\\nFiles\\plus\\\\quot\\ of \\quot\\\\plus\\cFiles\\plus\\\\quot\\)\\quot\\)//crlf////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab//bUsed=driverGetFieldAbsolute(d\\comma\\\\quot\\ID_RESERVED_USED\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//if(bUsed)//crlf////tab////tab////tab////tab////tab////tab////tab////get the employee data//crlf////tab////tab////tab////tab////tab////tab////tab//tIn=driverGetFieldAbsolute(d\\comma\\\\quot\\ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_TIME_IN\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab////tab//if(year(tIn)>2000)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sEmpName=driverGetFieldAbsolute(d\\comma\\\\quot\\Employee_Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sJobName=driverGetFieldAbsolute(d\\comma\\\\quot\\Job_Code_Name_App\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//tOut=driverGetFieldAbsolute(d\\comma\\\\quot\\ID_TDLYLBRDTLREC_PAYINFO[2].ID_TDLYLBRPAYINFO_TIME_OUT\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab//sOutput=sOutput\\plus\\replaceSubstring(sEmpName\\comma\\char(0x2C)\\comma\\\\quot\\\\quot\\)\\plus\\char(0x2c)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sOutput=sOutput\\plus\\replaceSubstring(sJobName\\comma\\char(0x2C)\\comma\\\\quot\\\\quot\\)\\plus\\char(0x2c)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sOutput=sOutput\\plus\\formatDate(tIn\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sOutput=sOutput\\plus\\formatDate(tOut\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sOutput=sOutput\\plus\\dateNumber(tIn)\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////write the output after it reaches a given size//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(len(sOutput)>1024)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sOutputFilename\\comma\\sOutput\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////crlf////tab////tab////tab////tab////tab////close the driver//crlf////tab////tab////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab////tab////tab//scriptSleep(100)//crlf////crlf////tab////tab////tab////tab////tab//nFiles\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////write the final output //crlf////tab////tab////tab////tab//if(len(sOutput)>0)//crlf////tab////tab////tab////tab////tab//fileWriteContent(sOutputFilename\\comma\\sOutput\\comma\\true)//crlf////tab////tab////tab////tab////tab//sOutput=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//nDir\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//iElapsed=dateNumber(now())-dateNumber(tNow)//crlf////tab////tab////tab//return(\\quot\\Ok: Exported \\quot\\\\plus\\cDir\\plus\\\\quot\\ files.  Elapsed: \\quot\\\\plus\\formatElapsedTime(iElapsed\\comma\\\\quot\\DHMS\\quot\\\\comma\\true))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf////crlf//^
ID=debug_console|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=191109|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=45|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=236956|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=875482|X=183|Y=329|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Export Aspect6 Labor\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Export Aspect6 Labor\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 04-12-2017 20:16:24//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Export Aspect6 Labor\\comma\\AgentAction\\comma\\236956\\comma\\0\\comma\\exportAspect6Labor//crlf////tab////tab//Result=execAgentAction(\\quot\\exportAspect6Labor\\quot\\\\comma\\\\quot\\RootDir=__RootDir__\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Export Aspect6 Labor\\comma\\AgentTerminate\\comma\\875482\\comma\\0\\comma\\Ok//crlf////tab////tab//scriptSetResult(Result)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;04122017//amp//nbsp;201624//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Export//amp//nbsp;Aspect6//amp//nbsp;Labor\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;04-12-2017//amp//nbsp;20:16:24</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\exportAspect6Labor\\quot\\\\comma\\\\quot\\RootDir=__RootDir__\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>04122017 201624</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart236956\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\124\\quot\\ style=\\quot\\width: 120px; height: 124px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Export Aspect6 Labor</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart875482\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 284px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart236956\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart875482\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\56\\quot\\ style=\\quot\\width: 150px; height: 56px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>launchExportAspect6Labor<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div>^
ID=236956|X=183|Y=221|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=875482|AgentChildNoNode=|AgentSensor=|AgentAction=exportAspect6Labor|AgentNodeNotes=|AgentNodeParams=~~backslash~~equals~~backslash~~\\quot\\RootDir~~backslash~~equals~~backslash~~__RootDir__\\quot\\|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="Import Restaurant Manager Timeclock Adjustments" group="POS Interface" category="Restaurant Manager" description="Copies loginYY.dbf file to posdata directories for the number of days specified in the store settings and deletes lbr.* files to cause the labor to be reimported.  The number of days to import cannot exceed the number of days for which data is synched from the POS." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Import Restaurant Manager Timeclock Adjustments" modified="04-27-2024 23:24:59" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=05-01-2017 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=12 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(not(isServer())) and (getToken(\\quote\\AspectCoreVersion\\quote\\)\\gt\\=7.592) and (isPackageLoaded(\\quote\\POS_Restaurant_Manager\\quote\\)) and (getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\Restaurant_Manager\\quote\\) and (value(getToken(\\quote\\POSInterface_TimeclockAdjustDays\\quote\\))\\gt\\0)" TaskConditional_Expression_Description="" TaskState_Function="getFilespecState(addDirSlash(getToken(\\quote\\POSInterface_PosDir\\quote\\))+\\quote\\login*.dbf\\quote\\)+gfs(getToken(\\quote\\homedir\\quote\\)+\\quote\\Aspect_BackOffice/store_list.dta\\quote\\)" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=75|toolboxy=177|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Import Restaurant Manager Timeclock Adjustments.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'489957')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'309419')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=489957|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Import Restaurant Manager Timeclock Adjustments.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Import Restaurant Manager Timeclock Adjustments.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Import Restaurant Manager Timeclock Adjustments\\comma\\importRestaurantManagerTimeclockAdjustments\\comma\\action_list\\comma\\Action=importRestaurantManagerTimeclockAdjustments\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importRestaurantManagerTimeclockAdjustments//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importRestaurantManagerTimeclockAdjustments\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports Restaurant Manager timeclock adjustments.  Copies the loginYY.dbf file to //crlf////tab////tab//the dated directories in the posdata directory and deletes the lbr.* files in the //crlf////tab////tab//store directory to cause the daily labor files to be imported again.//crlf////crlf////tab////tab//The number of timeclock days to synch will be reduced if necessary so it does not //crlf////tab////tab//exceed the numbers of days that the POS synch is set for.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\importRestaurantManagerTimeclockAdjustments\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\importRestaurantManagerTimeclockAdjustments\\quot\\)//crlf////crlf////tab////tab////tab////get the pos directory//crlf////tab////tab////tab//sPOSDir=getToken(\\quot\\POSInterface_PosDir\\quot\\)//crlf////crlf////tab////tab////tab////abort if pos directory is invalid//crlf////tab////tab////tab//if(not(dirExists(sPOSDir)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid POS directory: \\quot\\\\plus\\sPOSDir)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the store directory and ID//crlf////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//sStoreDir=getToken(\\quot\\POSInterface_StoreDir\\quot\\)//crlf////crlf////tab////tab////tab////abort if the store directory is invalid//crlf////tab////tab////tab//if(not(dirExists(sStoreDir)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid store directory: \\quot\\\\plus\\sStoreDir)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the number of days to synch//crlf////tab////tab////tab//iSynchDays=value(getToken(\\quot\\POSInterface_TimeclockAdjustDays\\quot\\))//crlf////tab////tab////tab//if(iSynchDays=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Number of days to synch is 0\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\POSInterface_TimeclockAdjustDays=\\quot\\\\plus\\getToken(\\quot\\POSInterface_TimeclockAdjustDays\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\POSInterface_SynchDays=\\quot\\\\plus\\getToken(\\quot\\POSInterface_SynchDays\\quot\\))//crlf////crlf////tab////tab////tab//iSynchDays=min(iSynchDays\\comma\\value(getToken(\\quot\\POSInterface_SynchDays\\quot\\)))//crlf////tab////tab////tab//appendToLog(\\quot\\iSynchDays=\\quot\\\\plus\\iSynchDays)//crlf////crlf////tab////tab////tab////get date range to synch//crlf////tab////tab////tab//t1=incrementTime(LastBusinessDay(\\quot\\00:00\\quot\\)\\comma\\-(iSynchDays-2))//crlf////tab////tab////tab//t2=LastBusinessDay(\\quot\\00:00\\quot\\)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Importing timeclock adjustments for \\quot\\\\plus\\formatDate(t1\\comma\\\\quot\\EEE MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ to \\quot\\\\plus\\formatDate(t2\\comma\\\\quot\\EEE MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////tab//while(t1<=t2)//crlf////tab////tab////tab////tab//sSrcFilename=addDirSlash(getToken(\\quot\\POSInterface_PosDir\\quot\\))\\plus\\\\quot\\login\\quot\\\\plus\\formatDate(t1\\comma\\\\quot\\yy\\quot\\)\\plus\\\\quot\\.dbf\\quot\\//crlf////tab////tab////tab////tab//sDestFilename=addDirSlash(getToken(\\quot\\homedir\\quot\\))\\plus\\\\quot\\posdata/restaurant_manager/\\quot\\\\plus\\formatDate(t1\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\/login\\quot\\\\plus\\formatDate(t1\\comma\\\\quot\\yy\\quot\\)\\plus\\\\quot\\.dbf\\quot\\//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//if(fileExists(sSrcFilename))//crlf////tab////tab////tab////tab////tab//if(gfs(sSrcFilename)<>gfs(sDestFilename))//crlf////tab////tab////tab////tab////tab////tab//fileCopy(sSrcFilename\\comma\\sDestFilename)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Copy \\quot\\\\plus\\sSrcFilename\\plus\\\\quot\\ to \\quot\\\\plus\\sDestFilename)//crlf////crlf////tab////tab////tab////tab////tab////tab//sLbrFilename=sStoreDir\\plus\\\\quot\\lbr.\\quot\\\\plus\\formatDate(t1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if(fileExists(sLbrFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//fileDelete(sLbrFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//if(fileExists(sLbrFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//fileSetLength(sLbrFilename\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Deleted \\quot\\\\plus\\sLbrFilename)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\File does not exist: \\quot\\\\plus\\sLbrFilename)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Files are identical: \\quot\\\\plus\\sSrcFilename\\plus\\\\quot\\ \\quot\\\\plus\\sDestFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Cannot locate: \\quot\\\\plus\\sSrcFilename)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//t1=incrementTime(t1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf////crlf////crlf//^
ID=debug_console|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=309419|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=40|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=801105|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=onchange|AgentReportTo=getToken(\\quot\\AspectServerHashID\\quot\\)|^
ID=996183|X=183|Y=476|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Success|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Import Restaurant Manager Timeclock Adjustments\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Import Restaurant Manager Timeclock Adjustments\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 05-02-2017 00:05:27//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Import Restaurant Manager Timeclock Adjustments\\comma\\AgentAction\\comma\\801105\\comma\\0\\comma\\importRestaurantManagerTimeclockAdjustments//crlf////tab////tab//Result=execAgentAction(\\quot\\importRestaurantManagerTimeclockAdjustments\\quot\\)//crlf////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Import Restaurant Manager Timeclock Adjustments\\comma\\AgentTerminate\\comma\\996183\\comma\\0\\comma\\Success//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Import Restaurant Manager Timeclock Adjustments\\quot\\\\comma\\\\quot\\996183\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Success\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Import Restaurant Manager Timeclock Adjustments\\comma\\AgentTerminate\\comma\\28568\\comma\\1\\comma\\Error//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Import Restaurant Manager Timeclock Adjustments\\quot\\\\comma\\\\quot\\28568\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;05022017//amp//nbsp;000527//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Import//amp//nbsp;Restaurant//amp//nbsp;Manager//amp//nbsp;Timeclock//amp//nbsp;Adjustments\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;05-02-2017//amp//nbsp;00:05:27</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\importRestaurantManagerTimeclockAdjustments\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Import//amp//nbsp;Restaurant//amp//nbsp;Manager//amp//nbsp;Timeclock//amp//nbsp;Adjustments\\quot\\\\comma\\\\quot\\996183\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Success\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Import//amp//nbsp;Restaurant//amp//nbsp;Manager//amp//nbsp;Timeclock//amp//nbsp;Adjustments\\quot\\\\comma\\\\quot\\28568\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>05022017 000527</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart801105\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\163\\quot\\ style=\\quot\\width: 120px; height: 163px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Import Restaurant Manager Timeclock Adjustments</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: onchange<br>Report To: getToken(\\quot\\AspectServerHashID\\quot\\)<br>Name Params: </div></div><div id=\\quot\\chart996183\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 431px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Success<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart801105\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart720392\\quot\\ style=\\quot\\position: absolute; top: 215px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\56\\quot\\ style=\\quot\\width: 150px; height: 56px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>importRestaurantManagerTimeclockAdjustments<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart720392\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart996183\\quot\\ agentchildnonode=\\quot\\chart28568\\quot\\ style=\\quot\\position: absolute; top: 323px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\38\\quot\\ style=\\quot\\width: 150px; height: 38px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart28568\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 323px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=801105|X=183|Y=260|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=720392|AgentChildNoNode=|AgentSensor=|AgentAction=importRestaurantManagerTimeclockAdjustments|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=|AgentNodeTermType=|^
ID=720392|X=183|Y=368|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=996183|AgentChildNoNode=28568|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=28568|X=373|Y=368|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|
</widget><widget name="Validate POS Import" group="POS Interface" category="" description="Checks to confirm that sales and labor have been imported from the POS.  [This agent has been replaced by the Customer Support - Import POS Data agent]" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Validate Pos Import" modified="03-20-2024 20:46:49" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=05-22-2017 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=30 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(boolean(getToken(\\quote\\POSInterface_EnableSynch\\quote\\))) and (value(getToken(\\quote\\POSInterface_SynchDays\\quote\\))\\gt\\0) and (len(getToken(\\quote\\POSInterface_StoreDir\\quote\\))\\gt\\0) and (hour(now())\\gt\\=7)" TaskConditional_Expression_Description="" TaskState_Function="getToken(\\quote\\POSInterface_Aspect7Filespecs\\quote\\) + gfs(getToken(\\quote\\POSInterface_Aspect7Filespecs\\quote\\))" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=48|toolboxy=177|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Validate POS Import.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'389619')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'526937')\\quot\\>File List</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'170800')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=389619|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Import.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Import.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Validate POS Import\\comma\\validatePOSImport\\comma\\action_list\\comma\\Action=validatePOSImport\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//validatePOSImport//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\validatePOSImport\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Confirms that sales and labor data has been imported//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//tab////tab////crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\validatePOSImport\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//sStoreID=trim(getToken(\\quot\\POSInterface_StoreID\\quot\\))//crlf////tab////tab////tab//sStoreDir=trim(addDirSlash(getToken(\\quot\\POSInterface_StoreDir\\quot\\)))//crlf////tab////tab////tab//bEnableSynch=boolean(getToken(\\quot\\POSInterface_EnableSynch\\quot\\))//crlf////tab////tab////tab//iSynchDays=value(getToken(\\quot\\POSInterface_SynchDays\\quot\\))//crlf////crlf////tab////tab////tab////abort if StoreID is undefined//crlf////tab////tab////tab//if(len(sStoreID)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if store directory is undefined//crlf////tab////tab////tab//if(len(sStoreDir)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing POSInterface_StoreDir\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if synch is not enabled//crlf////tab////tab////tab//if(not(bEnableSynch))//crlf////tab////tab////tab////tab//return(\\quot\\Error: POS synch is not enabled\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if number of synch days is invalid//crlf////tab////tab////tab//if(iSynchDays=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Number of days to synch is zero\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get list of Aspect7 data files.  This token is set by the POS Interface agent//crlf////tab////tab////tab//arFilespec=getToken(\\quot\\POSInterface_Aspect7Filespecs\\quot\\)//crlf////tab////tab////tab//cFilespec=getElementCount(arFilespec\\comma\\char(0x3B))//crlf////crlf////tab////tab////tab//arExcludeDate=\\quot\\20170704\\comma\\20171123\\comma\\20171225\\comma\\20180704\\comma\\20181122\\quot\\//tab////tab////tab////crlf////crlf////tab////tab////tab////check for the existence of each file//crlf////tab////tab////tab//cChecked=0//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//cOk=0//crlf////tab////tab////tab//cClosed=0//crlf////tab////tab////tab//nFilespec=0//crlf////tab////tab////tab//while(nFilespec<cFilespec)//crlf////tab////tab////tab////tab//sFilename=getElement(arFilespec\\comma\\nFilespec\\comma\\char(0x3B))//crlf////crlf////tab////tab////tab////tab//bClosedForDay=false//crlf////tab////tab////tab////tab//if((not(fileExists(sFilename))) or (fileSize(sFilename)=0))//crlf////tab////tab////tab////tab////tab//dt=parseTime(getElement(sFilename\\comma\\1\\comma\\\\quot\\.\\quot\\)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab//if(containsElement(arExcludeDate\\comma\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\))>=0)//crlf////tab////tab////tab////tab////tab////tab//bClosedForDay=true//tab////tab////crlf////tab////tab////tab////tab////tab////tab//cClosed++//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//s=fileName(sFilename)//crlf////tab////tab////tab////tab////tab////tab//sFileName1=fileDir(sFilename)+getElement(s\\comma\\0\\comma\\\\quot\\.\\quot\\)+\\quot\\.\\quot\\+formatDate(incrementTime(dt\\comma\\-7)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+getElement(s\\comma\\2\\comma\\\\quot\\.\\quot\\)+fileExt(sFilename)//crlf////tab////tab////tab////tab////tab////tab//sFileName2=fileDir(sFilename)+getElement(s\\comma\\0\\comma\\\\quot\\.\\quot\\)+\\quot\\.\\quot\\+formatDate(incrementTime(dt\\comma\\-14)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+getElement(s\\comma\\2\\comma\\\\quot\\.\\quot\\)+fileExt(sFilename)//crlf////tab////tab////tab////tab////tab////tab//if((fileSize(sFileName1)=0) and (fileSize(sFileName2)=0))//crlf////tab////tab////tab////tab////tab////tab////tab//bClosedForDay=true//tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab//cClosed++//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Ok: \\quot\\+sFilename+\\quot\\ (Closed for day)\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//if(not(bClosedForDay))//crlf////tab////tab////tab////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: \\quot\\+sFilename+\\quot\\ not found\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//cError++//crlf////tab////tab////tab////tab////tab//elseif(fileSize(sFilename)=0)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: \\quot\\+sFilename+\\quot\\ size is 0\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//cError++//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Ok: \\quot\\+sFilename)//crlf////tab////tab////tab////tab////tab////tab//cOk++//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//cChecked++//crlf////tab////tab////tab////tab//nFilespec++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(cError>0)//crlf////tab////tab////tab////tab//s=\\quot\\Error: Checked: \\quot\\+cChecked+\\quot\\ files.  Ok: \\quot\\+cOk+\\quot\\ Error: \\quot\\+cError+\\quot\\ Closed: \\quot\\+cClosed//crlf////tab////tab////tab////tab//return(appendToLog(s))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//s=\\quot\\Ok: Checked: \\quot\\+cChecked+\\quot\\ files.  Ok: \\quot\\+cOk+\\quot\\ Error: \\quot\\+cError+\\quot\\ Closed: \\quot\\+cClosed//crlf////tab////tab////tab//return(appendToLog(s))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=170800|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=239252|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|AgentReportTo=getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~AspectServerHashID~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|^
ID=831901|X=183|Y=464|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ResultValidateFiles//plus//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ POS: ~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ //plus// getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~POSInterface_PosType~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Validate POS Import\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Import\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 03-20-2024 20:44:18//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Import\\comma\\AgentAction\\comma\\239252\\comma\\0\\comma\\validatePOSImport//crlf////tab////tab//ResultValidateFiles=execAgentAction(\\quot\\validatePOSImport\\quot\\)//crlf////crlf////tab////tab////All files present?//crlf////tab////tab//if(startsWith(ResultValidateFiles\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Import\\comma\\AgentTerminate\\comma\\831901\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//scriptSetResult(ResultValidateFiles\\plus\\\\quot\\ POS: \\quot\\ \\plus\\ getToken(\\quot\\POSInterface_PosType\\quot\\))//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate POS Import\\comma\\AgentTerminate\\comma\\92132\\comma\\1\\comma\\Error//crlf////tab////tab////tab//scriptSetResult(ResultValidateFiles\\plus\\\\quot\\ POS: \\quot\\ \\plus\\ getToken(\\quot\\POSInterface_PosType\\quot\\))//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;03202024//amp//nbsp;204418//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Validate//amp//nbsp;POS//amp//nbsp;Import\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;03-20-2024//amp//nbsp;20:44:18</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;ResultValidateFiles=<span class='keyword'>execAgentAction</span>(\\quot\\validatePOSImport\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//All//amp//nbsp;files//amp//nbsp;present?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(ResultValidateFiles\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(ResultValidateFiles\\plus\\\\quot\\//amp//nbsp;POS://amp//nbsp;\\quot\\//amp//nbsp;\\plus\\//amp//nbsp;<span class='keyword'>getToken</span>(\\quot\\POSInterface_PosType\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(ResultValidateFiles\\plus\\\\quot\\//amp//nbsp;POS://amp//nbsp;\\quot\\//amp//nbsp;\\plus\\//amp//nbsp;<span class='keyword'>getToken</span>(\\quot\\POSInterface_PosType\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab//<table class='tabdialog'>//crlf////tab////tab//<tr>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__ValidatePOSImport')\\quot\\>Validate POS Import</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__ScheduledTasks')\\quot\\>Scheduled Tasks</span></td>//crlf////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__POSInterfaceAgent')\\quot\\>POS Interface Agent</span></td>//crlf////tab////tab////tab//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\SoftTouch\\quot\\)>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__POSInterfaceSoftTouchDBF')\\quot\\>POS Interface - SoftTouch DBF</span></td>//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Restaurant_Manager\\quot\\)>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__ConvertRestaurantManagerExportFiles')\\quot\\>Convert Restaurant Manager Export Files</span></td>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__ImportRestaurantManagerTimeclockAdjustments')\\quot\\>Import Restaurant Manager Timeclock Adjustments</span></td>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__POSInterfaceRestaurantManager')\\quot\\>POS Interface - Restaurant Manager</span></td>//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Aloha\\quot\\)>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__POSInterfaceAloha')\\quot\\>POS Interface - Aloha</span></td>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__ProcessAlohaGrindFiles2015')\\quot\\>Process Aloha Grind Files - 2015</span></td>//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Micros3700\\quot\\)>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__ConvertMicros3700toDBF')\\quot\\>Convert Micros 3700 to DBF</span></td>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__POSInterfaceMicros3700')\\quot\\>POS Interface - Micros 3700</span></td>//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Toast\\quot\\)>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__DownloadFromAWS')\\quot\\>Download From AWS</span></td>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__POSInterfaceToast')\\quot\\>POS Interface - Toast</span></td>//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Positouch\\quot\\)>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__ExportPositouchdata')\\quot\\>Export Positouch data</span></td>//crlf////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__POSInterfacePositouch')\\quot\\>POS Interface - Positouch</span></td>//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//</tr>//crlf////tab//</table>//tab////crlf//</div>//crlf////crlf//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab//<select onChange=\\quot\\showTab(this);this.blur();\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab//<option value='__salt__ValidatePOSImport'>Validate POS Import</option>//crlf////tab////tab//<option value='__salt__ScheduledTasks'>Scheduled Tasks</option>//crlf////tab////tab//<option value='__salt__POSInterfaceAgent'>POS Interface Agent</option>//crlf////tab////tab//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\SoftTouch\\quot\\)>//crlf////tab////tab////tab//<option value='__salt__POSInterfaceSoftTouchDBF'>POS Interface - SoftTouch DBF</option>//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Restaurant_Manager\\quot\\)>//crlf////tab////tab////tab//<option value='__salt__ConvertRestaurantManagerExportFiles'>Convert Restaurant Manager Export Files</option>//crlf////tab////tab////tab//<option value='__salt__ImportRestaurantManagerTimeclockAdjustments'>Import Restaurant Manager Timeclock Adjustments</option>//crlf////tab////tab////tab//<option value='__salt__POSInterfaceRestaurantManager'>POS Interface - Restaurant Manager</option>//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Aloha\\quot\\)>//crlf////tab////tab////tab//<option value='__salt__POSInterfaceAloha'>POS Interface - Aloha</option>//crlf////tab////tab////tab//<option value='__salt__ProcessAlohaGrindFiles2015'>Process Aloha Grind Files - 2015</option>//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Micros3700\\quot\\)>//crlf////tab////tab////tab//<option value='__salt__ConvertMicros3700toDBF'>Convert Micros 3700 to DBF</option>//crlf////tab////tab////tab//<option value='__salt__POSInterfaceMicros3700'>POS Interface - Micros 3700</option>//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Toast\\quot\\)>//crlf////tab////tab////tab//<option value='__salt__DownloadFromAWS'>Download From AWS</option>//crlf////tab////tab////tab//<option value='__salt__POSInterfaceToast'>POS Interface - Toast</option>//crlf////tab////tab//</conditional>//crlf////tab////tab//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Positouch\\quot\\)>//crlf////tab////tab////tab//<option value='__salt__ExportPositouchdata'>Export Positouch data</option>//crlf////tab////tab////tab//<option value='__salt__POSInterfacePositouch'>POS Interface - Positouch</option>//crlf////tab////tab//</conditional>//crlf////tab//</select>//crlf//</div>//crlf////crlf//[!------------------------------------------------------------------------//crlf//List of files in store directory used to determine if the import is up to date//crlf//--------------------------------------------------------------------------]//crlf//<div ID=\\quot\\__salt__ValidatePOSImport\\quot\\>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Aspect7 File List//amp//Selected=true\\quot\\;>//crlf////tab////tab//<!-- refresh icon -->//crlf////tab////tab//<span style=\\quot\\float:right;cursor:pointer;\\quot\\ class=\\quot\\refresh\\quot\\ onClick=\\quot\\setInterval(document.getElementById('__salt__filelist')\\comma\\0\\comma\\true)\\quot\\></span>//crlf////crlf////tab////tab//<div ID=\\quot\\__salt__filelist\\quot\\ interval='0' style='width:100\\percent\\;' url='__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//source=//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Validate POS Import//amp//ContainerItemID=526937//amp//getcontent=true//amp//Source={AspectHashID}'>//crlf////tab////tab////tab//<progress></progress>//crlf////tab////tab//</div>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Directory Listings//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=POSData Directories//amp//Selected=true\\quot\\;>//crlf////tab////tab//<!-- get posdata directory.  Fix up mic3700 directory -->//crlf////tab////tab//<include type:expression; expression:htmlConstant(\\quot\\posdatadir\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\posdata\\\quot\\+replaceSubstring(getToken(\\quot\\POSInterface_PosType\\quot\\)\\comma\\\\quot\\micros3700\\quot\\\\comma\\\\quot\\mic3700\\quot\\))>//crlf////crlf////tab////tab//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir1'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of {HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\0)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf////tab////tab//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir1\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec={HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\0)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf////tab////tab//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir2'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of {HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-1)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf////tab////tab//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir2\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec={HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-1)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf////tab////tab//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir3'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of {HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-2)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf////tab////tab//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir3\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec={HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-2)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////crlf////tab////tab//<h2><span class=\\quot\\hyperlink\\quot\\ onClick=\\quot\\toggleVisible('__salt__HomeDir4'\\comma\\0\\comma\\true\\comma\\'')\\quot\\>Directory of {HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-3)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\*.*</span></h2>//crlf////tab////tab//<div style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__HomeDir4\\quot\\ interval=\\quot\\-1\\quot\\ url=\\quot\\__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//Source={AspectHashID}//amp//documentID=K4Ui6j3Y1rwlvukPkOqn25Em//amp//widget=Notification Queries//amp//query=getDirectoryListing//amp//Filespec={HomeDir}__posdatadir__\{@formatDate(incrementTime(LastBusinessDay()\\comma\\-3)\\comma\\\\quot\\yyyyMMdd\\quot\\)}\//amp//Recurse=false//amp//MaxDir=0//amp//canEdit=true//amp//SelectDisplay=false//amp//EditDisplay=false\\quot\\></div>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf//</div>//crlf////crlf//[!------------------------------------------------------------------------//crlf//POS Synch Tasks//crlf//--------------------------------------------------------------------------]//crlf//<div ID=\\quot\\__salt__ScheduledTasks\\quot\\>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Selected=true//amp//Section=Scheduled Tasks\\quot\\;>//crlf////tab////tab//<!include //crlf////tab////tab////tab//type:widget; //crlf////tab////tab////tab//server:{AspectHashID}; //crlf////tab////tab////tab//secure:true; //crlf////tab////tab////tab//documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; //crlf////tab////tab////tab//widget:\\quot\\Notification Queries\\quot\\; //crlf////tab////tab////tab//containerItemID:\\quot\\\\quot\\; //crlf////tab////tab////tab//params:\\quot\\query=scheduled_tasks//amp//width=100\\percent\\//amp//DriverParamKeyExpression=DriverID+TaskName//amp//DriverFilter=(DriverID=Aspect_Back_Office_Pos_Synch) or (DriverID=TaskScheduler)//amp//Basefilter=(Category1='POS Synch') or (Category2='POS Synch')\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf//</div>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Status from POS Interface agent//crlf//--------------------------------------------------------------------------]//crlf//<div ID=\\quot\\__salt__POSInterfaceAgent\\quot\\>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Selected=true//amp//Section=Agent Status POS Interface Agent\\quot\\;>//crlf////tab////tab//<include type:widget; //crlf////tab////tab////tab//server:{AspectHashID}; //crlf////tab////tab////tab//secure:true; //crlf////tab////tab////tab//documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; //crlf////tab////tab////tab//widget:\\quot\\POS Interface\\quot\\; //crlf////tab////tab////tab//containerItemID:\\quot\\AgentStatus\\quot\\; //crlf////tab////tab////tab//params:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf//</div>//crlf////crlf//[!------------------------------------------------------------------------//crlf//SoftTouch Agent status//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\SoftTouch\\quot\\)>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//POS Interface - SoftTouch DBF//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__POSInterfaceSoftTouchDBF\\quot\\>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Agent Status: POS Interface - SoftTouch DBF//amp//Selected=true\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\POS Interface - SoftTouch DBF\\quot\\; containerItemID:\\quot\\AgentStatus\\quot\\; params:\\quot\\\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Restaurant_Manager Agent status//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Restaurant_Manager\\quot\\)>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Convert Restaurant Manager Export Files //crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID='__salt__ConvertRestaurantManagerExportFiles'>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Agent Status: Convert Restaurant Manager Export Files//amp//Selected=true\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\Convert Restaurant Manager Export Files\\quot\\; containerItemID:\\quot\\AgentStatus\\quot\\; params:\\quot\\\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Import Restaurant Manager Timeclock Adjustments //crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID='__salt__ImportRestaurantManagerTimeclockAdjustments'>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Agent Status: Import Restaurant Manager Timeclock Adjustments//amp//Selected=true\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\Import Restaurant Manager Timeclock Adjustments\\quot\\; containerItemID:\\quot\\AgentStatus\\quot\\; params:\\quot\\\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//POS Interface - Restaurant Manager//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID='__salt__POSInterfaceRestaurantManager'>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Agent Status: POS Interface - Restaurant Manager//amp//Selected=true\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\POS Interface - Restaurant Manager\\quot\\; containerItemID:\\quot\\AgentStatus\\quot\\; params:\\quot\\\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Aloha Agent status//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Aloha\\quot\\)>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//POS Interface - Aloha //crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID='__salt__POSInterfaceAloha'>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Agent Status: POS Interface - Aloha//amp//Selected=true\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\POS Interface - Aloha\\quot\\; containerItemID:\\quot\\AgentStatus\\quot\\; params:\\quot\\\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Process Aloha Grind Files - 2015//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID='__salt__ProcessAlohaGrindFiles2015'>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Agent Status: Process Aloha Grind Files - 2015//amp//Selected=true\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\Process Aloha Grind Files - 2015\\quot\\; containerItemID:\\quot\\AgentStatus\\quot\\; params:\\quot\\\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Focus Agent status//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Focus\\quot\\)>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Micros3700 Agent status//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Micros3700\\quot\\)>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Convert Micros 3700 to DBF//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID='__salt__ConvertMicros3700toDBF'>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Agent Status: Convert Micros 3700 to DBF//amp//Selected=true\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\Convert Micros 3700 to DBF\\quot\\; containerItemID:\\quot\\AgentStatus\\quot\\; params:\\quot\\\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//POS Interface - Micros 3700//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID='__salt__POSInterfaceMicros3700'>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Agent Status: POS Interface - Micros 3700//amp//Selected=true\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\POS Interface - Micros 3700\\quot\\; containerItemID:\\quot\\AgentStatus\\quot\\; params:\\quot\\\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Toast Agent status//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Toast\\quot\\)>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Download From AWS//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID='__salt__DownloadFromAWS'>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Agent Status: Download From AWS//amp//Selected=true\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\Download From AWS\\quot\\; containerItemID:\\quot\\AgentStatus\\quot\\; params:\\quot\\\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</div>//crlf////tab////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//POS Interface - Toast//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID='__salt__POSInterfaceToast'>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Agent Status: POS Interface - Toast//amp//Selected=true\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\POS Interface - Toast\\quot\\; containerItemID:\\quot\\AgentStatus\\quot\\; params:\\quot\\\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Positouch Agent status//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Positouch\\quot\\)>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Export Positouch data//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID='__salt__ExportPositouchdata'>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Agent Status: Export Positouch data//amp//Selected=true\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\Export Positouch data\\quot\\; containerItemID:\\quot\\AgentStatus\\quot\\; params:\\quot\\\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//POS Interface - Positouch//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID='__salt__POSInterfacePositouch'>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Agent Status: POS Interface - Positouch//amp//Selected=true\\quot\\;>//crlf////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\POS Interface - Positouch\\quot\\; containerItemID:\\quot\\AgentStatus\\quot\\; params:\\quot\\\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</div>//crlf//</conditional>//crlf//^
ID=AgentChart|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>03202024 204418</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart239252\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\126\\quot\\ style=\\quot\\width: 120px; height: 126px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Validate POS Import</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: getToken(\\quot\\AspectServerHashID\\quot\\)<br>Name Params: </div></div><div id=\\quot\\chart831901\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 423px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart239252\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart678388\\quot\\ style=\\quot\\position: absolute; top: 199px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\56\\quot\\ style=\\quot\\width: 150px; height: 56px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>validatePOSImport<br></td></tr><tr><td><u>Return</u></td><td>ResultValidateFiles</td></tr></tbody></table></div></div><div id=\\quot\\chart678388\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart831901\\quot\\ agentchildnonode=\\quot\\chart92132\\quot\\ style=\\quot\\position: absolute; top: 307px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>All files present?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart92132\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 307px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=239252|X=183|Y=240|W=149|H=55|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=678388|AgentChildNoNode=|AgentSensor=1|AgentAction=validatePOSImport|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Is POSInterface_EnableSynch true?|AgentNodeActionReturnValue=ResultValidateFiles|AgentNodeComment=|AgentNodeTermType=|^
ID=678388|X=183|Y=348|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=831901|AgentChildNoNode=92132|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(ResultValidateFiles//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=All files present?|AgentNodeTermType=|^
ID=92132|X=373|Y=348|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ResultValidateFiles//plus//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ POS: ~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ //plus// getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~POSInterface_PosType~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=526937|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab////abort if filespec is undefined//crlf////tab////tab//s=getToken(\\quot\\POSInterface_Aspect7Filespecs\\quot\\)//crlf////tab////tab//if(s=\\quot\\undefined\\quot\\) //crlf////tab////tab////tab//return(\\quot\\Error: Token POSInterface_Aspect7Filespecs is undefined.  Run the POS Interface agent and check for errors.\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//if(len(s)=0)//crlf////tab////tab////tab//return(\\quot\\Error: Token POSInterface_Aspect7Filespecs is not initialized.  Run the POS Interface agent\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////get list of Aspect7 data files.  This token is set by the POS Interface agent//crlf////tab////tab//arFilespec=getToken(\\quot\\POSInterface_Aspect7Filespecs\\quot\\)//crlf////tab////tab//cFilespec=getElementCount(arFilespec\\comma\\char(0x3B))//crlf////crlf////tab////tab////check for the existence of each file//crlf////tab////tab//arResult=\\quot\\\\quot\\//crlf////tab////tab//cChecked=0//crlf////tab////tab//cError=0//crlf////tab////tab//cOk=0//crlf////tab////tab//nFilespec=0//crlf////tab////tab//while(nFilespec<cFilespec)//crlf////tab////tab////tab//sFilename=getElement(arFilespec\\comma\\nFilespec\\comma\\char(0x3B))//crlf////tab////tab////tab//sFileStatus=\\quot\\\\quot\\//crlf////tab////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////tab//arResult=addElement(arResult\\comma\\sFileName+\\quot\\~~pipe~~0~~pipe~~N/A\\quot\\\\comma\\char(10))//crlf////tab////tab////tab////tab//cError++//crlf////tab////tab////tab//elseif(fileSize(sFilename)=0)//crlf////tab////tab////tab////tab//sModified=formatDate(fileModified(sFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)//crlf////tab////tab////tab////tab//arResult=addElement(arResult\\comma\\sFileName+\\quot\\~~pipe~~0~~pipe~~\\quot\\+sModified\\comma\\char(10))//crlf////tab////tab////tab////tab//cError++//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sModified=formatDate(fileModified(sFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)//crlf////tab////tab////tab////tab//arResult=addElement(arResult\\comma\\sFileName+\\quot\\~~pipe~~\\quot\\+fileSize(sFilename)+\\quot\\~~pipe~~\\quot\\+sModified\\comma\\char(10))//crlf////tab////tab////tab////tab//cOk++//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//cChecked++//crlf////tab////tab////tab//nFilespec++//crlf////tab////tab//endwhile//crlf////tab////tab//return(htmlTable(arResult\\comma\\char(10)\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\Filename~~pipe~~Size (bytes)~~pipe~~Modified\\quot\\\\comma\\\\quot\\bordered\\quot\\))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf//
</widget><widget name="Import AlohaTimeclock Adjustments" group="POS Interface" category="Aloha" description="Agent responsible for importing timeclock adjustments from Aloha" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Import Alohatimeclock Adjustments" modified="03-11-2024 01:11:42" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=05-28-2017 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=10 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(not(isServer())) and (getToken(\\quote\\AspectCoreVersion\\quote\\)\\gt\\=7.6) and (getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\aloha\\quote\\) and (len(getToken(\\quote\\RequiredPOSTimeclockExportFiles\\quote\\))\\gt\\0) and (value(getToken(\\quote\\POSInterface_TimeclockAdjustDays\\quote\\))\\gt\\0)" TaskConditional_Expression_Description="" TaskState_Function="if(len(getToken(\\quote\\RequiredPOSTimeclockExportFiles\\quote\\))\\gt\\0,gfs(getToken(\\quote\\RequiredPOSTimeclockExportFiles\\quote\\)),\\quote\\\\quote\\)" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=32|toolboxy=143|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Import AlohaTimeclock Adjustments.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'622501')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'809711')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=622501|X=1500|Y=26|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=26|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=26|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Import AlohaTimeclock Adjustments.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=1500|Y=26|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Import AlohaTimeclock Adjustments.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Import AlohaTimeclock Adjustments\\comma\\importAlohaTimeclockAdjustments\\comma\\action_list\\comma\\Action=importAlohaTimeclockAdjustments\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//importAlohaTimeclockAdjustments//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importAlohaTimeclockAdjustments\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports Aloha timeclock adjustments.  Copies the adjtime.dbf file to //crlf////tab////tab//the dated directories in the posdata directory and deletes the lbr.* files in the //crlf////tab////tab//store directory to cause the daily labor files to be imported again.//crlf////crlf////tab////tab//The number of timeclock days to synch will be reduced if necessary so it does not //crlf////tab////tab//exceed the numbers of days that the POS synch is set for.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\importAlohaTimeclockAdjustments\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\importAlohaTimeclockAdjustments\\quot\\)//crlf////crlf////tab////tab////tab////get the pos directory//crlf////tab////tab////tab//sPOSDir=getToken(\\quot\\POSInterface_PosDir\\quot\\)//crlf////crlf////tab////tab////tab////abort if pos directory is invalid//crlf////tab////tab////tab//if(not(dirExists(sPOSDir)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid POS directory: \\quot\\+sPOSDir)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the store directory and ID//crlf////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//sStoreDir=getToken(\\quot\\POSInterface_StoreDir\\quot\\)//crlf////crlf////tab////tab////tab////abort if the store directory is invalid//crlf////tab////tab////tab//if(not(dirExists(sStoreDir)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid store directory: \\quot\\+sStoreDir)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the number of days to synch//crlf////tab////tab////tab//iSynchDays=value(getToken(\\quot\\POSInterface_TimeclockAdjustDays\\quot\\))//crlf////tab////tab////tab//if(iSynchDays=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Number of days to synch is 0\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\POSInterface_TimeclockAdjustDays=\\quot\\+getToken(\\quot\\POSInterface_TimeclockAdjustDays\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\POSInterface_SynchDays=\\quot\\+getToken(\\quot\\POSInterface_SynchDays\\quot\\))//crlf////crlf////tab////tab////tab//iSynchDays=min(iSynchDays\\comma\\value(getToken(\\quot\\POSInterface_SynchDays\\quot\\)))//crlf////tab////tab////tab//appendToLog(\\quot\\iSynchDays=\\quot\\+iSynchDays)//crlf////crlf////tab////tab////tab////get date range to synch//crlf////tab////tab////tab//t1=incrementTime(LastBusinessDay(\\quot\\00:00\\quot\\)\\comma\\-iSynchDays)//crlf////tab////tab////tab//t2=LastBusinessDay(\\quot\\00:00\\quot\\)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Importing timeclock adjustments for \\quot\\+formatDate(t1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\ to \\quot\\+formatDate(t2\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////tab//while(t1<=t2)//crlf////tab////tab////tab////tab//sSrcFilename=addDirSlash(getToken(\\quot\\POSInterface_PosDir\\quot\\))+formatDate(t1\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\\adjtime.dbf\\quot\\//crlf////tab////tab////tab////tab//sDestFilename=addDirSlash(getToken(\\quot\\homedir\\quot\\))+\\quot\\posdata/aloha/\\quot\\+formatDate(t1\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/adjtime.dbf\\quot\\//crlf////crlf////tab////tab////tab////tab//sSrcFilename1=addDirSlash(getToken(\\quot\\POSInterface_PosDir\\quot\\))+formatDate(t1\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\\gndbreak.dbf\\quot\\//crlf////tab////tab////tab////tab//sDestFilename1=addDirSlash(getToken(\\quot\\homedir\\quot\\))+\\quot\\posdata/aloha/\\quot\\+formatDate(t1\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/gndbreak.dbf\\quot\\//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//if(fileExists(sSrcFilename))//crlf////tab////tab////tab////tab////tab//if((gfs(sSrcFilename)<>gfs(sDestFilename)) or (gfs(sSrcFilename1)<>gfs(sDestFilename1)))//crlf////tab////tab////tab////tab////tab////tab//fileCopy(sSrcFilename\\comma\\sDestFilename)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Copy \\quot\\+sSrcFilename+\\quot\\ to \\quot\\+sDestFilename)//crlf////crlf////tab////tab////tab////tab////tab////tab//fileCopy(sSrcFilename1\\comma\\sDestFilename1)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Copy \\quot\\+sSrcFilename1+\\quot\\ to \\quot\\+sDestFilename1)//crlf////crlf////tab////tab////tab////tab////tab////tab////delete the processed timeclock file//crlf////tab////tab////tab////tab////tab////tab//sProcessedTimeclock=addDirSlash(getToken(\\quot\\homedir\\quot\\))+\\quot\\posdata/aloha/\\quot\\+formatDate(t1\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/Processed_Timeclock.csv\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if(fileExists(sProcessedTimeclock))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Deleting \\quot\\+sProcessedTimeclock)//crlf////tab////tab////tab////tab////tab////tab////tab//fileDelete(sProcessedTimeclock)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\File does not exist: \\quot\\+sProcessedTimeclock)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab//sLbrFilename=sStoreDir+\\quot\\lbr.\\quot\\+formatDate(t1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if(fileExists(sLbrFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//fileDelete(sLbrFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//if(fileExists(sLbrFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//fileSetLength(sLbrFilename\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Deleted \\quot\\+sLbrFilename)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\File does not exist: \\quot\\+sLbrFilename)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Files are identical: \\quot\\+sSrcFilename+\\quot\\ \\quot\\+sDestFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Cannot locate: \\quot\\+sSrcFilename)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//t1=incrementTime(t1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=1500|Y=26|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=809711|X=1500|Y=26|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=151|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=666881|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|AgentReportTo=getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~AspectServerHashID~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|^
ID=240654|X=151|Y=450|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=|^
ID=AgentTabs|X=151|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Import AlohaTimeclock Adjustments\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Import AlohaTimeclock Adjustments\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 03-11-2024 01:11:11//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Import AlohaTimeclock Adjustments\\comma\\AgentAction\\comma\\666881\\comma\\0\\comma\\importAlohaTimeclockAdjustments//crlf////tab////tab//Result=execAgentAction(\\quot\\importAlohaTimeclockAdjustments\\quot\\)//crlf////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Import AlohaTimeclock Adjustments\\comma\\AgentTerminate\\comma\\240654\\comma\\2\\comma\\Ok//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Import AlohaTimeclock Adjustments\\comma\\AgentTerminate\\comma\\545763\\comma\\1\\comma\\Error//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;03112024//amp//nbsp;011111//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Import//amp//nbsp;AlohaTimeclock//amp//nbsp;Adjustments\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;03-11-2024//amp//nbsp;01:11:11</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\importAlohaTimeclockAdjustments\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>03112024 011111</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart666881\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\139\\quot\\ style=\\quot\\width: 120px; height: 139px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Import AlohaTimeclock Adjustments</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: getToken(\\quot\\AspectServerHashID\\quot\\)<br>Name Params: </div></div><div id=\\quot\\chart240654\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 409px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:black\\quot\\>Other</span></div></div><div id=\\quot\\chart666881\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart889992\\quot\\ style=\\quot\\position: absolute; top: 206px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\56\\quot\\ style=\\quot\\width: 150px; height: 56px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>importAlohaTimeclockAdjustments<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart889992\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart240654\\quot\\ agentchildnonode=\\quot\\chart545763\\quot\\ style=\\quot\\position: absolute; top: 314px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\38\\quot\\ style=\\quot\\width: 150px; height: 38px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart545763\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 314px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=666881|X=151|Y=247|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=889992|AgentChildNoNode=|AgentSensor=|AgentAction=importAlohaTimeclockAdjustments|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=|AgentNodeTermType=|^
ID=889992|X=151|Y=355|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=240654|AgentChildNoNode=545763|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=545763|X=341|Y=355|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|
</widget><widget name="Create Aspect6 Polling File Set" group="Back-Office" category="Aspect6" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Create Aspect6 Polling File Set" modified="07-03-2017 21:29:46" modifiedby="Thnikpad2" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=06-18-2017 21:15:45:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=53|toolboxy=173|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Create Aspect6 Polling File Set.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'641087')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'120721')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=641087|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Create Aspect6 Polling File Set.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Create Aspect6 Polling File Set.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Create Aspect6 Polling File Set\\comma\\createAspect6PollingFileset\\comma\\action_list\\comma\\Action=createAspect6PollingFileset\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//createAspect6PollingFileset//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\createAspect6PollingFileset\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Creates a file set containing Aspect6 store files for a given number of days.//crlf////tab////tab//This file set is used to replace polling using library documents.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\createAspect6PollingFileset\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if location is not set to Store//crlf////tab////tab////tab//if(getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)<>\\quot\\store\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Aspect_BackOffice_Pref_Polling_Location is not Store: [\\quot\\\\plus\\getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)\\plus\\\\quot\\]\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if Aspect6ActiveStoreCode is not defined//crlf////tab////tab////tab//sAspect6ActiveStoreCode=trim(getToken(\\quot\\Aspect6ActiveStoreCode\\quot\\))//crlf////tab////tab////tab//if(len(sAspect6ActiveStoreCode)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Aspect6ActiveStoreCode is not defined\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get Aspect6 store directory//crlf////tab////tab////tab//sAspect6StoreDir=addDirSlash(trim(lookup(Aspect6_Store_Directories_By_Code\\comma\\sAspect6ActiveStoreCode)))//crlf////tab////tab////tab////crlf////tab////tab////tab////abort if store directory is undefined//crlf////tab////tab////tab//if(len(sAspect6StoreDir)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Store directory is undefined for Aspect6 store code: [\\quot\\\\plus\\sAspect6ActiveStoreCode\\plus\\\\quot\\]\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if file set already exists//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//driverOpen(Aspect_File_Set\\comma\\drvFileSet\\comma\\READ)//crlf////tab////tab////tab////tab//driverSetFilter(drvFileSet\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//r=driverFindRecord(drvFileSet\\comma\\0\\comma\\\\quot\\TaskName=\\quot\\\\plus\\quote(\\quot\\Aspect6 Polling\\quot\\))//crlf////tab////tab////tab////tab//driverClose(drvFileSet)//crlf////tab////tab////tab////tab//if(r>=0)//crlf////tab////tab////tab////tab////tab//return(\\quot\\Error: File set already exists: Aspect6 Polling\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the filespec//crlf////tab////tab////tab//sFilespec=\\quot\\@=\\quot\\\\plus\\quote(sAspect6StoreDir\\plus\\\\quot\\*.def\\quot\\\\plus\\char(0x3B)\\plus\\sAspect6StoreDir\\plus\\\\quot\\*.dta\\quot\\\\plus\\char(0x3B))//crlf////tab////tab////tab//sFilespec=sFilespec\\plus\\\\quot\\\\plus\\getSetTime(date(incrementTime(LastBusinessDay()\\comma\\-21)\\comma\\true)\\comma\\date(incrementTime(LastBusinessDay()\\comma\\10)\\comma\\true)\\comma\\1440*60\\comma\\\\apos\\MM-dd-yy\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\\\apos\\\\quot\\\\plus\\sAspect6StoreDir\\plus\\\\quot\\$e$.*\\apos\\\\comma\\char(0x3b))\\quot\\//crlf////tab////tab////tab//sFilespec=replaceSubstring(sFilespec\\comma\\char(0x27)\\comma\\char(0x22))//crlf////crlf////tab////tab////tab//sParams=\\quot\\Category1=Aspect6\\quot\\//crlf////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskDescription=File set used to send Aspect6 store files to home office\\quot\\)//crlf////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskName=Aspect6 Polling\\quot\\)//crlf////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskEnabled=true\\quot\\)//crlf////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\Filespec=\\quot\\\\plus\\quote(sFilespec))//crlf////tab////tab////tab//sExclude=\\quot\\slptree.dta~~pipe~~slgp.dta~~pipe~~slbuswe.dta~~pipe~~slqbooks.dta~~pipe~~slmas90.dta~~pipe~~invpost.dta~~pipe~~payroll.dta~~pipe~~jobdef.dta\\quot\\//crlf////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\Exclude_Filespec=\\quot\\\\plus\\replaceSubstring(sExclude\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\char(0x3B)))//crlf////tab////tab////tab//sParams=addElement(sParams\\comma\\\\quot\\TaskMinutesBetweenExecution=10\\quot\\)//crlf////tab////tab////tab////appendToLog(\\quot\\sParams=\\quot\\\\plus\\sParams)//crlf////crlf////tab////tab////tab//enableTaskScheduler(Aspect_File_Set\\comma\\true\\comma\\true)//crlf////tab////tab////tab//s=setTaskParams(\\quot\\Aspect_File_Set\\quot\\\\comma\\\\quot\\Aspect6 Polling\\quot\\\\comma\\true\\comma\\sParams)//tab////crlf////crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=debug_console|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=120721|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=45|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=153223|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=542366|X=183|Y=454|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Create Aspect6 Polling File Set\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Create Aspect6 Polling File Set\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 06-09-2017 22:47:29//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Create Aspect6 Polling File Set\\comma\\AgentAction\\comma\\153223\\comma\\0\\comma\\Create file set//crlf////crlf////tab////tab////Create file set//crlf////tab////tab//Result=execAgentAction(\\quot\\createAspect6PollingFileset\\quot\\)//crlf////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Create Aspect6 Polling File Set\\comma\\AgentTerminate\\comma\\542366\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Create Aspect6 Polling File Set\\comma\\AgentTerminate\\comma\\712818\\comma\\1\\comma\\Error//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;06092017//amp//nbsp;224729//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Create//amp//nbsp;Aspect6//amp//nbsp;Polling//amp//nbsp;File//amp//nbsp;Set\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;06-09-2017//amp//nbsp;22:47:29</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Create//amp//nbsp;file//amp//nbsp;set</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\createAspect6PollingFileset\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>06092017 224729</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart153223\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\124\\quot\\ style=\\quot\\width: 120px; height: 124px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Create Aspect6 Polling File Set</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart542366\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 392px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart153223\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart815092\\quot\\ style=\\quot\\position: absolute; top: 176px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\56\\quot\\ style=\\quot\\width: 150px; height: 56px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>createAspect6PollingFileset<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart815092\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart542366\\quot\\ agentchildnonode=\\quot\\chart712818\\quot\\ style=\\quot\\position: absolute; top: 284px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\38\\quot\\ style=\\quot\\width: 150px; height: 38px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart712818\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 284px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=153223|X=183|Y=221|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=815092|AgentChildNoNode=|AgentSensor=|AgentAction=createAspect6PollingFileset|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Create file set|AgentNodeTermType=|^
ID=815092|X=183|Y=353|W=149|H=39|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=542366|AgentChildNoNode=712818|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=712818|X=373|Y=353|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|
</widget><widget name="Validate Aspect6 POS Import" group="Back-Office" category="Aspect6" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Validate Aspect6 Pos Import" modified="01-02-2018 12:26:52" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=07-03-2017 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=10 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(hour(now())\\gt\\=7) and (len(trim(getToken(\\quote\\Aspect6StartInDirectory\\quote\\)))\\gt\\0)" TaskConditional_Expression_Description="" TaskState_Function="getFilespecState(replaceSubstring(getSetFor(getCollection(Aspect6_Store_Directories_By_Code,true,\\quote\\\\quote\\,\\quote\\\\quote\\,\\quote\\,\\quote\\,\\quote\\value\\quote\\),\\quote\\*.*\\quote\\),char(0x2C),char(0x3B)))" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=24|toolboxy=181|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Validate Aspect6 POS Import.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=151|Y=45|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=66468|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=onchange|AgentReportTo={AspectServerHashID}|^
ID=900832|X=183|Y=458|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=151|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=151|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Validate Aspect6 POS Import\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Aspect6 POS Import\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 07-03-2017 21:14:27//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Aspect6 POS Import\\comma\\AgentAction\\comma\\66468\\comma\\0\\comma\\validateAspect6POSImport//crlf////tab////tab//Result=execAgentAction(\\quot\\validateAspect6POSImport\\quot\\)//crlf////crlf////tab////tab////All files present?//crlf////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Aspect6 POS Import\\comma\\AgentTerminate\\comma\\900832\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Aspect6 POS Import\\quot\\\\comma\\\\quot\\900832\\quot\\\\comma\\0\\comma\\{AspectServerHashID}\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Aspect6 POS Import\\comma\\AgentTerminate\\comma\\765656\\comma\\1\\comma\\Error//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate Aspect6 POS Import\\quot\\\\comma\\\\quot\\765656\\quot\\\\comma\\1\\comma\\{AspectServerHashID}\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=151|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;07032017//amp//nbsp;211427//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Validate//amp//nbsp;Aspect6//amp//nbsp;POS//amp//nbsp;Import\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;07-03-2017//amp//nbsp;21:14:27</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\validateAspect6POSImport\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//All//amp//nbsp;files//amp//nbsp;present?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;Aspect6//amp//nbsp;POS//amp//nbsp;Import\\quot\\\\comma\\\\quot\\900832\\quot\\\\comma\\0\\comma\\{AspectServerHashID}\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Validate//amp//nbsp;Aspect6//amp//nbsp;POS//amp//nbsp;Import\\quot\\\\comma\\\\quot\\765656\\quot\\\\comma\\1\\comma\\{AspectServerHashID}\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=151|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=151|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:script; commands:\\quot\\//crlf////tab////abort if Aspect6StartInDirectory is undefined//crlf////tab//sStoreDir=trim(getToken(\\quot\\Aspect6StartInDirectory\\quot\\))//crlf////tab//if(len(sStoreDir)=0)//crlf////tab////tab//return(\\quot\\Error: Missing Aspect6StartInDirectory\\quot\\)//crlf////tab//endif//crlf////crlf////tab////open the store driver//crlf////tab//driverOpen(Aspect6_Driver_Store_Settings\\comma\\drvStore\\comma\\READ)//crlf////tab//driverSetFilter(drvStore\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab//cStore=driverGetRecordCount(drvStore)//crlf////crlf////tab////abort if no stores defined//crlf////tab//if(cStore=0)//crlf////tab////tab//driverClose(drvStore)//crlf////tab////tab//return(\\quot\\Error: No store records in \\quot\\\\plus\\addDirSlash(sStoreDir)\\plus\\\\quot\\stores.dta\\quot\\)//crlf////tab//endif//crlf////crlf////tab//cChecked=0//crlf////tab//cOk=0//crlf////tab//cClosed=0//crlf////tab//cError=0//crlf////crlf////tab////get list of dates to be excluded//crlf////tab//arExcludeDate=\\quot\\20170704\\comma\\20171123\\comma\\20171225\\comma\\20171231\\comma\\20180101\\comma\\20180704\\comma\\20181122\\comma\\20181225\\comma\\20181225\\comma\\20190101\\quot\\//crlf////crlf////tab//sResult=\\quot\\\\quot\\//crlf////tab//nStore=0//crlf////tab//while(nStore<cStore)//crlf////tab////tab//sDir=addDirSlash(driverGetField(drvStore\\comma\\\\quot\\ID_TSTOREREC_ASPECT_DIR\\quot\\\\comma\\nStore))//crlf////tab////tab//appendToLog(\\quot\\Checking for files in \\quot\\\\plus\\sDir)//crlf////tab////tab//dt1=incrementTime(LastBusinessDay()\\comma\\-7)//crlf////tab////tab//dt2=date(dateNumber(incrementTime(now()\\comma\\-1))\\comma\\true)//crlf////tab////tab//while(dt1<=dt2)//crlf////tab////tab////tab//sDate=formatDate(dt1\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab//if(containsElement(arExcludeDate\\comma\\sDate)<0)//crlf////tab////tab////tab////tab//arExt=\\quot\\.mix\\comma\\.lbr\\quot\\//crlf////tab////tab////tab////tab//cExt=getElementCount(arExt)//crlf////tab////tab////tab////tab//nExt=0//crlf////tab////tab////tab////tab//while(nExt<cExt)//crlf////tab////tab////tab////tab////tab//sExt=getElement(arExt\\comma\\nExt)//crlf////crlf////tab////tab////tab////tab////tab////check for file//crlf////tab////tab////tab////tab////tab//sFilename1=sDir\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\sExt//tab////crlf////tab////tab////tab////tab////tab//sFilename2=sDir\\plus\\formatDate(incrementTime(dt1\\comma\\-7)\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\sExt//crlf////tab////tab////tab////tab////tab//if((not(fileExists(sFilename1))) or (fileSize(sFilename1)=0) or (fileSize(sFilename1)=290))//crlf////tab////tab////tab////tab////tab////tab//if(fileSize(sFilename2)>290)//crlf////tab////tab////tab////tab////tab////tab////tab//sResult=sResult\\plus\\sFilename1\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\\\quot\\Error\\quot\\\\plus\\\\quot\\~\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//cError\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//sResult=sResult\\plus\\sFilename1\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\\\quot\\Assumed Closed\\quot\\\\plus\\\\quot\\~\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//cClosed\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//sResult=sResult\\plus\\sFilename1\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\\\quot\\Ok \\quot\\\\plus\\fileSize(sFilename1)\\plus\\\\quot\\ bytes Modified: \\quot\\\\plus\\formatDate(fileModified(sFilename1)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)\\plus\\\\quot\\~\\quot\\//crlf////tab////tab////tab////tab////tab////tab//cOk\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//cChecked\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//nExt\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=sResult\\plus\\sFilename1\\plus\\\\quot\\~~pipe~~\\quot\\\\plus\\\\quot\\Skipping \\quot\\\\plus\\fileSize(sFilename1)\\plus\\\\quot\\ bytes Modified: \\quot\\\\plus\\formatDate(fileModified(sFilename1)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)\\plus\\\\quot\\~\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//nStore\\plus\\\\plus\\//crlf////tab//endwhile//crlf////crlf////tab//driverClose(drvStore)//crlf////crlf////tab////return(sResult)//crlf////tab//s=\\quot\\Checked \\quot\\\\plus\\cChecked\\plus\\\\quot\\ Ok: \\quot\\\\plus\\cOk\\plus\\\\quot\\ Error: \\quot\\\\plus\\cError\\plus\\\\quot\\ Closed: \\quot\\\\plus\\cClosed\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab//s=s\\plus\\htmlTable(sResult\\comma\\\\quot\\~\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\File~~pipe~~Status\\quot\\)//crlf////tab//return(s)//crlf//\\quot\\>//crlf//^
ID=AgentChart|X=151|Y=45|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>07032017 211427</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart66468\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\137\\quot\\ style=\\quot\\width: 120px; height: 137px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Validate Aspect6 POS Import</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: onchange<br>Report To: {AspectServerHashID}<br>Name Params: </div></div><div id=\\quot\\chart900832\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 413px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart66468\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart320485\\quot\\ style=\\quot\\position: absolute; top: 189px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\56\\quot\\ style=\\quot\\width: 150px; height: 56px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>validateAspect6POSImport<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart320485\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart900832\\quot\\ agentchildnonode=\\quot\\chart765656\\quot\\ style=\\quot\\position: absolute; top: 297px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>All files present?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart765656\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 297px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'496564')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'212958')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=496564|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Validate Aspect6 POS Import.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Validate Aspect6 POS Import.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Validate Aspect6 POS Import\\comma\\validateAspect6POSImport\\comma\\action_list\\comma\\Action=validateAspect6POSImport\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//validateAspect6POSImport//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\validateAspect6POSImport\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Checks for Aspect labor and sales mix files in all store directories.  Runs on both store //crlf////tab////tab//and office computers.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\validateAspect6POSImport\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////abort if customer ID is in exclude list//crlf////tab////tab////tab//arExcludeHashID=\\quot\\qqe5z24wc\\comma\\z28nz3py7\\comma\\ladlvgynd\\comma\\bd2xisw2t\\comma\\7iuld33da\\comma\\tft9uhpdr\\comma\\x19bfhpmp\\comma\\yv5v456sy\\comma\\2gg5fkkn0\\comma\\49f8bzvvt\\comma\\wnshjk47s\\comma\\5ob1t9kt2\\comma\\9ihfpoes7\\comma\\zwdqezi3c\\quot\\//crlf////tab////tab////tab//if(pos(getToken(\\quot\\AspectHashID\\quot\\)\\comma\\arExcludeHashID)>=0)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Excluding \\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if Aspect6StartInDirectory is undefined//crlf////tab////tab////tab//sStoreDir=trim(getToken(\\quot\\Aspect6StartInDirectory\\quot\\))//crlf////tab////tab////tab//if(len(sStoreDir)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Aspect6StartInDirectory\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the store driver//crlf////tab////tab////tab//driverOpen(Aspect6_Driver_Store_Settings\\comma\\drvStore\\comma\\READ)//crlf////tab////tab////tab//driverSetFilter(drvStore\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//cStore=driverGetRecordCount(drvStore)//crlf////crlf////tab////tab////tab////abort if no stores defined//crlf////tab////tab////tab//if(cStore=0)//crlf////tab////tab////tab////tab//driverClose(drvStore)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Aborting because no store records in \\quot\\\\plus\\addDirSlash(sStoreDir)\\plus\\\\quot\\stores.dta\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get list of dates to be excluded//crlf////tab////tab////tab//arExcludeDate=\\quot\\20170704\\comma\\20171123\\comma\\20171225\\comma\\20171231\\comma\\20180101\\comma\\20180704\\comma\\20181122\\comma\\20181225\\comma\\20181225\\comma\\20190101\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\arExcludeDate=\\quot\\\\plus\\arExcludeDate)//crlf////crlf////tab////tab////tab//cChecked=0//crlf////tab////tab////tab//cOk=0//crlf////tab////tab////tab//cClosed=0//crlf////tab////tab////tab//cError=0//crlf////crlf////tab////tab////tab//nStore=0//crlf////tab////tab////tab//while(nStore<cStore)//crlf////tab////tab////tab////tab//sDir=addDirSlash(driverGetField(drvStore\\comma\\\\quot\\ID_TSTOREREC_ASPECT_DIR\\quot\\\\comma\\nStore))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Checking for files in \\quot\\\\plus\\sDir)//crlf////tab////tab////tab////tab//dt1=incrementTime(LastBusinessDay()\\comma\\-7)//crlf////tab////tab////tab////tab//dt2=date(dateNumber(incrementTime(now()\\comma\\-1))\\comma\\true)//crlf////tab////tab////tab////tab//while(dt1<=dt2)//crlf////tab////tab////tab////tab////tab//sDate=formatDate(dt1\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab////tab//if(containsElement(arExcludeDate\\comma\\sDate)<0)//crlf////tab////tab////tab////tab////tab////tab//arExt=\\quot\\.mix\\comma\\.lbr\\quot\\//crlf////tab////tab////tab////tab////tab////tab//cExt=getElementCount(arExt)//crlf////tab////tab////tab////tab////tab////tab//nExt=0//crlf////tab////tab////tab////tab////tab////tab//while(nExt<cExt)//crlf////tab////tab////tab////tab////tab////tab////tab//sExt=getElement(arExt\\comma\\nExt)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////check for file//crlf////tab////tab////tab////tab////tab////tab////tab//sFilename1=sDir\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\sExt//tab////crlf////tab////tab////tab////tab////tab////tab////tab//sFilename2=sDir\\plus\\formatDate(incrementTime(dt1\\comma\\-7)\\comma\\\\quot\\MM-dd-yy\\quot\\)\\plus\\sExt//crlf////tab////tab////tab////tab////tab////tab////tab//if((not(fileExists(sFilename1))) or (fileSize(sFilename1)=0) or (fileSize(sFilename1)=290))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(fileSize(sFilename2)>290)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Missing \\quot\\\\plus\\sFilename1\\plus\\\\quot\\ fileExists:\\quot\\\\plus\\fileExists(sFilename1)\\plus\\\\quot\\ fileSize:\\quot\\\\plus\\fileSize(sFilename1))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//cError\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Ok: \\quot\\\\plus\\sFilename1\\plus\\\\quot\\ (assumed closed)\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//cClosed\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Ok: \\quot\\\\plus\\sFilename1\\plus\\\\quot\\ \\quot\\\\plus\\fileSize(sFilename1)\\plus\\\\quot\\ bytes Modified: \\quot\\\\plus\\formatDate(fileModified(sFilename1)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//cOk\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////tab//cChecked\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab//nExt\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Skipping date: \\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//nStore\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(drvStore)//crlf////crlf////tab////tab////tab//s=\\quot\\Checked \\quot\\\\plus\\cChecked\\plus\\\\quot\\ Ok: \\quot\\\\plus\\cOk\\plus\\\\quot\\ Error: \\quot\\\\plus\\cError\\plus\\\\quot\\ Closed: \\quot\\\\plus\\cClosed//crlf////tab////tab////tab//if(cError>0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: \\quot\\\\plus\\s)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: \\quot\\\\plus\\s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=212958|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=66468|X=183|Y=234|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=320485|AgentChildNoNode=|AgentSensor=|AgentAction=validateAspect6POSImport|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=|AgentNodeTermType=|^
ID=320485|X=183|Y=342|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=900832|AgentChildNoNode=765656|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=All files present?|AgentNodeTermType=|^
ID=765656|X=373|Y=342|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|
</widget><widget name="Controllables Reports" group="Controllables Reports" category="" description="Table used to define and configure controllables reports" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Controllables Reports" modified="02-14-2018 20:44:40" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=02-07-2018 10:28:08:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=23|toolboxy=186|aspectfuncx=244|aspectfuncy=112|aspectfuncw=868|aspectfunch=770|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Controllables Reports.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'984668')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'943932')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=984668|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Controllables Reports.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Controllables Reports.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Controllables Reports\\comma\\openControllablesConsolidatedDriver\\comma\\action_list\\comma\\Action=openControllablesConsolidatedDriver\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//openControllablesConsolidatedDriver//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\openControllablesConsolidatedDriver\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Opens a consolidated driver containing all drivers in a given controllables report.  This //crlf////tab////tab//driver is used to to open a dimensional driver to display the report.  The ID of the //crlf////tab////tab//controllables report is required and is used to determine the drivers to be opened.  //crlf////crlf////tab////tab//The drivers included must contain the following fields://crlf////tab////tab////tab//Controllables_Description - Description of the field//crlf////tab////tab////tab//Record_Type_Description - Description of the record type.  This comes from the check detail record types//crlf////tab////tab////tab//Record_Type - check detail record tpe//crlf////tab////tab////tab//Controllables_StoreID - Store ID//crlf////tab////tab////tab//Controllables_Period - Period - 1-Daily\\comma\\ 2-Weekly\\comma\\ 3-Monthly//crlf////tab////tab////tab//Controllables_Date - Date of the record//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//ControllablesID - ID of the controllables report//crlf////tab////tab//ControllablesDriverID - Comma-delimited array of drivers to be included//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//PeriodType - 1-Daily\\comma\\ 2-Weekly\\comma\\ 3-Monthly//crlf////tab////tab//Date - MM-dd-yyyy.  Can be starting or ending date//crlf////tab////tab//NumberOfPeriods - Number of periods//crlf////tab////tab//DebugLog - Filename of debug log//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\openControllablesConsolidatedDriver\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\openControllablesConsolidatedDriver started\\quot\\)//crlf////crlf////tab////tab////tab////abort if missing ControllablesID//crlf////tab////tab////tab//if(undefined(\\quot\\__ControllablesID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing ControllablesID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////initialize div for debugging output//crlf////tab////tab////tab//bDebug=false//crlf////tab////tab////tab//sDebugFilename=\\quot\\\\quot\\//crlf////tab////tab////tab//if(defined(\\quot\\__DebugLog__\\quot\\))//crlf////tab////tab////tab////tab//sDebugFilename=\\quot\\__DebugLog__\\quot\\//crlf////tab////tab////tab////tab//bDebug=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\quote(\\quot\\div style='margin-left:10px'\\quot\\\\comma\\char(0x3C))\\comma\\true)//crlf////tab////tab////tab////tab//s=quote(\\quot\\div class='sectionheader'\\quot\\\\comma\\char(0x3C))+\\quot\\Consolidating Drivers\\quot\\+quote(\\quot\\/div\\quot\\\\comma\\char(0x3C))//crlf////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\s\\comma\\true)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sTimeline=\\quot\\\\quot\\//crlf////tab////tab////tab//sTimeline=addElement(sTimeline\\comma\\formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\)+\\quot\\\\comma\\\\quot\\+\\quot\\openControllablesConsolidatedDriverstarted\\quot\\\\comma\\char(13))//crlf////crlf////tab////tab////tab////Open the driver of controllables reports//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Controllables_Report\\comma\\dControllables\\comma\\READ)//crlf////crlf////tab////tab////tab////locate the report//crlf////tab////tab////tab//rControllablesID=driverFindRecordAbsolute(dControllables\\comma\\0\\comma\\\\quot\\ID=\\quot\\+quote(\\quot\\__ControllablesID__\\quot\\))//crlf////crlf////tab////tab////tab////abort if report cannot be found//crlf////tab////tab////tab//if(rControllablesID<0)//crlf////tab////tab////tab////tab//driverClose(dControllables)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Cannot locate controllables report with ID=__ControllablesID__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the list of controllables drivers//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Controllables_Report_Driver\\comma\\dDrivers\\comma\\READ)//crlf////crlf////tab////tab////tab////filter to the drivers belonging to the controllables report//crlf////tab////tab////tab//driverSetSort(dDrivers\\comma\\\\quot\\Sort_Order\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(dDrivers\\comma\\\\quot\\ControllablesID=\\quot\\+quote(\\quot\\__ControllablesID__\\quot\\)\\comma\\true)//crlf////crlf////tab////tab////tab////abort if no drivers are defined//crlf////tab////tab////tab//c=driverGetRecordCount(dDrivers)//crlf////tab////tab////tab//if(c=0)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Error: No data sources defined\\quot\\)//crlf////tab////tab////tab////tab//return//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////determine if the drivers will be consolidated horizontally or vertically.  They //crlf////tab////tab////tab////are consolidated horizontally if all the drivers use the same data source.  However they//crlf////tab////tab////tab////are consolidated vertically if Consolidate_Vertically is enabled for the first driver //crlf////tab////tab////tab////in the set//crlf////tab////tab////tab//bForceVertCons=lookup(Aspect_BackOffice_Controllables_Force_Vert_Cons_by_ID\\comma\\getElement(\\quot\\__ControllablesDriverID__\\quot\\\\comma\\0))//crlf////tab////tab////tab//appendToLog(\\quot\\bForceVertCons=\\quot\\+bForceVertCons+\\quot\\ for driver ID=\\quot\\+getElement(\\quot\\__ControllablesDriverID__\\quot\\\\comma\\0))//crlf////tab////tab////tab//if(not(bForceVertCons))//crlf////tab////tab////tab////tab//c1=getElementCount(\\quot\\__ControllablesDriverID__\\quot\\)//crlf////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab//s=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//while(n1<c1)//crlf////tab////tab////tab////tab////tab//s1=getElement(\\quot\\__ControllablesDriverID__\\quot\\\\comma\\n1)//crlf////tab////tab////tab////tab////tab//sDataSource=lookup(Aspect_BackOffice_Data_Source_by_Included_Driver_ID\\comma\\s1)//crlf////tab////tab////tab////tab////tab//if(sDataSource<>s)//crlf////tab////tab////tab////tab////tab////tab//s=addElement(s\\comma\\sDataSource)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n1++//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open driver of external structure records defined for drivers included in the report.//crlf////tab////tab////tab////This driver is opened as a system driver and the name of the driver is included in the //crlf////tab////tab////tab////driver params of the consolidated driver returned by this action.  //crlf////tab////tab////tab////TDimensionalDriver.makeEditableFile() looks for a driver param named ExternalStructDriver//crlf////tab////tab////tab////and adds any fields defined in the driver.  TDimensionalDriver disposes of the driver.//crlf////tab////tab////tab////The driver is filtered by this action to include only records for drivers included in the //crlf////tab////tab////tab////final driver.//crlf////tab////tab////tab//dExternalStructDriver=upperCase(getSalt(4))//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Controllables_External_Struct\\comma\\dExternalStructDriver\\comma\\READ\\comma\\true)//crlf////crlf////tab////tab////tab////open the driver used to consolidate drivers in the controllables report//crlf////tab////tab////tab//dConsolidated=lowercase(getSalt(4))//crlf////tab////tab////tab//sParams=\\quot\\ExternalStructDriver=\\quot\\+dExternalStructDriver//crlf////tab////tab////tab//sConsolidate=\\quot\\\\quot\\//crlf////tab////tab////tab////if((getElementCount(s)=1) and (getElementCount(\\quot\\__ControllablesDriverID__\\quot\\)>1))//crlf////tab////tab////tab//if((not(bForceVertCons)) and (getElementCount(s)=1))//crlf////tab////tab////tab////tab////if there is only one data source type\\comma\\ then consolidate horizontally//crlf////tab////tab////tab////tab////appendToLog(\\quot\\opening horizontally consolidated driver s=\\quot\\+s)//crlf////tab////tab////tab////tab//driverOpen(ConsDriverHorz\\comma\\dConsolidated\\comma\\WRITE\\comma\\true\\comma\\sParams)//crlf////tab////tab////tab////tab//sConsolidate=\\quot\\Horizontal\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab////if there is more than one data source type\\comma\\ then consolidate vertically//crlf////tab////tab////tab////tab////appendToLog(\\quot\\opening vertically consolidated driver s=\\quot\\+s)//crlf////tab////tab////tab////tab//driverOpen(ConsDriverVert\\comma\\dConsolidated\\comma\\WRITE\\comma\\true\\comma\\sParams)//crlf////tab////tab////tab////tab//sConsolidate=\\quot\\Vertical\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab//if(sConsolidate=\\quot\\Horizontal\\quot\\)//crlf////tab////tab////tab////tab////tab//sDebug=\\quot\\Consolidating drivers horizontally\\quot\\+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sDebug=\\quot\\Consolidating drivers vertically\\quot\\+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\sDebug\\comma\\true)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the period type//crlf////tab////tab////tab//if(defined(\\quot\\__PeriodType__\\quot\\))//crlf////tab////tab////tab////tab//iPeriodType=value(\\quot\\__PeriodType__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//if(iPeriodType=0)//crlf////tab////tab////tab////tab//iPeriodType=driverGetFieldAbsolute(dControllables\\comma\\\\quot\\Period_Type\\quot\\\\comma\\rControllablesID)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the number of periods//crlf////tab////tab////tab//iNumberOfPeriods=0//crlf////tab////tab////tab//if(defined(\\quot\\__NumberOfPeriods__\\quot\\))//crlf////tab////tab////tab////tab//iNumberOfPeriods=value(\\quot\\__NumberOfPeriods__\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//if(iNumberOfPeriods=0)//crlf////tab////tab////tab////tab//iNumberOfPeriods=driverGetFieldAbsolute(dControllables\\comma\\\\quot\\Number_of_Periods\\quot\\\\comma\\rControllablesID)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////determine how date is to be interpreted//crlf////tab////tab////tab//iDatePrompt=driverGetFieldAbsolute(dControllables\\comma\\\\quot\\Date_Prompt\\quot\\\\comma\\rControllablesID)//crlf////crlf////tab////tab////tab////get the starting / ending dates//crlf////tab////tab////tab//dt=parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////crlf////tab////tab////tab//if(iDatePrompt=0)//crlf////tab////tab////tab////tab////date is ending date//crlf////tab////tab////tab////tab//dtTo=parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////crlf////tab////tab////tab////tab//if(iPeriodType=1)//crlf////tab////tab////tab////tab////tab//dtFrom=incrementTime(dtTo\\comma\\-(iNumberOfPeriods-1))//crlf////tab////tab////tab////tab//elseif(iPeriodType=2)//crlf////tab////tab////tab////tab////tab//dtFrom=incrementTime(dtTo\\comma\\-(iNumberOfPeriods*7-1))//crlf////tab////tab////tab////tab//elseif(iPeriodType=3)//crlf////tab////tab////tab////tab////tab//dtFrom=parseTime(\\quot\\01-01-\\quot\\+year(dtTo)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab////date is beginning date//crlf////tab////tab////tab////tab//dtFrom=parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////crlf////tab////tab////tab////tab//if(iPeriodType=1)//crlf////tab////tab////tab////tab////tab//dtTo=incrementTime(dtFrom\\comma\\iNumberOfPeriods-1)//crlf////tab////tab////tab////tab//elseif(iPeriodType=2)//crlf////tab////tab////tab////tab////tab//dtTo=incrementTime(dtFrom\\comma\\(iNumberOfPeriods*7)-1)//crlf////tab////tab////tab////tab//elseif(iPeriodType=3)//crlf////tab////tab////tab////tab////tab//dtTo=dtFrom//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab//sDebug=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//sDebug=addElement(sDebug\\comma\\\\quot\\DriverID=__ControllablesDriverID__\\comma\\\\comma\\\\comma\\\\quot\\\\comma\\char(13))//crlf////tab////tab////tab////tab//sDebug=addElement(sDebug\\comma\\\\quot\\PeriodType=\\quot\\+iPeriodType+\\quot\\\\comma\\Param=__PeriodType__\\comma\\\\comma\\\\quot\\+\\comma\\char(13))//crlf////tab////tab////tab////tab//sDebug=addElement(sDebug\\comma\\\\quot\\Periods=\\quot\\+iNumberOfPeriods+\\quot\\\\comma\\Param=__NumberOfPeriods__\\comma\\\\comma\\\\quot\\\\comma\\char(13))//crlf////tab////tab////tab////tab//sDebug=addElement(sDebug\\comma\\\\quot\\Date Type=\\quot\\+iDatePrompt+\\quot\\\\comma\\Date=__Date__\\comma\\From=\\quot\\+formatDate(dtFrom\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\\\comma\\To=\\quot\\+formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\char(13))//crlf////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\htmlTable(sDebug\\comma\\char(13)\\comma\\char(0x2C))\\comma\\true)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////the sort order is the driver number.  When drivers are consolidated horizontally\\comma\\ the //crlf////tab////tab////tab////sort order of the first driver is used for the remaining drivers.  This is done because //crlf////tab////tab////tab////the sort order is used as a y dimension in the dimensional driver//crlf////tab////tab////tab//FirstSortOrder=-1//crlf////crlf////tab////tab////tab//sDescription1=\\quot\\\\quot\\//crlf////tab////tab////tab//sDescription2=\\quot\\\\quot\\//crlf////tab////tab////tab//sDescription3=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////create an array of IDs for each driver included in the consolidated driver.  These ID's //crlf////tab////tab////tab////are used to filter the driver of external struct records.  The driver of external struct//crlf////tab////tab////tab////records is used by the dimensional driver to add struct records for each field in the //crlf////tab////tab////tab////dimensional driver.  For example\\comma\\ to calculate percentages//crlf////tab////tab////tab//arIncludedDriverID=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab//nDriver=0//crlf////tab////tab////tab//while(nDriver<c)//crlf////crlf////tab////tab////tab////tab////is the driver enabled//crlf////tab////tab////tab////tab//bEnabled=driverGetField(dDrivers\\comma\\\\quot\\Enabled\\quot\\\\comma\\nDriver)//crlf////crlf////tab////tab////tab////tab//sTimeline=addElement(sTimeline\\comma\\formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\)+\\quot\\\\comma\\\\quot\\+\\quot\\Processing driver \\quot\\+nDriver+\\quot\\ Enabled=\\quot\\+bEnabled\\comma\\char(13))//crlf////crlf////tab////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab////tab//sDebug=quote(\\quot\\hr\\quot\\\\comma\\char(0x3C))+\\quot\\nDriver=\\quot\\+nDriver+\\quot\\ bEnabled=\\quot\\+bEnabled+quote(\\quot\\hr\\quot\\\\comma\\char(0x3C))//crlf////tab////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\sDebug\\comma\\true)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//if(bEnabled)//crlf////tab////tab////tab////tab////tab////get the driver ID//crlf////tab////tab////tab////tab////tab//sControllablesDriverID=driverGetField(dDrivers\\comma\\\\quot\\ID\\quot\\\\comma\\nDriver)//crlf////crlf////tab////tab////tab////tab////tab////only include selected drivers if drivers are specified in ControllablesDriverID//crlf////tab////tab////tab////tab////tab//if((undefined(\\quot\\__ControllablesDriverID__\\quot\\)) or (len(\\quot\\__ControllablesDriverID__\\quot\\)=0) or (containsElement(\\quot\\__ControllablesDriverID__\\quot\\\\comma\\sControllablesDriverID)>=0))//crlf////crlf////tab////tab////tab////tab////tab////tab////add to the array of drivers for which external structures will be added//crlf////tab////tab////tab////tab////tab////tab//arIncludedDriverID=addElement(arIncludedDriverID\\comma\\sControllablesDriverID)//crlf////crlf////tab////tab////tab////tab////tab////tab////get the data source//crlf////tab////tab////tab////tab////tab////tab//sDriverSelection=driverGetField(dDrivers\\comma\\\\quot\\Embedded_Driver\\quot\\\\comma\\nDriver)//crlf////crlf////tab////tab////tab////tab////tab////tab////get the field ID used for the amount.  The field ID contains the ID of the data source\\comma\\ //crlf////tab////tab////tab////tab////tab////tab////so remove it.  For example\\comma\\ the field ID will be [data source ID]_FieldID//crlf////tab////tab////tab////tab////tab////tab//sRawAmountFieldID=driverGetField(dDrivers\\comma\\\\quot\\AmountFieldID\\quot\\\\comma\\nDriver)//crlf////tab////tab////tab////tab////tab////tab//n=pos(\\quot\\_\\quot\\\\comma\\sRawAmountFieldID)//crlf////tab////tab////tab////tab////tab////tab//sAmountFieldID=substring(sRawAmountFieldID\\comma\\n+1)//crlf////crlf////tab////tab////tab////tab////tab////tab////get the field description for the field ID used for the amount.  This is passed to the //crlf////tab////tab////tab////tab////tab////tab////driver so if can be used as the description for the amount field//crlf////tab////tab////tab////tab////tab////tab//sFieldDescription=lookup(Aspect_BackOffice_Controllables_Amount_FieldID\\comma\\sRawAmountFieldID\\comma\\0\\comma\\\\quot\\coll=ControllablesAmountFieldID~~pipe~~DataSource=\\quot\\+sDriverSelection)//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\sRawAmountFieldID=\\quot\\+sRawAmountFieldID+\\quot\\ sAmountFieldID=\\quot\\+sAmountFieldID+\\quot\\ sFieldDescription=\\quot\\+sFieldDescription)//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////get the filter//crlf////tab////tab////tab////tab////tab////tab//sFilter=driverGetField(dDrivers\\comma\\\\quot\\Filter\\quot\\\\comma\\nDriver)//crlf////crlf////tab////tab////tab////tab////tab////tab////get the setting from the driver source indicating whether individual days should be //crlf////tab////tab////tab////tab////tab////tab////consolidated here.  If not\\comma\\ the driver will already contain data for all dates in //crlf////tab////tab////tab////tab////tab////tab////the period//crlf////tab////tab////tab////tab////tab////tab//bConsolidateDays=lookup(Aspect_BackOffice_Controllables_Data_Source_Consolidate_Days\\comma\\sDriverSelection)//crlf////crlf////tab////tab////tab////tab////tab////tab////get driver params for source data driver//crlf////tab////tab////tab////tab////tab////tab//sDriverParams=lookup(Aspect_BackOffice_Controllables_Data_Source_Driver_Params\\comma\\sDriverSelection)//crlf////crlf////tab////tab////tab////tab////tab////tab////get comparison selections (last week\\comma\\ last month\\comma\\ last year)//crlf////tab////tab////tab////tab////tab////tab//arCompare=\\quot\\true\\quot\\//crlf////tab////tab////tab////tab////tab////tab//arCompare=addElement(arCompare\\comma\\driverGetField(dDrivers\\comma\\\\quot\\Compare_Last_Week\\quot\\\\comma\\nDriver))//crlf////tab////tab////tab////tab////tab////tab//arCompare=addElement(arCompare\\comma\\driverGetField(dDrivers\\comma\\\\quot\\Compare_Last_Month\\quot\\\\comma\\nDriver))//crlf////tab////tab////tab////tab////tab////tab//arCompare=addElement(arCompare\\comma\\driverGetField(dDrivers\\comma\\\\quot\\Compare_Last_Year\\quot\\\\comma\\nDriver))//crlf////crlf////tab////tab////tab////tab////tab////tab////get parameters used to consolidate drivers horizontally//crlf////tab////tab////tab////tab////tab////tab//sAliasFields=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab//sFieldList=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if(sConsolidate=\\quot\\Horizontal\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sFieldList=\\quot\\Controllables_Amount\\quot\\//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//sKeyFields=lookup(Aspect_BackOffice_Controllables_Data_Source_Key_Fields\\comma\\sDriverSelection)//crlf////tab////tab////tab////tab////tab////tab//sDriverDescription=lookup(Aspect_BackOffice_Controllables_Data_Source_Driver_Description\\comma\\sDriverSelection)//crlf////crlf////tab////tab////tab////tab////tab////tab////get the driver ID used to open the data source//crlf////tab////tab////tab////tab////tab////tab//sDriverID=lookup(Aspect_BackOffice_Controllables_Data_Source_Driver_ID\\comma\\sDriverSelection)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\sDriverSelection=\\quot\\+sDriverSelection+\\quot\\ sDriverID=\\quot\\+sDriverID)//crlf////crlf////tab////tab////tab////tab////tab////tab////initialize the first sort order used//crlf////tab////tab////tab////tab////tab////tab//if(FirstSortOrder<0)//crlf////tab////tab////tab////tab////tab////tab////tab//FirstSortOrder=nDriver//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////when consolidating horizontally\\comma\\ share the same sort order across all drivers.//crlf////tab////tab////tab////tab////tab////tab////The sort order comes from the position of the driver in the controllables report setup//crlf////tab////tab////tab////tab////tab////tab//if(sConsolidate=\\quot\\Horizontal\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//SortOrder=FirstSortOrder//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//SortOrder=nDriver//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////get the descriptions for record ID's 1 - 3.  Use the description in the record for //crlf////tab////tab////tab////tab////tab////tab////the driver if they exist.  Otherwise\\comma\\ use descriptions from the data source//crlf////tab////tab////tab////tab////tab////tab//if(len(sDescription1)=0)//crlf////tab////tab////tab////tab////tab////tab////tab//sDescription1=driverGetField(dDrivers\\comma\\\\quot\\Description1\\quot\\\\comma\\nDriver)//crlf////tab////tab////tab////tab////tab////tab////tab//sDescription2=driverGetField(dDrivers\\comma\\\\quot\\Description2\\quot\\\\comma\\nDriver)//crlf////tab////tab////tab////tab////tab////tab////tab//sDescription3=driverGetField(dDrivers\\comma\\\\quot\\Description3\\quot\\\\comma\\nDriver)//crlf////tab////tab////tab////tab////tab////tab////tab//sDescription1=if(len(sDescription1)=0\\comma\\lookup(Aspect_BackOffice_Controllables_Data_Source_Description1_by_ID\\comma\\sDriverSelection)\\comma\\sDescription1)//crlf////tab////tab////tab////tab////tab////tab////tab//sDescription2=if(len(sDescription2)=0\\comma\\lookup(Aspect_BackOffice_Controllables_Data_Source_Description2_by_ID\\comma\\sDriverSelection)\\comma\\sDescription2)//crlf////tab////tab////tab////tab////tab////tab////tab//sDescription3=if(len(sDescription3)=0\\comma\\lookup(Aspect_BackOffice_Controllables_Data_Source_Description3_by_ID\\comma\\sDriverSelection)\\comma\\sDescription3)//crlf////tab////tab////tab////tab////tab////tab////tab//sDescription1=if(len(sDescription1)=0\\comma\\\\quot\\Description 1\\quot\\\\comma\\sDescription1)//crlf////tab////tab////tab////tab////tab////tab////tab//sDescription2=if(len(sDescription2)=0\\comma\\\\quot\\Description 2\\quot\\\\comma\\sDescription2)//crlf////tab////tab////tab////tab////tab////tab////tab//sDescription3=if(len(sDescription3)=0\\comma\\\\quot\\Description 3\\quot\\\\comma\\sDescription3)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab//sBaseParams=driverGetField(dDrivers\\comma\\\\quot\\Params\\quot\\\\comma\\nDriver)//crlf////tab////tab////tab////tab////tab////tab//sBaseParams=sBaseParams+\\quot\\~~pipe~~ControllablesDriverID=\\quot\\+sControllablesDriverID//crlf////tab////tab////tab////tab////tab////tab//sBaseParams=sBaseParams+\\quot\\~~pipe~~StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab////tab////tab////tab//sBaseParams=sBaseParams+\\quot\\~~pipe~~PeriodType=\\quot\\+iPeriodType//crlf////tab////tab////tab////tab////tab////tab//sBaseParams=sBaseParams+\\quot\\~~pipe~~ControllablesSortOrder=\\quot\\+SortOrder//crlf////tab////tab////tab////tab////tab////tab//sBaseParams=sBaseParams+\\quot\\~~pipe~~NumberOfPeriods=\\quot\\+iNumberOfPeriods//crlf////tab////tab////tab////tab////tab////tab//sBaseParams=sBaseParams+\\quot\\~~pipe~~ControllablesFieldID=\\quot\\+sAmountFieldID//crlf////tab////tab////tab////tab////tab////tab//sBaseParams=sBaseParams+\\quot\\~~pipe~~Description=\\quot\\//crlf////tab////tab////tab////tab////tab////tab//sBaseParams=sBaseParams+\\quot\\~~pipe~~EnableAddField=\\quot\\+bEnableAddField//crlf////tab////tab////tab////tab////tab////tab//sBaseParams=sBaseParams+\\quot\\~~pipe~~AddFieldFormula=\\quot\\+sAddFieldFormula//crlf////tab////tab////tab////tab////tab////tab//sBaseParams=sBaseParams+\\quot\\~~pipe~~Description1=\\quot\\+sDescription1//crlf////tab////tab////tab////tab////tab////tab//sBaseParams=sBaseParams+\\quot\\~~pipe~~Description2=\\quot\\+sDescription2//crlf////tab////tab////tab////tab////tab////tab//sBaseParams=sBaseParams+\\quot\\~~pipe~~Description3=\\quot\\+sDescription3//crlf////crlf////tab////tab////tab////tab////tab////tab////open a vertically consolidated driver and add records for the date range.//crlf////tab////tab////tab////tab////tab////tab////also add records for any comparison periods selected in the driver.//crlf////tab////tab////tab////tab////tab////tab//d1=getSalt(4)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(ConsDriverVert\\comma\\d1\\comma\\WRITE\\comma\\true\\comma\\\\quot\\ControllablesDriverID=\\quot\\+sControllablesDriverID+\\quot\\~~pipe~~Description=\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//cCompare=4//crlf////tab////tab////tab////tab////tab////tab//nCompare=0//crlf////tab////tab////tab////tab////tab////tab//while(nCompare<cCompare)//crlf////tab////tab////tab////tab////tab////tab////tab//if(boolean(getElement(arCompare\\comma\\nCompare)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sTimeline=addElement(sTimeline\\comma\\formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\)+\\quot\\\\comma\\\\quot\\+\\quot\\nCompare=\\quot\\+nCompare\\comma\\char(13))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(nCompare=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////no comparison.  This is the period selected//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dt1=dtFrom//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dt2=dtTo//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//iPeriodOffset=0//crlf////tab////tab////tab////tab////tab////tab////tab////tab//elseif(nCompare=1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////previous week//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dt1=incrementTime(dtFrom\\comma\\-7)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dt2=incrementTime(dtTo\\comma\\-7)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//iPeriodOffset=1//crlf////tab////tab////tab////tab////tab////tab////tab////tab//elseif(nCompare=2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////previous month//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dt1=incrementTime(dtFrom\\comma\\-30)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dt2=incrementTime(dtTo\\comma\\-30)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//iPeriodOffset=2//crlf////tab////tab////tab////tab////tab////tab////tab////tab//elseif(nCompare=3)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////previous year//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dt1=incrementTime(dtFrom\\comma\\-365)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dt2=incrementTime(dtTo\\comma\\-365)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//iPeriodOffset=3//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////add the data source driver params to the base params//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sParams=sBaseParams+\\quot\\~~pipe~~\\quot\\+sDriverParams//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~ControllablesFrom=\\quot\\+formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~DateFrom=\\quot\\+formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~DateTo=\\quot\\+formatDate(dt2\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Controllables_Period=\\quot\\+iPeriodType//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~NumberOfPeriods=__NumberOfPeriods__\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~FieldName=\\quot\\+sFieldDescription//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~PeriodOffset=\\quot\\+iPeriodOffset//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Description=\\quot\\//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sDebug=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sDebug=addElement(sDebug\\comma\\\\quot\\ID\\comma\\\\quot\\+sDriverID\\comma\\char(13))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sDebug=addElement(sDebug\\comma\\\\quot\\DriverID\\comma\\\\quot\\+sDriverID\\comma\\char(13))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sDebug=addElement(sDebug\\comma\\\\quot\\Source\\comma\\\\quot\\+lookup(Aspect_BackOffice_Controllables_Driver_Selection\\comma\\sDriverSelection)\\comma\\char(13))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sDebug=addElement(sDebug\\comma\\\\quot\\FieldID\\comma\\\\quot\\+sAmountFieldID\\comma\\char(13))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sDebug=addElement(sDebug\\comma\\\\quot\\KeyFields\\comma\\\\quot\\+replaceSubstring(sKeyFields\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\~~pipe~~ \\quot\\)\\comma\\char(13))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sDebug=addElement(sDebug\\comma\\\\quot\\Filter\\comma\\\\quot\\+replaceSubstring(sFilter\\comma\\char(0x2C)\\comma\\\\quot\\//amp////pound//44\\quot\\+char(0x3B))\\comma\\char(13))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sDebug=addElement(sDebug\\comma\\\\quot\\Params\\comma\\\\quot\\+replaceSubstring(sParams\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\~~pipe~~ \\quot\\)\\comma\\char(13))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\getToken(\\quot\\br\\quot\\)+\\quot\\Adding driver\\quot\\+getToken(\\quot\\br\\quot\\)+htmlTable(sDebug\\comma\\char(13)\\comma\\char(0x2C))\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab//sTimeline=addElement(sTimeline\\comma\\formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\)+\\quot\\\\comma\\\\quot\\+\\quot\\opening driver started\\quot\\\\comma\\char(13))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(bConsolidateDays)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dt=dt1//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//while(dt<=dt2)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////open the driver//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//d=getSalt(4)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverOpen(sDriverID\\comma\\d\\comma\\READ\\comma\\true\\comma\\sParams+\\quot\\~~pipe~~Date=\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverConsolidate(dConsolidated\\comma\\d\\comma\\sAliasFields\\comma\\sFieldList\\comma\\sFilter\\comma\\sKeyFields)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//d=getSalt(4)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverOpen(sDriverID\\comma\\d\\comma\\WRITE\\comma\\true\\comma\\sParams)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab////output the structure of the driver being returned//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)+getSalt(4)+\\quot\\.$$$\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverExportStruct(d\\comma\\sFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//s=gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Controllables Reports\\quot\\\\comma\\\\quot\\156221\\quot\\\\comma\\\\quot\\label=Sales Driver//amp//getContent=getStructTable//amp//Filename=\\quot\\+sFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\s\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//driverConsolidate(d1\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\true\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sTimeline=addElement(sTimeline\\comma\\formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\)+\\quot\\\\comma\\\\quot\\+\\quot\\opening driver complete\\quot\\\\comma\\char(13))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//nCompare++//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab//driverConsolidate(dConsolidated\\comma\\d1\\comma\\sAliasFields\\comma\\sFieldList\\comma\\sFilter\\comma\\sKeyFields)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Not including driver\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nDriver++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(dDrivers)//crlf////tab////tab////tab//driverClose(dControllables)//crlf////crlf////tab////tab////tab////filter the system driver of external struct records to include only records for drivers//crlf////tab////tab////tab////included in the driver to be returned//crlf////tab////tab////tab//sFilter=\\quot\\(Enable) and (gte(containsElement(\\quot\\+quote(arIncludedDriverID)+\\quot\\\\comma\\Controllables_Driver_ID)\\comma\\0\\comma\\n))\\quot\\//crlf////tab////tab////tab//driverSetFilter(dExternalStructDriver\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab//s=\\quot\\Filter external struct driver.  Filter=\\quot\\+sFilter+\\quot\\ Records=\\quot\\+driverGetRecordCount(dExternalStructDriver)//crlf////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\s\\comma\\true)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////make a collection of all record ID's (1-3) and record them in a temporary file.  These are //crlf////tab////tab////tab////used to create filters for the table//crlf////tab////tab////tab//hashCreate(hRecords)//crlf////tab////tab////tab//cFilter=3//crlf////tab////tab////tab//nFilter=0//crlf////tab////tab////tab//while(nFilter<=cFilter)//crlf////tab////tab////tab////tab//hashClear(hRecords)//crlf////tab////tab////tab////tab//cRecord=driverGetRecordCount(dConsolidated\\comma\\true)//crlf////tab////tab////tab////tab//nRecord=0//crlf////tab////tab////tab////tab//while(nRecord<cRecord)//crlf////tab////tab////tab////tab////tab//if(nFilter=0)//crlf////tab////tab////tab////tab////tab////tab//sID=driverGetFieldAbsolute(dConsolidated\\comma\\\\quot\\Controllables_Record_Type\\quot\\\\comma\\nRecord)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//sID=driverGetFieldAbsolute(dConsolidated\\comma\\\\quot\\Controllables_Record_ID\\quot\\+nFilter\\comma\\nRecord)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//if(not(hashContainsKey(hRecords\\comma\\sID)))//crlf////tab////tab////tab////tab////tab////tab//if(nFilter=0)//crlf////tab////tab////tab////tab////tab////tab////tab//sDescription=lookup(POS_Generic_Check_Detail_Record_Types\\comma\\sID)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//sDescription=driverGetFieldAbsolute(dConsolidated\\comma\\\\quot\\Controllables_Description\\quot\\+nFilter\\comma\\nRecord)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//hashPut(hRecords\\comma\\sID\\comma\\sDescription)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//nRecord++//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//arKeys=hashGetKeys(hRecords)//crlf////tab////tab////tab////tab//s=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//c=getElementCount(arKeys)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//sKey=getElement(arKeys\\comma\\n)//crlf////tab////tab////tab////tab////tab//sDescription=hashGet(hRecords\\comma\\sKey)//crlf////tab////tab////tab////tab////tab//s=s+sKey+\\quot\\\\comma\\\\quot\\+sDescription+char(13)+char(10)//crlf////tab////tab////tab////tab////tab//n++//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\controllables_filter___ControllablesID__\\quot\\+nFilter+\\quot\\.csv\\quot\\//crlf////tab////tab////tab////tab//fileWriteContent(sFilename\\comma\\s)//crlf////crlf////tab////tab////tab////tab//nFilter++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////write the driver structure//crlf////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab////write section header//crlf////tab////tab////tab////tab//s=quote(\\quot\\div class='sectionheader'\\quot\\\\comma\\char(0x3C))+\\quot\\Structure of final driver\\quot\\+quote(\\quot\\/div\\quot\\\\comma\\char(0x3C))//crlf////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\s\\comma\\true)//crlf////crlf////tab////tab////tab////tab////output the structure of the driver being returned//crlf////tab////tab////tab////tab//sFilename=getToken(\\quot\\temporary_files\\quot\\)+\\quot\\controllables_consolidated_structure.$$$\\quot\\//crlf////tab////tab////tab////tab//driverExportStruct(dConsolidated\\comma\\sFilename)//crlf////tab////tab////tab////tab//s=gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Controllables Reports\\quot\\\\comma\\\\quot\\156221\\quot\\\\comma\\\\quot\\getContent=getStructTable//amp//Filename=\\quot\\+sFilename)//crlf////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\s\\comma\\true)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////close div for debugging output//crlf////tab////tab////tab//if(\\quot\\__Debug__\\quot\\)//crlf////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\quote(\\quot\\/div\\quot\\\\comma\\char(0x3C))\\comma\\true)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab//sDebug=quote(\\quot\\h1\\quot\\\\comma\\char(0x3C))+\\quot\\Timeline\\quot\\+quote(\\quot\\/h1\\quot\\\\comma\\char(0x3C))//crlf////tab////tab////tab////tab//sTimeline=addElement(sTimeline\\comma\\formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\)+\\quot\\\\comma\\\\quot\\+\\quot\\Complete\\quot\\\\comma\\char(13))//crlf////tab////tab////tab////tab//sDebug=sDebug+htmlTable(sTimeline\\comma\\char(13)\\comma\\\\quot\\\\comma\\\\quot\\)//crlf////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\sDebug\\comma\\true)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\openControllablesConsolidatedDriver complete\\quot\\)//crlf////crlf////tab////tab////tab////it is not necessary to filter the driver//crlf////tab////tab////tab////driverSetFilter(dConsolidated\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//return(dConsolidated)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=943932|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=814254|X=183|Y=22|W=94|H=17|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<select onChange=\\quot\\showTab(this)\\quot\\>//crlf////tab//<option value='153488'>Controllables Report Categories</option>//crlf////tab//<option value='426463'>Controllables Report Definitions</option>//crlf////tab//<option value='203748'>Controllables Driver Dialog</option>//crlf////tab//<option value='940841'>Controllables External Struct Dialog</option>//crlf////tab//<option value='733187'>UI Param - Select Controllables Reports</option>//crlf////tab//<option value='184341'>UI Param - Number of Periods</option>//crlf////tab//<option value='100281'>UI Param - Period Type</option>//crlf////tab//<option value='846499'>Process Controllables Report Script</option>//crlf////tab//<option value='592135'>Controllables Report Dimensional Driver Include</option>//crlf////tab//<option value='911979'>Controllables Report Header</option>//crlf////tab//<option value='825125'>Inspect Controllables Driver</option>//crlf////tab//<option value='821571'>Debug Log</option>//crlf////tab//<option value='156221'>Debug Includes</option>//crlf////tab//<option value='605623'>Data Sources</option>//crlf//</select>//crlf//^
ID=426463|X=183|Y=40|W=933|H=852|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=814254|AttachLeft=|AlignLeft=814254|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<conditional expression:(\\quot\\__w__\\quot\\=\\quot\\Controllables Reports\\quot\\) or (\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////crlf////tab//<script ID=\\quot\\JS426463\\quot\\>//crlf////tab////tab//function updateControllablesDebugLog(Salt\\comma\\HashID\\comma\\b)//crlf////tab////tab//{//crlf////tab////tab////tab//if(b) {//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////get the element in the dialog containing the debug output//crlf////tab////tab////tab//var e=document.getElementById(Salt+\\quot\\DebugLog\\quot\\);//crlf////tab////tab////tab//applyOverlay(e);//crlf////tab////tab////tab//var sUrl=e.getAttribute(\\quot\\url\\quot\\)+\\quot\\//amp//Source=\\quot\\+HashID;//crlf////tab////tab////tab//var sFunc=\\quot\\updateControllablesDebugLog('\\quot\\+Salt+\\quot\\'\\comma\\'\\quot\\+HashID+\\quot\\'\\comma\\true)\\quot\\;//crlf////tab////tab////tab//asynchInclude(e\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function initializeControllablesDialog(ID) {//crlf////tab////tab////tab////get the dialog and salt value//crlf////tab////tab////tab//var d=document.getElementById(ID);//crlf////tab////tab////tab//var Salt=d.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab////tab//var sHashID=d.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////tab////get the view ID//crlf////tab////tab////tab//var sControllablesID=document.getElementById(Salt+\\quot\\ControllablesID\\quot\\).value;//crlf////crlf////tab////tab////tab////get the element in the dialog containing the debug output//crlf////tab////tab////tab//var e=document.getElementById(Salt+\\quot\\DebugLog\\quot\\);//crlf////tab////tab////tab//var sUrl=e.getAttribute(\\quot\\_url\\quot\\);//crlf////tab////tab////tab//e.setAttribute(\\quot\\url\\quot\\\\comma\\sUrl+sControllablesID);//crlf////crlf////tab////tab////tab//updateControllablesDebugLog(Salt\\comma\\sHashID);//crlf////tab////tab//};//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Called from the table menu to edit categories//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//function editControllablesCategories(TableID) {//crlf////tab////tab////tab//var eTable=document.getElementById(TableID);//crlf////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\HashID\\quot\\);//crlf////tab////tab////tab//openInspectWindow(\\quot\\Edit Controllables Report Categories\\quot\\\\comma\\\\quot\\ViewID=NEdXvkmJ//amp//Source=\\quot\\+sHashID);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//<!-- Dialog used to edit a record -->//crlf////tab//<div ID=\\quot\\ASPECT_BACK_OFFICE_CONTROLLABLES_REPORTDialog__salt__\\quot\\ salt=\\quot\\__salt__\\quot\\ AspectHashID=\\quot\\{AspectHashID}\\quot\\ aspectinit=\\quot\\initializeControllablesDialog\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:750px; display:none;\\quot\\>//crlf////tab////tab//<div style=\\quot\\padding:5px;width:100\\percent\\\\quot\\>//crlf////tab////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//This is a hidden element used to pass the Controllables ID to the driver list//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__ControllablesID\\quot\\ name=\\quot\\ID\\quot\\ param=\\quot\\ControllablesID=$value$\\quot\\ Expression=\\quot\\ControllablesID='$value$'\\quot\\>//crlf////crlf////tab////tab////tab//<!-- The TableEditDialogTabsContainerExclusive and TableEditDialogSelectContainerExclusive//crlf////tab////tab////tab////tab//classes are used to make either the tabs or the select box visible\\comma\\ depending on the//crlf////tab////tab////tab////tab//size of the browser.  If only one or two tabs are to be included\\comma\\ the //crlf////tab////tab////tab////tab//TableEditDialogTabsContainer class can be used for the tabs and the select box can//crlf////tab////tab////tab////tab//be ommitted.//crlf////tab////tab////tab//-->//crlf////tab////tab////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__Controllables_Report')\\quot\\>Controllables Report</span></td>//crlf////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__controllables_drivers')\\quot\\>Drivers</span></td>//crlf////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__controllables_description')\\quot\\>Notes</span></td>//crlf////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__controllables_debug')\\quot\\>Debug</span></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//tab////crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab//<select onChange=\\quot\\showTab(this);this.blur();\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab////tab//<option value='__salt__Controllables_Report'>Controllables Report</option>//crlf////tab////tab////tab////tab////tab//<option value='__salt__controllables_drivers'>Drivers</option>//crlf////tab////tab////tab////tab////tab//<option value='__salt__controllables_description'>Notes</option>//crlf////tab////tab////tab////tab////tab//<option value='__salt__controllables_debug'>Debug</option>//crlf////tab////tab////tab////tab//</select>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Controllables Report//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div ID=\\quot\\__salt__Controllables_Report\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Category</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Controllables_Report_Category_Name_by_ID\\quot\\\\comma\\\\quot\\Category\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:100\\percent\\;max-width:__TextFieldWidth__\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\))></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:100\\percent\\;max-width:__TextFieldWidth__\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Name\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Period</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Controllables_Select_Period_Type\\quot\\\\comma\\\\quot\\Period_Type\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\))></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Date Prompt</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Controllables_Date_Prompt_Type\\quot\\\\comma\\\\quot\\Date_Prompt\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:100\\percent\\;max-width:__TextFieldWidth__\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\))></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Number of Periods</td>//crlf////tab////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Controllables_Select_Number_Of_Periods\\quot\\\\comma\\\\quot\\Number_of_Periods\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:auto\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\))></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Drivers//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div ID=\\quot\\__salt__controllables_drivers\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab////tab//<!include type:driver;//crlf////tab////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_CONTROLLABLES_REPORT_DRIVER\\quot\\;//crlf////tab////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//params: \\quot\\ControllablesID=__ControllablesID__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_CONTROLLABLES_REPORT_DRIVER\\quot\\;//crlf////tab////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab////tab//maxrecords: \\quot\\300\\quot\\;//crlf////tab////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab//style: \\quot\\width:95\\percent\\\\quot\\;//crlf////tab////tab////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//InsertPosition: \\quot\\top\\quot\\;//crlf////tab////tab////tab////tab////tab//RefreshOnDataSubmit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//EmbedValues: \\quot\\Sort_Order\\quot\\;//crlf////tab////tab////tab////tab////tab//_EditDialogID: \\quot\\ASPECT_BACK_OFFICE_CONTROLLABLES_REPORT_DRIVERDialog\\quot\\;//crlf////tab////tab////tab////tab////tab//EditDialogID: \\quot\\h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Controllables Reports~~pipe~~203748~~pipe~~ASPECT_BACK_OFFICE_CONTROLLABLES_REPORT_DRIVER~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//ExternalParams: \\quot\\__salt__ControllablesID\\quot\\;//crlf////tab////tab////tab////tab////tab//ExternalFilters: \\quot\\__salt__ControllablesID\\quot\\;//crlf////tab////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Description//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div ID=\\quot\\__salt__controllables_description\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab////tab//<span><textarea ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;height:300px\\quot\\ NAME=\\quot\\Description\\quot\\></textarea></span>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Debug//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div ID=\\quot\\__salt__controllables_debug\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab////tab//<div style=\\quot\\width:100\\percent\\;height:400px;overflow:auto\\quot\\>//tab////tab////crlf////tab////tab////tab////tab////tab//<span class='refresh' style=\\quot\\float:right;cursor:pointer\\quot\\ onClick=\\quot\\updateControllablesDebugLog('__salt__'\\comma\\'{AspectHashID}')\\quot\\></span>//crlf////crlf////tab////tab////tab////tab////tab//<span><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Enable_Debugging\\quot\\ TYPE=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\tooltip_Enabled\\quot\\)} ></input></span> Enable logging//crlf////tab////tab////tab////tab////tab//<div ID=\\quot\\__salt__DebugLog\\quot\\ style='width:100\\percent\\;' _url='__RequestServer__/?Network=GreenLight//amp//ID=getWidget//amp//source=//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Controllables Reports//amp//ContainerItemID=821571//amp//ControllablesID='>//crlf////tab////tab////tab////tab////tab////tab//<img src='__RequestServer__/?Network=GreenLight//amp//ID=getImage//amp//filename=StatusActive01.gif'>//crlf////tab////tab////tab////tab////tab//</div> //crlf////tab////tab////tab////tab//</div>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_CONTROLLABLES_REPORT\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_CONTROLLABLES_REPORT\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\300\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab//InsertPosition: \\quot\\top\\quot\\;//crlf////tab////tab//RefreshOnDataSubmit: \\quot\\true\\quot\\;//crlf////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACK_OFFICE_CONTROLLABLES_REPORTDialog__salt__\\quot\\;//crlf////tab////tab//_EditDialogID: \\quot\\DocumentID~~pipe~~Widget~~pipe~~Item~~pipe~~ASPECT_BACK_OFFICE_CONTROLLABLES_REPORT~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\Edit Categories~~pipe~~editControllablesCategories\\quot\\;//crlf////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf//<div style=\\quot\\width:100px;height:400px\\quot\\></div>//crlf//^
ID=203748|X=183|Y=40|W=933|H=852|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=814254|AttachLeft=|AlignLeft=814254|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<script ID=\\quot\\JS203748\\quot\\>//crlf////tab//function editControllablesDriver(DialogID) {//crlf////tab////tab//var eDialog=document.getElementById(DialogID);//crlf////tab////tab//var sSalt=eDialog.getAttribute(\\quot\\salt\\quot\\);//crlf////tab////tab//var eDataSource=document.getElementById(sSalt+\\quot\\DataSource\\quot\\);//crlf////tab////tab//var eSelect=document.getElementById(sSalt+\\quot\\AmountFieldID\\quot\\);//crlf////tab////tab//var sParams=\\quot\\coll=ControllablesAmountFieldID~~pipe~~DataSource=\\quot\\+eDataSource.value;//crlf////tab////tab//eSelect.setAttribute(\\quot\\Params\\quot\\\\comma\\sParams);//crlf////tab////tab//appendToLog(\\quot\\editControllablesDriver salt=\\quot\\+sSalt+\\quot\\ calling update options\\quot\\);//crlf////tab////tab//eSelect.disabled=true;//crlf////tab////tab//var sFunc=\\quot\\controllablesFieldIDUpdated('\\quot\\+sSalt+\\quot\\')\\quot\\;//crlf////tab////tab//updateOptions(sSalt+\\quot\\AmountFieldID\\quot\\\\comma\\eSelect.value\\comma\\true\\comma\\sFunc);//crlf////tab//};//crlf////crlf////tab//function controllablesDataSourceSelected(salt) {//crlf////tab////tab//appendToLog(\\quot\\controllablesDataSourceSelected salt=\\quot\\+salt);//crlf////tab////tab//var eDataSource=document.getElementById(salt+\\quot\\DataSource\\quot\\);//crlf////tab////tab//var eSelect=document.getElementById(salt+\\quot\\AmountFieldID\\quot\\);//crlf////tab////tab//var sParams=\\quot\\coll=ControllablesAmountFieldID~~pipe~~DataSource=\\quot\\+eDataSource.value;//crlf////tab////tab//eSelect.setAttribute(\\quot\\Params\\quot\\\\comma\\sParams);//crlf////tab////tab//eSelect.disabled=true;//crlf////tab////tab//var sFunc=\\quot\\controllablesFieldIDUpdated('\\quot\\+salt+\\quot\\')\\quot\\;//crlf////tab////tab//updateOptions(salt+\\quot\\AmountFieldID\\quot\\\\comma\\eSelect.value\\comma\\true\\comma\\sFunc);//crlf////tab//};//crlf////crlf////tab//function controllablesFieldIDUpdated(salt) {//crlf////tab////tab//var eSelect=document.getElementById(salt+\\quot\\AmountFieldID\\quot\\);//crlf////tab////tab//submitDialogCell(eSelect);//crlf////tab//};//crlf//</script>//crlf////crlf//<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\ASPECT_BACK_OFFICE_CONTROLLABLES_REPORT_DRIVER__DialogID__\\quot\\ salt=\\quot\\__salt__\\quot\\ aspectinit=\\quot\\editControllablesDriver\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:650px; display:{@if(\\quot\\__w__\\quot\\=\\quot\\Controllables Reports\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\=none\\quot\\)};\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px;width:100\\percent\\\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////crlf////tab////tab//<!-- The TableEditDialogTabsContainerExclusive and TableEditDialogSelectContainerExclusive//crlf////tab////tab////tab//classes are used to make either the tabs or the select box visible\\comma\\ depending on the//crlf////tab////tab////tab//size of the browser.  If only one or two tabs are to be included\\comma\\ the //crlf////tab////tab////tab//TableEditDialogTabsContainer class can be used for the tabs and the select box can//crlf////tab////tab////tab//be ommitted.//crlf////tab////tab//-->//crlf////tab////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__Driver')\\quot\\>Driver</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__compare')\\quot\\>Compare</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__descriptions')\\quot\\>Descriptions</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__Aexternalstruct')\\quot\\>External Struct</span></td>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__notes')\\quot\\>Notes</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab//<select onChange=\\quot\\showTab(this);this.blur();\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab//<option value='__salt__Driver'>Driver</option>//crlf////tab////tab////tab////tab//<option value='__salt__compare'>Compare</option>//crlf////tab////tab////tab////tab//<option value='__salt__descriptions'>Descriptions</option>//crlf////tab////tab////tab////tab//<option value='__salt__Aexternalstruct'>External Struct</option>//crlf////tab////tab////tab////tab//<option value='__salt__notes'>Notes</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Used as an external filter and param in the external struct table -->//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ ID=\\quot\\__salt__ControllablesDriverID\\quot\\ name=\\quot\\ID\\quot\\ expression=\\quot\\Controllables_Driver_ID='$value$'\\quot\\ param=\\quot\\ControllablesDriverID=$value$\\quot\\>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Driver//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__Driver\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Description</td>//crlf////tab////tab////tab////tab////tab//<td colspan='3'>//crlf////tab////tab////tab////tab////tab////tab//<span><input type=\\quot\\text\\quot\\ style=\\quot\\width:250px\\quot\\ name=\\quot\\description\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\></input></span>//crlf////tab////tab////tab////tab////tab////tab//<span><input CHECKED=\\quot\\checked\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\true\\quot\\ NAME=\\quot\\Show_Section_Header\\quot\\ TYPE=\\quot\\checkbox\\quot\\> Show Section Header</span>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Data Source</td>//crlf////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Controllables_Driver_Selection\\quot\\\\comma\\\\quot\\Embedded_Driver\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID='__salt__DataSource' style=\\quot\\+quote(\\quot\\width:auto;\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this);controllablesDataSourceSelected('__salt__')\\quot\\\\comma\\char(0x27)))></td>//crlf////tab////tab////tab////tab////tab//<td><input CHECKED=\\quot\\checked\\quot\\ ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\true\\quot\\ NAME=\\quot\\Enabled\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Enabled</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Section_Break\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Section Break</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Consolidate_Vertically\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Consolidate Vertically</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Amount Field</td>//crlf////tab////tab////tab////tab////tab//<td colspan='3'><!include type:expression; expression:htmlSelect(\\quot\\Aspect_BackOffice_Controllables_Amount_FieldID\\quot\\\\comma\\\\quot\\AmountFieldID\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ID='__salt__AmountFieldID' style=\\quot\\+quote(\\quot\\width:auto;\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\))></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab//Filter<br>//crlf////tab////tab////tab//<span><textarea ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;height:80px\\quot\\ NAME=\\quot\\Filter\\quot\\></textarea></span>//crlf////tab////tab////tab//<br>//crlf////tab////crlf////tab////tab////tab//Params<br>//crlf////tab////tab////tab//<span><textarea ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;height:80px\\quot\\ NAME=\\quot\\Params\\quot\\></textarea></span>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Compare//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__compare\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Compare_Last_Week\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Compare Last Week</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Compare_Last_Month\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Compare Last Month</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\false\\quot\\ NAME=\\quot\\Compare_Last_Year\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Compare Last Year</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Descriptions//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__descriptions\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Description 1</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:350px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Description1\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Description 2</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:350px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Description2\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Description 3</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:350px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Description3\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//External Structure//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__Aexternalstruct\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<div style=\\quot\\width:100\\percent\\;height:400px;overflow:auto\\quot\\>//crlf////tab////tab////tab////tab//<!include type:driver;//crlf////tab////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ID: \\quot\\__salt__externalstruct\\quot\\;//crlf////tab////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//driver: \\quot\\Aspect_Back_Office_Controllables_External_Struct\\quot\\;//crlf////tab////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Aspect_Back_Office_Controllables_External_Struct\\quot\\;//crlf////tab////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab////tab//maxrecords: \\quot\\300\\quot\\;//crlf////tab////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//EmbedValues: \\quot\\Enable\\quot\\;//crlf////tab////tab////tab////tab////tab//EditDialogID: \\quot\\h0BE4ziTlLytqKxtWLMy5CVY~~pipe~~Controllables Reports~~pipe~~940841~~pipe~~ASPECT_BACK_OFFICE_CONTROLLABLES_EXTERNAL_STRUCT~~pipe~~__salt__\\quot\\;//crlf////tab////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//ExternalParams: \\quot\\__salt__ControllablesDriverID\\quot\\;//crlf////tab////tab////tab////tab////tab//ExternalFilters: \\quot\\__salt__ControllablesDriverID\\quot\\;//crlf////tab////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Notes//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div ID=\\quot\\__salt__notes\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<span><textarea ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;height:350px\\quot\\ NAME=\\quot\\notes\\quot\\></textarea></span>//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</div>//crlf////crlf//^
ID=733187|X=183|Y=40|W=933|H=852|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=814254|AttachLeft=|AlignLeft=814254|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//UI Param used to select a controllables report//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////tab////crlf////tab//<!include type:Collection;//crlf////tab////tab//name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Controllables_Report_Name_by_ID_With_Select\\quot\\;//crlf////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\1\\quot\\)}\\quot\\;//crlf////tab////tab//HtmlParams:\\quot\\onChange=viewParamModified('__ParamID__')\\quot\\;//crlf////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab//>//crlf//</conditional>//crlf////crlf////crlf////crlf//^
ID=184341|X=183|Y=40|W=933|H=852|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=814254|AttachLeft=|AlignLeft=814254|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//<hr>//crlf//{@htmlTable(\\quot\\__pageargs__\\quot\\\\comma\\\\quot\\~\\quot\\\\comma\\\\quot\\=\\quot\\)}//crlf//<hr>//crlf//--------------------------------------------------------------------------]//crlf////crlf//<_include type:expression; expression:htmlConstant(\\quot\\ReportNumberOfPeriods\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lookup(Aspect_BackOffice_Controllables_Lookup_No_Of_Periods_By_ReportID\\comma\\\\quot\\__ControllablesID__\\quot\\))>//crlf////crlf//<conditional expression:(false) or (\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////tab////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Set the number of periods if specified in the report.  //crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(not(defined(\\quot\\__ControllablesID__\\quot\\))) or (not(__ReportNumberOfPeriods__=0))>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ value=\\quot\\__ReportNumberOfPeriods__\\quot\\ name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Otherwise\\comma\\ prompt//tab//for the number of periods//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(defined(\\quot\\__ControllablesID__\\quot\\)) and (__ReportNumberOfPeriods__=0)>//crlf////tab////tab//<!include type:Collection;//crlf////tab////tab////tab//name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Controllables_Select_Number_Of_Periods\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\1\\quot\\)}\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\onChange=viewParamModified('__ParamID__')\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf////crlf//^
ID=100281|X=183|Y=40|W=933|H=852|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=814254|AttachLeft=|AlignLeft=814254|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<_include type:expression; expression:htmlConstant(\\quot\\ReportPeriodType\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lookup(Aspect_BackOffice_Controllables_Lookup_Period_Type_By_ReportID\\comma\\\\quot\\__ControllablesID__\\quot\\))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//UI Param used to select a controllables report//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\getcontent\\quot\\)>//crlf////tab//<script ID=\\quot\\JS__ParamID__\\quot\\>//crlf////tab////tab//function evalParam__ParamID__(Value\\comma\\AllParams) {//crlf////tab////tab////tab//if(Value==\\quot\\0\\quot\\) return(false);//crlf////tab////tab////tab//return(true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function formatParam__ParamID__(Value) {//crlf////tab////tab////tab//return(Value);//crlf////tab////tab//};//crlf////tab//</script>//crlf////tab////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Set the number of periods if specified in the report.  //crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(not(defined(\\quot\\__ControllablesID__\\quot\\))) or (not(__ReportPeriodType__=0))>//crlf////tab////tab//<input type=\\quot\\hidden\\quot\\ value=\\quot\\__ReportPeriodType__\\quot\\ name=\\quot\\__ParamName__\\quot\\ ID=\\quot\\__ParamID__\\quot\\>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Otherwise\\comma\\ prompt//tab//for the number of periods//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(defined(\\quot\\__ControllablesID__\\quot\\)) and (__ReportPeriodType__=0)>//crlf////tab////tab//<!include type:Collection;//crlf////tab////tab////tab//name:\\quot\\__ParamName__\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__ParamID__\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Controllables_Select_Period_Type\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\{@getDefault(\\quot\\__ParamDefID__\\quot\\\\comma\\\\quot\\1\\quot\\)}\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\onChange=viewParamModified('__ParamID__')\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf////crlf//^
ID=846499|X=183|Y=40|W=933|H=852|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=814254|AttachLeft=|AlignLeft=814254|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//ControllablesID __ControllablesID__<br>//crlf//PeriodType __PeriodType__<br>//crlf//Date __Date__<br>//crlf//NumberOfPeriods __NumberOfPeriods__<br>//crlf//<br><br>//crlf//--------------------------------------------------------------------------]//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\processControllablesReport\\quot\\; commands:\\quot\\//crlf////tab////tab////Open the driver of controllables reports//crlf////tab////tab//driverOpen(Aspect_Back_Office_Controllables_Report\\comma\\dControllables\\comma\\READ)//crlf////crlf////tab////tab////locate the report//crlf////tab////tab//rControllablesID=driverFindRecordAbsolute(dControllables\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\quote(\\quot\\__ControllablesID__\\quot\\))//crlf////crlf////tab////tab////abort if report cannot be found//crlf////tab////tab//if(rControllablesID<0)//crlf////tab////tab////tab//driverClose(dControllables)//crlf////tab////tab////tab//return(\\quot\\Error: Cannot locate controllables report with ID=__ControllablesID__\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab////debugging output//crlf////tab////tab//sDebugFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\controllables_debug___ControllablesID__.txt\\quot\\//crlf////tab////tab//fileDelete(sDebugFilename)//crlf////tab////tab//bDebug=driverGetFieldAbsolute(dControllables\\comma\\\\quot\\Enable_Debugging\\quot\\\\comma\\rControllablesID)//crlf////tab////tab//if(bDebug)//crlf////tab////tab////tab//s=quote(\\quot\\h1\\quot\\\\comma\\char(0x3C))\\plus\\\\quot\\Controllables Debugging Output\\quot\\\\plus\\quote(\\quot\\/h1\\quot\\\\comma\\char(0x3C))//crlf////tab////tab////tab//s=s\\plus\\\\quot\\ControllablesID=__ControllablesID__\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//s=s\\plus\\\\quot\\PeriodType=__PeriodType__\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//s=s\\plus\\\\quot\\Date=__Date__\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//s=s\\plus\\\\quot\\NumberOfPeriods=__NumberOfPeriods__\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\s\\comma\\false)//crlf////tab////tab//endif//crlf////crlf////tab////tab////initialize a timeline for debugging//crlf////tab////tab//sTimeline=\\quot\\\\quot\\//crlf////tab////tab//sTimeline=addElement(sTimeline\\comma\\formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\)\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\\\quot\\processControllablesReport started\\quot\\\\comma\\char(13))//crlf////crlf////tab////tab////open the list of controllables drivers//crlf////tab////tab//driverOpen(Aspect_Back_Office_Controllables_Report_Driver\\comma\\dDrivers\\comma\\READ)//crlf////crlf////tab////tab////filter to the drivers belonging to the controllables report//crlf////tab////tab//driverSetSort(dDrivers\\comma\\\\quot\\Sort_Order\\quot\\\\comma\\false)//crlf////tab////tab//driverSetFilter(dDrivers\\comma\\\\quot\\ControllablesID=\\quot\\\\plus\\quote(\\quot\\__ControllablesID__\\quot\\)\\comma\\true)//crlf////crlf////tab////tab////abort if no drivers are defined//crlf////tab////tab//c=driverGetRecordCount(dDrivers)//crlf////crlf////tab////tab////initialize the result with the header for the report//crlf////tab////tab//sReportName=replaceSubstring(driverGetFieldAbsolute(dControllables\\comma\\\\quot\\Name\\quot\\\\comma\\rControllablesID)\\comma\\\\quot\\\\amp\\\\quot\\\\comma\\\\quot\\\\percent\\am\\quot\\\\plus\\\\quot\\p\\quot\\)//crlf////tab////tab//sParams=\\quot\\getContent=Header\\amp\\ReportName=\\quot\\\\plus\\sReportName//crlf////tab////tab//sResult=gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Controllables Reports\\quot\\\\comma\\\\quot\\911979\\quot\\\\comma\\sParams)//crlf////crlf////tab////tab////parameters used to open the driver//crlf////tab////tab//sParams=\\quot\\StoreID=__StoreID__\\amp\\ControllablesID=__ControllablesID__\\quot\\//crlf////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\PeriodType=__PeriodType__\\amp\\Date=__Date__\\amp\\NumberOfPeriods=__NumberOfPeriods__\\quot\\//crlf////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\MetadataAddendum=__PeriodType__\\amp\\salt=\\quot\\\\plus\\lowerCase(getSalt(4))//crlf////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\getContent=true\\quot\\//crlf////tab////tab//if(bDebug)//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DebugLog=\\quot\\\\plus\\sDebugFilename//crlf////tab////tab//endif//crlf////crlf////tab////tab////get an array of driver ID\\apos\\s\\comma\\ data source and section breaks//crlf////tab////tab//if(bDebug)//crlf////tab////tab////tab//sDebug=getToken(\\quot\\br\\quot\\)\\plus\\getToken(\\quot\\h1\\quot\\)\\plus\\\\quot\\Driver List\\quot\\\\plus\\getToken(\\quot\\/h1\\quot\\)//crlf////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\sDebug\\comma\\true)//crlf////tab////tab//endif//crlf////tab////tab//arrayCreate(arDriverID)//crlf////tab////tab//arrayCreate(arSectionBreak)//crlf////tab////tab//arrayCreate(arEmbeddedDriver)//crlf////tab////tab//nDriver=0//crlf////tab////tab//sDebug=\\quot\\\\quot\\//crlf////tab////tab//while(nDriver<c)//crlf////tab////tab////tab////is the driver enabled//crlf////tab////tab////tab//bEnabled=driverGetField(dDrivers\\comma\\\\quot\\Enabled\\quot\\\\comma\\nDriver)//crlf////tab////tab////tab//if(bEnabled)//crlf////tab////tab////tab////tab//arrayAdd(arDriverID\\comma\\driverGetField(dDrivers\\comma\\\\quot\\ID\\quot\\\\comma\\nDriver))//crlf////tab////tab////tab////tab//arrayAdd(arSectionBreak\\comma\\driverGetField(dDrivers\\comma\\\\quot\\Section_Break\\quot\\\\comma\\nDriver))//crlf////tab////tab////tab////tab//arrayAdd(arEmbeddedDriver\\comma\\driverGetField(dDrivers\\comma\\\\quot\\Embedded_Driver\\quot\\\\comma\\nDriver))//crlf////tab////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab////tab//sDebug=sDebug\\plus\\arrayGet(arDriverID\\comma\\arraySize(arDriverID)-1)\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab//sDebug=sDebug\\plus\\arrayGet(arSectionBreak\\comma\\arraySize(arSectionBreak)-1)\\plus\\char(0x2C)//crlf////tab////tab////tab////tab////tab//sDebug=sDebug\\plus\\lookup(Aspect_BackOffice_Controllables_Driver_Selection\\comma\\arrayGet(arEmbeddedDriver\\comma\\arraySize(arEmbeddedDriver)-1))\\plus\\char(13)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//nDriver\\plus\\\\plus\\//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//if(bDebug)//crlf////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\htmlTable(sDebug\\comma\\char(13)\\comma\\char(0x2C)\\comma\\\\quot\\ID\\comma\\Section Break\\comma\\Data Source\\quot\\)\\plus\\getToken(\\quot\\br\\quot\\)\\comma\\true)//crlf////tab////tab//endif//crlf////crlf////tab////tab////get the dimensional driver content for the included drivers.  The drivers are consolidated//crlf////tab////tab////horizontally and vertically.//crlf////tab////tab////A new section is created whenever://crlf////tab////tab//// -//tab//A section break is encountered in the next driver//crlf////tab////tab//// -//tab//There are two or more drivers of the same type followed by a driver of a different type.//crlf////tab////tab//////tab////tab//The drivers will be consolidated horizontally and a section break will occur before the //crlf////tab////tab//////tab////tab//next driver//crlf////tab////tab//// -//tab//There is a series of different drivers followed by two drivers of the same type that do //crlf////tab////tab//////tab////tab//not have a section break.  This allows for different driver types to be consolidated //crlf////tab////tab//////tab////tab//vertically\\comma\\ followed by a horizontal consolidatoin//crlf////tab////tab////tab////tab////crlf////tab////tab//arToProcess=\\quot\\\\quot\\//crlf////tab////tab//c=arraySize(arDriverID)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sTimeline=addElement(sTimeline\\comma\\formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\)\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\\\quot\\Adding driver \\quot\\\\plus\\n\\comma\\char(13))//crlf////tab////tab////tab//if(len(arToProcess)=0)//crlf////tab////tab////tab////tab////just add the first driver//crlf////tab////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab////tab//sDebug=\\quot\\Added next driver: \\quot\\\\plus\\arrayGet(arDriverID\\comma\\n)\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\sDebug\\comma\\true)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//arToProcess=addElement(arToProcess\\comma\\arrayGet(arDriverID\\comma\\n))//crlf////crlf////tab////tab////tab////tab////get the title that will be used for the section.  This comes from the first //crlf////tab////tab////tab////tab////driver in the section//crlf////tab////tab////tab////tab//bForceVertCont=lookup(Aspect_BackOffice_Controllables_Force_Vert_Cons_by_ID\\comma\\arrayGet(arDriverID\\comma\\n))//crlf////tab////tab////tab////tab//bShowSectionHeader=lookup(Aspect_BackOffice_Controllables_Driver_Show_Section_Header_By_ID\\comma\\arrayGet(arDriverID\\comma\\n))//crlf////tab////tab////tab////tab//sSectionTitle=if(bShowSectionHeader\\comma\\replaceSubstring(lookup(Aspect_BackOffice_Controllables_Driver_Description_By_ID\\comma\\arrayGet(arDriverID\\comma\\n))\\comma\\\\quot\\\\amp\\\\quot\\\\comma\\\\quot\\\\percent\\amp\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//bSectionBreak=arrayGet(arSectionBreak\\comma\\n)//crlf////tab////tab////tab////tab//if(bSectionBreak)//crlf////tab////tab////tab////tab////tab////there is a section break before the driver so process the previous drivers//crlf////tab////tab////tab////tab////tab//s=sParams\\plus\\\\quot\\\\amp\\SectionTitle=\\quot\\\\plus\\sSectionTitle\\plus\\\\quot\\\\amp\\ControllablesDriverID=\\quot\\\\plus\\arToProcess//crlf////tab////tab////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab////tab////tab//sDebug=\\quot\\Processing drivers before section break\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sDebug=sDebug\\plus\\\\quot\\Params: \\quot\\\\plus\\replaceSubstring(sParams\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\~~pipe~~ \\quot\\)\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\sDebug\\comma\\true)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//sTimeline=addElement(sTimeline\\comma\\formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\)\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\\\quot\\Adding content1 started\\quot\\\\comma\\char(13))//crlf////tab////tab////tab////tab////tab//sResult=sResult\\plus\\gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Controllables Reports\\quot\\\\comma\\\\quot\\592135\\quot\\\\comma\\s)//crlf////tab////tab////tab////tab////tab//sTimeline=addElement(sTimeline\\comma\\formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\)\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\\\quot\\Adding content1 complete\\quot\\\\comma\\char(13))//crlf////crlf////tab////tab////tab////tab////tab////add the current driver to the list to be processed//crlf////tab////tab////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab////tab////tab//sDebug=\\quot\\Adding next driver: \\quot\\\\plus\\arrayGet(arDriverID\\comma\\n)\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\sDebug\\comma\\true)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//arToProcess=arrayGet(arDriverID\\comma\\n)//crlf////tab////tab////tab////tab////tab//bForceVertCont=lookup(Aspect_BackOffice_Controllables_Force_Vert_Cons_by_ID\\comma\\arrayGet(arDriverID\\comma\\n))//crlf////tab////tab////tab////tab////tab//bShowSectionHeader=lookup(Aspect_BackOffice_Controllables_Driver_Show_Section_Header_By_ID\\comma\\arrayGet(arDriverID\\comma\\n))//crlf////tab////tab////tab////tab////tab//sSectionTitle=if(bShowSectionHeader\\comma\\replaceSubstring(lookup(Aspect_BackOffice_Controllables_Driver_Description_By_ID\\comma\\arrayGet(arDriverID\\comma\\n))\\comma\\\\quot\\\\amp\\\\quot\\\\comma\\\\quot\\\\percent\\amp\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////see if there are two or more drivers of the same type already included.  These will be //crlf////tab////tab////tab////tab////tab////consolidated horizontally followed by a different driver.  //crlf////tab////tab////tab////tab////tab//c1=getElementCount(arToProcess)//crlf////tab////tab////tab////tab////tab//if(c1>1)//crlf////tab////tab////tab////tab////tab////tab//s=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab//n1=0//crlf////tab////tab////tab////tab////tab////tab//while(n1<n)//crlf////tab////tab////tab////tab////tab////tab////tab//s1=getElement(arToProcess\\comma\\n1)//crlf////tab////tab////tab////tab////tab////tab////tab//if(containsElement(s\\comma\\s1)<0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s=addElement(s\\comma\\s1)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//n1\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//if((c1>1) and (not(bForceVertCont)) and (getElementCount(s)=1) and (arrayGet(arDriverID\\comma\\n)<>s))//crlf////tab////tab////tab////tab////tab////tab////consolidate the previous drivers horizontally//crlf////tab////tab////tab////tab////tab////tab//s=sParams\\plus\\\\quot\\\\amp\\SectionTitle=\\quot\\\\plus\\sSectionTitle\\plus\\\\quot\\\\amp\\ControllablesDriverID=\\quot\\\\plus\\arToProcess//crlf////tab////tab////tab////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab////tab////tab////tab//sDebug=\\quot\\Making call to consolidate drivers horizontally\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sDebug=sDebug\\plus\\\\quot\\Params: \\quot\\\\plus\\replaceSubstring(sParams\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\~~pipe~~ \\quot\\)\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\sDebug\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//sTimeline=addElement(sTimeline\\comma\\formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\)\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\\\quot\\Adding content2 started\\quot\\\\comma\\char(13))//crlf////tab////tab////tab////tab////tab////tab//sResult=sResult\\plus\\gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Controllables Reports\\quot\\\\comma\\\\quot\\592135\\quot\\\\comma\\s)//crlf////tab////tab////tab////tab////tab////tab//sTimeline=addElement(sTimeline\\comma\\formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\)\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\\\quot\\Adding content2 complete\\quot\\\\comma\\char(13))//crlf////crlf////tab////tab////tab////tab////tab////tab////add the current driver to the list to be processed//crlf////tab////tab////tab////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab////tab////tab////tab//sDebug=\\quot\\Adding next driver: \\quot\\\\plus\\arrayGet(arDriverID\\comma\\n)\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\sDebug\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//arToProcess=arrayGet(arDriverID\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//bForceVertCont=lookup(Aspect_BackOffice_Controllables_Force_Vert_Cons_by_ID\\comma\\arrayGet(arDriverID\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//bShowSectionHeader=lookup(Aspect_BackOffice_Controllables_Driver_Show_Section_Header_By_ID\\comma\\arrayGet(arDriverID\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//sSectionTitle=if(bShowSectionHeader\\comma\\replaceSubstring(lookup(Aspect_BackOffice_Controllables_Driver_Description_By_ID\\comma\\arrayGet(arDriverID\\comma\\n))\\comma\\\\quot\\\\amp\\\\quot\\\\comma\\\\quot\\\\percent\\amp\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////check the next two drivers//crlf////tab////tab////tab////tab////tab////tab//if(n<c-1)//crlf////tab////tab////tab////tab////tab////tab////tab//if(not(bForceVertCont) and (arrayGet(arDriverID\\comma\\n)=arrayGet(arDriverID\\comma\\n\\plus\\1))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////the current and next driver will be consolidated horizontally\\comma\\ so consolidate//crlf////tab////tab////tab////tab////tab////tab////tab////tab////the existing drivers//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s=sParams\\plus\\\\quot\\\\amp\\SectionTitle=\\quot\\\\plus\\sSectionTitle\\plus\\\\quot\\\\amp\\ControllablesDriverID=\\quot\\\\plus\\arToProcess//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sDebug=\\quot\\Consolidating drivers.  Next drivers will be consolidatd horizontally\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sDebug=sDebug\\plus\\\\quot\\Params: \\quot\\\\plus\\replaceSubstring(sParams\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\~~pipe~~ \\quot\\)\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\sDebug\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sTimeline=addElement(sTimeline\\comma\\formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\)\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\\\quot\\Adding content3 started\\quot\\\\comma\\char(13))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sResult=sResult\\plus\\gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Controllables Reports\\quot\\\\comma\\\\quot\\592135\\quot\\\\comma\\s)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sTimeline=addElement(sTimeline\\comma\\formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\)\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\\\quot\\Adding content3 complete\\quot\\\\comma\\char(13))//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////add the current driver to the list to be processed//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sDebug=\\quot\\Adding next driver: \\quot\\\\plus\\arrayGet(arDriverID\\comma\\n)\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\sDebug\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//arToProcess=arrayGet(arDriverID\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//bForceVertCont=lookup(Aspect_BackOffice_Controllables_Force_Vert_Cons_by_ID\\comma\\arrayGet(arDriverID\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//bShowSectionHeader=lookup(Aspect_BackOffice_Controllables_Driver_Show_Section_Header_By_ID\\comma\\arrayGet(arDriverID\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sSectionTitle=if(bShowSectionHeader\\comma\\replaceSubstring(lookup(Aspect_BackOffice_Controllables_Driver_Description_By_ID\\comma\\arrayGet(arDriverID\\comma\\n))\\comma\\\\quot\\\\amp\\\\quot\\\\comma\\\\quot\\\\percent\\amp\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////add the current driver to the list to be processed//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sDebug=\\quot\\Adding next driver: \\quot\\\\plus\\arrayGet(arDriverID\\comma\\n)\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\sDebug\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//arToProcess=addElement(arToProcess\\comma\\arrayGet(arDriverID\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////add the current driver to the list to be processed//crlf////tab////tab////tab////tab////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sDebug=\\quot\\Adding next driver: \\quot\\\\plus\\arrayGet(arDriverID\\comma\\n)\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\sDebug\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//arToProcess=addElement(arToProcess\\comma\\arrayGet(arDriverID\\comma\\n))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//bSectionBreak=if(n<(c-1)\\comma\\arrayGet(arSectionBreak\\comma\\n\\plus\\1)\\comma\\false)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//appendToLog(\\quot\\arToProcess=\\quot\\\\plus\\arToProcess)//crlf////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab//endwhile//crlf////crlf////tab////tab////process any remaining drivers//crlf////tab////tab//if(len(arToProcess)>0)//crlf////tab////tab////tab//s=sParams\\plus\\\\quot\\\\amp\\SectionTitle=\\quot\\\\plus\\sSectionTitle\\plus\\\\quot\\\\amp\\ControllablesDriverID=\\quot\\\\plus\\arToProcess//crlf////tab////tab////tab//if(bDebug)//crlf////tab////tab////tab////tab//sDebug=\\quot\\Processing remaining drivers\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab//sDebug=sDebug\\plus\\\\quot\\Params: \\quot\\\\plus\\replaceSubstring(sParams\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\~~pipe~~ \\quot\\)\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\sDebug\\comma\\true)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//sTimeline=addElement(sTimeline\\comma\\formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\)\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\\\quot\\Adding content4 started\\quot\\\\comma\\char(13))//crlf////tab////tab////tab//appendToLog(\\quot\\processControllablesReport started\\quot\\)//crlf////tab////tab////tab//sResult=sResult\\plus\\gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Controllables Reports\\quot\\\\comma\\\\quot\\592135\\quot\\\\comma\\s)//crlf////tab////tab////tab//appendToLog(\\quot\\processControllablesReport complete\\quot\\)//crlf////tab////tab////tab//sTimeline=addElement(sTimeline\\comma\\formatDate(now()\\comma\\\\quot\\HH:mm:ss\\quot\\)\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\\\quot\\Adding content4 complete\\quot\\\\comma\\char(13))//crlf////tab////tab//endif//crlf////crlf////tab////tab//if(bDebug)//crlf////tab////tab////tab//sDebug=quote(\\quot\\h1\\quot\\\\comma\\char(0x3C))\\plus\\\\quot\\Timeline\\quot\\\\plus\\quote(\\quot\\/h1\\quot\\\\comma\\char(0x3C))//crlf////tab////tab////tab//sDebug=sDebug\\plus\\htmlTable(sTimeline\\comma\\char(13)\\comma\\\\quot\\\\comma\\\\quot\\)//crlf////tab////tab////tab//fileWriteContent(sDebugFilename\\comma\\sDebug\\comma\\true)//crlf////tab////tab//endif//crlf////crlf////tab////tab//driverClose(dDrivers)//crlf////tab////tab//driverClose(dControllables)//crlf////crlf////tab////tab//return(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//^
ID=825125|X=183|Y=40|W=933|H=852|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=814254|AttachLeft=|AlignLeft=814254|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowerCase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\filename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\C:\Aspect7\stores\710 hyde park\Controllables_Daily_Sales_1.07-03-2017_07-09-2017.bin\\quot\\)>//crlf////crlf//<hr>//crlf//<b>Filename: __Filename__</b>//crlf//<hr>//crlf////crlf//<!include type:driver;//crlf////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab//title: \\quot\\\\quot\\;//crlf////tab//ID: \\quot\\\\quot\\;//crlf////tab//HashID: \\quot\\\\quot\\;//crlf////tab//driver: \\quot\\Aspect_BackOffice_Controllables_Inspect_Cached_Data\\quot\\;//crlf////tab//name: \\quot\\\\quot\\;//crlf////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab//dispose: \\quot\\false\\quot\\;//crlf////tab//state: \\quot\\\\quot\\;//crlf////tab//params: \\quot\\Filename=__Filename__~~pipe~~keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_Generic_Controllables_Driver\\quot\\;//crlf////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab//display: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\\\quot\\;//crlf////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab//sort: \\quot\\ID\\quot\\;//crlf////tab//filter: \\quot\\true\\quot\\;//crlf////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//maxrecords: \\quot\\1000\\quot\\;//crlf////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab//height:\\quot\\auto\\quot\\;//crlf////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab//EditDialogID: \\quot\\\\quot\\;//crlf////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab//Menu: \\quot\\\\quot\\;//crlf////tab//faq: \\quot\\\\quot\\;//crlf////tab//procedure: \\quot\\\\quot\\;//crlf////tab//video: \\quot\\\\quot\\;//crlf////tab//Messages: \\quot\\true\\quot\\;//crlf////tab//ChartType: \\quot\\\\quot\\;//crlf////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab//debug: \\quot\\false\\quot\\;//crlf//>^
ID=821571|X=183|Y=40|W=1014|H=714|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=814254|AttachLeft=|AlignLeft=814254|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:false>//crlf//==============================================================================//crlf//This item formats a debugging log for a controllables report.  When a controllables//crlf//report is opened\\comma\\ the script responsible for opening the driver writes a log//crlf//of the actions taken and also outputs the structure of the driver.//crlf////crlf//This item reads the output and formats it so it can be included in the debug//crlf//tab of a controllables report dialog.//crlf////crlf//Params://crlf////tab//ControllablesID - ID of the controllables report//crlf//==============================================================================//crlf//</conditional>//crlf////crlf//<state>//crlf////tab//__ControllablesID__//crlf////tab//<include type:expression; expression:if(defined(\\quot\\__ControllablesID__\\quot\\)\\comma\\gfs(getToken(\\quot\\Temporary_Files\\quot\\)+\\quot\\controllables_debug___ControllablesID__.txt\\quot\\)\\comma\\\\quot\\\\quot\\)>//crlf////tab//debug=true//crlf////tab//1.02//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\)=\\quot\\09-03-2017\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:not(defined(\\quot\\__ControllablesID__\\quot\\))>//crlf////tab//Missing controllables ID.<br>//crlf////tab//<!include type:expression; expression:now()>//crlf//</conditional>//crlf////crlf//<conditional expression:defined(\\quot\\__ControllablesID__\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//sFilename=getToken(\\quot\\Temporary_Files\\quot\\)+\\quot\\controllables_debug___ControllablesID__.txt\\quot\\//crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab//sResult=fileGetContent(sFilename)//crlf////tab////tab////tab//sResult=replaceSubstring(sResult\\comma\\char(10)\\comma\\getToken(\\quot\\br\\quot\\))//crlf////tab////tab//else//crlf////tab////tab////tab//sResult=\\quot\\File not found: \\quot\\+sFilename//crlf////tab////tab//endif//crlf////tab////tab//scriptSetResult(sResult)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf////crlf//^
ID=592135|X=183|Y=40|W=961|H=753|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=814254|AttachLeft=|AlignLeft=814254|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//<h1>Dimensional driver include</h1>//crlf//<hr>//crlf////tab//StoreID=__StoreID__<br>//crlf////tab//ControllablesID=__ControllablesID__<br>//crlf////tab//ControllablesDriverID=__ControllablesDriverID__<br>//crlf////tab//PeriodType=__PeriodType__<br>//crlf////tab//Date=__Date__<br>//crlf////tab//NumberOfPeriods=__NumberOfPeriods__<br>//crlf//<hr>//crlf//--------------------------------------------------------------------------]//crlf////crlf//<_include type:expression; expression:htmlConstant(\\quot\\Debug\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lookup(Aspect_BackOffice_Controllables_Lookup_Debug_By_ReportID\\comma\\\\quot\\__ControllablesID__\\quot\\))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Salt is passed in the arguments when this widget is called.  A separate constant//crlf//named tableid is used to pass a unique value for salt in the include tag below.//crlf//This value is used as the id for the dimensional driver table.  It must be unique //crlf//when more than one driver is included (e.g. two vertical drivers separated by a section break)//crlf//--------------------------------------------------------------------------]//crlf//<include type:expression; expression:htmlConstant(\\quot\\tableid\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////crlf////tab//<conditional expression:(defined(\\quot\\__SectionTitle__\\quot\\)) and (gt(len(\\quot\\__SectionTitle__\\quot\\)\\comma\\0\\comma\\\\quot\\n\\quot\\))>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader\\amp\\Chapter=__salt__\\amp\\Selected=true\\amp\\Section=__SectionTitle__\\quot\\;>//crlf////tab//</conditional>//crlf////tab////tab//<br>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filter to Record Type//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<span style=\\quot\\display:<!!include type:expression; expression:if(gt(fileSize(getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\controllables_filter___ControllablesID__0.csv\\quot\\)\\comma\\0\\comma\\n)\\comma\\\\quot\\inline\\quot\\\\comma\\\\quot\\none\\quot\\)>\\quot\\>//crlf////tab////tab////tab//<!!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab//ID:\\quot\\__salt__FilterRecordID0\\quot\\;//crlf////tab////tab////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=\\apos\\0\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//Expression:\\quot\\Controllables_Record_Type=\\apos\\$value$\\apos\\\\quot\\;//crlf////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_Back_Office_Controllables_Report_Filter\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\ControllablesID=__ControllablesID__~~pipe~~Index=0\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</span>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filter to Record ID3//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<span style=\\quot\\display:<!!include type:expression; expression:if(gt(fileSize(getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\controllables_filter___ControllablesID__3.csv\\quot\\)\\comma\\0\\comma\\n)\\comma\\\\quot\\inline\\quot\\\\comma\\\\quot\\none\\quot\\)>\\quot\\>//crlf////tab////tab////tab//<!!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab//ID:\\quot\\__salt__FilterRecordID3\\quot\\;//crlf////tab////tab////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=\\apos\\0\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//Expression:\\quot\\Controllables_Record_ID3=\\apos\\$value$\\apos\\\\quot\\;//crlf////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_Back_Office_Controllables_Report_Filter\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\ControllablesID=__ControllablesID__~~pipe~~Index=3\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</span>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filter to Record ID2//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<span style=\\quot\\display:<!!include type:expression; expression:if(gt(fileSize(getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\controllables_filter___ControllablesID__2.csv\\quot\\)\\comma\\0\\comma\\n)\\comma\\\\quot\\inline\\quot\\\\comma\\\\quot\\none\\quot\\)>\\quot\\>//crlf////tab////tab////tab//<!!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab//ID:\\quot\\__salt__FilterRecordID2\\quot\\;//crlf////tab////tab////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=\\apos\\0\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//Expression:\\quot\\Controllables_Record_ID2=\\apos\\$value$\\apos\\\\quot\\;//crlf////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_Back_Office_Controllables_Report_Filter\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\ControllablesID=__ControllablesID__~~pipe~~Index=2\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</span>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filter to Record ID1//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<span style=\\quot\\display:<!!include type:expression; expression:if(gt(fileSize(getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\controllables_filter___ControllablesID__1.csv\\quot\\)\\comma\\0\\comma\\n)\\comma\\\\quot\\inline\\quot\\\\comma\\\\quot\\none\\quot\\)>\\quot\\>//crlf////tab////tab////tab//<!!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab//ID:\\quot\\__salt__FilterRecordID1\\quot\\;//crlf////tab////tab////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=\\apos\\0\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab//Expression:\\quot\\Controllables_Record_ID1=\\apos\\$value$\\apos\\\\quot\\;//crlf////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_Back_Office_Controllables_Report_Filter\\quot\\;//crlf////tab////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//DriverParams:\\quot\\ControllablesID=__ControllablesID__~~pipe~~Index=1\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//</span>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This include tag loads the Controllables Report dimensional view.//crlf////crlf////tab////tab//The -measure arguments is used to exclude measurements from the output.//crlf////tab////tab//The -measure argument includes CONSOLIDATEDHORZDRIVERTOTAL_Controllables_Amount in order to //crlf////tab////tab////tab//exclude the total added in horizontally consolidated drivers used to sum the consolidated fields.//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include //crlf////tab////tab////tab//type:view; //crlf////tab////tab////tab//viewid:\\quot\\kQYYPrnO\\quot\\; //crlf////tab////tab////tab//Source:\\quot\\\\quot\\; //crlf////tab////tab////tab//params:\\quot\\salt=salt_sales\\amp\\//crlf////tab////tab////tab//ExternalFilters=__salt__FilterRecordID0\\comma\\__salt__FilterRecordID1\\comma\\__salt__FilterRecordID2\\comma\\__salt__FilterRecordID3\\amp\\//crlf////tab////tab////tab////tab//YDim=StoreID\\comma\\Controllables_Record_ID1\\comma\\Controllables_Record_ID2\\comma\\Controllables_Record_ID3\\comma\\Controllables_Description1\\comma\\Controllables_Description2\\comma\\Controllables_Description3\\comma\\Controllables_Record_Type\\comma\\Controllables_Sort_Order\\amp\\//crlf////tab////tab////tab////tab//XDim=Controllables_Period@Controllables_Column_Header\\amp\\//crlf////tab////tab////tab////tab//_XDim=Store_Name_and_Period@Controllables_Column_Header\\amp\\//crlf////tab////tab////tab////tab//_Measure=Controllables_Amount\\amp\\//crlf////tab////tab////tab////tab//-Measure=ID\\comma\\Store_Name\\comma\\Store_Name_and_Period\\comma\\Controllables_Date\\comma\\Controllables_Period\\comma\\Controllables_Period_Day\\comma\\Controllables_Period_Week\\comma\\Controllables_Period_Month\\comma\\Controllables_Column_Header\\comma\\Controllables_Sort_Order\\comma\\Controllables_Column_Header\\comma\\Controllables_Description\\comma\\Controllables_Record_Type\\comma\\__ConsolidatedHorzDriver__Record\\comma\\CONSOLIDATEDHORZDRIVERTOTAL_Controllables_Amount\\comma\\Controllables_Period_Sub\\comma\\Unused\\amp\\//crlf////tab////tab////tab////tab//StoreID=__StoreID__\\amp\\//crlf////tab////tab////tab////tab//ControllablesID=__ControllablesID__\\amp\\//crlf////tab////tab////tab////tab//ControllablesDriverID=__ControllablesDriverID__\\amp\\//crlf////tab////tab////tab////tab//PeriodType=__PeriodType__\\amp\\//crlf////tab////tab////tab////tab//Date=__Date__\\amp\\//crlf////tab////tab////tab////tab//NumberOfPeriods=__NumberOfPeriods__\\amp\\//crlf////tab////tab////tab////tab//InspectMenu=\\amp\\//crlf////tab////tab////tab////tab//MetadataAddendum=__PeriodType____ControllablesID_____ControllablesDriverID__\\amp\\//crlf////tab////tab////tab////tab//salt=__tableid__\\amp\\//crlf////tab////tab////tab////tab//DebugLog=__DebugLog__\\quot\\;//crlf////tab////tab//>//crlf////tab//<conditional expression:(defined(\\quot\\__SectionTitle__\\quot\\)) and (gt(len(\\quot\\__SectionTitle__\\quot\\)\\comma\\0\\comma\\\\quot\\n\\quot\\))>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Debugging output//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader\\amp\\Chapter=__salt__\\amp\\Section=Debugging Content\\amp\\selected=true\\quot\\;>//crlf////crlf////tab////tab////tab//<h1>Consolidated system driver used to create dimensional view</h1>//crlf////tab////tab////tab//<!include type:driver;//crlf////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//driver: \\quot\\ASPECT_BACKOFFICE_CONTROLLABLES_SYSTEM_DRIVER\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//params: \\quot\\keyexpression=Record\\plus\\ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACKOFFICE_CONTROLLABLES_SYSTEM_DRIVER~~pipe~~StoreID=__StoreID__~~pipe~~ControllablesID=__ControllablesID__~~pipe~~ControllablesDriverID=__ControllablesDriverID__~~pipe~~PeriodType=__PeriodType__~~pipe~~Date=__Date__~~pipe~~NumberOfPeriods=__NumberOfPeriods__\\quot\\;//crlf////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//EditDialogID: \\quot\\ASPECT_BACKOFFICE_CONTROLLABLES_SYSTEM_DRIVERDialog\\quot\\;//crlf////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=156221|X=183|Y=40|W=1029|H=835|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=814254|AttachLeft=|AlignLeft=814254|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowerCase(getSalt(4)))>//crlf////crlf//<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\sectionheaderinclude\\quot\\)>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=__label__\\quot\\;>//crlf////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\getStructTable\\quot\\)>//crlf////tab//<div style=\\quot\\height:150px;overflow:auto\\quot\\>//crlf////tab////tab//<!!include type:script; commands:\\quot\\//crlf////tab////tab////tab//s=fileGetContent(\\quot\\__Filename__\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(10)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//sTitle=getElement(s\\comma\\0\\comma\\char(13))//crlf////tab////tab////tab//sTitle=replaceSubstring(sTitle\\comma\\\\quot\\ \\quot\\\\comma\\\\quot\\//amp//nbsp\\quot\\+char(0x3B))//crlf////tab////tab////tab//s=removeElement(s\\comma\\0\\comma\\char(13))//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\getToken(\\quot\\br\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\ \\quot\\)//crlf////tab////tab////tab//s=htmlTable(s\\comma\\char(13)\\comma\\char(0x2C)\\comma\\sTitle)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\driverstructinclude\\quot\\)>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\ASPECT_DRIVERSTRUCT_EXPORT\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\Filename=__Filename__~~pipe~~keyexpression=FieldID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_DRIVERSTRUCT_EXPORT\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\ASPECT_DRIVERSTRUCT_EXPORTDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf//</conditional>//crlf//^
ID=605623|X=183|Y=40|W=1195|H=782|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=814254|AttachLeft=|AlignLeft=814254|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!-- Dialog used to edit a record -->//crlf////tab//<div ID=\\quot\\ASPECT_BACK_OFFICE_CONTROLLABLES_DATA_SOURCEDialog\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:500px; display:none;\\quot\\>//crlf////tab////tab//<div style=\\quot\\padding:5px;width:100\\percent\\\\quot\\>//crlf////tab////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////crlf////tab////tab////tab//<!--//tab//Note:  If a a Javascript function named initializeDialogxxx where xxx is the dialog ID is defined\\comma\\ //crlf////tab////tab////tab////tab//it will be called//tab//after the dialog values have been set and before the dialog is made visible.//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//An initialization function may also be specified by including it in an attribute named 'aspectinit'//crlf////tab////tab////tab////tab//in the dialog div above.  Only include the function name with no parentheses or arguments.  //crlf////tab////tab////tab////tab//Arguments can be made//tab//available to the function by including them as attributes or by embedding //crlf////tab////tab////tab////tab//them in this div.  Use this method when the dialog ID is randomized to allow for multiple instances//crlf////tab////tab////tab////tab//in one document.//crlf////crlf////tab////tab////tab////tab//If an Aspect script is defined with the ID xxx_DataSubmitted where xxx is the driver ID\\comma\\ it will//crlf////tab////tab////tab////tab//be called whenever data is submitted due to an edit in either the table or the dialog.//crlf////tab////tab////tab////tab//Arguments passed to the script are in the form://crlf////crlf////tab////tab////tab////tab////tab//driver=xxx//amp//r=n//amp//fields=//amp//values=//crlf////crlf////tab////tab////tab////tab//where driver is the name of a system driver\\comma\\ r is the absolute record number\\comma\\//crlf////tab////tab////tab////tab//fields is a pipe-delimited list of field ID's and values is a pipe-delimited list of//crlf////tab////tab////tab////tab//values.  Ampersands and pipes in the values are tokenized by surrounding//crlf////tab////tab////tab////tab//them with two forward slashes.//crlf////tab////tab////tab//-->//crlf////tab// //crlf////tab////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\TextFieldWidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\300px\\quot\\)>//crlf////tab////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\NumberFieldWidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\150px\\quot\\)>//crlf////crlf////tab////tab////tab//<!-- The TableEditDialogTabsContainerExclusive and TableEditDialogSelectContainerExclusive//crlf////tab////tab////tab////tab//classes are used to make either the tabs or the select box visible\\comma\\ depending on the//crlf////tab////tab////tab////tab//size of the browser.  If only one or two tabs are to be included\\comma\\ the //crlf////tab////tab////tab////tab//TableEditDialogTabsContainer class can be used for the tabs and the select box can//crlf////tab////tab////tab////tab//be ommitted.//crlf////tab////tab////tab//-->//crlf////tab////tab////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__Data_Source')\\quot\\>Data Source</span></td>//crlf////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__Horizontal_Consolidation')\\quot\\>Horizontal Consolidation</span></td>//crlf////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__Notes')\\quot\\>Notes</span></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//tab////crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab//<select onChange=\\quot\\showTab(this);this.blur();\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab////tab//<option value='__salt__Data_Source'>Data Source</option>//crlf////tab////tab////tab////tab////tab//<option value='__salt__Horizontal_Consolidation'>Horizontal Consolidation</option>//crlf////tab////tab////tab////tab////tab//<option value='__salt__Notes'>Notes</option>//crlf////tab////tab////tab////tab//</select>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<!-- Data Source -->//crlf////tab////tab////tab//<div ID=\\quot\\__salt__Data_Source\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Description</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:350px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Description\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Driver ID</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input {@htmlTooltip(\\quot\\__tooltip_driverID__\\quot\\)} ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:350px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Driver_ID\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Driver Params</td>//crlf////tab////tab////tab////tab////tab////tab//<td><textarea ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:350px;height:100px\\quot\\ NAME=\\quot\\Driver_Params\\quot\\></textarea></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Description 1</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:350px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Description1\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Description 2</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:350px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Description2\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Description 3</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:350px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Description3\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td COLSPAN=\\quot\\2\\quot\\ {@htmlTooltip(\\quot\\__consolidate_individual_days__\\quot\\)}><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Consolidate_Individual_Days\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Consolidate Individual Days</td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<!-- Horizontal Consolidation -->//crlf////tab////tab////tab//<div ID=\\quot\\__salt__Horizontal_Consolidation\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Description</td>//crlf////tab////tab////tab////tab////tab////tab//<td><input {@htmlTooltip(\\quot\\__Driver_Description__\\quot\\)} ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:400px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Driver_Description\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Key Fields</td>//crlf////tab////tab////tab////tab////tab////tab//<td><textarea {@htmlTooltip(\\quot\\__Key_Fields__\\quot\\)} ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:400px;height:150px\\quot\\ NAME=\\quot\\Key_Fields\\quot\\></textarea></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Alias Fields</td>//crlf////tab////tab////tab////tab////tab////tab//<td><textarea {@htmlTooltip(\\quot\\__Alias_Fields__\\quot\\)} ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:400px;height:50px\\quot\\ NAME=\\quot\\Alias_Fields\\quot\\></textarea></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab//<td>Field List</td>//crlf////tab////tab////tab////tab////tab////tab//<td><textarea {@htmlTooltip(\\quot\\__Field_List__\\quot\\)} ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:400px;height:50px\\quot\\ NAME=\\quot\\Field_List\\quot\\></textarea></td>//crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<!-- Notes -->//crlf////tab////tab////tab//<div ID=\\quot\\__salt__Notes\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab////tab//<span><textarea ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;height:350px\\quot\\ NAME=\\quot\\Notes\\quot\\></textarea></span>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\ASPECT_BACK_OFFICE_CONTROLLABLES_DATA_SOURCE\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_CONTROLLABLES_DATA_SOURCE\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\300\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab//InsertPosition: \\quot\\top\\quot\\;//crlf////tab////tab//RefreshOnDataSubmit: \\quot\\true\\quot\\;//crlf////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\ASPECT_BACK_OFFICE_CONTROLLABLES_DATA_SOURCEDialog\\quot\\;//crlf////tab////tab//_EditDialogID: \\quot\\DocumentID~~pipe~~Widget~~pipe~~Item~~pipe~~ASPECT_BACK_OFFICE_CONTROLLABLES_DATA_SOURCE~~pipe~~__salt__\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Tooltips//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<constant name:__tooltip_driverID__; value:\\quot\\ID of the driver used to open the data source\\quot\\>//crlf////tab//<constant name:__consolidate_individual_days__; value:\\quot\\If true\\comma\\ a separate driver will be opened for each day in the period.  These drivers will be consolidated vertically tocreate a system driver containing data for all days in the period.  <br><br>If false\\comma\\ the data source must contain data for all days in the period when it is opened by passing a starting and ending date\\quot\\>//crlf////tab//<constant name:__Driver_Description__; value:\\quot\\This is the description used when consolidating drivers horizontally.  It determines the field descriptions.\\quot\\>//crlf////tab//<constant name:__Key_Fields__; value:\\quot\\Pipe delimited list of key fields used when consolidating drivers from the same data source horizontally in the openControllablesConsolidatedDriver action\\quot\\>//crlf////tab//<constant name:__Alias_Fields__; value:\\quot\\Pipe delimited list of alias fields used when consolidating drivers from the same data source horizontally in the openControllablesConsolidatedDriver action.<br><br>This should not be needed since the data sources will probably always use the same driver.  This would only be needed if two data sources were consolidated horizontally and they used different drivers.\\quot\\>//crlf////tab//<constant name:__Field_List__; value:\\quot\\Pipe delimited list of key fields used when consolidating drivers from the same data source horizontally in the openControllablesConsolidatedDriver action\\quot\\>//crlf//</conditional>//crlf////crlf//^
ID=940841|X=183|Y=40|W=1039|H=854|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=814254|AttachLeft=|AlignLeft=814254|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//tab////tab////tab//<!-- Dialog used to edit a record -->//crlf////tab////tab////tab//<div ID=\\quot\\ASPECT_BACK_OFFICE_CONTROLLABLES_EXTERNAL_STRUCT__DialogID__\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:500px; display:<include type:expression; expression:if(\\quot\\__w__\\quot\\=\\quot\\Controllables Reports\\quot\\\\comma\\\\quot\\block\\quot\\\\comma\\\\quot\\none\\quot\\)>;\\quot\\>//crlf////tab////tab////tab////tab//<div style=\\quot\\padding:5px;width:100\\percent\\\\quot\\>//crlf////tab////tab////tab////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab////tab////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////tab////tab////tab// //crlf////tab////tab////tab////tab////tab//<!-- The TableEditDialogTabsContainerExclusive and TableEditDialogSelectContainerExclusive//crlf////tab////tab////tab////tab////tab////tab//classes are used to make either the tabs or the select box visible\\comma\\ depending on the//crlf////tab////tab////tab////tab////tab////tab//size of the browser.  If only one or two tabs are to be included\\comma\\ the //crlf////tab////tab////tab////tab////tab////tab//TableEditDialogTabsContainer class can be used for the tabs and the select box can//crlf////tab////tab////tab////tab////tab////tab//be ommitted.//crlf////tab////tab////tab////tab////tab//-->//crlf////tab////tab////tab////tab////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__StructField')\\quot\\>Field</span></td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__StructExternalData')\\quot\\>External Data</span></td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__StructHtml')\\quot\\>Html</span></td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__StructNotes')\\quot\\>Notes</span></td>//crlf////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//</table>//tab////crlf////tab////tab////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<select onChange=\\quot\\showTab(this)\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//<option value='__salt__StructField'>Field</option>//crlf////tab////tab////tab////tab////tab////tab////tab//<option value='__salt__StructExternalData'>External Data</option>//crlf////tab////tab////tab////tab////tab////tab////tab//<option value='__salt__StructHtml'>Html</option>//crlf////tab////tab////tab////tab////tab////tab////tab//<option value='__salt__StructNotes'>Notes</option>//crlf////tab////tab////tab////tab////tab////tab//</select>//crlf////tab////tab////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//External Structure: Field//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<div ID=\\quot\\__salt__StructField\\quot\\ style=\\quot\\width:100\\percent\\;height:auto;\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<span><b><i>Make sure to include editable fields in the embedvalues</b></i></span><br>//crlf////tab////tab////tab////tab////tab////tab//<table style=\\quot\\width:100\\percent\\;max-width:350px\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td>Field ID</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;max-width:300px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\FieldID\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;max-width:300px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Description\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td>Data Type</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td><!include type:expression; expression:htmlSelect(\\quot\\Data_Field_Types_Primary\\quot\\\\comma\\\\quot\\FieldType\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\style=\\quot\\+quote(\\quot\\width:100\\percent\\;max-width:__TextFieldWidth__\\quot\\)+\\quot\\ onChange=\\quot\\+quote(\\quot\\submitDialogCell(this)\\quot\\))></td>//crlf////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td>Array Size</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;max-width:__NumberFieldWidth__\\quot\\ CLASS=\\quot\\DefaultNumberInput\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\ArraySize\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td>Pattern</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;max-width:300px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Aspect_Structures_Pattern\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td>Default Value</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;max-width:300px\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Aspect_Structures_DefaultValueOnInsert\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//</table>//crlf////crlf////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Visible\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Visible//crlf////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Aspect_Structures_Html_Allow_Editing\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Inline editing//crlf////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Aspect_Structures_CalcSubtotal\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Subtotal//crlf////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Aspect_Structures_Subtotal_As_Formula\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Subtotal As Formula//crlf////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Aspect_Structures_Suppress_Zeros\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Suppress Zeros//crlf////tab////tab////tab////tab////tab////tab//<br>//crlf////crlf////tab////tab////tab////tab////tab////tab//<h1>Calculation</h1>//crlf////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\IsCalculated\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> This is a calculated field<br>//crlf////tab////tab////tab////tab////tab////tab//Formula<br>//crlf////tab////tab////tab////tab////tab////tab//<constant name:\\quot\\__DriverExternalStructFormulaTooltip__\\quot\\; //crlf////tab////tab////tab////tab////tab////tab////tab//value:\\quot\\An expression that returns the value of a calculated field.  The expression //crlf////tab////tab////tab////tab////tab////tab////tab//should be entered directly and not surrounded by quotes.  E.g. 1+4.  Text constants //crlf////tab////tab////tab////tab////tab////tab////tab//and references to field names should be surrounded by double quotes.  A leading //crlf////tab////tab////tab////tab////tab////tab////tab//equals sign is optional and has no effect.  Any field in the driver's structure //crlf////tab////tab////tab////tab////tab////tab////tab//may be referenced in the expression.\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<span><textarea ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;height:60px\\quot\\ NAME=\\quot\\Aspect_Structures_IsFormula\\quot\\ {@htmlTooltip(\\quot\\__DriverExternalStructFormulaTooltip__\\quot\\)}></textarea></span>//crlf////tab////tab////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//External Structure: Html//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<div ID=\\quot\\__salt__StructExternalData\\quot\\ style=\\quot\\width:100\\percent\\;height:auto;\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<h1>External Data</h1>//crlf////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Is_External\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Record data in external driver//crlf////tab////tab////tab////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td>Filename</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:250px;\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\External_Data_Filename\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td>Key</td>//crlf////tab////tab////tab////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:250px;\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\External_Data_Key\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//External Structure: Html//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<div ID=\\quot\\__salt__StructHtml\\quot\\ style=\\quot\\width:100\\percent\\;height:auto;\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<h1>Html Override</h1>//crlf////tab////tab////tab////tab////tab////tab//<span><textarea ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;height:60px\\quot\\ NAME=\\quot\\Html\\quot\\></textarea></span>//crlf////tab////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//<h1>Sections</h1>//crlf////tab////tab////tab////tab////tab////tab//<input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Enable_Html_Section_Breaks\\quot\\ TYPE=\\quot\\checkbox\\quot\\></input> Enable Html Section Breaks//crlf////tab////tab////tab////tab////tab////tab//Section Header<br>//crlf////tab////tab////tab////tab////tab////tab//<span><textarea ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;height:60px\\quot\\ NAME=\\quot\\Aspect_Structures_Html_Section_Header\\quot\\></textarea></span>//crlf////tab////tab////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab////tab//External Structure: Notes//crlf////tab////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab////tab//<div ID=\\quot\\__salt__StructNotes\\quot\\ style=\\quot\\width:100\\percent\\;height:100\\percent\\;\\quot\\>//crlf////tab////tab////tab////tab////tab////tab//<span><textarea ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ STYLE=\\quot\\width:100\\percent\\;height:85\\percent\\\\quot\\ NAME=\\quot\\Aspect_Structures_DeveloperNotes\\quot\\></textarea></span>//crlf////tab////tab////tab////tab////tab//</div>//crlf////tab////tab////tab////tab//</div>//crlf////tab////tab////tab//</div>//crlf////crlf//^
ID=911979|X=183|Y=40|W=929|H=683|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=814254|AttachLeft=|AlignLeft=814254|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//This iten is used to create the header for a controllables report.  It is //crlf//called by the processControllablesReport script in the //crlf//Process Controllables Report Script item.//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\header\\quot\\)>//crlf////tab//<h1>{@replaceSubstring(\\quot\\__ReportName__\\quot\\\\comma\\\\quot\\\\percent\\am\\quot\\+\\quot\\p\\quot\\\\comma\\\\quot\\//amp//\\quot\\)}</h1>//crlf//</conditional>^
ID=153488|X=183|Y=40|W=988|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=814254|AttachLeft=|AlignLeft=814254|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- Dialog used to edit a record -->//crlf//<div ID=\\quot\\ASPECT_BACK_OFFICE_CONTROLLABLES_REPORT_CATEGORYDialog\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:300px; display:none;\\quot\\>//crlf////tab//<div style=\\quot\\padding:5px;width:100\\percent\\\\quot\\>//crlf////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////crlf////tab////tab//<!--//tab//Note:  If a a Javascript function named initializeDialogxxx where xxx is the dialog ID is defined\\comma\\ //crlf////tab////tab////tab//it will be called//tab//after the dialog values have been set and before the dialog is made visible.//crlf////tab////tab////tab////crlf////tab////tab////tab//An initialization function may also be specified by including it in an attribute named 'aspectinit'//crlf////tab////tab////tab//in the dialog div above.  Only include the function name with no parentheses or arguments.  //crlf////tab////tab////tab//Arguments can be made//tab//available to the function by including them as attributes or by embedding //crlf////tab////tab////tab//them in this div.  Use this method when the dialog ID is randomized to allow for multiple instances//crlf////tab////tab////tab//in one document.//crlf////crlf////tab////tab////tab//If an Aspect script is defined with the ID xxx_DataSubmitted where xxx is the driver ID\\comma\\ it will//crlf////tab////tab////tab//be called whenever data is submitted due to an edit in either the table or the dialog.//crlf////tab////tab////tab//Arguments passed to the script are in the form://crlf////crlf////tab////tab////tab////tab//driver=xxx//amp//r=n//amp//fields=//amp//values=//crlf////crlf////tab////tab////tab//where driver is the name of a system driver\\comma\\ r is the absolute record number\\comma\\//crlf////tab////tab////tab//fields is a pipe-delimited list of field ID's and values is a pipe-delimited list of//crlf////tab////tab////tab//values.  Ampersands and pipes in the values are tokenized by surrounding//crlf////tab////tab////tab//them with two forward slashes.//crlf////tab////tab//-->//crlf// //crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\TextFieldWidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\300px\\quot\\)>//crlf////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\NumberFieldWidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\150px\\quot\\)>//crlf////crlf////tab////tab//<!-- The TableEditDialogTabsContainerExclusive and TableEditDialogSelectContainerExclusive//crlf////tab////tab////tab//classes are used to make either the tabs or the select box visible\\comma\\ depending on the//crlf////tab////tab////tab//size of the browser.  If only one or two tabs are to be included\\comma\\ the //crlf////tab////tab////tab//TableEditDialogTabsContainer class can be used for the tabs and the select box can//crlf////tab////tab////tab//be ommitted.//crlf////tab////tab//-->//crlf////tab////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab////tab//<table class='tabdialog'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'__salt__Category')\\quot\\>Category</span></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////crlf////tab////tab//</div>//crlf////crlf////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab//<select onChange=\\quot\\showTab(this);this.blur();\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab//<option value='__salt__main'>Main</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!-- Category -->//crlf////tab////tab//<div ID=\\quot\\__salt__Category\\quot\\ class=\\quot\\DialogTabContent\\quot\\>//crlf////tab////tab////tab//<table style=\\quot\\width:auto\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Name</td>//crlf////tab////tab////tab////tab////tab//<td><input ONCHANGE=\\quot\\submitDialogCell(this)\\quot\\ ONKEYDOWN=\\quot\\return keyDown(event\\comma\\this);\\quot\\ STYLE=\\quot\\width:250px;\\quot\\ VALUE=\\quot\\\\quot\\ NAME=\\quot\\Name\\quot\\ TYPE=\\quot\\text\\quot\\></input></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////crlf////tab//</div>//crlf//</div>//crlf////crlf//<!include type:driver;//crlf////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab//title: \\quot\\\\quot\\;//crlf////tab//HashID: \\quot\\\\quot\\;//crlf////tab//driver: \\quot\\ASPECT_BACK_OFFICE_CONTROLLABLES_REPORT_CATEGORY\\quot\\;//crlf////tab//name: \\quot\\\\quot\\;//crlf////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab//dispose: \\quot\\false\\quot\\;//crlf////tab//state: \\quot\\\\quot\\;//crlf////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=ASPECT_BACK_OFFICE_CONTROLLABLES_REPORT_CATEGORY\\quot\\;//crlf////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab//display: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\\\quot\\;//crlf////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab//sort: \\quot\\ID\\quot\\;//crlf////tab//filter: \\quot\\true\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//maxrecords: \\quot\\300\\quot\\;//crlf////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab//canSelect: \\quot\\true\\quot\\;//crlf////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab//canAdd: \\quot\\true\\quot\\;//crlf////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab//InsertPosition: \\quot\\top\\quot\\;//crlf////tab//RefreshOnDataSubmit: \\quot\\true\\quot\\;//crlf////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab//EditDialogID: \\quot\\ASPECT_BACK_OFFICE_CONTROLLABLES_REPORT_CATEGORYDialog\\quot\\;//crlf////tab//_EditDialogID: \\quot\\DocumentID~~pipe~~Widget~~pipe~~Item~~pipe~~ASPECT_BACK_OFFICE_CONTROLLABLES_REPORT_CATEGORY~~pipe~~__salt__\\quot\\;//crlf////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab//Menu: \\quot\\\\quot\\;//crlf////tab//faq: \\quot\\\\quot\\;//crlf////tab//procedure: \\quot\\\\quot\\;//crlf////tab//video: \\quot\\\\quot\\;//crlf////tab//Messages: \\quot\\true\\quot\\;//crlf////tab//ChartType: \\quot\\\\quot\\;//crlf////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab//debug: \\quot\\false\\quot\\;//crlf//>//crlf//
</widget><widget name="Controllables Data Sources" group="Controllables Reports" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Controllables Data Sources" modified="02-14-2018 20:43:49" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=02-07-2018 10:28:08:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=16|toolboxy=227|aspectfuncx=188|aspectfuncy=100|aspectfuncw=842|aspectfunch=717|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Controllables Data Sources.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=22|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'432402')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'960179')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=432402|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Controllables Data Sources.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Controllables Reports\\comma\\collectionControllablesAmountFieldID\\comma\\sensor_list\\comma\\Sensor=collectionControllablesAmountFieldID\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//collectionControllablesAmountFieldID//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\collectionControllablesAmountFieldID\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//This is a sensor collection used to get a list of Field ID\\apos\\s that can be used as an //crlf////tab////tab//amount field when defining a driver in a controllables report//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//DataSource - The numeric value of the selected data source.  These are defined in the //crlf////tab////tab////tab//Aspect_BackOffice_Controllables_Driver_Selection collection//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//The system driver containing the collection//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\collectionControllablesAmountFieldID\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//var arField=\\quot\\\\quot\\//crlf////tab////tab////tab//if(\\quot\\__DataSource__\\quot\\=\\quot\\gdkiZxAT\\quot\\)//crlf////tab////tab////tab////tab////Daily Sales//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Amount~~pipe~~Amount\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Day_Net_Sales~~pipe~~Net Sales\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Percent_of_Net_Sales~~pipe~~\\percent\\ Of Net Sales\\quot\\)//crlf////tab////tab////tab//elseif(\\quot\\__DataSource__\\quot\\=\\quot\\V0DZRp5T\\quot\\)//crlf////tab////tab////tab////tab////Job Code Totals//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___AppRegHours~~pipe~~Approved Regular Hours\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___AppOvtHours~~pipe~~Approved O/t Hours\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___AppTtlHours~~pipe~~Approved Total Hours\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___AppRegPay~~pipe~~Approved Regular Pay\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___AppOvtPay~~pipe~~Approved O/t Pay\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___AppTtlPay~~pipe~~Approved Total Pay\\quot\\)//crlf////tab////tab////tab//elseif(\\quot\\__DataSource__\\quot\\=\\quot\\ogjTqqoy\\quot\\)//crlf////tab////tab////tab////tab////Cost Of Sales//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___0~~pipe~~Invalid Field\\quot\\)//crlf////tab////tab////tab//elseif(\\quot\\__DataSource__\\quot\\=\\quot\\1jfIQSsd\\quot\\)//crlf////tab////tab////tab////tab////Inventory Extensions\\comma\\//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___0~~pipe~~Invalid Field\\quot\\)//crlf////tab////tab////tab//elseif(\\quot\\__DataSource__\\quot\\=\\quot\\lQ3NKqvc\\quot\\)//crlf////tab////tab////tab////tab////Menu Category Sales//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Net_Sales~~pipe~~Net Sales\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Sold~~pipe~~Quantity Sold\\quot\\)//crlf////tab////tab////tab//elseif(\\quot\\__DataSource__\\quot\\=\\quot\\FfP9dKmt\\quot\\)//crlf////tab////tab////tab////tab////Menu Item Sales//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Net_Sales~~pipe~~Net Sales\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Sold~~pipe~~Quantity Sold\\quot\\)//crlf////tab////tab////tab//elseif(\\quot\\__DataSource__\\quot\\=\\quot\\e4kdm2Ic\\quot\\)//crlf////tab////tab////tab////tab////Legitimate by Item//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Standard_Quantity~~pipe~~Legitimate Usage\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Standard_Cost~~pipe~~Legitimate Cost\\quot\\)//crlf////tab////tab////tab//elseif(\\quot\\__DataSource__\\quot\\=\\quot\\d7FZt0Va\\quot\\)//crlf////tab////tab////tab////tab////Legitimate by Category//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Standard_Cost~~pipe~~Legitimate Cost\\quot\\)//crlf////tab////tab////tab//elseif(\\quot\\__DataSource__\\quot\\=\\quot\\GG8LmEWU\\quot\\)//crlf////tab////tab////tab////tab////Extensions by Item//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Cost~~pipe~~Actual Cost\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Beginning_Inventory_Value~~pipe~~Beginning Value\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Purchase_Dollar//tab//Dollars~~pipe~~Purchased\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Ending_Inventory_Value~~pipe~~Ending Value\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Cost_Variance~~pipe~~Cost Variance\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Legit_Cost~~pipe~~Legit Cost\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Net_Sales~~pipe~~Net Sales\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Actual_Cost_Percent_Of_Sales~~pipe~~Actual Cost \\percent\\\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Legit_Cost_Percent_Of_Sales~~pipe~~Legit Cost \\percent\\\\quot\\)//crlf////tab////tab////tab//elseif(\\quot\\__DataSource__\\quot\\=\\quot\\YcP7wQAi\\quot\\)//crlf////tab////tab////tab////tab////Extensions by Group//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Cost~~pipe~~Actual Cost\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Beginning_Inventory_Value~~pipe~~Beginning Value\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Purchase_Dollar//tab//Dollars~~pipe~~Purchased\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Ending_Inventory_Value~~pipe~~Ending Value\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Cost_Variance~~pipe~~Cost Variance\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Legit_Cost~~pipe~~Legit Cost\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Net_Sales~~pipe~~Net Sales\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Actual_Cost_Percent_Of_Sales~~pipe~~Actual Cost \\percent\\\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Legit_Cost_Percent_Of_Sales~~pipe~~Legit Cost \\percent\\\\quot\\)//crlf////tab////tab////tab//elseif(\\quot\\__DataSource__\\quot\\=\\quot\\tZ750ArL\\quot\\)//crlf////tab////tab////tab////tab////Extensions by Parent Group//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Cost~~pipe~~Actual Cost\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Beginning_Inventory_Value~~pipe~~Beginning Value\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Purchase_Dollar//tab//Dollars~~pipe~~Purchased\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Ending_Inventory_Value~~pipe~~Ending Value\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Cost_Variance~~pipe~~Cost Variance\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Legit_Cost~~pipe~~Legit Cost\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Net_Sales~~pipe~~Net Sales\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Actual_Cost_Percent_Of_Sales~~pipe~~Actual Cost \\percent\\\\quot\\)//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___Legit_Cost_Percent_Of_Sales~~pipe~~Legit Cost \\percent\\\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab////undefined//crlf////tab////tab////tab////tab//arField=addElement(arField\\comma\\\\quot\\__DataSource___0~~pipe~~Invalid Field\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//d=getSalt(4)//crlf////tab////tab////tab//driverOpen(Sensor_Collection\\comma\\d\\comma\\WRITE\\comma\\true)//crlf////tab////tab////tab//c=getElementCount(arField)//crlf////tab////tab////tab//appendToLog(\\quot\\arField=\\quot\\\\plus\\arField\\plus\\\\quot\\ c=\\quot\\\\plus\\c)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(arField\\comma\\n)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\index\\quot\\\\comma\\r\\comma\\getElement(s\\comma\\0\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\value\\quot\\\\comma\\r\\comma\\getElement(s\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Added record: \\quot\\\\plus\\r)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//return(d)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//^
ID=action_list|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Controllables Data Sources.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Controllables Data Sources\\comma\\updateControllablesExtensionsByItem\\comma\\action_list\\comma\\Action=updateControllablesExtensionsByItem\\comma\\private//crlf////tab//Controllables Data Sources\\comma\\updateControllablesExtensionsByParentGroup\\comma\\action_list\\comma\\Action=updateControllablesExtensionsByParentGroup\\comma\\private//crlf////tab//Controllables Data Sources\\comma\\updateControllablesExtensionsByGroup\\comma\\action_list\\comma\\Action=updateControllablesExtensionsByGroup\\comma\\private//crlf////tab//Controllables Data Sources\\comma\\updateControllablesLegitByItem\\comma\\action_list\\comma\\Action=updateControllablesLegitByItem\\comma\\private//crlf////tab//Controllables Data Sources\\comma\\updateControllablesLegitByCategory\\comma\\action_list\\comma\\Action=updateControllablesLegitByCategory\\comma\\private//crlf////tab//Controllables Reports\\comma\\updateControllablesMenuItemSales\\comma\\action_list\\comma\\Action=updateControllablesMenuItemSales\\comma\\private//crlf////tab//Controllables Reports\\comma\\updateControllablesLaborDetail\\comma\\action_list\\comma\\Action=updateControllablesLaborDetail\\comma\\private//crlf////tab//Controllables Reports\\comma\\updateControllablesDailySales\\comma\\action_list\\comma\\Action=updateControllablesDailySales\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateControllablesExtensionsByItem//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateControllablesExtensionsByItem\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates the Controllables_Inventory_Extensions_By_Item datasource driver//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Starting date//crlf////tab////tab//DateTo - Ending date//crlf////tab////tab//ControllablesFieldID - Field ID used to get the amount for the controllables report//crlf////tab////tab//ControllablesPeriod - Period type//crlf////tab////tab//NumberOfPeriods - Number of periods//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateControllablesExtensionsByItem\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateFrom//crlf////tab////tab////tab//if(undefined(\\quot\\__DateFrom__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateFrom\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateTo//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing ControllablesFieldID//crlf////tab////tab////tab//if(undefined(\\quot\\__ControllablesFieldID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing ControllablesFieldID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sParams=\\quot\\ControllablesFieldID=__ControllablesFieldID__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~ControllablesRecordType=49\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~RecordID1=\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~RecordID2=Inventory_Item_ID\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~RecordID3=Inventory_Item_Group_ID\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Description1=Size\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Description2=Inventory_Item_Name\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Description3=Inventory_Item_Group\\quot\\//crlf////crlf////tab////tab////tab////update inventory extensions for each period in the date range.  These must be calculated//crlf////tab////tab////tab////separately since only the ending date is recorded in the data source.  There needs to be //crlf////tab////tab////tab////a record for each ending date of the period.//crlf////tab////tab////tab//sFilename=getToken(\\quot\\Temporary_Files\\quot\\)+\\quot\\controllables\Controllables_Inventory_Extensions_By_Item_\\quot\\+left(\\quot\\__StoreID__\\quot\\\\comma\\8)+\\quot\\___ControllablesFieldID_____ControllablesPeriod_____NumberOfPeriods__.__DateFrom_____DateTo__.bin\\quot\\//crlf//appendToLog(\\quot\\UpdateControllables deleting file: \\quot\\+sFilename)//crlf////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab//iPeriod=0//crlf////tab////tab////tab//while(iPeriod<__NumberOfPeriods__)//crlf////tab////tab////tab////tab//dSourceDriver=getSalt(4)+\\quot\\SystemDriver\\quot\\//crlf////tab////tab////tab////tab//sDt1=formatDate(getControllablesDate(iPeriod\\comma\\__ControllablesPeriod__\\comma\\parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\__NumberOfPeriods__\\comma\\0)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//sDt2=formatDate(getControllablesDate(iPeriod\\comma\\__ControllablesPeriod__\\comma\\parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\__NumberOfPeriods__\\comma\\1)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Extensions\\comma\\dSourceDriver\\comma\\READ\\comma\\true\\comma\\sParams+\\quot\\~~pipe~~DateFrom=\\quot\\+sDt1+\\quot\\~~pipe~~DateTo=\\quot\\+sDt2)//crlf////tab////tab////tab////tab//driverSetFilter(dSourceDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////tab////params for destination driver//crlf////tab////tab////tab////tab//sDestParams=\\quot\\ControllablesFieldID=__ControllablesFieldID__~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~NoDepend=true~~pipe~~Controllables_Period=__ControllablesPeriod__~~pipe~~NumberOfPeriods=__NumberOfPeriods__\\quot\\//crlf////crlf////tab////tab////tab////tab//sParams=\\quot\\MergeID=S2sEZmOy//amp//SourceDriver=\\quot\\+dSourceDriver+\\quot\\//amp//DestDriverParams=\\quot\\+sDestParams//crlf////tab////tab////tab////crlf////tab////tab////tab////tab//execAgentAction(executeMergeDefinition\\comma\\sParams)//crlf////tab////tab////tab////tab//driverClose(dSourceDriver)//crlf////tab////tab////tab////tab//iPeriod++//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateControllablesExtensionsByParentGroup//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateControllablesExtensionsByParentGroup\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates the Controllables_Inventory_Extensions_By_Group datasource driver//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Starting date//crlf////tab////tab//DateTo - Ending date//crlf////tab////tab//ControllablesFieldID - Field ID used to get the amount for the controllables report//crlf////tab////tab//ControllablesPeriod - Period type//crlf////tab////tab//NumberOfPeriods - Number of periods//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateControllablesExtensionsByParentGroup\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateFrom//crlf////tab////tab////tab//if(undefined(\\quot\\__DateFrom__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateFrom\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateTo//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing ControllablesFieldID//crlf////tab////tab////tab//if(undefined(\\quot\\__ControllablesFieldID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing ControllablesFieldID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sParams=\\quot\\ControllablesFieldID=__ControllablesFieldID__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~ControllablesRecordType=51\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~RecordID1=Inventory_Item_Top_Group_Name\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~RecordID2=\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~RecordID3=\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Description1=Inventory_Item_Top_Group_Name\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Description2=\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Description3=\\quot\\//crlf////crlf////tab////tab////tab////update inventory extensions for each period in the date range.  These must be calculated//crlf////tab////tab////tab////separately since only the ending date is recorded in the data source.  There needs to be //crlf////tab////tab////tab////a record for each ending date of the period.//crlf////tab////tab////tab//sFilename=getToken(\\quot\\Temporary_Files\\quot\\)+\\quot\\controllables\Controllables_Inventory_Extensions_By_Parent_Group_\\quot\\+left(\\quot\\__StoreID__\\quot\\\\comma\\8)+\\quot\\___ControllablesFieldID_____ControllablesPeriod_____NumberOfPeriods__.__DateFrom_____DateTo__.bin\\quot\\//crlf//appendToLog(\\quot\\UpdateControllables deleting file: \\quot\\+sFilename)//crlf////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab//iPeriod=0//crlf////tab////tab////tab//while(iPeriod<__NumberOfPeriods__)//crlf////tab////tab////tab////tab//dSourceDriver=getSalt(4)+\\quot\\SystemDriver\\quot\\//crlf////tab////tab////tab////tab//sDt1=formatDate(getControllablesDate(iPeriod\\comma\\__ControllablesPeriod__\\comma\\parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\__NumberOfPeriods__\\comma\\0)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//sDt2=formatDate(getControllablesDate(iPeriod\\comma\\__ControllablesPeriod__\\comma\\parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\__NumberOfPeriods__\\comma\\1)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Extensions\\comma\\dSourceDriver\\comma\\READ\\comma\\true\\comma\\sParams+\\quot\\~~pipe~~DateFrom=\\quot\\+sDt1+\\quot\\~~pipe~~DateTo=\\quot\\+sDt2)//crlf////tab////tab////tab////tab//driverSetFilter(dSourceDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////tab////subtotal by inventory parent group//crlf////tab////tab////tab////tab//driverSetSubtotal(dSourceDriver\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\Inventory_Item_Top_Group_Name\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//driverSetDetails(dSourceDriver\\comma\\false)//crlf////tab////tab////tab////tab//driverSetSort(dSourceDriver\\comma\\Inventory_Item_Top_Group_Name\\comma\\false)//crlf////tab////tab////tab////tab//driverSetFilter(dSourceDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////tab////params for destination driver//crlf////tab////tab////tab////tab//sDestParams=\\quot\\ControllablesFieldID=__ControllablesFieldID__~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~NoDepend=true~~pipe~~Controllables_Period=__ControllablesPeriod__~~pipe~~NumberOfPeriods=__NumberOfPeriods__\\quot\\//crlf////crlf////tab////tab////tab////tab//sParams=\\quot\\MergeID=61MBjyAI//amp//SourceDriver=\\quot\\+dSourceDriver+\\quot\\//amp//DestDriverParams=\\quot\\+sDestParams//crlf////tab////tab////tab////crlf////tab////tab////tab////tab//execAgentAction(executeMergeDefinition\\comma\\sParams)//crlf////tab////tab////tab////tab//driverClose(dSourceDriver)//crlf////tab////tab////tab////tab//iPeriod++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateControllablesExtensionsByGroup//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateControllablesExtensionsByGroup\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates the Controllables_Inventory_Extensions_By_Group datasource driver//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Starting date//crlf////tab////tab//DateTo - Ending date//crlf////tab////tab//ControllablesFieldID - Field ID used to get the amount for the controllables report//crlf////tab////tab//ControllablesPeriod - Period type//crlf////tab////tab//NumberOfPeriods - Number of periods//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateControllablesExtensionsByGroup\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\updateControllablesExtensionsByGroup StoreID=__StoreID__ DateFrom=__DateFrom__ DateTo=__DateTo__ ControllablesFieldID=__ControllablesFieldID__ NumberOfPeriods=__NumberOfPeriods__ ControllablesPeriod=__ControllablesPeriod__\\quot\\)//crlf////crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateFrom//crlf////tab////tab////tab//if(undefined(\\quot\\__DateFrom__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateFrom\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateTo//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing NumberOfPeriods//crlf////tab////tab////tab//if(undefined(\\quot\\__NumberOfPeriods__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing NumberOfPeriods\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing ControllablesPeriod//crlf////tab////tab////tab//if(undefined(\\quot\\__ControllablesPeriod__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing ControllablesPeriod\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing ControllablesFieldID//crlf////tab////tab////tab//if(undefined(\\quot\\__ControllablesFieldID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing ControllablesFieldID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sParams=\\quot\\ControllablesFieldID=__ControllablesFieldID__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~ControllablesRecordType=50\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~RecordID1=Inventory_Item_Group_ID\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~RecordID2=Inventory_Item_Group_ID\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~RecordID3=Inventory_Item_Group_ID\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Description1=Inventory_Item_Group\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Description2=Inventory_Item_SubGroup_Name\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Description3=Inventory_Item_Top_Group_Name\\quot\\//crlf////crlf////tab////tab////tab////delete the merge log used for debugging//crlf////tab////tab////tab//fileDelete(getToken(\\quot\\temporary_files\\quot\\)+\\quot\\mergelog_mOvRVvNj.$$$\\quot\\)//crlf////crlf////tab////tab////tab////update inventory extensions for each period in the date range.  These must be calculated//crlf////tab////tab////tab////separately since only the ending date is recorded in the data source.  There needs to be //crlf////tab////tab////tab////a record for each ending date of the period.//crlf////tab////tab////tab//sFilename=getToken(\\quot\\Temporary_Files\\quot\\)+\\quot\\controllables\Controllables_Inventory_Extensions_By_Group_\\quot\\+left(\\quot\\__StoreID__\\quot\\\\comma\\8)+\\quot\\___ControllablesFieldID_____ControllablesPeriod_____NumberOfPeriods__.__DateFrom_____DateTo__.bin\\quot\\//crlf//appendToLog(\\quot\\UpdateControllables deleting file: \\quot\\+sFilename)//crlf////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab//iPeriod=0//crlf////tab////tab////tab//while(iPeriod<__NumberOfPeriods__)//crlf////tab////tab////tab////tab//dSourceDriver=getSalt(4)+\\quot\\SystemDriver\\quot\\//crlf////tab////tab////tab////tab//sDt1=formatDate(getControllablesDate(iPeriod\\comma\\__ControllablesPeriod__\\comma\\parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\__NumberOfPeriods__\\comma\\0)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//sDt2=formatDate(getControllablesDate(iPeriod\\comma\\__ControllablesPeriod__\\comma\\parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\__NumberOfPeriods__\\comma\\1)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Inventory_Extensions\\comma\\dSourceDriver\\comma\\READ\\comma\\true\\comma\\sParams+\\quot\\~~pipe~~DateFrom=\\quot\\+sDt1+\\quot\\~~pipe~~DateTo=\\quot\\+sDt2)//crlf////crlf////tab////tab////tab////tab////subtotal by inventory group//crlf////tab////tab////tab////tab//driverSetSubtotal(dSourceDriver\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\Inventory_Item_Group_ID\\quot\\)//crlf////tab////tab////tab////tab//driverSetDetails(dSourceDriver\\comma\\false)//crlf////tab////tab////tab////tab//driverSetFilter(dSourceDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf//appendToLog(\\quot\\updateControllablesExtensionsByGroup iPeriod=\\quot\\+iPeriod+\\quot\\ sDt1=\\quot\\+sDt1+\\quot\\ sDt2=\\quot\\+sDt2+\\quot\\ ControllablesPeriod=__ControllablesPeriod__ NumberOfPeriods=__NumberOfPeriods__ Records=\\quot\\+driverGetRecordCount(dSourceDriver))//crlf////crlf////tab////tab////tab////tab////params for destination driver//crlf////tab////tab////tab////tab//sDestParams=\\quot\\ControllablesFieldID=__ControllablesFieldID__~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~NoDepend=true~~pipe~~Controllables_Period=__ControllablesPeriod__~~pipe~~NumberOfPeriods=__NumberOfPeriods__\\quot\\//crlf////crlf////tab////tab////tab////tab//sMergeParams=\\quot\\MergeID=mOvRVvNj//amp//SourceDriver=\\quot\\+dSourceDriver+\\quot\\//amp//DestDriverParams=\\quot\\+sDestParams+\\quot\\//amp//Log=true\\quot\\//crlf////tab////tab////tab////tab//execAgentAction(executeMergeDefinition\\comma\\sMergeParams)//crlf////tab////tab////tab////tab//driverClose(dSourceDriver)//crlf////tab////tab////tab////tab//iPeriod++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateControllablesLegitByItem//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateControllablesLegitByItem\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates the Controllables_Legitimate_Cost_By_Item datasource driver//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Starting date//crlf////tab////tab//DateTo - Ending date//crlf////tab////tab//ControllablesFieldID - Field ID used to get the amount for the controllables report//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateControllablesLegitByItem\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateFrom//crlf////tab////tab////tab//if(undefined(\\quot\\__DateFrom__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateFrom\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateTo//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing ControllablesFieldID//crlf////tab////tab////tab//if(undefined(\\quot\\__ControllablesFieldID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing ControllablesFieldID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sParams=\\quot\\ControllablesFieldID=__ControllablesFieldID__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~ControllablesRecordType=47\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~RecordID1=\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~RecordID2=Inventory_Item_ID\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~RecordID3=Inventory_Item_Group_ID\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Description1=Standard_Size\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Description2=Ingredient_Name\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Description3=Inventory_Item_Full_Group_Name\\quot\\//crlf////crlf////tab////tab////tab////open a consolidated driver containing legitimates for a range of dates//crlf////tab////tab////tab//dSourceDriver=getSalt(4)+\\quot\\SystemDriver\\quot\\//crlf////tab////tab////tab//driverOpen(ConsDriverVert\\comma\\dSourceDriver\\comma\\WRITE\\comma\\true\\comma\\sParams)//crlf////tab////tab////tab//dtFrom=parseTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dtTo=parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt=dtFrom//crlf////tab////tab////tab//while(dt<=dtTo)//crlf////tab////tab////tab////tab//d=getSalt(4)//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Legitimate_Usage\\comma\\d\\comma\\READ\\comma\\true\\comma\\sParams+\\quot\\~~pipe~~Date=\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//driverConsolidate(dSourceDriver\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////a subtotal is used here because the legitimate usage file contains multiple records//crlf////tab////tab////tab////for each item//crlf////tab////tab////tab//driverSetSubtotal(dSourceDriver\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\Date~~pipe~~Inventory_Item_ID\\quot\\)//crlf////tab////tab////tab//driverSetDetails(dSourceDriver\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(dSourceDriver\\comma\\\\quot\\Inventory_Item_Record_Type=1\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////params for destination driver//crlf////tab////tab////tab//sDestParams=\\quot\\ControllablesFieldID=__ControllablesFieldID__~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~NoDepend=true\\quot\\//crlf////crlf////tab////tab////tab//sParams=\\quot\\MergeID=eoex4oCO//amp//SourceDriver=\\quot\\+dSourceDriver+\\quot\\//amp//DestDriverParams=\\quot\\+sDestParams//crlf////tab////tab////tab////crlf////tab////tab////tab//execAgentAction(executeMergeDefinition\\comma\\sParams)//crlf////tab////tab////tab//driverClose(dSourceDriver)//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateControllablesLegitByCategory//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateControllablesLegitByCategory\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates the Controllables_Legitimate_Cost_by_Category driver//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Starting date//crlf////tab////tab//DateTo - Ending date//crlf////tab////tab//ControllablesFieldID - Field ID used to get the amount for the controllables report//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateControllablesLegitByCategory\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateFrom//crlf////tab////tab////tab//if(undefined(\\quot\\__DateFrom__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateFrom\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateTo//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing ControllablesFieldID//crlf////tab////tab////tab//if(undefined(\\quot\\__ControllablesFieldID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing ControllablesFieldID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sParams=\\quot\\ControllablesFieldID=__ControllablesFieldID__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~ControllablesRecordType=48\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~RecordID1=Inventory_Item_Group_ID\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~RecordID2=\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~RecordID3=\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Description1=Inventory_Item_Group\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Description2=\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\~~pipe~~Description3=\\quot\\//crlf////crlf////tab////tab////tab////open a consolidated driver containing legitimates for a range of dates//crlf////tab////tab////tab//dSourceDriver=getSalt(4)+\\quot\\SystemDriver\\quot\\//crlf////tab////tab////tab//driverOpen(ConsDriverVert\\comma\\dSourceDriver\\comma\\WRITE\\comma\\true\\comma\\sParams)//crlf////tab////tab////tab//dtFrom=parseTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dtTo=parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dt=dtFrom//crlf////tab////tab////tab//while(dt<=dtTo)//crlf////tab////tab////tab////tab//d=getSalt(4)//crlf////tab////tab////tab////tab//driverOpen(Aspect_Back_Office_Legitimate_Usage\\comma\\d\\comma\\READ\\comma\\true\\comma\\sParams+\\quot\\~~pipe~~Date=\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//driverConsolidate(dSourceDriver\\comma\\d\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverSetSubtotal(dSourceDriver\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\Date~~pipe~~Inventory_Item_Group_ID\\quot\\)//crlf////tab////tab////tab//driverSetDetails(dSourceDriver\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(dSourceDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab////params for destination driver//crlf////tab////tab////tab//sDestParams=\\quot\\ControllablesFieldID=__ControllablesFieldID__~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~NoDepend=true\\quot\\//crlf////crlf////tab////tab////tab//sParams=\\quot\\MergeID=Vbp4BSCj//amp//SourceDriver=\\quot\\+dSourceDriver+\\quot\\//amp//DestDriverParams=\\quot\\+sDestParams//crlf////tab////tab////tab////crlf////tab////tab////tab//execAgentAction(executeMergeDefinition\\comma\\sParams)//crlf////tab////tab////tab//driverClose(dSourceDriver)//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateControllablesMenuItemSales//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateControllablesMenuItemSales\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Update the Controllables_Menu_Category_Sales and Controllables_Menu_Item_Sales drivers//crlf////tab////tab//by consolidating sales mix data for a range of dates//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Starting date//crlf////tab////tab//DateTo - Ending date//crlf////tab////tab//ControllablesFieldID - Field ID used to get the amount for the controllables report//crlf////tab////tab//Details - If true\\comma\\ employee records will be included.  If false\\comma\\ only job code totals will be included//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateControllablesMenuItemSales\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateFrom//crlf////tab////tab////tab//if(undefined(\\quot\\__DateFrom__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateFrom\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateTo//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing ControllablesFieldID//crlf////tab////tab////tab//if(undefined(\\quot\\__ControllablesFieldID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing ControllablesFieldID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////params for source driver//crlf////tab////tab////tab//sSourceParams=\\quot\\StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\//crlf////tab////tab////tab//sSourceParams=sSourceParams+\\quot\\~~pipe~~ControllablesFieldID=__ControllablesFieldID__\\quot\\//crlf////crlf////tab////tab////tab////open source driver.  Filter to category totals is details=false.//crlf////tab////tab////tab////The record type is passed as a driver param.  The record type is different //crlf////tab////tab////tab////depending on whether details are included//crlf////tab////tab////tab//dSourceDriver=getSalt(4)//crlf////tab////tab////tab//if(boolean(\\quot\\__details__\\quot\\)=false)//crlf////tab////tab////tab////tab//sSourceParams=sSourceParams+\\quot\\~~pipe~~ControllablesRecordType=46\\quot\\//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_Sales_Mix_Consolidated\\comma\\dSourceDriver\\comma\\READ\\comma\\true\\comma\\sSourceParams)//crlf////tab////tab////tab////tab//driverSetSubtotal(dSourceDriver\\comma\\\\quot\\sum\\quot\\\\comma\\\\quot\\Date~~pipe~~CategoryID\\quot\\)//crlf////tab////tab////tab////tab//driverSetDetails(dSourceDriver\\comma\\false)//crlf////tab////tab////tab////tab//sMergeID=\\quot\\37FBlPtw\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sSourceParams=sSourceParams+\\quot\\~~pipe~~ControllablesRecordType=45\\quot\\//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_Sales_Mix_Consolidated\\comma\\dSourceDriver\\comma\\READ\\comma\\true\\comma\\sSourceParams)//crlf////tab////tab////tab////tab//sMergeID=\\quot\\BAeOHU4Q\\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//driverSetFilter(dSourceDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\updateControllablesMenuItemSales records in consolidated driver=\\quot\\+driverGetRecordCount(dSourceDriver))//crlf////tab////tab////tab////crlf////tab////tab////tab////params for destination driver//crlf////tab////tab////tab//sDestParams=\\quot\\ControllablesFieldID=__ControllablesFieldID__~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~NoDepend=true\\quot\\//crlf////crlf////tab////tab////tab//sParams=\\quot\\MergeID=\\quot\\+sMergeID+\\quot\\//amp//SourceDriver=\\quot\\+dSourceDriver+\\quot\\//amp//DestDriverParams=\\quot\\+sDestParams//crlf////tab////tab////tab////crlf////tab////tab////tab//execAgentAction(executeMergeDefinition\\comma\\sParams)//crlf////tab////tab////tab//driverClose(dSourceDriver)//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateControllablesLaborDetail//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateControllablesLaborDetail\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates a POS_Generic_Controllables_Job_Totals driver which contains daily labor //crlf////tab////tab//data for a period of time.  This action is used to update the POS_Generic_Controllables_Job_Totals //crlf////tab////tab//dependent driver.  The driver is used to create a controllables report.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Starting date//crlf////tab////tab//DateTo - Ending date//crlf////tab////tab//ControllablesFieldID - Field ID used to get the amount for the controllables report//crlf////tab////tab//Details - If true\\comma\\ employee records will be included.  If false\\comma\\ only job code totals will be included//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateControllablesLaborDetail\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateFrom//crlf////tab////tab////tab//if(undefined(\\quot\\__DateFrom__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateFrom\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateTo//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing ControllablesFieldID//crlf////tab////tab////tab//if(undefined(\\quot\\__ControllablesFieldID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing ControllablesFieldID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////params for source driver//crlf////tab////tab////tab//sSourceParams=\\quot\\StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\//crlf////tab////tab////tab//sSourceParams=sSourceParams+\\quot\\~~pipe~~ControllablesFieldID=__ControllablesFieldID__\\quot\\//crlf////crlf////tab////tab////tab////open source driver and filter to job code totals//crlf////tab////tab////tab//dSourceDriver=getSalt(4)//crlf////tab////tab////tab//driverOpen(POS_Generic_Labor_Detail_Consolidated\\comma\\dSourceDriver\\comma\\READ\\comma\\true\\comma\\sSourceParams)//crlf////tab////tab////tab//if(boolean(\\quot\\__details__\\quot\\)=false)//crlf////tab////tab////tab////tab//driverSetSubtotal(dSourceDriver\\comma\\\\quot\\Sum\\quot\\\\comma\\\\quot\\AppJobCode~~pipe~~Controllables_Date\\quot\\)//crlf////tab////tab////tab////tab//driverSetDetails(dSourceDriver\\comma\\false)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//driverSetFilter(dSourceDriver\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////crlf////tab////tab////tab////params for destination driver//crlf////tab////tab////tab//sDestParams=\\quot\\ControllablesFieldID=__ControllablesFieldID__~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~NoDepend=true\\quot\\//crlf////crlf////tab////tab////tab////sParams=\\quot\\MergeID=qHUCTsit//amp//SourceDriverParams=\\quot\\+sSourceParams+\\quot\\//amp//DestDriverParams=\\quot\\+sDestParams//crlf////tab////tab////tab//sParams=\\quot\\MergeID=qHUCTsit//amp//SourceDriver=\\quot\\+dSourceDriver+\\quot\\//amp//DestDriverParams=\\quot\\+sDestParams//crlf////tab////tab////tab////crlf////tab////tab////tab//execAgentAction(executeMergeDefinition\\comma\\sParams)//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//updateControllablesDailySales//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateControllablesDailySales\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates a POS_Generic_Controllables_Daily_Sales driver which contains daily sales //crlf////tab////tab//data for a period of time.  This action is used to update the POS_Generic_Controllables_Daily_Sales //crlf////tab////tab//dependent driver.  The driver is used to create a controllables report.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//DateFrom - Starting date//crlf////tab////tab//DateTo - Ending date//crlf////tab////tab//ControllablesFieldID - Field ID used to get the amount for the controllables report//crlf////crlf////tab////tab//no longer required://crlf////tab////tab////tab//ControllablesFrom - Starting date//crlf////tab////tab////tab//ControllablesSortOrder - Sort order from table of drivers in controllables report setup//crlf////tab////tab////tab//Period - Period type (1-daily\\comma\\ 2-weekly\\comma\\ 3-monthly)//crlf////tab////tab////tab//NumberOfPeriods - Number of periods in the report//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateControllablesDailySales\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateFrom//crlf////tab////tab////tab//if(undefined(\\quot\\__DateFrom__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateFrom\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateTo//crlf////tab////tab////tab//if(undefined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////params for source driver//crlf////tab////tab////tab//sSourceParams=\\quot\\StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__\\quot\\//crlf////tab////tab////tab//sSourceParams=sSourceParams+\\quot\\~~pipe~~ControllablesFieldID=__ControllablesFieldID__\\quot\\//crlf////crlf////tab////tab////tab////params for destination driver//crlf////tab////tab////tab//sDestParams=\\quot\\ControllablesFieldID=__ControllablesFieldID__~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~NoDepend=true\\quot\\//crlf////crlf////tab////tab////tab//sParams=\\quot\\MergeID=giw1vQK1//amp//SourceDriverParams=\\quot\\+sSourceParams+\\quot\\//amp//DestDriverParams=\\quot\\+sDestParams//crlf////tab////tab////tab//execAgentAction(executeMergeDefinition\\comma\\sParams)//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=960179|X=300|Y=123|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="Backup Aspect7 Files" group="" category="Backup" description="Contains action used to backup selected store files." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Backup Aspect7 Files" modified="04-27-2024 23:23:33" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=02-07-2018 03:15:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=1 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(not(isServer())) and (value(getToken(AspectCoreVersion))\\gt\\=7.643) and ((true) or ((len(getToken(\\quote\\POSInterface_StoreID\\quote\\))\\gt\\0) and (getToken(\\quote\\POSInterface_StoreID\\quote\\)\\lt\\\\gt\\\\quote\\Undefined\\quote\\)))" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=67|toolboxy=298|aspectfuncx=220|aspectfuncy=100|aspectfuncw=964|aspectfunch=711|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Backup Aspect7 Files.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'399619')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'568892')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=399619|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Backup Aspect7 Files.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Backup Aspect7 Files.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Backup Aspect7 Files\\comma\\backupStoreFiles\\comma\\action_list\\comma\\Action=backupStoreFiles\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//backupStoreFiles//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\backupStoreFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Backs up selected store files including .bin files and dated bin files for //crlf////tab////tab//the last 7 days//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - StoreID//crlf////tab////tab//ftp - Optional.  If true\\comma\\ the backup will be uploaded to earthlink//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\backupStoreFiles\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the store directory//crlf////tab////tab////tab//sStoreDir=getStoreDir(\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////tab////if its a store\\comma\\ add files in the store directory. Added office computers //crlf////tab////tab////tab////Feb 2024 to back up email reports and custom views using salesexport//crlf////tab////tab////tab//if((len(StoreID)>0) and (StoreID<>\\quot\\Undefined\\quot\\))//crlf////tab////tab////tab////tab////make the backup directory if it doesn\\apos\\t exist//crlf////tab////tab////tab////tab//sBackupDir=sStoreDir\\plus\\\\quot\\backup\\quot\\//crlf////tab////tab////tab////tab//if(not(fileExists(sBackupDir)))//crlf////tab////tab////tab////tab////tab//fileMakeDirectory(sBackupDir)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//if(not(fileIsDirectory(sBackupDir)))//crlf////tab////tab////tab////tab////tab////tab//return(\\quot\\Error: Cannot create backup directory because a file with that name already exists\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////get a list of all .bin files without dates in the name//crlf////tab////tab////tab////tab//arFiles=getMatchingFiles(sStoreDir\\plus\\\\quot\\*.bin\\quot\\\\comma\\false\\comma\\false\\comma\\0\\comma\\\\quot\\*-*\\quot\\)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////get a list of all dated .bin files for the last 7 days//crlf////tab////tab////tab////tab//dtNow=date(now()\\comma\\true)//crlf////tab////tab////tab////tab//dt=incrementTime(dtNow\\comma\\-7)//crlf////tab////tab////tab////tab//while(dt<dtNow)//crlf////tab////tab////tab////tab////tab//a=getMatchingFiles(sStoreDir\\plus\\\\quot\\*.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\\\comma\\false\\comma\\false\\comma\\0\\comma\\\\quot\\inventory_summary*\\quot\\\\plus\\char(0x3B)\\plus\\\\quot\\usage*\\quot\\)//crlf////tab////tab////tab////tab////tab//if(len(a)>0)//crlf////tab////tab////tab////tab////tab////tab//arFiles=addElement(arFiles\\comma\\a\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////tab////add miscellaneous fies//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\localprefs.csv\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice~~backslash~~preferences.txt\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice~~backslash~~Aspect6IntegerID.bin\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice~~backslash~~store_list.dta\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice~~backslash~~enterprise_names.bin\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice~~backslash~~daily_sales_export_external_struct.bin\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice~~backslash~~drivers.csv\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice~~backslash~~local_widgets.html\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice~~backslash~~time_period.dta\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Greenlight~~backslash~~email_task.bin\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Greenlight~~backslash~~email_task_content.bin\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//if(fileExists(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\~~backslash~~Aspect_Support~~backslash~~customer_checklist.bin\\quot\\))//crlf////tab////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_Support~~backslash~~customer_checklist.bin\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////add files for the local package//crlf////tab////tab////tab//arLocalPackageFiles=getMatchingFiles(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\packages~~backslash~~local~~backslash~~supporting_files~~backslash~~*.bin\\quot\\\\comma\\false\\comma\\false\\comma\\0\\comma\\\\quot\\*-*\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\arLocalPackageFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab////add file sets//crlf////tab////tab////tab//arFilesets=getMatchingFiles(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\fileset~~backslash~~*.bin\\quot\\\\comma\\false\\comma\\false\\comma\\0\\comma\\\\quot\\*-*\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\arFilesets\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab////micros credentials//crlf////tab////tab////tab//sMicrosCredFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice~~backslash~~Micros3700Cred.dta\\quot\\//crlf////tab////tab////tab//if(fileExists(sMicrosCredFilename))//crlf////tab////tab////tab////tab//arFiles=addElement(arFiles\\comma\\sMicrosCredFilename\\comma\\\\quot\\~~pipe~~\\quot\\)//tab////tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get aws credentials//crlf////tab////tab////tab//sAwsCredFilename=addDirSlash(getProperty(\\quot\\user.home\\quot\\))\\plus\\\\quot\\.aws/credentials\\quot\\//crlf////tab////tab////tab//if(fileExists(sAwsCredFilename))//crlf////tab////tab////tab////tab//sAws2=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Aspect_BackOffice~~backslash~~awsbackup.$$$\\quot\\//crlf////tab////tab////tab////tab//fileCopy(sAwsCredFilename\\comma\\sAws2)//crlf////tab////tab////tab////tab//arFiles=addElement(arFiles\\comma\\sAws2\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////remove any files with a pound or double underscore in the filename.  These are garbage.//crlf////tab////tab////tab////Also change the delimiter to a semicolon//crlf////tab////tab////tab//a=arFiles//crlf////tab////tab////tab//arFiles=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(a\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(a\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//if((pos(\\quot\\\\pound\\\\quot\\\\comma\\s)<0) and (pos(\\quot\\__\\quot\\\\comma\\s)<0) and (fileSize(s)>0))//crlf////tab////tab////tab////tab////tab//arFiles=addElement(arFiles\\comma\\s\\comma\\char(0x3B))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//cFiles=getElementCount(arFiles\\comma\\char(0x3B))//crlf////crlf////tab////tab////tab////get the name of the zip archive//crlf////tab////tab////tab//sArchiveFilename=sStoreDir\\plus\\\\quot\\backup~~backslash~~backup_\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\plus\\\\quot\\_\\quot\\\\plus\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy_HHmm\\quot\\)\\plus\\\\quot\\.zip\\quot\\//crlf////crlf////tab////tab////tab////zip the files//crlf////tab////tab////tab//appendToLog(\\quot\\Creating archive: \\quot\\\\plus\\sArchiveFilename)//crlf////tab////tab////tab//zipFiles(sArchiveFilename\\comma\\arFiles\\comma\\false\\comma\\false\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Creating archive: \\quot\\\\plus\\sArchiveFilename\\plus\\\\quot\\ complete\\quot\\)//crlf////crlf////tab////tab////tab////verify the archive//crlf////tab////tab////tab//sTempFilename=getToken(\\quot\\Temporary_Files\\quot\\)\\plus\\getSalt(4)\\plus\\\\quot\\.$$$\\quot\\//crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<cFiles)//crlf////tab////tab////tab////tab//sOriginalFilename=getElement(arFiles\\comma\\n\\comma\\char(0x3B))//crlf////tab////tab////tab////tab//sFilename=fileName(sOriginalFilename)\\plus\\fileExt(sOriginalFilename)//crlf////tab////tab////tab////tab//fileCopy(sArchiveFilename\\plus\\\\quot\\/\\quot\\\\plus\\sFilename\\comma\\sTempFilename)//crlf////tab////tab////tab////tab//s=fileCompare(sOriginalFilename\\comma\\sTempFilename)//crlf////tab////tab////tab////tab//sResult=addElement(sResult\\comma\\sOriginalFilename\\plus\\\\quot\\=\\quot\\\\plus\\s\\comma\\char(10))//crlf////tab////tab////tab////tab//if(not(startsWith(s\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Could not verify zip content for: \\quot\\\\plus\\sOriginalFilename)//crlf////tab////tab////tab////tab////tab//cError\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////ftp the file.  Start with error=true and set it to false once the file is transferred//crlf////tab////tab////tab//sFtpFilename=\\quot\\aspect7_\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\plus\\\\quot\\_\\quot\\\\plus\\dayOfWeek(now())\\plus\\\\quot\\.zip\\quot\\//crlf////tab////tab////tab//if(boolean(\\quot\\__ftp__\\quot\\))//crlf////tab////tab////tab////tab//bFtpError=true//crlf////tab////tab////tab////tab//sFtpResult=ftpConnect(ftp\\comma\\\\quot\\ftp-dom.earthlink.net\\quot\\\\comma\\\\quot\\aspect-software.net\\quot\\\\comma\\\\quot\\d897kje8\\quot\\\\comma\\ true)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\ftp connect: \\quot\\\\plus\\sFtpResult)//crlf////tab////tab////tab////tab//if(startsWith(sFtpResult\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab//sFtpResult=ftpSetMode(ftp\\comma\\\\quot\\binary\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\ftp set binary: \\quot\\\\plus\\sFtpResult)//crlf////tab////tab////tab////tab////tab//if(boolean(sFtpResult))//crlf////tab////tab////tab////tab////tab////tab//sFtpResult=ftpChangeDir(ftp\\comma\\\\quot\\/data/aspect7\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\ftp chdir: \\quot\\\\plus\\sFtpResult)//crlf////tab////tab////tab////tab////tab////tab//if(startsWith(sFtpResult\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Ftp transfer started for: \\quot\\\\plus\\sFtpFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//sFtpResult=ftpStoreFile(ftp\\comma\\sArchiveFilename\\comma\\sFtpFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Ftp transfer complete for: \\quot\\\\plus\\sFtpFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\ftp send: \\quot\\\\plus\\sFtpResult)//crlf////tab////tab////tab////tab////tab////tab////tab//if(startsWith(sFtpResult\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//bFtpError=false//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if((boolean(\\quot\\__ftp__\\quot\\)) and (bFtpError))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Error: Could not ftp backup: \\quot\\\\plus\\sFtpResult)//crlf////tab////tab////tab////tab//s=\\quot\\Error: Ftp error: \\quot\\\\plus\\sFtpResult\\plus\\\\quot\\: \\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//s=if(cError=0\\comma\\\\quot\\Ok: \\quot\\\\comma\\\\quot\\Error: \\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//s=s\\plus\\\\quot\\Backed up \\quot\\\\plus\\cFiles\\plus\\\\quot\\ files to: \\quot\\\\plus\\sArchiveFilename\\plus\\\\quot\\ (\\quot\\\\plus\\fileSize(sArchiveFilename)\\plus\\\\quot\\ bytes) \\quot\\//crlf////tab////tab////tab//s=s\\plus\\\\quot\\ Errors: \\quot\\\\plus\\cError\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//if(boolean(\\quot\\__ftp__\\quot\\))//crlf////tab////tab////tab////tab//s=s\\plus\\\\quot\\Ftp transfer to \\quot\\\\plus\\sFtpFilename\\plus\\\\quot\\: \\quot\\\\plus\\sFtpResult\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//s=s\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\quote(\\quot\\hr\\quot\\\\comma\\char(0x3C)) \\plus\\ htmlTable(sResult\\comma\\char(10)\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=568892|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=430364|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=never|AgentReportTo=getToken(AspectServerHashID)|^
ID=436802|X=183|Y=984|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Backup Aspect7 Files\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Backup Aspect7 Files\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 04-26-2024 22:23:37//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Backup Aspect7 Files\\comma\\AgentAction\\comma\\430364\\comma\\0\\comma\\Get active Store ID//crlf////crlf////tab////tab////Get active Store ID//crlf////tab////tab//StoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab//appendToLog(\\quot\\Expression (getToken(\\apos\\POSInterface_StoreID\\apos\\))=\\quot\\\\plus\\left(StoreID\\comma\\128))//crlf////crlf////tab////tab////Is store ID valid//crlf////tab////tab//appendToLog(\\quot\\((true) or ((len(StoreID)\\apos\\\\plus\\char(0x3e)\\plus\\\\apos\\0) and (StoreID\\apos\\\\plus\\char(0x3c)\\plus\\\\apos\\\\apos\\\\plus\\char(0x3e)\\plus\\\\apos\\\\apos\\Undefined\\apos\\)))=\\quot\\\\plus\\((true) or ((len(StoreID)>0) and (StoreID<>\\quot\\Undefined\\quot\\))))//crlf////tab////tab//if((true) or ((len(StoreID)>0) and (StoreID<>\\quot\\Undefined\\quot\\)))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Backup Aspect7 Files\\comma\\AgentAction\\comma\\644404\\comma\\0\\comma\\Get support status//crlf////crlf////tab////tab////tab////Get support status//crlf////tab////tab////tab//SupportStatus=trim(fileGetContent(\\quot\\http://\\quot\\\\plus\\getToken(\\quot\\AspectServerIP2\\quot\\)\\plus\\\\quot\\/?Network=Aspect_Support\\amp\\ID=getAllowAccess\\amp\\CustomerID=\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)))//crlf////tab////tab////tab//appendToLog(\\quot\\Expression (trim(fileGetContent(\\apos\\http://\\apos\\\\plus\\getToken(\\apos\\AspectServerIP2\\apos\\)\\plus\\\\apos\\/?Network=Aspect_Support\\amp\\ID=getAllowAccess\\amp\\CustomerID=\\apos\\\\plus\\getToken(\\apos\\AspectHashID\\apos\\))))=\\quot\\\\plus\\left(SupportStatus\\comma\\128))//crlf////crlf////tab////tab////tab////Is support current//crlf////tab////tab////tab//appendToLog(\\quot\\((boolean(SupportStatus)) or (boolean(getSystemValue(\\apos\\DevelopmentMode\\apos\\))))=\\quot\\\\plus\\((boolean(SupportStatus)) or (boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))))//crlf////tab////tab////tab//if((boolean(SupportStatus)) or (boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\))))//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Backup Aspect7 Files\\comma\\AgentAction\\comma\\72559\\comma\\0\\comma\\Execute the backup//crlf////crlf////tab////tab////tab////tab////Execute the backup//crlf////tab////tab////tab////tab//Result=execAgentAction(\\quot\\backupStoreFiles\\quot\\\\comma\\\\quot\\StoreID=\\quot\\\\plus\\StoreID\\plus\\\\quot\\\\amp\\ftp=true\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\backupStoreFiles (\\apos\\StoreID=\\apos\\\\plus\\StoreID\\plus\\\\apos\\\\amp\\ftp=true\\apos\\)=\\quot\\\\plus\\left(Result\\comma\\128))//crlf////crlf////tab////tab////tab////tab////Success?//crlf////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(Result\\comma\\\\apos\\ok\\apos\\))=\\quot\\\\plus\\(startsWith(Result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Backup Aspect7 Files\\comma\\AgentTerminate\\comma\\436802\\comma\\0\\comma\\Ok//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Backup Aspect7 Files\\comma\\AgentTerminate\\comma\\915164\\comma\\1\\comma\\Error//crlf////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Backup Aspect7 Files\\comma\\AgentTerminate\\comma\\174806\\comma\\1\\comma\\Support is not current//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Support is not current\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Backup Aspect7 Files\\comma\\AgentTerminate\\comma\\430816\\comma\\1\\comma\\Invalid store ID//crlf////tab////tab////tab//scriptSetResult(\\quot\\Invalid StoreID: \\quot\\\\plus\\StoreID)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;04262024//amp//nbsp;222337//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Backup//amp//nbsp;Aspect7//amp//nbsp;Files\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;04-26-2024//amp//nbsp;22:23:37</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Get//amp//nbsp;active//amp//nbsp;Store//amp//nbsp;ID</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;StoreID=<span class='keyword'>getToken</span>(\\quot\\POSInterface_StoreID\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Expression//amp//nbsp;(<span class='keyword'>getToken</span>(\\apos\\POSInterface_StoreID\\apos\\))=\\quot\\\\plus\\<span class='keyword'>left</span>(StoreID\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;store//amp//nbsp;ID//amp//nbsp;valid</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\((true)//amp//nbsp;or//amp//nbsp;((<span class='keyword'>len</span>(StoreID)\\apos\\\\plus\\<span class='keyword'>char</span>(0x3e)\\plus\\\\apos\\0)//amp//nbsp;and//amp//nbsp;(StoreID\\apos\\\\plus\\<span class='keyword'>char</span>(0x3c)\\plus\\\\apos\\\\apos\\\\plus\\<span class='keyword'>char</span>(0x3e)\\plus\\\\apos\\\\apos\\Undefined\\apos\\)))=\\quot\\\\plus\\((true)//amp//nbsp;or//amp//nbsp;((<span class='keyword'>len</span>(StoreID)//amp//gt;0)//amp//nbsp;and//amp//nbsp;(StoreID//amp//lt;//amp//gt;\\quot\\Undefined\\quot\\))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(true)//amp//nbsp;or//amp//nbsp;((<span class='keyword'>len</span>(StoreID)//amp//gt;0)//amp//nbsp;and//amp//nbsp;(StoreID//amp//lt;//amp//gt;\\quot\\Undefined\\quot\\)))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Get//amp//nbsp;support//amp//nbsp;status</span><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;SupportStatus=<span class='keyword'>trim</span>(<span class='keyword'>fileGetContent</span>(\\quot\\http://\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectServerIP2\\quot\\)\\plus\\\\quot\\/?Network=Aspect_Support\\amp\\ID=getAllowAccess\\amp\\CustomerID=\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)))</span><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Expression//amp//nbsp;(<span class='keyword'>trim</span>(<span class='keyword'>fileGetContent</span>(\\apos\\http://\\apos\\\\plus\\<span class='keyword'>getToken</span>(\\apos\\AspectServerIP2\\apos\\)\\plus\\\\apos\\/?Network=Aspect_Support\\amp\\ID=getAllowAccess\\amp\\CustomerID=\\apos\\\\plus\\<span class='keyword'>getToken</span>(\\apos\\AspectHashID\\apos\\))))=\\quot\\\\plus\\<span class='keyword'>left</span>(SupportStatus\\comma\\128))</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;support//amp//nbsp;current</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\((<span class='keyword'>boolean</span>(SupportStatus))//amp//nbsp;or//amp//nbsp;(<span class='keyword'>boolean</span>(<span class='keyword'>getSystemValue</span>(\\apos\\DevelopmentMode\\apos\\))))=\\quot\\\\plus\\((<span class='keyword'>boolean</span>(SupportStatus))//amp//nbsp;or//amp//nbsp;(<span class='keyword'>boolean</span>(<span class='keyword'>getSystemValue</span>(\\quot\\DevelopmentMode\\quot\\)))))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>boolean</span>(SupportStatus))//amp//nbsp;or//amp//nbsp;(<span class='keyword'>boolean</span>(<span class='keyword'>getSystemValue</span>(\\quot\\DevelopmentMode\\quot\\))))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Execute//amp//nbsp;the//amp//nbsp;backup</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\backupStoreFiles\\quot\\\\comma\\\\quot\\StoreID=\\quot\\\\plus\\StoreID\\plus\\\\quot\\\\amp\\ftp=true\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\backupStoreFiles//amp//nbsp;(\\apos\\StoreID=\\apos\\\\plus\\StoreID\\plus\\\\apos\\\\amp\\ftp=true\\apos\\)=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(Result\\comma\\\\apos\\ok\\apos\\))=\\quot\\\\plus\\(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Support//amp//nbsp;is//amp//nbsp;not//amp//nbsp;current\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Invalid//amp//nbsp;StoreID://amp//nbsp;\\quot\\\\plus\\StoreID)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h1>Test Under Support</h1>//crlf//<br>//crlf//<include type:expression; expression:htmlConstant(\\quot\\url\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\http://192.169.215.186:4446/?Network=Aspect_Support//amp//ID=getAllowAccess//amp//CustomerID=\\quot\\+getToken(\\quot\\AspectHashID\\quot\\))>//crlf////crlf//URL is __url__//crlf//<br><br>//crlf//<!!include type:script; commands:\\quot\\//crlf////tab//s=fileGetContent(\\quot\\__url__\\quot\\)//crlf////tab//return(\\quot\\Is Under Support=\\quot\\+s)//crlf//\\quot\\>//crlf//^
ID=AgentChart|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>04262024 222337</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart430364\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\126\\quot\\ style=\\quot\\width: 120px; height: 126px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Backup Aspect7 Files</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: never<br>Report To: getToken(AspectServerHashID)<br>Name Params: </div></div><div id=\\quot\\chart436802\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 943px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart430364\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart965586\\quot\\ style=\\quot\\position: absolute; top: 193px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\82\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Get active Store ID<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td>StoreID</td></tr></tbody></table></div></div><div id=\\quot\\chart965586\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart644404\\quot\\ agentchildnonode=\\quot\\chart430816\\quot\\ style=\\quot\\position: absolute; top: 327px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is store ID valid<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart430816\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 327px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Invalid store ID<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart72559\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart434753\\quot\\ style=\\quot\\position: absolute; top: 693px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\82\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Execute the backup<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>backupStoreFiles<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart434753\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart436802\\quot\\ agentchildnonode=\\quot\\chart915164\\quot\\ style=\\quot\\position: absolute; top: 827px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart915164\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 827px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart976280\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart72559\\quot\\ agentchildnonode=\\quot\\chart174806\\quot\\ style=\\quot\\position: absolute; top: 577px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is support current<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart174806\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 577px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Support is not current<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart644404\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart976280\\quot\\ style=\\quot\\position: absolute; top: 443px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\82\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Get support status<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td>SupportStatus</td></tr></tbody></table></div></div>^
ID=430364|X=183|Y=234|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=965586|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=getToken(\\quot\\POSInterface_StoreID\\quot\\)|AgentNodeExpression=|AgentNodeActionReturnValue=StoreID|AgentNodeComment=Get active Store ID|AgentNodeTermType=|^
ID=965586|X=183|Y=368|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=644404|AgentChildNoNode=430816|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(true) or ((len(StoreID)>0) and (StoreID<>~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Undefined~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~))|AgentNodeActionReturnValue=|AgentNodeComment=Is store ID valid|AgentNodeTermType=|^
ID=430816|X=373|Y=368|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Invalid StoreID: ~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//plus//StoreID|AgentNodeActionReturnValue=|AgentNodeComment=Invalid store ID|AgentNodeTermType=1|^
ID=72559|X=183|Y=734|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=434753|AgentChildNoNode=|AgentSensor=|AgentAction=backupStoreFiles|AgentNodeNotes=|AgentNodeParams=\\quot\\StoreID~~backslash~~equals~~backslash~~\\quot\\//plus//StoreID//plus//\\quot\\\\amp\\ftp~~backslash~~equals~~backslash~~true\\quot\\|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Execute the backup|AgentNodeTermType=|^
ID=434753|X=183|Y=868|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=436802|AgentChildNoNode=915164|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=|^
ID=915164|X=373|Y=868|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=976280|X=183|Y=618|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=72559|AgentChildNoNode=174806|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(boolean(SupportStatus)) or (boolean(getSystemValue(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~DevelopmentMode~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)))|AgentNodeActionReturnValue=Result|AgentNodeComment=Is support current|AgentNodeTermType=|^
ID=174806|X=373|Y=618|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Support is not current~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Support is not current|AgentNodeTermType=1|^
ID=644404|X=183|Y=484|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=976280|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=trim(fileGetContent(\\quot\\http://\\quot\\//plus//getToken(\\quot\\AspectServerIP2\\quot\\)//plus//\\quot\\/?Network~~backslash~~equals~~backslash~~Aspect_Support\\amp\\ID~~backslash~~equals~~backslash~~getAllowAccess\\amp\\CustomerID~~backslash~~equals~~backslash~~\\quot\\//plus//getToken(\\quot\\AspectHashID\\quot\\)))|AgentNodeExpression=|AgentNodeActionReturnValue=SupportStatus|AgentNodeComment=Get support status|AgentNodeTermType=|
</widget><widget name="Download Emagine POS Files" group="POS Interface" category="Emagine" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Download Emagine Pos Files" modified="09-06-2023 13:46:47" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=08-30-2018 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=1 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\emagine\\quote\\) and (hour(now())\\gt\\5) and (isPackageLoaded(\\quote\\POS_Emagine\\quote\\)) and (not(fileExists(getToken(\\quote\\homedir\\quote\\)+\\quote\\posdata/\\quote\\+formatDate(LastBusinessDay(),\\quote\\yyyyMMdd\\quote\\)+\\quote\\/dim_payment.tsv\\quote\\)))" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=33|toolboxy=107|aspectfuncx=178|aspectfuncy=100|aspectfuncw=989|aspectfunch=627|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=Download From AWS.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=740|H=660|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'254846')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'317496')\\quot\\>Notes</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'401234')\\quot\\>Testing</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=254846|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Download From AWS.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Download Emagine POS Files.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Download Emagine POS Files\\comma\\confirmEmagineAWSExtensionsExist\\comma\\action_list\\comma\\Action=confirmEmagineAWSExtensionsExist\\comma\\private//crlf////tab//Download Emagine POS Files\\comma\\downloadAllDaysFromEmagineAws\\comma\\action_list\\comma\\Action=downloadAllDaysFromEmagineAws\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//confirmEmagineAWSExtensionsExist//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\confirmEmagineAWSExtensionsExist\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Checks for libraries required for AWS and downloadsany that are missing//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab////tab////get array of required libraries//crlf////tab////tab////tab//arExtensions=getToken(\\quot\\POS_Emagine_aws_libraries\\quot\\)//crlf////tab////tab////tab//arExtensions=replaceSubstring(arExtensions\\comma\\\\quot\\joda-time-2.2.jar\\quot\\\\comma\\\\quot\\joda-time-2.9.jar\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\arExtensions=\\quot\\\\plus\\arExtensions)//crlf////crlf////tab////tab////tab////get java home directory and extensions directory//crlf////tab////tab////tab//sJavaHome=getProperty(\\quot\\java.home\\quot\\)//crlf////tab////tab////tab//sExtDir=addDirSlash(sJavaHome)\\plus\\\\quot\\lib/ext/\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Library directory: \\quot\\\\plus\\sExtDir)//crlf////crlf////tab////tab////tab//cFile=getElementCount(arExtensions\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//nFile=0//crlf////tab////tab////tab//while(nFile<cFile)//crlf////tab////tab////tab////tab//sFilename=getElement(arExtensions\\comma\\nFile\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sLocalFilename=sExtDir\\plus\\sFilename//crlf////tab////tab////tab////tab//if(not(fileExists(sLocalFilename)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Downloading library: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab//sFtpFilename=\\quot\\http://www.aspect-software.net/Aspect7/libraries/aws/\\quot\\\\plus\\sFilename//crlf////tab////tab////tab////tab////tab//s=fileGetContent(sFtpFilename)//crlf////tab////tab////tab////tab////tab//if(len(s)=0)//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(appendToLog(\\quot\\Error: Could not download library: \\quot\\\\plus\\sFilename))//crlf////tab////tab////tab////tab////tab////tab//exit//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//fileWriteContent(sLocalFilename\\comma\\s)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Downloaded library: \\quot\\\\plus\\sLocalFilename)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Library already exists: \\quot\\\\plus\\sLocalFilename)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nFile=nFile\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////delete old joda-time library if new one exists//crlf////tab////tab////tab//sOldJodaTime=sExtDir\\plus\\\\quot\\joda-time-2.2.jar\\quot\\//crlf////tab////tab////tab//sNewJodaTime=sExtDir\\plus\\\\quot\\joda-time-2.9.jar\\quot\\//crlf////tab////tab////tab//appendToLog(sNewJodaTime\\plus\\\\quot\\ exists: \\quot\\\\plus\\fileExists(sNewJodaTime))//crlf////tab////tab////tab//if(fileExists(sNewJodaTime))//crlf////tab////tab////tab////tab//appendToLog(sOldJodaTime\\plus\\\\quot\\ exists: \\quot\\\\plus\\fileExists(sOldJodaTime))//crlf////tab////tab////tab////tab//if(fileExists(sOldJodaTime))//crlf////tab////tab////tab////tab////tab//fileDelete(sOldJodaTime)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Confirm delete: Exists: \\quot\\\\plus\\fileExists(sOldJodaTime))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//scriptSetResult(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//downloadAllDaysFromEmagineAws//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\downloadAllDaysFromEmagineAws\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Downloads Emagine exports from AWS for the last 14 days.  There must be a single Asoect7 //crlf////tab////tab//store with Emagine as the POS and pos import enabled.  Data that has already been //crlf////tab////tab//downloaded will not be downloaded again.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\downloadAllDaysFromEmagineAws\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\downloadAllDaysFromEmagineAws started\\quot\\)//crlf////crlf////tab////tab////tab////open Aspect7 stores and filter to Emagine stores//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Store\\comma\\drvStore\\comma\\READ)//crlf////tab////tab////tab//driverSetFilter(drvStore\\comma\\\\quot\\(POS_Type=\\quot\\\\plus\\quote(\\quot\\Emagine\\quot\\)\\plus\\\\quot\\) and (Enable_POS_Import)\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//cStore=driverGetRecordCount(drvStore)//crlf////crlf////tab////tab////tab////abort if there are no stores defined using Emagine POS//crlf////tab////tab////tab//if(cStore=0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: No stores defined using Emagine POS with import enabled\\quot\\)//crlf////tab////tab////tab////tab//driverClose(drvStore)//crlf////crlf////tab////tab////tab////tab////execute script to disable unused POS packages//crlf////tab////tab////tab////tab//scriptExec(Aspect_BackOffice_enablePOSPackages\\comma\\false)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if there is more than one store defined using Emagine POS//crlf////tab////tab////tab//if(cStore>1)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Multiple stores defined and importing from Emagine POS\\quot\\)//crlf////tab////tab////tab////tab//driverClose(drvStore)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////set AWS credentials.  Back them up if they are different//crlf////tab////tab////tab//sAspectKey=\\quot\\AKIAJHKWKHBIFBQT2OFQ\\quot\\//crlf////tab////tab////tab//sAWSCred=awsGetCredentials()//crlf////tab////tab////tab//appendToLog(\\quot\\Existing AWSCred=\\quot\\\\plus\\sAWSCred)//crlf////tab////tab////tab//if(getElement(sAWSCred\\comma\\0)<>sAspectKey)//crlf////tab////tab////tab////tab////backup the file//crlf////tab////tab////tab////tab//sAWSDir=addDirSlash(getProperty(\\quot\\user.home\\quot\\))\\plus\\\\quot\\.aws\\\quot\\//crlf////tab////tab////tab////tab//sCredFile1=sAWSDir\\plus\\\\quot\\credentials\\quot\\//crlf////tab////tab////tab////tab//sCredFile2=sAWSDir\\plus\\\\quot\\credentials.bak\\quot\\//crlf////tab////tab////tab////tab//if(not(fileExists(sCredFile2)))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Backed up \\quot\\\\plus\\sCredFile1)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\ to \\quot\\\\plus\\sCredFile2)//crlf////tab////tab////tab////tab////tab//fileCopy(sCredFile1\\comma\\sCredFile2)//crlf////tab////tab////tab////tab//endif//crlf////tab//    //tab//s=awsSetCredentials(sAspectKey\\comma\\\\quot\\z1ydu\\plus\\1ZN7MWvhhE3LpEtlDsmAk/NsI7Vx2ikaeg\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Set AWS credentials: \\quot\\\\plus\\s)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Credentials are good\\quot\\)//tab////tab////tab////tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get set of dates to check//crlf////tab////tab////tab//DaysToImport=14//crlf////tab////tab////tab//dtLastBusiness=LastBusinessDay()//crlf////tab////tab////tab//arDate=getSetTime(incrementTime(dtLastBusiness\\comma\\-(DaysToImport-1))\\comma\\dtLastBusiness\\comma\\1440*60\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////crlf////tab////tab////tab//cDownload=0//crlf////tab////tab////tab//cError=0//crlf////crlf////tab////tab////tab//nStore=0//crlf////tab////tab////tab//while(nStore<cStore)//crlf////tab////tab////tab////tab//sStoreName=driverGetField(drvStore\\comma\\\\quot\\Store_Name\\quot\\\\comma\\nStore)//crlf////crlf////tab////tab////tab////tab////the POS directory is the directory name on the Amazon server\\comma\\ not including//crlf////tab////tab////tab////tab////the date.  E.g. restaurant-exports/companyname/nnn//crlf////tab////tab////tab////tab//sAWSPrefix=trim(driverGetField(drvStore\\comma\\\\quot\\POS_Directory\\quot\\\\comma\\nStore))//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//if(len(sAWSPrefix)>0)//crlf////crlf////tab////tab////tab////tab////tab////get posdata directory//crlf////tab////tab////tab////tab////tab//sExportDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata/emagine/\\quot\\//crlf////crlf////tab////tab////tab////tab////tab//cDate=getElementCount(arDate)//crlf////tab////tab////tab////tab////tab//nDate=0//crlf////tab////tab////tab////tab////tab//while(nDate<cDate)//crlf////tab////tab////tab////tab////tab////tab//sDate=getElement(arDate\\comma\\nDate)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Checking for files in \\quot\\\\plus\\sExportDir\\plus\\sDate)//crlf////crlf////tab////tab////tab////tab////tab////tab//sZipFilename=sAWSPrefix\\plus\\\\quot\\-\\quot\\\\plus\\sDate\\plus\\\\quot\\-\\quot\\\\plus\\sDate\\plus\\\\quot\\.zip\\quot\\//crlf////tab////tab////tab////tab////tab////tab//sLocalFilename=sExportDir\\plus\\sDate\\plus\\\\quot\\/\\quot\\\\plus\\sZipFilename//crlf////crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\sZipFilename=\\quot\\\\plus\\sZipFilename)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\sLocalFilename=\\quot\\\\plus\\sLocalFilename)//crlf////crlf////tab////tab////tab////tab////tab////tab////download the file if it doesn\\apos\\t exist//crlf////tab////tab////tab////tab////tab////tab//if((not(fileExists(sLocalFilename))) or (fileSize(sLocalFilename)=0))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Downloading \\quot\\\\plus\\sLocalFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//sKey=sAWSPrefix\\plus\\\\quot\\/\\quot\\\\plus\\sZipFilename//crlf////tab////tab////tab////tab////tab////tab////tab//s=awsDownloadObject(\\quot\\emaginepos-warehouse-export\\quot\\\\comma\\sKey\\comma\\sLocalFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Download: \\quot\\\\plus\\sZipFilename\\plus\\\\quot\\: \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab////tab////tab////tab//if(fileExists(sLocalFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//cDownload\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Could not download: \\quot\\\\plus\\sLocalFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////unzip the file if it exists//crlf////tab////tab////tab////tab////tab////tab//if(fileExists(sLocalFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//arFile=getZipContents(sLocalFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//cFile=getElementCount(arFile)//crlf////tab////tab////tab////tab////tab////tab////tab//nFile=0//crlf////tab////tab////tab////tab////tab////tab////tab//while(nFile<cFile)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sFilename=getElement(arFile\\comma\\nFile)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sDest=sExportDir\\plus\\\\quot\\/\\quot\\\\plus\\sDate\\plus\\\\quot\\/\\quot\\\\plus\\fileName(sFilename)\\plus\\fileExt(sFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(not(fileExists(sDest)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sSource=sLocalFilename\\plus\\\\quot\\/\\quot\\\\plus\\sFilename//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Copy \\quot\\\\plus\\sSource\\plus\\\\quot\\ to \\quot\\\\plus\\sDest)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//fileCopy(sSource\\comma\\sDest)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//nFile\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////crlf////tab////tab////tab////tab////tab////tab////tab////write the processed.txt file//crlf////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sExportDir\\plus\\\\quot\\/\\quot\\\\plus\\sDate\\plus\\\\quot\\/processed.txt\\quot\\\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//cError\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab//nDate=nDate\\plus\\1//crlf////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sResult=sResult\\plus\\appendToLog(\\quot\\Error: Store: \\quot\\\\plus\\sStoreName\\plus\\\\quot\\ Missing POS directory for \\quot\\\\plus\\sStoreName)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nStore=nStore\\plus\\1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(cError=0)//crlf////tab////tab////tab////tab//sResult=\\quot\\Ok: Downloaded:\\quot\\\\plus\\cDownload\\plus\\\\quot\\ Error:\\quot\\\\plus\\cError//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=\\quot\\Error: Downloaded:\\quot\\\\plus\\cDownload\\plus\\\\quot\\ Error:\\quot\\\\plus\\cError//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverClose(drvStore)//crlf////tab////tab////tab//return(sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=317496|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h1>AWS Command-line Interface</h1>//crlf//<ul>//crlf////tab//<li>Download AWS command-line interface from http://aws.amazon.com/cli/</li>//crlf////tab//<li>Run \\quot\\AWS Configure\\quot\\ to set the credentials (key / secret key)//crlf////tab//<li>A file named \\quot\\credentials\\quot\\ is created in the [users/user].aws directory containing:<br>//crlf////tab////tab////tab//<code>//crlf////tab////tab////tab////tab//[default]<br>//crlf////tab////tab////tab////tab//aws_access_key_id=AKIAI2VKVBPH2IFI3HHQ<br>//crlf////tab////tab////tab////tab//aws_secret_access_key=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<br>//crlf////tab////tab////tab//</code>//crlf////tab//</li>//crlf////tab//<li>A file named \\quot\\config\\quot\\ is also created in the [users/user].sws directory containing:<br>//crlf////tab////tab////tab//<code>//crlf////tab////tab////tab////tab//[default]<br>//crlf////tab////tab////tab//</code>//crlf////tab//</li>//crlf//</ul>//crlf////crlf//<p>The aws credentials can also be set without prompting using these commands:</p>//crlf//<code>//crlf////tab//aws configure set aws_access_key_id AKIAJAPIMO444HODUJWA<br>//crlf////tab//aws configure set aws_secret_access_key 8DPla04Dn++tMZkPEu2zTxSF/FyNYOqizjtSWR5r<br>//crlf//</code>//crlf////crlf//<h2>Command-line examples using aws.exe</h2>//crlf//<hr>//crlf//<div style=\\quot\\margin-left:20px\\quot\\>//crlf////tab//<code>//crlf////tab////tab//C:\Program Files\Amazon\AWSCLI>aws s3 ls s3://restaurant-exports/KMcCutcheon/386/20141222<br>//crlf////tab////tab//<br>//tab////crlf////tab////tab//PRE 20141222/<br>//crlf////tab////tab//<br>//tab////crlf////tab////tab//C:\Program Files\Amazon\AWSCLI>aws s3 ls s3://restaurant-exports/KMcCutcheon/386/20141222/<br>//crlf////tab////tab//<br>//tab////crlf////tab////tab//2014-12-23 02:27:00       6951 AllItemsReport.csv<br>//crlf////tab////tab//2014-12-23 02:27:00         85 CashEntries.csv<br>//crlf////tab////tab//2014-12-23 02:27:00       1175 CheckDetails.csv<br>//crlf////tab////tab//2014-12-23 02:26:59       5538 ItemSelectionDetails.csv<br>//crlf////tab////tab//2014-12-23 02:27:00      10934 ModifiersSelectionDetails.csv<br>//crlf////tab////tab//2014-12-23 02:27:00       1127 OrderDetails.csv<br>//crlf////tab////tab//2014-12-23 02:26:59       1259 PaymentDetails.csv<br>//crlf////tab////tab//2014-12-23 02:26:59        420 TimeEntries.csv<br>//crlf////tab//</code>//crlf//</div>//crlf//<hr>//crlf//<br>//crlf////crlf//<h1>Credentials</h1>//crlf//KeithM<br>//crlf//Access Key ID: AKIAI2VKVBPH2IFI3HHQ<br>//crlf//Secret Access Key: 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<br>//crlf//<br>//crlf////crlf////crlf//Amsterdam Falafel (As of 12/3/14): <br>//crlf//Username //tab//KMcCutcheon<br>//crlf//AccessKeyID//tab//AKIAJAPIMO444HODUJWA<br>//crlf//Secret Key//tab//8DPla04Dn++tMZkPEu2zTxSF/FyNYOqizjtSWR5r<br>//crlf//<br>//crlf////crlf//Amsterdam Falafel: <br>//crlf//Username KeithMcCutcheon<br>//crlf//Access Key ID AKIAJQJVKM7W2IGTUEQA<br>//crlf//Secret Key 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<br>//crlf//<br>//crlf////crlf//Emagine Tab //amp// Grill:<br>//crlf//Username KethMcCutcheon<br>//crlf//Access Key ID AKIAJAXYZMRSUZSXALUA<br>//crlf//Secret Key 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<br>//crlf//<br>//crlf//^
ID=AgentStart|X=183|Y=40|W=119|H=123|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=98152|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=always|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Download Emagine POS Files\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Emagine POS Files\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 08-30-2018 23:27:07//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////crlf////tab////tab////Is the agent already running?//crlf////tab////tab//appendToLog(\\quot\\(scriptCount(this)'+char(0x3e)+'1)=\\quot\\+(scriptCount(this)>1))//crlf////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Emagine POS Files\\comma\\AgentTerminate\\comma\\726374\\comma\\1\\comma\\Aborted because agent is alerady running//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download Emagine POS Files\\quot\\\\comma\\\\quot\\726374\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Aborted because agent is alerady running\\quot\\\\comma\\\\quot\\Error: Aborted because agent is alerady running\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Aborted because agent is alerady running\\quot\\)//crlf////tab////tab//else//crlf////crlf////tab////tab////tab////Is this computer at a store?//crlf////tab////tab////tab//appendToLog(\\quot\\(getToken('Aspect_BackOffice_Pref_Polling_Location')='store')=\\quot\\+(getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)=\\quot\\store\\quot\\))//crlf////tab////tab////tab//if(getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)=\\quot\\store\\quot\\)//crlf////crlf////tab////tab////tab////tab////Are credentials defined?//crlf////tab////tab////tab////tab//appendToLog(\\quot\\(getElementCount(awsGetCredentials())'+char(0x3e)+'1)=\\quot\\+(getElementCount(awsGetCredentials())>1))//crlf////tab////tab////tab////tab//if(getElementCount(awsGetCredentials())>1)//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Emagine POS Files\\comma\\AgentAction\\comma\\836909\\comma\\0\\comma\\Download required libraries//crlf////crlf////tab////tab////tab////tab////tab////Download required libraries//crlf////tab////tab////tab////tab////tab//Result=execAgentAction(\\quot\\confirmEmagineAWSExtensionsExist\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\confirmEmagineAWSExtensionsExist ()=\\quot\\+left(Result\\comma\\128))//crlf////crlf////tab////tab////tab////tab////tab////Have libraries been downloaded?//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Decision:0 ()=\\quot\\+left(Result\\comma\\128))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(Result\\comma\\'ok'))=\\quot\\+(startsWith(Result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Emagine POS Files\\comma\\AgentAction\\comma\\558204\\comma\\0\\comma\\Download the data\\comma\\  There must be a single store with Emagine POS selected and importing enabled.//crlf////crlf////tab////tab////tab////tab////tab////tab////Download the data\\comma\\  There must be a single store with Emagine POS selected and importing enabled.//crlf////tab////tab////tab////tab////tab////tab//Result=execAgentAction(\\quot\\downloadAllDaysFromEmagineAws\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\downloadAllDaysFromEmagineAws ()=\\quot\\+left(Result\\comma\\128))//crlf////crlf////tab////tab////tab////tab////tab////tab////Successful?//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\(startsWith(Result\\comma\\'ok'))=\\quot\\+(startsWith(Result\\comma\\\\quot\\ok\\quot\\)))//crlf////tab////tab////tab////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Emagine POS Files\\comma\\AgentTerminate\\comma\\111584\\comma\\0\\comma\\Files have been downloaded//crlf////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download Emagine POS Files\\quot\\\\comma\\\\quot\\111584\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Files have been downloaded\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Emagine POS Files\\comma\\AgentTerminate\\comma\\56017\\comma\\1\\comma\\Error//crlf////tab////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download Emagine POS Files\\quot\\\\comma\\\\quot\\56017\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Emagine POS Files\\comma\\AgentTerminate\\comma\\668251\\comma\\1\\comma\\Unable to download required libraries//crlf////tab////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download Emagine POS Files\\quot\\\\comma\\\\quot\\668251\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Unable to download required libraries\\quot\\\\comma\\\\quot\\Error: Unable to download required libraries\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Unable to download required libraries\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Emagine POS Files\\comma\\AgentTerminate\\comma\\303681\\comma\\1\\comma\\Unable to verify aws credentials//crlf////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download Emagine POS Files\\quot\\\\comma\\\\quot\\303681\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Unable to verify aws credentials\\quot\\\\comma\\\\quot\\Error: unable to confirm aws credentials\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: unable to confirm aws credentials\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Emagine POS Files\\comma\\AgentTerminate\\comma\\952425\\comma\\1\\comma\\Aborted because this computer is not running at a store//crlf////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download Emagine POS Files\\quot\\\\comma\\\\quot\\952425\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Aborted because this computer is not running at a store\\quot\\\\comma\\\\quot\\Error: Aborted because this computer is not located at a store\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Aborted because this computer is not located at a store\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;08302018//amp//nbsp;232707//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Download//amp//nbsp;Emagine//amp//nbsp;POS//amp//nbsp;Files\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;08-30-2018//amp//nbsp;23:27:07</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;already//amp//nbsp;running?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>scriptCount</span>(this)'+<span class='keyword'>char</span>(0x3e)+'1)=\\quot\\+(<span class='keyword'>scriptCount</span>(this)//amp//gt;1))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>scriptCount</span>(this)//amp//gt;1)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;Emagine//amp//nbsp;POS//amp//nbsp;Files\\quot\\\\comma\\\\quot\\726374\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Aborted//amp//nbsp;because//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;alerady//amp//nbsp;running\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Aborted//amp//nbsp;because//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;alerady//amp//nbsp;running\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Aborted//amp//nbsp;because//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;alerady//amp//nbsp;running\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;this//amp//nbsp;computer//amp//nbsp;at//amp//nbsp;a//amp//nbsp;store?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>getToken</span>('Aspect_BackOffice_Pref_Polling_Location')='store')=\\quot\\+(<span class='keyword'>getToken</span>(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)=\\quot\\store\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>getToken</span>(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)=\\quot\\store\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Are//amp//nbsp;credentials//amp//nbsp;defined?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>getElementCount</span>(<span class='keyword'>awsGetCredentials</span>())'+<span class='keyword'>char</span>(0x3e)+'1)=\\quot\\+(<span class='keyword'>getElementCount</span>(<span class='keyword'>awsGetCredentials</span>())//amp//gt;1))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>getElementCount</span>(<span class='keyword'>awsGetCredentials</span>())//amp//gt;1)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Download//amp//nbsp;required//amp//nbsp;libraries</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\confirmEmagineAWSExtensionsExist\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\confirmEmagineAWSExtensionsExist//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Have//amp//nbsp;libraries//amp//nbsp;been//amp//nbsp;downloaded?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Decision:0//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(Result\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Download//amp//nbsp;the//amp//nbsp;data\\comma\\//amp//nbsp;//amp//nbsp;There//amp//nbsp;must//amp//nbsp;be//amp//nbsp;a//amp//nbsp;single//amp//nbsp;store//amp//nbsp;with//amp//nbsp;Emagine//amp//nbsp;POS//amp//nbsp;selected//amp//nbsp;and//amp//nbsp;importing//amp//nbsp;enabled.</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\downloadAllDaysFromEmagineAws\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\downloadAllDaysFromEmagineAws//amp//nbsp;()=\\quot\\+<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Successful?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(Result\\comma\\'ok'))=\\quot\\+(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;Emagine//amp//nbsp;POS//amp//nbsp;Files\\quot\\\\comma\\\\quot\\111584\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Files//amp//nbsp;have//amp//nbsp;been//amp//nbsp;downloaded\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;Emagine//amp//nbsp;POS//amp//nbsp;Files\\quot\\\\comma\\\\quot\\56017\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;Emagine//amp//nbsp;POS//amp//nbsp;Files\\quot\\\\comma\\\\quot\\668251\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Unable//amp//nbsp;to//amp//nbsp;download//amp//nbsp;required//amp//nbsp;libraries\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Unable//amp//nbsp;to//amp//nbsp;download//amp//nbsp;required//amp//nbsp;libraries\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Unable//amp//nbsp;to//amp//nbsp;download//amp//nbsp;required//amp//nbsp;libraries\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;Emagine//amp//nbsp;POS//amp//nbsp;Files\\quot\\\\comma\\\\quot\\303681\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Unable//amp//nbsp;to//amp//nbsp;verify//amp//nbsp;aws//amp//nbsp;credentials\\quot\\\\comma\\\\quot\\Error://amp//nbsp;unable//amp//nbsp;to//amp//nbsp;confirm//amp//nbsp;aws//amp//nbsp;credentials\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;unable//amp//nbsp;to//amp//nbsp;confirm//amp//nbsp;aws//amp//nbsp;credentials\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;Emagine//amp//nbsp;POS//amp//nbsp;Files\\quot\\\\comma\\\\quot\\952425\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Aborted//amp//nbsp;because//amp//nbsp;this//amp//nbsp;computer//amp//nbsp;is//amp//nbsp;not//amp//nbsp;running//amp//nbsp;at//amp//nbsp;a//amp//nbsp;store\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Aborted//amp//nbsp;because//amp//nbsp;this//amp//nbsp;computer//amp//nbsp;is//amp//nbsp;not//amp//nbsp;located//amp//nbsp;at//amp//nbsp;a//amp//nbsp;store\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Aborted//amp//nbsp;because//amp//nbsp;this//amp//nbsp;computer//amp//nbsp;is//amp//nbsp;not//amp//nbsp;located//amp//nbsp;at//amp//nbsp;a//amp//nbsp;store\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>08302018 232707</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart98152\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\122\\quot\\ style=\\quot\\width: 120px; height: 122px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Download Emagine POS Files</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: always<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart74639\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart836909\\quot\\ agentchildnonode=\\quot\\chart303681\\quot\\ style=\\quot\\position: absolute; top: 317px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\75\\quot\\ style=\\quot\\width: 150px; height: 62px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Are credentials defined?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart303681\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 317px; left: 380px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 120px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Unable to verify aws credentials<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart98152\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart726374\\quot\\ agentchildnonode=\\quot\\chart540530\\quot\\ style=\\quot\\position: absolute; top: 186px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\75\\quot\\ style=\\quot\\width: 150px; height: 75px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the agent already running?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart111584\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 998px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 120px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Files have been downloaded<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart540530\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart74639\\quot\\ agentchildnonode=\\quot\\chart952425\\quot\\ style=\\quot\\position: absolute; top: 186px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\75\\quot\\ style=\\quot\\width: 150px; height: 75px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is this computer at a store?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart952425\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 186px; left: 380px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\109\\quot\\ style=\\quot\\width: 120px; height: 109px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Aborted because this computer is not running at a store<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart558204\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart391739\\quot\\ style=\\quot\\position: absolute; top: 709px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\144\\quot\\ style=\\quot\\width: 150px; height: 118px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Download the data\\comma\\  There must be a single store with Emagine POS selected and importing enabled.<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>downloadAllDaysFromEmagineAws<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart391739\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart111584\\quot\\ agentchildnonode=\\quot\\chart56017\\quot\\ style=\\quot\\position: absolute; top: 882px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\63\\quot\\ style=\\quot\\width: 150px; height: 63px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Successful?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart726374\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 314px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\109\\quot\\ style=\\quot\\width: 120px; height: 109px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Aborted because agent is alerady running<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart836909\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart448809\\quot\\ style=\\quot\\position: absolute; top: 433px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\93\\quot\\ style=\\quot\\width: 150px; height: 80px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Download required libraries<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>confirmEmagineAWSExtensionsExist<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart448809\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart558204\\quot\\ agentchildnonode=\\quot\\chart668251\\quot\\ style=\\quot\\position: absolute; top: 580px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\75\\quot\\ style=\\quot\\width: 150px; height: 75px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Have libraries been downloaded?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>None<br></td></tr></tbody></table></div></div><div id=\\quot\\chart668251\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 580px; left: 380px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\96\\quot\\ style=\\quot\\width: 120px; height: 96px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Unable to download required libraries<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart56017\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 882px; left: 380px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\45\\quot\\ style=\\quot\\width: 120px; height: 45px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div>^
ID=74639|X=373|Y=355|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=836909|AgentChildNoNode=303681|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=getElementCount(awsGetCredentials())>1|AgentNodeActionReturnValue=|AgentNodeComment=Are credentials defined?|AgentNodeTermType=0|^
ID=303681|X=563|Y=355|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: unable to confirm aws credentials\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Unable to verify aws credentials|AgentNodeTermType=1|^
ID=98152|X=183|Y=224|W=149|H=78|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=726374|AgentChildNoNode=540530|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=scriptCount(this)>1|AgentNodeActionReturnValue=|AgentNodeComment=Is the agent already running?|AgentNodeTermType=0|^
ID=111584|X=373|Y=1036|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Files have been downloaded|AgentNodeTermType=0|^
ID=540530|X=373|Y=224|W=149|H=78|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=74639|AgentChildNoNode=952425|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=getToken(\\quot\\Aspect_BackOffice_Pref_Polling_Location\\quot\\)\equals\\\quot\\store\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Is this computer at a store?|AgentNodeTermType=0|^
ID=952425|X=563|Y=224|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Aborted because this computer is not located at a store\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Aborted because this computer is not running at a store|AgentNodeTermType=1|^
ID=558204|X=373|Y=747|W=149|H=122|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=391739|AgentChildNoNode=|AgentSensor=0|AgentAction=downloadAllDaysFromEmagineAws|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Download the data//comma//  There must be a single store with Emagine POS selected and importing enabled.|AgentNodeTermType=0|^
ID=391739|X=373|Y=920|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=111584|AgentChildNoNode=56017|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Successful?|AgentNodeTermType=0|^
ID=726374|X=183|Y=352|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=0|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Aborted because agent is alerady running\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Aborted because agent is alerady running|AgentNodeTermType=1|^
ID=836909|X=373|Y=471|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=448809|AgentChildNoNode=|AgentSensor=0|AgentAction=confirmEmagineAWSExtensionsExist|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Download required libraries|AgentNodeTermType=0|^
ID=448809|X=373|Y=618|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=558204|AgentChildNoNode=668251|AgentSensor=0|AgentAction=confirmAWSExtensionsExist|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Have libraries been downloaded?|AgentNodeTermType=0|^
ID=668251|X=563|Y=618|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=0|AgentAction=confirmAWSExtensionsExist|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=\\quot\\Error: Unable to download required libraries\\quot\\|AgentNodeActionReturnValue=|AgentNodeComment=Unable to download required libraries|AgentNodeTermType=1|^
ID=401234|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<br><br>//crlf//<hr>//crlf//<h1>Keys</h1>//crlf//<include type:script; commands:\\quot\\//crlf////crlf////tab////set credentials//crlf////tab//awsSetCredentials(\\quot\\AKIAJHKWKHBIFBQT2OFQ\\quot\\\\comma\\\\quot\\z1ydu+1ZN7MWvhhE3LpEtlDsmAk/NsI7Vx2ikaeg\\quot\\)//crlf////crlf////tab//sBucket=\\quot\\emaginepos-warehouse-export\\quot\\//crlf////tab//sPrefix=\\quot\\631994344756219904\\quot\\//crlf////tab//s=awsListKeys(sBucket\\comma\\sPrefix)//crlf////tab//appendToLog(\\quot\\amazonaws s=\\quot\\+s)//crlf////crlf////tab//if(false)//crlf////tab////tab//if(awsDownloadObject(sBucket\\comma\\sKey\\comma\\sLocalFilename))//crlf////tab////tab////tab//appendToLog(\\quot\\Downloaded: \\quot\\+sBucket+\\quot\\/\\quot\\+sKey+\\quot\\ to \\quot\\+sLocalFilename)//crlf////tab////tab//else//crlf////tab////tab////tab//appendToLog(\\quot\\Download failed: \\quot\\+sBucket+\\quot\\/\\quot\\+sKey+\\quot\\ to \\quot\\+sLocalFilename)//crlf////tab////tab//endif//crlf////tab//endif//crlf////crlf////tab//return(htmlTable(s\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\quot\\))//crlf//\\quot\\>//crlf//<hr>^
ID=56017|X=563|Y=920|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|
</widget><widget name="POS Interface - Emagine" group="POS Interface" category="Emagine" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Emagine" modified="05-29-2019 11:25:00" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=08-30-2018 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=1 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(not(isServer())) and (isPackageLoaded(\\quote\\POS_Emagine\\quote\\)) and (getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\Emagine\\quote\\)" TaskConditional_Expression_Description="Executes when the POS Emagine package is loaded and the POS type of the active store is Emagine." TaskState_Function="if(len(getToken(\\quote\\POSExportDirs\\quote\\))*len(getToken(\\quote\\RequiredPOSExportFiles\\quote\\))=0,now(),formatDate(now(),\\quote\\MMddyyyy\\quote\\)+gfs(getToken(\\quote\\homedir\\quote\\)+\\quote\\\Aspect_BackOffice\store_list.dta\\quote\\))" TaskState_Expression_Description="Executes when filespecs are undefined, when the date changes and when the store list is modified." TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=32|toolboxy=148|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=POS Interface - Emagine.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=open_driver|X=300|Y=125|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:\\quot\\('__action__'='openDriver')\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Emagine openPOSDriver\\quot\\; commands:\\quot\\//crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//This script opens a driver to read pos data for the given StoreID\\comma\\ DataType and Date.  //crlf////tab////tab//The return value is a pipe-delimited string in the form Status=n~~pipe~~Driver=DriverName~~pipe~~Modified=MM-dd-yyyy HH:mm:ss~~pipe~~Size=nnn//crlf////tab////tab//Status is -1=not valid\\comma\\ 0=valid but not available\\comma\\ 1=valid and available//crlf////tab////tab////crlf////tab////tab//Params://crlf////tab////tab////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab////tab//DataType - The ID of one of the datatypes defined in the Aspect_BackOffice_POS_Data_Types collection//crlf////tab////tab////tab//Date//tab// - A single date in the form MM-dd-yyyy//crlf////tab////tab////tab//OpenDriver - If false\\comma\\ the driver will not be opened but the expression used to test for data will be returned.//crlf////tab////tab////tab////tab////tab////tab//  This is used when adding tasks to the pos synch driver.//crlf////tab////tab////tab//Debug - If true\\comma\\ outputs debugging information to the log//crlf////tab////tab////crlf////tab////tab//Returns a string in the form://crlf////tab////tab////tab//status=n~~pipe~~Driver=drivername~~pipe~~modified=mm-dd-yyyy HH:mm:ss~~pipe~~size=nnn~~pipe~~DataAvailable=Expression~~pipe~~DataState=expression//crlf////tab////tab////crlf////tab////tab//Status is 1 on success or 0 if the data is not available.  Status is -1 if the datatype is not supported for the POS.//crlf////tab////tab//Modified is the date/time the data was last modified//crlf////tab////tab//Size is the number of records available (NOT the file size)//crlf////tab////tab////crlf////tab////tab//DataAvailable is an expression returned to test whether pos data is available or not.  It is used when//crlf////tab////tab//processing the synch tasks to avoid making calls to synchronize data when the pos data is not available.//crlf////tab////tab////crlf////tab////tab//DataState is an expression used to create a state value for the pos data.  It is generally a getFileSpecState//crlf////tab////tab//function.  This is used to determine when a synch task needs to be run because the pos data has been//crlf////tab////tab//modified//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//bDebug=(true) or (\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////crlf////tab////tab//bOpenDriver=if(startsWith(\\quot\\__OpenDriver__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\false\\comma\\boolean(\\quot\\__OpenDriver__\\quot\\))//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Emagine - OpenDriver __datatype__ __date__ __StoreID__ OpenDriver=\\quot\\+bOpenDriver)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////get driver ID.  This is the driver used to import data into Aspect.  It may be a driver that uses a //crlf////tab////tab////processed file.//crlf////tab////tab//sDriverID=lookup(POS_Emagine_Processed_Driver_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//if(sDriverID=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Emagine returns \\quot\\+s+\\quot\\ because driver for datatype (__datatype__) is not defined\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get POS type//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////get business date//crlf////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////get the POSData directory//crlf////tab////tab//sPOSDataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/Emagine/\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/\\quot\\//crlf////crlf////tab////tab////get name of the POS Export file.  This is the filename of the file produced by the POS system.//crlf////tab////tab//sPOSExportFilename=sPOSDataDir+lookup(POS_Emagine_POS_Export_FileName_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//sPOSExportFilename=replaceSubstring(sPOSExportFilename\\comma\\\\quot\\[MMyy]\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\MMyy\\quot\\))//crlf////tab////tab//sPOSExportFilename=replaceSubstring(sPOSExportFilename\\comma\\\\quot\\[yy]\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\yy\\quot\\))//crlf////crlf////tab////tab////abort if the POS export file is undefined//crlf////tab////tab//if((len(sPOSExportFilename)=0) or (pos(\\quot\\undefined\\quot\\\\comma\\sPOSExportFilename)>=0))//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Error: POS Interface - Emagine returns \\quot\\+s+\\quot\\ because pos export file not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////get name of the driver for the POS Export file.  This is the driver used to open the POS export file//crlf////tab////tab//sPOSExportDriverName=lookup(POS_Emagine_POS_Export_Driver_Name_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////abort if the POS export driver name is undefined//crlf////tab////tab//if((len(sPOSExportDriverName)=0) or (sPOSExportDriverName=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Error: POS Interface - Emagine returns \\quot\\+s+\\quot\\ because pos export driver not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////get name of the processed file.  This is the name of the processed file created from the POS export file//crlf////tab////tab//sProcessedFilename=sPOSDataDir+lookup(POS_Emagine_Processed_Filename_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//sProcessedFilename=replaceSubstring(sProcessedFilename\\comma\\\\quot\\[MMyy]\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\MMyy\\quot\\))//crlf////tab////tab//sProcessedFilename=replaceSubstring(sProcessedFilename\\comma\\\\quot\\[yy]\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\yy\\quot\\))//crlf////crlf////tab////tab////The data available expression also checks for the existence of processed.txt.  This file//crlf////tab////tab////is created when the original exports are processed\\comma\\ after all processing is complete.//crlf////tab////tab////This is used to ensure that the pos synch task does not start while files are still//crlf////tab////tab////being processed.  The processed.txt file is deleted at the start of processing if it//crlf////tab////tab////exists and created at the end.//crlf////tab////tab//sProcessingCompleteFilename=sPOSDataDir+\\quot\\processed.txt\\quot\\//crlf////crlf////tab////tab//sDataAvailableFilename=sPOSExportFilename//crlf////tab////tab//sDataAvailableExpression=\\quot\\(fileSize(\\quot\\+quote(sProcessingCompleteFilename)+\\quot\\)\\quot\\+char(0x3E)+\\quot\\0) and (fileExists(\\quot\\+quote(sDataAvailableFilename)+\\quot\\))\\quot\\//crlf////tab////tab//sDataStateExpression=\\quot\\getFilespecState(\\quot\\+quote(sDataAvailableFilename)+\\quot\\)\\quot\\//crlf////crlf////tab////tab////Debugging Output//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Emagine - POS DriverID=\\quot\\+sPOSExportDriverName)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Emagine - POS Filename=\\quot\\+sPOSExportFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Emagine - Processed DriverID=\\quot\\+sDriverID)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Emagine - Processed Filename=\\quot\\+sProcessedFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Emagine - DataAvailableFilename=\\quot\\+sDataAvailableFilename)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////abort if the POS export file does not exist//crlf////tab////tab//if(not(fileExists(sPOSExportFilename)))//crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Emagine - abort openDriver because \\quot\\+sPOSExportFilename+\\quot\\ not found\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////crlf////tab////tab////see if the file needs to be processed.  Processing is only done when the processed filename does not //crlf////tab////tab////match the pos export filename//crlf////tab////tab//if(sPOSExportFilename<>sProcessedFilename)//crlf////tab////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Emagine - Check processing of \\quot\\+sProcessedFilename).\\quot\\\\quot\\)//crlf////tab////tab////tab//if((not(fileExists(sProcessedFilename))) or (fileSize(sProcessedFilename)=0) or (fileModified(sPOSExportFilename)>fileModified(sProcessedFilename)))//crlf////tab////tab////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Emagine - Processing driver\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Interface - Emagine\\quot\\//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ContainerItemID=open_driver\\quot\\//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=processEmagineExportFile\\quot\\//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//POSExportDriverName=\\quot\\+sPOSExportDriverName//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//POSExportFilename=\\quot\\+sPOSExportFilename//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//AssociatedDriverName=\\quot\\+sDriverID//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ProcessedFilename=\\quot\\+sProcessedFilename//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Date=__date__\\quot\\//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//DataType=__DataType__\\quot\\//crlf////tab////tab////tab////tab//s=getWidget(sArgs)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Emagine - File is already processed\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Emagine - No processing required for \\quot\\+sProcessedFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////just return the DataAvailable and DataState expressions if OpenDriver is false//crlf////tab////tab//if(not(bOpenDriver))//crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Emagine - openDriver returns \\quot\\+s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////crlf////tab////tab////get name of the system driver that will be returned and params to pass to the driver//crlf////tab////tab//sDriverName=\\quot\\__datatype___\\quot\\+getSalt(8)//crlf////tab////tab//sDriverParams=\\quot\\Filename=\\quot\\+sProcessedFilename+\\quot\\~~pipe~~DataType=__DataType__~~pipe~~StoreID=__StoreID__~~pipe~~date=__date__~~pipe~~POS=\\quot\\+sPOSType//crlf////crlf////tab////tab////open the driver//crlf////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Emagine - Opening \\quot\\+sDriverID+\\quot\\ Params=\\quot\\+sDriverParams)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//driverOpen(sDriverID\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\sDriverParams)//crlf////tab////tab//driverSetFilter(sDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////crlf////tab////tab////set the result//crlf////tab////tab//s=\\quot\\status=1~~pipe~~Driver=\\quot\\+sDriverName+\\quot\\~~pipe~~modified=\\quot\\+formatDate(fileModified(sProcessedFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)+\\quot\\~~pipe~~size=\\quot\\+driverGetRecordCount(sDriverName\\comma\\true)//crlf////tab////tab//s=s+\\quot\\~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab//appendToLog(\\quot\\POS Interface - Emagine openDriver returns \\quot\\+s+\\quot\\ (\\quot\\+driverGetRecordCount(sDriverName)+\\quot\\ records)\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\processEmagineExportFile\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//processEmagineExportFile//crlf////crlf////tab//This appears to be unused and was probably copied from another widget.//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Emagine - processEmagineExportFile\\quot\\; commands:\\quot\\//crlf////tab////tab////Creates a processed file from a Emagine export file //crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//POSExportDriverName - ID of driver used to open the POS export file//crlf////tab////tab//////tab//POSExportFilename - Full filename of the pos export file//crlf////tab////tab//////tab//AssociatedDriverName - ID of driver used to open the processed file//crlf////tab////tab//////tab//ProcessedFilename - Full filename of the processed file//crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//////tab//DataType - The data type being processed//crlf////tab////tab//////crlf////tab////tab////Returns://crlf////tab////tab//////tab//OK or ERROR//crlf////crlf////tab////tab////open the Emagine export file//crlf////tab////tab//if((false) and (\\quot\\__DataType__\\quot\\=\\quot\\sales_mix\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\Opening Emagine export file: __POSExportDriverName__ Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\__POSExportDriverName__\\quot\\\\comma\\drvEmagineExport\\comma\\READ\\comma\\false\\comma\\\\quot\\Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//else//crlf////tab////tab////tab//appendToLog(\\quot\\Opening Emagine export file: __POSExportDriverName__ Filename=__POSExportFilename__\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\__POSExportDriverName__\\quot\\\\comma\\drvEmagineExport\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__POSExportFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab//if(\\quot\\__DataType__\\quot\\=\\quot\\check_details\\quot\\)//crlf////tab////tab////tab////NOTE:  Both the gndsale and gnditem files contain sales records.  Menu item sales come //crlf////tab////tab////tab////from gnditem.  The records in dndsale are ignored by setting the rectype to -1.  //crlf////tab////tab////tab////This filter is used to avoid adding those records into the processed check details.//crlf////tab////tab////tab//driverSetFilter(drvEmagineExport\\comma\\\\quot\\(not(abs(Quantity)+abs(Amount)=0)) and (RecType\\quot\\+char(0x3E)+\\quot\\=0)\\quot\\\\comma\\true)//crlf////tab////tab//else//crlf////tab////tab////tab//driverSetFilter(drvEmagineExport\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the processed file.  Delete it first if it exists//crlf////tab////tab//if(fileExists(\\quot\\__ProcessedFilename__\\quot\\))//crlf////tab////tab////tab//fileDelete(\\quot\\__ProcessedFilename__\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//driverOpen(\\quot\\__AssociatedDriverName__\\quot\\\\comma\\drvProcessed\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__ProcessedFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//driverSetFilter(drvProcessed\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////get fields to merge//crlf////tab////tab//arFieldID=driverGetFieldIDs(drvProcessed\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////merge the drivers//crlf////tab////tab//appendToLog(\\quot\\Merging driver.  Fields=\\quot\\+arFieldID)//crlf////tab////tab//appendToLog(\\quot\\Records in source driver=\\quot\\+driverGetRecordCount(drvEmagineExport))//crlf////tab////tab//s=driverMerge(true\\comma\\drvProcessed\\comma\\drvEmagineExport\\comma\\\\quot\\ID\\quot\\\\comma\\arFieldID\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////crlf////tab////tab//driverClose(drvEmagineExport)//crlf////tab////tab//driverClose(drvProcessed)//crlf////crlf////tab////tab//appendToLog(\\quot\\Process __DataType__: \\quot\\+s)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=code|X=300|Y=100|W=1200|H=765|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'743416')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AspectScript')\\quot\\>Aspect</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'open_driver')\\quot\\>Open Driver</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'760488')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=743416|X=300|Y=125|W=834|H=764|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=760488|X=300|Y=125|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=Notes^
ID=AspectScript|X=300|Y=125|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=40|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=847275|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=onchange|^
ID=307902|X=183|Y=514|W=119|H=47|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=setEmagineFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_POS Interface - Emagine\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Emagine\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 04-15-2017 15:21:14//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Emagine\\comma\\AgentAction\\comma\\847275\\comma\\0\\comma\\Set tokens defining filespecs for pos export files and posdata files//crlf////crlf////tab////tab////Set tokens defining filespecs for pos export files and posdata files//crlf////tab////tab//Result=execAgentAction(\\quot\\setEmagineFilespecs\\quot\\)//crlf////crlf////tab////tab////Success?//crlf////tab////tab//if(startsWith(\\quot\\result\\quot\\\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Emagine\\comma\\AgentTerminate\\comma\\307902\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Emagine\\quot\\\\comma\\\\quot\\307902\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Emagine\\comma\\AgentTerminate\\comma\\407292\\comma\\1\\comma\\Error//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Emagine\\quot\\\\comma\\\\quot\\407292\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;04152017//amp//nbsp;152114//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Emagine\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;04-15-2017//amp//nbsp;15:21:14</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Set//amp//nbsp;tokens//amp//nbsp;defining//amp//nbsp;filespecs//amp//nbsp;for//amp//nbsp;pos//amp//nbsp;export//amp//nbsp;files//amp//nbsp;and//amp//nbsp;posdata//amp//nbsp;files</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\setEmagineFilespecs\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(\\quot\\result\\quot\\\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Emagine\\quot\\\\comma\\\\quot\\307902\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Emagine\\quot\\\\comma\\\\quot\\407292\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=40|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>04152017 152114</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart847275\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\137\\quot\\ style=\\quot\\width: 120px; height: 137px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>POS Interface - Emagine</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: onchange<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart307902\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 469px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart847275\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart131743\\quot\\ style=\\quot\\position: absolute; top: 193px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\121\\quot\\ style=\\quot\\width: 150px; height: 108px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Set tokens defining filespecs for pos export files and posdata files<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>setEmagineFilespecs<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart131743\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart307902\\quot\\ agentchildnonode=\\quot\\chart407292\\quot\\ style=\\quot\\position: absolute; top: 353px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart407292\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 353px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=sensor_list|X=300|Y=125|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Emagine.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf//^
ID=action_list|X=300|Y=125|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__Action__//crlf////tab//__Action_list__//crlf////tab//__ActionDescription__//crlf////tab//__ActionParams__//crlf////tab//__ActionReturns__//crlf////tab//__ActionExec__//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Emagine.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//1.02//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//POS Interface - Emagine\\comma\\setEmagineFilespecs\\comma\\action_list\\comma\\Action=setEmagineFilespecs\\comma\\private//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//========================================================================//crlf//setEmagineFilespecs//crlf//========================================================================//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\setEmagineFilespecs\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Sets tokens containing filespecs pointing to pos export files and //crlf////tab////tab//data in the homedir~~backslash~~posdata directories.  Tokens are://crlf////tab////tab//-------------------------------------------------------------------------------------//crlf////tab////tab//POSExportDirs - A list of directories containing pos export files to all days in //crlf////tab////tab////tab//the synch period. (e.g. [dir]~~backslash~~*.*;[dir]~~backslash~~*.*...//crlf////tab////tab//RequiredPOSExportFiles - A list of all pos export files required in the synch period//crlf////tab////tab//POSDataDirs - List of directories under [homedir]~~backslash~~posdata//crlf////tab////tab//RequiredPOSDataFiles - List of all files under [homedir]~~backslash~~posdata for the synch period//crlf////tab////tab//-------------------------------------------------------------------------------------//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\setEmagineFilespecs\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////This script requires that tokens have been set by the POS Interface agent//crlf////tab////tab////tab////indicating the pos type\\comma\\ pos directory and number of synch days//crlf////tab////tab////tab//appendToLog(\\quot\\setEmagineFilespecs started\\quot\\)//crlf////crlf////tab////tab////tab////abort if pos type is not Emagine//crlf////tab////tab////tab//if(getToken(\\quot\\POSInterface_PosType\\quot\\)<>\\quot\\Emagine\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: POS type is not Emagine\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get pos directory//crlf////tab////tab////tab//sPosDir=getToken(\\quot\\POSInterface_PosDir\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\setEmagineFilespecs sPosDir=\\quot\\\\plus\\sPosDir)//crlf////crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//if((len(sPosDir)<2) or (not(fileExists(sPosDir))) or (not(fileIsDirectory(sPosDir))))//crlf////tab////tab////tab////tab////tab//return(\\quot\\Error: Invalid POS directory: \\quot\\\\plus\\sPosDir)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//sPosDir=addDirSlash(sPosDir)//crlf////tab////tab////tab//endif//crlf//            //crlf////tab////tab////tab////abort if synch days is not valid//crlf////tab////tab////tab//iSynchDays=value(getToken(\\quot\\POSInterface_SynchDays\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\setEmagineFilespecs iSynchDays=\\quot\\\\plus\\iSynchDays)//crlf////tab////tab////tab//if(iSynchDays=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Number of days to synch is invalid: \\quot\\\\plus\\iSynchDays)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get start/end dates//crlf////tab////tab////tab//dt2=LastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab//dt1=incrementTime(dt2\\comma\\-(iSynchDays-1))//crlf////tab////crlf////tab////tab////tab////get set of directories under [homedir]posdata//crlf////tab////tab////tab//arDir=getSetFor(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata~~backslash~~Emagine~~backslash~~\\quot\\\\comma\\arDate)//crlf////tab////tab////tab//arDir=replaceSubstring(replaceSubstring(arDir\\comma\\char(0x2C)\\comma\\char(0x3B))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\~~backslash~~\\quot\\)//crlf////tab////tab////tab//setToken(\\quot\\POSDataDirs\\quot\\\\comma\\arDir)//crlf////tab////tab////tab//appendToLog(\\quot\\setEmagineFilespecs POSDataDirs=\\quot\\\\plus\\getToken(\\quot\\POSDataDirs\\quot\\))//crlf////crlf////tab////tab////tab////get set of Emagine export files//crlf////tab////tab////tab//arRequired=getCollection(\\quot\\POS_Emagine_Required_Files\\quot\\\\comma\\true\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\value\\quot\\)//crlf////tab////tab////tab//arDate=getSetTime(dt1\\comma\\dt2\\comma\\1440*60\\comma\\\\quot\\yyyyMMdd\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\$e$~~backslash~~\\quot\\\\comma\\char(0x2C))//crlf////tab////tab////tab//arRequiredPOSExportFiles=\\quot\\\\quot\\//crlf////tab////tab////tab//arRequiredPOSDataFiles=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arDate)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sDate=getElement(arDate\\comma\\n)//crlf////tab////tab////tab////tab//cRequired=getElementCount(arRequired)//crlf////tab////tab////tab////tab//nRequired=0//crlf////tab////tab////tab////tab//while(nRequired<cRequired)//crlf////tab////tab////tab////tab////tab//sRequired=getElement(arRequired\\comma\\nRequired)//crlf////tab////tab////tab////tab////tab//s=sRequired//crlf////tab////tab////tab////tab////tab//if(n=(c-1))//crlf////tab////tab////tab////tab////tab////tab//arRequiredPOSExportFiles=addElement(arRequiredPOSExportFiles\\comma\\sPosDir\\plus\\s)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//arRequiredPOSDataFiles=addElement(arRequiredPOSDataFiles\\comma\\getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata/Emagine/\\quot\\\\plus\\sDate\\plus\\s)//crlf////tab////tab////tab////tab////tab//nRequired\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//arRequiredPOSExportFiles=replaceSubstring(arRequiredPOSExportFiles\\comma\\char(0x2C)\\comma\\char(0x3B))//crlf////tab////tab////tab//arRequiredPOSDataFiles=replaceSubstring(arRequiredPOSDataFiles\\comma\\char(0x2C)\\comma\\char(0x3B))//crlf////crlf////tab////tab////tab//setToken(\\quot\\RequiredPOSExportFiles\\quot\\\\comma\\arRequiredPOSExportFiles)//crlf////tab////tab////tab//setToken(\\quot\\RequiredPOSDataFiles\\quot\\\\comma\\arRequiredPOSDataFiles)//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=847275|X=183|Y=238|W=149|H=107|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=131743|AgentChildNoNode=|AgentSensor=0|AgentAction=setEmagineFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Set tokens defining filespecs for pos export files and posdata files|AgentNodeTermType=0|^
ID=131743|X=183|Y=398|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=307902|AgentChildNoNode=407292|AgentSensor=1|AgentAction=setEmagineFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~result~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=0|^
ID=407292|X=373|Y=398|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=setEmagineFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|
</widget><widget name="POS Interface - Upselz" group="POS Interface" category="Upselz" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Upselz" modified="02-17-2019 14:03:39" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=01-18-2019 20:20:03:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=188|toolboxy=83|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=POS Interface - Upselz.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'852396')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'122266')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=852396|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Upselz.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Upselz.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=122266|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="Download Upselz POS Files" group="POS Interface" category="Upselz" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Download Upselz Pos Files" modified="03-02-2021 16:53:06" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=03-08-2019 22:20:58:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=97|toolboxy=106|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Download Upselz POS Files.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'877506')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'338140')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=877506|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Download Upselz POS Files.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Download Upselz POS Files\\comma\\getUpselzAPIContent\\comma\\sensor_list\\comma\\Sensor=getUpselzAPIContent\\comma\\private\\comma\\text//crlf////tab//Download Upselz POS Files\\comma\\getUpselzAccessToken\\comma\\sensor_list\\comma\\Sensor=getUpselzAccessToken\\comma\\private\\comma\\text//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//[!------------------------------------------------------------------------//crlf//getUpselzAPIContent//crlf//--------------------------------------------------------------------------]//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getUpselzAPIContent\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Gets the content from an API call to upselz//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Token - The authorization token returned by a call to getUpselzAccessToken//crlf////tab////tab//Path - The URL//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//The content//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getUpselzAPIContent\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//sIP=\\quot\\http://upselzapidev.azurewebsites.net\\quot\\//crlf////tab////tab////tab//sPage=\\quot\\__Path__\\quot\\//crlf////tab////tab////tab//sArgs=\\quot\\\\quot\\//crlf////tab////tab////tab//iPort=80//crlf////tab////tab////tab//iTimeout=120000//crlf////tab////tab////tab//bWait=true//crlf////tab////tab////tab//bSecure=false//crlf////tab////tab////tab////crlf////tab////tab////tab////s=httpGetAzure(sIP\\comma\\sPage\\comma\\sArgs\\comma\\iPort\\comma\\iTimeout\\comma\\bWait\\comma\\bSecure\\comma\\\\quot\\Bearer __Token__\\quot\\)//crlf////tab////tab////tab//s=httpGet(sIP\\comma\\sPage\\comma\\sArgs\\comma\\iPort\\comma\\iTimeout\\comma\\bWait\\comma\\bSecure\\comma\\\\quot\\Bearer __Token__\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//getUpselzAccessToken//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getUpselzAccessToken\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Gets the access token required to make api request to upselz//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//A string containing the access token//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getUpselzAccessToken\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//sIP=\\quot\\upselzapidev.azurewebsites.net\\quot\\//crlf////tab////tab////tab//sPage=\\quot\\/api/Authentication/token/D41D4FD2-E227-4FBE-A2E2-3E4716193085\\quot\\//crlf////tab////tab////tab//sArgs=\\quot\\\\quot\\//crlf////tab////tab////tab//iPort=80//crlf////tab////tab////tab//iTimeout=120000//crlf////tab////tab////tab//bWait=true//crlf////tab////tab////tab//bSecure=false//crlf////tab////tab////tab//s=httpPost(sIP\\comma\\sPage\\comma\\sArgs\\comma\\iPort\\comma\\iTimeout\\comma\\bWait\\comma\\bSecure)//crlf////crlf////tab////tab////tab////remove the brackets surrounding the string//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x7B)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x7D)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////the result is in the form: \\quot\\access_token\\quot\\:\\quot\\xxx\\quot\\\\comma\\\\quot\\expires_in\\quot\\:3600//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s1=getElement(s\\comma\\0)//crlf////tab////tab////tab//s2=getElement(s1\\comma\\1\\comma\\\\quot\\:\\quot\\)//crlf////tab////tab////tab//return(s2)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=action_list|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Download Upselz POS Files.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=338140|X=1500|Y=23|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=518822|X=853|Y=44|W=584|H=284|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:script; commands:\\quot\\//crlf////tab//sToken=getSensorValue(\\quot\\getUpselzAccessToken\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab//appendToLog(\\quot\\Got token: \\quot\\\\plus\\sToken)//crlf////crlf////tab////sPage=\\quot\\/api/sessions/2017-12-7T06:00:00-0500/2017-12-8T06:00:00-0500\\quot\\//crlf////tab////sPage=\\quot\\/api/business/items/2018-01-12T10:25:33.537-05:00\\quot\\//crlf//  sPage=\\quot\\/api/business/items/2018-01-12T10:25:33.537-05:00\\quot\\//crlf////tab//s=getSensorValue(\\quot\\getUpselzAPIContent\\quot\\\\comma\\\\quot\\Token=\\quot\\\\plus\\sToken\\plus\\\\quot\\\\amp\\Path=\\quot\\\\plus\\sPage)//crlf////crlf////tab////remove the brackets surrounding the string//crlf////tab//s=replaceSubstring(s\\comma\\char(0x7B)\\comma\\\\quot\\\\quot\\)//crlf////tab//s=replaceSubstring(s\\comma\\char(0x7D)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab//s=replaceSubstring(s\\comma\\char(0x3C)\\comma\\\\quot\\\\amp\\lt\\quot\\\\plus\\char(0x3B))//crlf////tab//s=replaceSubstring(s\\comma\\char(0x3E)\\comma\\\\quot\\\\amp\\gt\\quot\\\\plus\\char(0x3B))//crlf////crlf////tab//return(\\quot\\s len=\\quot\\\\plus\\len(s)\\plus\\\\quot\\s=\\quot\\\\plus\\s)//crlf//\\quot\\>
</widget><widget name="Restaurant Manager Cash Drawer Reconcile" group="POS Interface" category="Restaurant Manager" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Restaurant Manager Cash Drawer Reconcile" modified="04-27-2024 23:25:48" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=02-17-2019 00:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=1 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(getToken(\\quote\\Aspect_BackOffice_Pref_CompanyPollingID\\quote\\)=\\quote\\VhGFwJcWHG2CnERns1zILedS\\quote\\) and (hour(now())\\gt\\10) and (getToken(\\quote\\AspectHashID\\quote\\)\\lt\\\\gt\\\\quote\\4h2ecn22o\\quote\\) and (getToken(\\quote\\AspectHashID\\quote\\)\\lt\\\\gt\\\\quote\\7h45pkiq7\\quote\\)" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=30|toolboxy=114|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Restaurant Manager Cash Drawer Reconcile.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'43999')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'808803')\\quot\\>Cash Drawer Reconcile</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'345468')\\quot\\>Validate Files Wrapper</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'311316')\\quot\\>Validate Files</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'228849')\\quot\\>Debug File</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'194133')\\quot\\>sls.dbf</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=43999|X=1500|Y=26|W=1101|H=771|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=26|W=1101|H=771|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=26|W=1101|H=771|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Restaurant Manager Cash Drawer Reconcile.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=1500|Y=26|W=1101|H=771|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Restaurant Manager Cash Drawer Reconcile.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Restaurant Manager Cash Drawer Reconcile\\comma\\updateCashDrawerFileset\\comma\\action_list\\comma\\Action=updateCashDrawerFileset\\comma\\private//crlf////tab//Restaurant Manager Cash Drawer Reconcile\\comma\\initializeCashDrawerDriver\\comma\\action_list\\comma\\Action=initializeCashDrawerDriver\\comma\\private//crlf////tab//Restaurant Manager Cash Drawer Reconcile\\comma\\addCashDrawerFieldsToUserSalesStruct\\comma\\action_list\\comma\\Action=addCashDrawerFieldsToUserSalesStruct\\comma\\private//crlf////tab//Restaurant Manager Cash Drawer Reconcile\\comma\\updateCashDrawReconciliationSubtotalRecords\\comma\\action_list\\comma\\Action=updateCashDrawReconciliationSubtotalRecords\\comma\\private//crlf////tab//Restaurant Manager Cash Drawer Reconcile\\comma\\updateCashDrawReconciliationDrivers\\comma\\action_list\\comma\\Action=updateCashDrawReconciliationDrivers\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updateCashDrawerFileset//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateCashDrawerFileset\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Sets the conditional expression for the Cash Drawer Reconcile//tab//file set.  //crlf////tab////tab//This was added 11/16/22 to avoid sending files while emails are being //crlf////tab////tab//processed on the office computer//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateCashDrawerFileset\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////open file set driver//crlf////tab////tab////tab//driverOpen(Aspect_File_Set\\comma\\drvFileSet\\comma\\WRITE)//crlf////crlf////tab////tab////tab////get the record containing the file set and add a new one if needed//crlf////tab////tab////tab//sFileset=\\quot\\Cash Drawer Reconcile\\quot\\//crlf////tab////tab////tab//r=driverFindRecordAbsolute(drvFileSet\\comma\\0\\comma\\\\quot\\(TaskName=\\quot\\\\plus\\quote(sFileset)\\plus\\\\quot\\)\\quot\\)//crlf////tab////tab////tab//if(r>=0)//crlf////tab////tab////tab////tab////update the fileset on or before 5am to send files from the previous night//crlf////tab////tab////tab////tab////and again after 13:00 to catch up any errors.  It is not necessary to send //crlf////tab////tab////tab////tab////the files throughout the day except to catch up errors.//crlf////tab////tab////tab////tab//sCondition=\\quot\\(lte(hour(now())\\comma\\5\\comma\\n)) or (gte(hour(now())\\comma\\20\\comma\\n))\\quot\\//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(drvFileSet\\comma\\\\quot\\User_Defined_Condition\\quot\\\\comma\\r\\comma\\sCondition)//crlf////tab////tab////tab////tab//driverClose(drvFileSet)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//driverClose(drvFileSet)//crlf////tab////tab////tab////tab//return(\\quot\\Error: File set does not exist: \\quot\\\\plus\\sFileset)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: File set updated: \\quot\\\\plus\\sFileset)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//initializeCashDrawerDriver//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\initializeCashDrawerDriver\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Initialized the POS_RM_Cash_Drawer_Reconcile driver//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - //crlf////tab////tab//Date - MM-dd-yyyy//crlf////tab////tab//ForceUpdate - If true\\comma\\ the driver will be updated.  Otherwise it will not be updated if //crlf////tab////tab////tab//the timestamp is greater than that of the restaurant manager files//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Cancel//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\initializeCashDrawerDriver\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//profile(true)//crlf////crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(undefined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing Date//crlf////tab////tab////tab//if(undefined(\\quot\\__Date__\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//dt=parseTime(\\quot\\__Date__\\quot\\)//crlf////crlf////tab////tab////tab////get the name of the file that will be created//crlf////tab////tab////tab//sFilename=addDirSlash(getStoreDir(\\quot\\__StoreID__\\quot\\))\\plus\\\\quot\\cash_drawer.__Date__.bin\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\sFilename=\\quot\\\\plus\\sFilename)//crlf////crlf////tab////tab////tab////get the name of the directory containing the restaurant manager files//crlf////tab////tab////tab//sDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata\Restaurant_Manager\Current\\\quot\\//crlf////crlf////tab////tab////tab////get pos directory//crlf////tab////tab////tab//sStorePosDir=addDirSlash(lookup(Aspect_BackOffice_POS_Directory_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab//sPosDir=sStorePosDir//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\)//crlf////tab////tab////tab////tab////tab//sPosDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata\Restaurant_Manager\tudors_summerville\20210626\\\quot\\//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sPosDir=getToken(\\quot\\POSInterface_PosDir\\quot\\)//crlf////tab////tab////tab////tab////tab//if((len(sPosDir)=0) or (sPosDir=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//return(appendToLog(\\quot\\Error: Invalid POS directory: \\quot\\\\plus\\sPosDir))//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////if the dated files exist in the posdata directory use them.  This is to avoid a//crlf////tab////tab////tab////problem if the menu.dbf or other files are modified in the pos directory.  For example\\comma\\//crlf////tab////tab////tab////a menu item may be moved to another department//crlf////tab////tab////tab//sPosDataDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata\Restaurant_Manager\\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\\\\quot\\//crlf////tab////tab////tab//if(fileExists(sPosDataDir\\plus\\\\quot\\\processed.txt\\quot\\))//crlf////tab////tab////tab////tab//sPosDir=sPosDataDir//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Found files in \\quot\\\\plus\\sPosDataDir)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Did not find files in \\quot\\\\plus\\sPosDataDir)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////copy files from pos directory to current directory//crlf////tab////tab////tab//sPosDir=addDirSlash(sPosDir)//crlf////tab////tab////tab//arFile=\\quot\\sls\\comma\\sdet\\comma\\pmt\\comma\\pout\\quot\\//crlf////tab////tab////tab//c=getElementCount(arFile)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFilename=getElement(arFile\\comma\\n)\\plus\\formatDate(dt\\comma\\\\quot\\MMyy\\quot\\)\\plus\\\\quot\\.dbf\\quot\\//crlf////tab////tab////tab////tab//sSrcFile=sPosDir\\plus\\sFilename//crlf////tab////tab////tab////tab//sDestFile=sDir\\plus\\sFilename//crlf////tab////tab////tab////tab//appendToLog(\\quot\\copy \\quot\\\\plus\\sSrcFile\\plus\\\\quot\\ to \\quot\\\\plus\\sDestFile)//crlf////tab////tab////tab////tab//fileCopy(sSrcFile\\comma\\sDestFile)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//arFile=\\quot\\rep\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\yy\\quot\\)\\plus\\\\quot\\.dbf\\comma\\MENU.DBF\\comma\\PAGES.DBF\\comma\\REP19.DBF\\comma\\TIPOPAG.DBF\\quot\\//crlf////tab////tab////tab//c=getElementCount(arFile)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFilename=getElement(arFile\\comma\\n)//crlf////tab////tab////tab////tab//sSrcFile=sPosDir\\plus\\sFilename//crlf////tab////tab////tab////tab//sDestFile=sDir\\plus\\sFilename//crlf////tab////tab////tab////tab//appendToLog(\\quot\\copy \\quot\\\\plus\\sSrcFile\\plus\\\\quot\\ to \\quot\\\\plus\\sDestFile)//crlf////tab////tab////tab////tab//fileCopy(sSrcFile\\comma\\sDestFile)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////copy the client.dbf file from the pos directory.  This file does not exist in the //crlf////tab////tab////tab////posdata directory//crlf////tab////tab////tab//sFilename=getElement(arFile\\comma\\n)//crlf////tab////tab////tab//sSrcFile=sStorePosDir\\plus\\\\quot\\client.dbf\\quot\\//crlf////tab////tab////tab//sDestFile=sDir\\plus\\\\quot\\client.dbf\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\copy \\quot\\\\plus\\sSrcFile\\plus\\\\quot\\ to \\quot\\\\plus\\sDestFile)//crlf////tab////tab////tab//fileCopy(sSrcFile\\comma\\sDestFile)//crlf////crlf////tab////tab////tab////open the driver//crlf////tab////tab////tab//appendToLog(\\quot\\Opening driver: StoreID=__StoreID__ Date=__Date__\\quot\\)//crlf////tab////tab////tab//s1=getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\cash_drawer.__Date__.bin\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\init cash drawer Filename=\\quot\\\\plus\\s1)//crlf////tab////tab////tab//appendToLog(\\quot\\init cash drawer size1=\\quot\\\\plus\\fileSize(s1))//crlf////tab////tab////tab//appendToLog(\\quot\\init cash drawer Modified=\\quot\\\\plus\\formatDate(fileModified(s1)\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\driverIsOpen=\\quot\\\\plus\\driverIsOpen(d))//crlf////crlf////tab////tab////tab//d=getSalt(4)//crlf////tab////tab////tab//driverOpen(POS_RM_Cash_Drawer_Reconcile\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend\\quot\\)//crlf////crlf////tab////tab////tab//r1=driverGetRecordCount(d)//crlf////tab////tab////tab//r2=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\Record count: \\quot\\\\plus\\r1\\plus\\\\quot\\ absolute: \\quot\\\\plus\\r2)//crlf////crlf////tab////tab////tab////write structure to file//crlf////tab////tab////tab//sStructFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\cash_drawer_driverstruct_\\quot\\\\plus\\formatDate(now()\\comma\\\\quot\\HH\\quot\\)\\plus\\\\quot\\.txt\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Write struct to: \\quot\\\\plus\\sStructFilename)//crlf////tab////tab////tab//driverExportStruct(d\\comma\\sStructFilename)//crlf////crlf////tab////tab////tab////06-2021//crlf////tab////tab////tab////check the size of the structure by checking the size of the file.  A problem was occurring //crlf////tab////tab////tab////in which the back-office package was updating at exactly the time that the cash drawer driver is //crlf////tab////tab////tab////being open.  The structure was then invalid because the package had not loaded completely.  //crlf////tab////tab////tab////This was created because the .mod file used to determine if the package should//crlf////tab////tab////tab////be updated was not being overwritten properly when the package was deployed.  A trailing 1 //crlf////tab////tab////tab////was appended to the size and remained even when the .mod file was written again.  This caused //crlf////tab////tab////tab////the store to determine that the package needed to be updated.//crlf////tab////tab////tab//sz=fileSize(sStructFilename)//crlf////tab////tab////tab//appendToLog(\\quot\\Verify sz=\\quot\\\\plus\\sz)//crlf////tab////tab////tab//if((sz<>10882) and (sz<>11209) and (SZ<>15668) and (SZ<>11192))//crlf////tab////tab////tab////tab////if the size is invalid\\comma\\ close the driver and wait 10 seconds for the package to reload//crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab//scriptSleep(10000)//crlf////crlf////tab////tab////tab////tab////reopen the driver//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Reopening driver\\quot\\)//crlf////tab////tab////tab////tab//driverOpen(POS_RM_Cash_Drawer_Reconcile\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend\\quot\\)//crlf////tab////tab////tab////tab//sStructFilename=getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\cash_drawer_driverstruct_B\\quot\\\\plus\\formatDate(now()\\comma\\\\quot\\HH\\quot\\)\\plus\\\\quot\\.txt\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Write struct to: \\quot\\\\plus\\sStructFilename)//crlf////tab////tab////tab////tab//driverExportStruct(d\\comma\\sStructFilename)//crlf////crlf////tab////tab////tab////tab////check the size again and abort if it is invalid//crlf////tab////tab////tab////tab//sz=fileSize(sStructFilename)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Verify sz2=\\quot\\\\plus\\sz)//crlf////tab////tab////tab////tab//if((sz<>10882) and (sz<>11209) and (SZ<>15668) and (SZ<>11192))//crlf////tab////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab////tab//return(\\quot\\Error: Structure size is invalid: \\quot\\\\plus\\sz)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////initialize records//crlf////tab////tab////tab//arDescription=\\quot\\Food\\comma\\Retail\\comma\\Fountain\\comma\\GC Sold\\comma\\Tax\\comma\\Total Sales\\comma\\Pay Outs\\comma\\Over Rings\\comma\\GC Redeemed\\quot\\//crlf////tab////tab////tab//arDescription=addElement(arDescription\\comma\\\\quot\\Coupons\\comma\\Credit Cards\\comma\\Emp. Charges\\comma\\GC Promo\\comma\\Discounts\\quot\\)//crlf////tab////tab////tab//arDescription=addElement(arDescription\\comma\\\\quot\\Charge Acct.\\comma\\Christmas Card$\\comma\\Subtotal\\comma\\Cash Deposit\\quot\\)//crlf////tab////tab////tab//arDescription=addElement(arDescription\\comma\\\\quot\\Over/short\\comma\\Spec. Deposit\\comma\\Online Order\\quot\\)//crlf////tab////tab////tab//arDescription=addElement(arDescription\\comma\\\\quot\\Promo Donations\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<22)//crlf////tab////tab////tab////tab//if(driverGetRecordCount(d\\comma\\true)<=n)//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Add new record: n=\\quot\\\\plus\\n\\plus\\\\quot\\ r=\\quot\\\\plus\\r)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//r=n//crlf////tab////tab////tab////tab////tab//bUsed=driverGetFieldAbsolute(d\\comma\\\\quot\\Used\\quot\\\\comma\\r)//crlf////tab////tab////tab////tab////tab//sDescription=driverGetFieldAbsolute(d\\comma\\\\quot\\Description\\quot\\\\comma\\r)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Record already exists: n=\\quot\\\\plus\\n\\plus\\\\quot\\ r=\\quot\\\\plus\\r\\plus\\\\quot\\ Used=\\quot\\\\plus\\bUsed\\plus\\\\quot\\ Description=\\quot\\\\plus\\sDescription)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Description\\quot\\\\comma\\r\\comma\\getElement(arDescription\\comma\\r))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\used\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Time_Imported\\quot\\\\comma\\r\\comma\\now())//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////set filter for drivers.  Allow for importing data when the session hasn\\apos\\t been closed yet.//crlf////tab////tab////tab//sFilter=\\quot\\Is_In_Session\\quot\\//crlf////tab////tab////tab//if(\\quot\\__Date__\\quot\\=formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//sFilter=\\quot\\Is_In_Current_Session\\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//sSaveFilter=sFilter//crlf////crlf////tab////tab////tab////open drivers//crlf////tab////tab////tab//appendToLog(\\quot\\Opening sls.dbf\\quot\\)//crlf////tab////tab////tab//driverOpen(Pos_Rm_Sls_Dbf_All_Records\\comma\\dSls\\comma\\READ\\comma\\false\\comma\\\\quot\\Dir=\\quot\\\\plus\\sDir\\plus\\\\quot\\~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(dSls\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\sls.dbf record count=\\quot\\\\plus\\driverGetRecordCount(dSls\\comma\\false)\\plus\\\\quot\\ / \\quot\\\\plus\\driverGetRecordCount(dSls\\comma\\true))//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Opening sdet.dbf Dir=\\quot\\\\plus\\sDir\\plus\\\\quot\\Date=__Date__\\quot\\)//crlf////tab////tab////tab////driverOpen(Pos_Rm_Sdet_Check_Details_Sales_All_Records\\comma\\dSDet\\comma\\READ\\comma\\false\\comma\\\\quot\\Dir=\\quot\\\\plus\\sDir\\plus\\\\quot\\~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverOpen(Pos_Rm_Sdet_Dbf_All_Records\\comma\\dSDet\\comma\\READ\\comma\\false\\comma\\\\quot\\Dir=\\quot\\\\plus\\sDir\\plus\\\\quot\\~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(dSDet\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\sdet.dbf record count=\\quot\\\\plus\\driverGetRecordCount(dSDet\\comma\\false)\\plus\\\\quot\\ / \\quot\\\\plus\\driverGetRecordCount(dSDet\\comma\\true))//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Opening pmt.dbf Dir=\\quot\\\\plus\\sDir\\plus\\\\quot\\Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverOpen(POS_RM_Sls_Check_Details_Tenders_All_Records\\comma\\dTender\\comma\\READ\\comma\\false\\comma\\\\quot\\Dir=\\quot\\\\plus\\sDir\\plus\\\\quot\\~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(dTender\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\pmt.dbf record count=\\quot\\\\plus\\driverGetRecordCount(dTender\\comma\\false)\\plus\\\\quot\\ / \\quot\\\\plus\\driverGetRecordCount(dTender\\comma\\true))//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Opening paidouts.dbf\\quot\\)//crlf////tab////tab////tab//driverOpen(Pos_Rm_Pout_Dbf\\comma\\dPaidOut\\comma\\READ\\comma\\false\\comma\\\\quot\\Dir=\\quot\\\\plus\\sDir\\plus\\\\quot\\~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverSetFilter(dPaidOut\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab//appendToLog(\\quot\\paidouts.dbf record count=\\quot\\\\plus\\driverGetRecordCount(dPaidOut\\comma\\false)\\plus\\\\quot\\ / \\quot\\\\plus\\driverGetRecordCount(dPaidOut\\comma\\true))//crlf////crlf////tab////tab////tab//s=driverGetFieldIDs(dPaidOut\\comma\\0\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\Fields=\\quot\\\\plus\\s)//crlf////crlf////tab////tab////tab////get sales by department and cash drawer//crlf////tab////tab////tab////Departments are 1-Food\\comma\\ 2-Retail\\comma\\ 3-Beverage.  These are in records 0\\comma\\ 1 and 2//crlf////tab////tab////tab////Drawers are numbered 1 to 6.  These are fields in records 0\\comma\\ 1 and 2//crlf////tab////tab////tab//nDepartment=1//crlf////tab////tab////tab//while(nDepartment<4)//crlf////tab////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab////tab//sFilter=\\quot\\(DepartmentID=\\quot\\\\plus\\nDepartment\\plus\\\\quot\\) and (Drawer_Override=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\) and (not(Iscoupon))\\quot\\//crlf////tab////tab////tab////tab////tab//dAmount=driverRangeSum(dSDet\\comma\\Gross_Sales\\comma\\false\\comma\\sFilter)//crlf////tab////tab////tab////tab////tab//dCount=driverRangeCount(dSDet\\comma\\Gross_Sales\\comma\\false\\comma\\sFilter)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\nDepartment-1\\comma\\dAmount)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Department=\\quot\\\\plus\\nDepartment\\plus\\\\quot\\ Drawer=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\ Amount=\\quot\\\\plus\\dAmount\\plus\\\\quot\\ Count=\\quot\\\\plus\\dCount)//crlf////crlf////tab////tab////tab////tab////tab////debugging//crlf////tab////tab////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab////tab////tab//if((nDepartment=1) and (nDrawer=1))//crlf////tab////tab////tab////tab////tab////tab////tab////output records for cash drawer 1\\comma\\ department 1//crlf////tab////tab////tab////tab////tab////tab////tab//dTotal=0//crlf////tab////tab////tab////tab////tab////tab////tab//c=driverGetRecordCount(dSDet)//crlf////tab////tab////tab////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//debugDepartment=driverGetField(dSDet\\comma\\\\quot\\DepartmentID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//debugCashDraw=driverGetField(dSDet\\comma\\\\quot\\Cash_Draw\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//debugIscoupon=driverGetField(dSDet\\comma\\\\quot\\Iscoupon\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if((debugDepartment=1) and (debugCashDraw=1) and (not(debugIscoupon)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//iDiskIndex=driverGetField(dSDet\\comma\\\\quot\\DiskIndex\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dGrossSales=driverGetField(dSDet\\comma\\\\quot\\Gross_Sales\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//dTotal=dTotal\\plus\\dGrossSales//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Record: \\quot\\\\plus\\IDiskIndex\\plus\\\\quot\\ Gross_Sales=\\quot\\\\plus\\dGrossSales)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//nDepartment\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////04-26-2023 - Add department 5\\comma\\ Donations to record 21//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//sFilter=\\quot\\(DepartmentID=\\quot\\\\plus\\5\\plus\\\\quot\\) and (Drawer_Override=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//dAmount=driverRangeSum(dSDet\\comma\\Gross_Sales\\comma\\false\\comma\\sFilter)//crlf////tab////tab////tab////tab//dCount=driverRangeCount(dSDet\\comma\\Gross_Sales\\comma\\false\\comma\\sFilter)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\21\\comma\\dAmount)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////add GC Sold to record 3//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//sFilter=\\quot\\(Drawer_Override=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\) and (RecType=9) and (Tender_Name=\\quot\\\\plus\\quote(\\quot\\Gift Card\\quot\\)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//dAmount=driverRangeSum(dTender\\comma\\Amount\\comma\\false\\comma\\sFilter)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\3\\comma\\dAmount)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////add Tax to record 4//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//sFilter=\\quot\\(Drawer_Override=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//dAmount=driverRangeSum(dSls\\comma\\Taxes\\comma\\false\\comma\\sFilter)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\4\\comma\\dAmount)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////record the sum of records 0-4 in record 5 (Total Sales)//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//dAmount=0//crlf////tab////tab////tab////tab//nRecord=0//crlf////tab////tab////tab////tab//while(nRecord<5)//crlf////tab////tab////tab////tab////tab//dAmount=dAmount\\plus\\driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\nRecord)//crlf////tab////tab////tab////tab////tab//nRecord\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\5\\comma\\dAmount)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////Record Paid Outs in record 6//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//sFilter=\\quot\\(Drawer_Override=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//dAmount=driverRangeSum(dPaidOut\\comma\\Po_Amount\\comma\\false\\comma\\sFilter)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\6\\comma\\-dAmount)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////Record Over Rings in record 7 //crlf////crlf////tab////tab////tab////Record GC Redeemed in record 8//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//sFilter=\\quot\\(Drawer_Override=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\) and (RecType=8) and (Tender_Name=\\quot\\\\plus\\quote(\\quot\\Gift Card\\quot\\)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//dAmount=driverRangeSum(dTender\\comma\\Amount\\comma\\false\\comma\\sFilter)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\8\\comma\\dAmount)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////Record Coupons in record 9//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//sFilter=\\quot\\(Drawer_Override=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//dAmount=driverRangeSum(dSls\\comma\\Dollardisc\\comma\\false\\comma\\sFilter)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\9\\comma\\dAmount)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////Record Credit Cards in record 10//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//sFilter=\\quot\\(Drawer_Override=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\) and (RecType=8) and ((Tender_Name=\\quot\\\\plus\\quote(\\quot\\Emv Credit Card\\quot\\)\\plus\\\\quot\\) or (Tender_Name=\\quot\\\\plus\\quote(\\quot\\Credit Card\\quot\\)\\plus\\\\quot\\))\\quot\\//crlf////tab////tab////tab////tab//dAmount=driverRangeSum(dTender\\comma\\Amount\\comma\\false\\comma\\sFilter)//crlf////tab////tab////tab////tab//dCount=driverRangeCount(dTender\\comma\\Amount\\comma\\false\\comma\\sFilter)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Recording credit cards.  nDrawer=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\ Amount=\\quot\\\\plus\\dAmount\\plus\\\\quot\\ dCount=\\quot\\\\plus\\dCount)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\10\\comma\\dAmount)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////Record Online Order in record 20//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//sFilter=\\quot\\(Drawer_Override=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\) and (RecType=8) and (Tender_Name=\\quot\\\\plus\\quote(\\quot\\Online Order\\quot\\)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//dAmount=driverRangeSum(dTender\\comma\\Amount\\comma\\false\\comma\\sFilter)//crlf////tab////tab////tab////tab//dCount=driverRangeCount(dTender\\comma\\Amount\\comma\\false\\comma\\sFilter)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Recording Online Order.  nDrawer=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\ Amount=\\quot\\\\plus\\dAmount\\plus\\\\quot\\ dCount=\\quot\\\\plus\\dCount)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\20\\comma\\dAmount)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////Record Emp Charges in record 11 and Charge Acct in record 14//crlf////tab////tab////tab////These all come from the pmt driver.  The client.dbf driver is used to lookup account types //crlf////tab////tab////tab////for account numbers in the pmt file.  Account type 1 goes into record 14.  All others go //crlf////tab////tab////tab////into record 11 as emp charges.  The term On Account is used at some stores in place of emp charges.//crlf////tab////tab////tab////appendToLog(\\quot\\Recording emp charges\\quot\\)//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab////sFilter=\\quot\\(Cash_Draw=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\) and (RecType=8) and (Tender_Name=\\quot\\\\plus\\quote(\\quot\\Emp Charge\\quot\\)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//sFilter=\\quot\\(Drawer_Override=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\) and (RecType=8) and ((Tender_Name=\\quot\\\\plus\\quote(\\quot\\Emp Charge\\quot\\)\\plus\\\\quot\\) or (Tender_Name=\\quot\\\\plus\\quote(\\quot\\On Account\\quot\\)\\plus\\\\quot\\))\\quot\\//crlf////tab////tab////tab////tab//sFilter=sFilter\\plus\\\\quot\\ and (not(Account_Type=1))\\quot\\//crlf////tab////tab////tab////tab//dAmount=driverRangeSum(dTender\\comma\\Amount\\comma\\false\\comma\\sFilter)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\11\\comma\\dAmount)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////appendToLog(\\quot\\Recording charge account\\quot\\)//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab////sFilter=\\quot\\(Cash_Draw=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\) and (RecType=8) and (Tender_Name=\\quot\\\\plus\\quote(\\quot\\Emp Charge\\quot\\)\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//sFilter=\\quot\\(Drawer_Override=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\) and (RecType=8) and ((Tender_Name=\\quot\\\\plus\\quote(\\quot\\Emp Charge\\quot\\)\\plus\\\\quot\\) or (Tender_Name=\\quot\\\\plus\\quote(\\quot\\On Account\\quot\\)\\plus\\\\quot\\))\\quot\\//crlf////tab////tab////tab////tab//sFilter=sFilter\\plus\\\\quot\\ and (Account_Type=1)\\quot\\//crlf////tab////tab////tab////tab//dAmount=driverRangeSum(dTender\\comma\\Amount\\comma\\false\\comma\\sFilter)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\14\\comma\\dAmount)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////Record GC Promo in record 12//crlf////crlf////tab////tab////tab////Record Discounts in record 13//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//sFilter=\\quot\\(Drawer_Override=\\quot\\\\plus\\nDrawer\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//dAmount=driverRangeSum(dSDet\\comma\\Calc_Discount_Amount\\comma\\false\\comma\\sFilter)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\13\\comma\\dAmount)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////Record Charge Acct in record 14//crlf////crlf////tab////tab////tab////Record Christmas Card in record 15 //crlf////crlf////tab////tab////tab////clear any garbage records//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//nRecord=0//crlf////tab////tab////tab////tab//while(nRecord<21)//crlf////tab////tab////tab////tab////tab//d1=driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\nRecord)//crlf////tab////tab////tab////tab////tab//if(d1>100000)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Clear1 Drawer:\\quot\\\\plus\\nDrawer\\plus\\\\quot\\ Record:\\quot\\\\plus\\nRecord\\plus\\\\quot\\ Amount:\\quot\\\\plus\\d1)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\nRecord\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Cleared_Error\\quot\\\\comma\\nRecord\\comma\\now())//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//nRecord\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////Record Subtotal in record 16//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//dAmount=driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\5)//crlf////tab////tab////tab////tab//nRecord=6//crlf////tab////tab////tab////tab//while(nRecord<16)//crlf////tab////tab////tab////tab////tab//d1=driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\nRecord)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Drawer:\\quot\\\\plus\\nDrawer\\plus\\\\quot\\ Record:\\quot\\\\plus\\nRecord\\plus\\\\quot\\ Amount:\\quot\\\\plus\\d1)//crlf////tab////tab////tab////tab////tab//dAmount=dAmount-driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\nRecord)//crlf////tab////tab////tab////tab////tab//nRecord\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////include Online Order from record 20//crlf////tab////tab////tab////tab//d1=driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\20)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\Drawer:\\quot\\\\plus\\nDrawer\\plus\\\\quot\\ Record:20 Amount:\\quot\\\\plus\\d1)//crlf////tab////tab////tab////tab//dAmount=dAmount-driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\20)//crlf////crlf////tab////tab////tab////tab////include Online Order from record 21//crlf////tab////tab////tab////tab//dAmount=dAmount\\plus\\driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\21)//crlf////crlf////tab////tab////tab////tab////appendToLog(\\quot\\Recording record 16 amount=\\quot\\\\plus\\dAmount)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\16\\comma\\dAmount)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////Record Cash Deposit in record 17//crlf////crlf////tab////tab////tab////Record Over/short in record 18//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//dAmount1=driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\16)//crlf////tab////tab////tab////tab//dAmount2=driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\17)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\overshort dAmount1=\\quot\\\\plus\\dAmount1)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\overshort dAmount2=\\quot\\\\plus\\dAmount2)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\overshort recording \\quot\\\\plus\\(dAmount2-dAmount1))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\18\\comma\\dAmount2-dAmount1)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////record the time imported and the date/timestamp of sdet in the first record of the driver//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Time_Imported\\quot\\\\comma\\0\\comma\\now())//crlf////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata\restaurant_manager\\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\\sdet\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MMyy\\quot\\)\\plus\\\\quot\\.dbf\\quot\\//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\SDet_Modified\\quot\\\\comma\\0\\comma\\fileModified(sFilename))//tab////crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\SDet_Modified\\quot\\\\comma\\0\\comma\\0)//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab////copy employee charges from the pmt file to a separate file in the export directory.  These //crlf////tab////tab////tab////tab////files are sent to the office for use in the payroll export//crlf////tab////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\export/\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\plus\\\\quot\\_pmt\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//driverOpen(POS_RM_Pmt_Employee_Charges\\comma\\dEmpCharge\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab//sFilter=\\quot\\(\\quot\\\\plus\\sSaveFilter\\plus\\\\quot\\)\\quot\\//crlf////tab////tab////tab////tab//sFilter=sFilter\\plus\\\\quot\\ and (RecType=8) and ((Tender_Name=\\quot\\\\plus\\quote(\\quot\\Emp Charge\\quot\\)\\plus\\\\quot\\) or (Tender_Name=\\quot\\\\plus\\quote(\\quot\\On Account\\quot\\)\\plus\\\\quot\\))\\quot\\//crlf////tab////tab////tab////tab//sFilter=sFilter\\plus\\\\quot\\ and (not(Account_Type=1))\\quot\\//crlf////tab////tab////tab////tab////if(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))//crlf////tab////tab////tab////tab//////tab//fileWriteContent(\\quot\\c:\temp\2021-09\filter.csv\\quot\\\\comma\\sFilter)//crlf////tab////tab////tab////tab////endif//crlf////tab////tab////tab////tab//driverSetFilter(dTender\\comma\\sFilter\\comma\\true)//crlf////tab////tab////tab////tab//c=driverGetRecordCount(dTender\\comma\\false)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\writing \\quot\\\\plus\\c\\plus\\\\quot\\ employee charges to \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(dEmpCharge)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dEmpCharge\\comma\\\\quot\\Date\\quot\\\\comma\\r\\comma\\dt)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dEmpCharge\\comma\\\\quot\\HashID\\quot\\\\comma\\r\\comma\\getToken(\\quot\\AspectHashID\\quot\\))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dEmpCharge\\comma\\\\quot\\Time\\quot\\\\comma\\r\\comma\\driverGetField(dTender\\comma\\\\quot\\Time\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dEmpCharge\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\r\\comma\\driverGetField(dTender\\comma\\\\quot\\CheckNumber\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dEmpCharge\\comma\\\\quot\\Amount\\quot\\\\comma\\r\\comma\\driverGetField(dTender\\comma\\\\quot\\Amount\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dEmpCharge\\comma\\\\quot\\Account_No\\quot\\\\comma\\r\\comma\\driverGetField(dTender\\comma\\\\quot\\Account_No\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dEmpCharge\\comma\\\\quot\\Base_Amt\\quot\\\\comma\\r\\comma\\driverGetField(dTender\\comma\\\\quot\\Base_Amt\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dEmpCharge\\comma\\\\quot\\Tip_Amt\\quot\\\\comma\\r\\comma\\driverGetField(dTender\\comma\\\\quot\\Tip_Amt\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dEmpCharge\\comma\\\\quot\\Cash_Back\\quot\\\\comma\\r\\comma\\driverGetField(dTender\\comma\\\\quot\\Cash_Back\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(dEmpCharge\\comma\\\\quot\\Room_No\\quot\\\\comma\\r\\comma\\driverGetField(dTender\\comma\\\\quot\\Room_No\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//driverClose(dEmpCharge)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverClose(dSls)//crlf////tab////tab////tab//driverClose(dSDet)//crlf////tab////tab////tab//driverClose(dTender)//crlf////tab////tab////tab//driverClose(dPaidOut)//crlf////crlf////tab////tab////tab//driverClose(d)//tab////tab////crlf////crlf////tab////tab////tab//appendToLog(\\quot\\cash drawer size2=\\quot\\\\plus\\fileSize(s1))//crlf////tab////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updateCashDrawReconciliationSubtotalRecords//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateCashDrawReconciliationSubtotalRecords\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates subtotal records in a cash drawer reconciliation driver when data is submitted.//crlf////tab////tab//Called from the POS_RM_Cash_Drawer_Reconcile_DataSubmitted script//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID//crlf////tab////tab//Date//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateCashDrawReconciliationSubtotalRecords\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(not(defined(\\quot\\__StoreID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////abort if missing date//crlf////tab////tab////tab//if(not(defined(\\quot\\__Date__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\updateCashDrawReconciliationSubtotalRecords\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Opening driver: StoreID=__StoreID__ Date=__Date__\\quot\\)//crlf////crlf////tab////tab////tab//s1=getStoreDir(\\quot\\__StoreID__\\quot\\)\\plus\\\\quot\\cash_drawer.__Date__.bin\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\update cash drawer Filename=\\quot\\\\plus\\s1)//crlf////tab////tab////tab//appendToLog(\\quot\\update cash drawer size1=\\quot\\\\plus\\fileSize(s1))//crlf////tab////tab////tab//appendToLog(\\quot\\update cash drawer Modified=\\quot\\\\plus\\formatDate(fileModified(s1)\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\driverIsOpen=\\quot\\\\plus\\driverIsOpen(d))//crlf////crlf////tab////tab////tab//d=getSalt(4)//crlf////tab////tab////tab//driverOpen(POS_RM_Cash_Drawer_Reconcile\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~NoDepend\\quot\\)//crlf////crlf////tab////tab////tab////clear any garbage records//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//nRecord=0//crlf////tab////tab////tab////tab//while(nRecord<21)//crlf////tab////tab////tab////tab////tab//d1=driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\nRecord)//crlf////tab////tab////tab////tab////tab//if(d1>100000)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Clear2 Drawer:\\quot\\\\plus\\nDrawer\\plus\\\\quot\\ Record:\\quot\\\\plus\\nRecord\\plus\\\\quot\\ Amount:\\quot\\\\plus\\d1)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\nRecord\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Cleared_Error\\quot\\\\comma\\nRecord\\comma\\now())//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//nRecord\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////record the sum of records 0-4 in record 5 (Total Sales)//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//dAmount=0//crlf////tab////tab////tab////tab//nRecord=0//crlf////tab////tab////tab////tab//while(nRecord<5)//crlf////tab////tab////tab////tab////tab//dAmount=dAmount\\plus\\driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\nRecord)//crlf////tab////tab////tab////tab////tab//nRecord\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\5\\comma\\dAmount)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////Record Subtotal in record 16//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//dAmount=driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\5)//crlf////tab////tab////tab////tab//nRecord=6//crlf////tab////tab////tab////tab//while(nRecord<16)//crlf////tab////tab////tab////tab////tab//d1=driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\nRecord)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Drawer:\\quot\\\\plus\\nDrawer\\plus\\\\quot\\ Record:\\quot\\\\plus\\nRecord\\plus\\\\quot\\ Amount:\\quot\\\\plus\\d1)//crlf////tab////tab////tab////tab////tab//dAmount=dAmount-driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\nRecord)//crlf////tab////tab////tab////tab////tab//nRecord\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////deduct the online order tender which was added to record 20//crlf////tab////tab////tab////tab////Do not do this for earlier files that do not have a record 20//crlf////tab////tab////tab////tab//cRecords=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\cRecords=\\quot\\\\plus\\cRecords)//crlf////tab////tab////tab////tab//if(cRecords>20)//crlf////tab////tab////tab////tab////tab//d1=driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\20)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Drawer:\\quot\\\\plus\\nDrawer\\plus\\\\quot\\ Record:20 Amount:\\quot\\\\plus\\d1)//crlf////tab////tab////tab////tab////tab//dAmount=dAmount-driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\20)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////Add Promo Donations from record 21//crlf////tab////tab////tab////tab////Do not do this for earlier files that do not have a record 21//crlf////tab////tab////tab////tab//if(cRecords>21)//crlf////tab////tab////tab////tab////tab//dAmount=dAmount\\plus\\driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\21)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\16\\comma\\dAmount)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////Record Over/short in record 18//crlf////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab//dAmount1=driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\16)//crlf////tab////tab////tab////tab//dAmount2=driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\17)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\overshort dAmount1=\\quot\\\\plus\\dAmount1)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\overshort dAmount2=\\quot\\\\plus\\dAmount2)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\overshort recording \\quot\\\\plus\\(dAmount2-dAmount1))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\\\plus\\nDrawer\\comma\\18\\comma\\dAmount2-dAmount1)//crlf////tab////tab////tab////tab//nDrawer\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//tab////tab////crlf////crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\update cash drawer size2=\\quot\\\\plus\\fileSize(s1))//crlf////crlf////tab////tab////tab//return(\\quot\\Ok\\quot\\)//tab////tab////crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updateCashDrawReconciliationDrivers//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateCashDrawReconciliationDrivers\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates POS_RM_Cash_Drawer_Reconcile drivers for a store//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Optional StoreID.  If not defined\\comma\\ the value is gotten from the POS interface token.//crlf////tab////tab//DateFrom - Optional starting date.  Default is 30 days prior to last business day.//crlf////tab////tab//DateTo - Optional starting date.  Default is last business day//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateCashDrawReconciliationDrivers\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////get StoreID//crlf////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//if(defined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//sStoreID=\\quot\\__StoreID__\\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////for testing//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\)//crlf////tab////tab////tab////tab//sStoreID=\\quot\\dDqDiP2B3SSYRNb1z7ju6uge\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\set StoreID for testing\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if StoreID is not defined.  This also handles aborting for corporate PCs//crlf////tab////tab////tab//if((\\quot\\__StoreID__\\quot\\=\\quot\\undefined\\quot\\) or (len(sStoreID)=0))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get date from//crlf////tab////tab////tab//dtFrom=incrementTime(lastBusinessDay(\\quot\\00:00\\quot\\)\\comma\\-7)//crlf////tab////tab////tab//if(defined(\\quot\\__DateFrom__\\quot\\))//crlf////tab////tab////tab////tab//dtFrom=parseTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get date to//crlf////tab////tab////tab////dtTo=lastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab//dtTo=now()//crlf////tab////tab////tab//if(defined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab//dtTo=parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sPosDataDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata/restaurant_manager/\\quot\\//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\ dtFrom=\\quot\\\\plus\\formatDate(dtFrom\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ dtTo=\\quot\\\\plus\\formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////tab//cUpdate=0//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//dt=dtFrom//crlf////tab////tab////tab//while(dt<=dtTo)//crlf////tab////tab////tab////tab//sDate=formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab//sMMyy=formatDate(dt\\comma\\\\quot\\MMyy\\quot\\)//crlf////tab////tab////tab////tab//sSls=sPosDataDir\\plus\\sDate\\plus\\\\quot\\/sls\\quot\\\\plus\\sMMyy\\plus\\\\quot\\.dbf\\quot\\//crlf////tab////tab////tab////tab//sSDet=sPosDataDir\\plus\\sDate\\plus\\\\quot\\/sdet\\quot\\\\plus\\sMMyy\\plus\\\\quot\\.dbf\\quot\\//crlf////tab////tab////tab////tab//sPmt=sPosDataDir\\plus\\sDate\\plus\\\\quot\\/pmt\\quot\\\\plus\\sMMyy\\plus\\\\quot\\.dbf\\quot\\//crlf////tab////tab////tab////tab//sProcessed=sPosDataDir\\plus\\sDate\\plus\\\\quot\\/processed.txt\\quot\\//crlf////crlf////tab////tab////tab////tab////get the filename of the cash drawer reconciliation//crlf////tab////tab////tab////tab//sFilename=getStoreDir(sStoreID)\\plus\\\\quot\\cash_drawer.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//appendToLog(\\quot\\sFilename=\\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Size: \\quot\\\\plus\\fileSize(sFilename)\\plus\\\\quot\\ Modified: \\quot\\\\plus\\formatDate(fileModified(sFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////crlf////tab////tab////tab////tab////determine if the file needs to be updated//crlf////tab////tab////tab////tab//bUpdate=false//crlf////tab////tab////tab////tab//if(fileSize(sFilename)=0)//crlf////tab////tab////tab////tab////tab////if the file doesn\\apos\\t exist then import the data//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Updating file because file size is 0\\quot\\)//crlf////tab////tab////tab////tab////tab//bUpdate=true//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////if it\\apos\\s the current date\\comma\\ then import the data//crlf////tab////tab////tab////tab////tab//if(formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)=formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Updating file because it is for the current date\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//bUpdate=true//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////if the timestamp of the sdet file is greater than when the file was imported then //crlf////tab////tab////tab////tab////tab////tab////import it//crlf////tab////tab////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//driverOpen(POS_RM_Cash_Drawer_Reconcile\\comma\\d\\comma\\READ\\comma\\false\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab//dtSDetModified=driverGetFieldAbsolute(d\\comma\\\\quot\\SDet_Modified\\quot\\\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab//if(fileModified(sSDet)>dtSDetModified) or (dateNumber(fileModified(sSDet))=0) or (dateNumber(dtSDetModified)=0)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Updating file because the timestamp of sdet has been updated\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Timestamp when imported: \\quot\\\\plus\\formatDate(dtSDetModified\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Timestamp of current sdet: \\quot\\\\plus\\formatDate(fileModified(sSDet)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\SDet filename=\\quot\\\\plus\\sSDet)//crlf////tab////tab////tab////tab////tab////tab////tab//bUpdate=true//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Not updating file because timestamp of sdet has not been updated\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Timestamp when imported: \\quot\\\\plus\\formatDate(dtSDetModified\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Timestamp of current sdet: \\quot\\\\plus\\formatDate(fileModified(sSDet)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\SDet filename=\\quot\\\\plus\\sSDet)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////if the hour is earlier than 10 and the date is for the previous day\\comma\\ then import the data//crlf////tab////tab////tab////tab//if(hour(now())<10)//crlf////tab////tab////tab////tab////tab//if(formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)=formatDate(incrementTime(now()\\comma\\-1)\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Updating file because it is before 10 and the date is for the previous day\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Hour=\\quot\\\\plus\\hour(now())\\plus\\\\quot\\ dt=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//bUpdate=true//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//if(bUpdate)//crlf////tab////tab////tab////tab////tab//s=execAgentAction(initializeCashDrawerDriver\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//cUpdate\\plus\\\\plus\\//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Not updating \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Dt=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////add fields to daily sale struct.  This doesn\\apos\\t really need to be done every day.  It//crlf////tab////tab////tab////only needs to be executed once in order to add the fields initially.//crlf////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\Date=\\quot\\\\plus\\formatDate(dtTo\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Adding fields: \\quot\\\\plus\\sParams)//crlf////tab////tab////tab//execAgentAction(\\quot\\addCashDrawerFieldsToUserSalesStruct\\quot\\\\comma\\sParams)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Updated: \\quot\\\\plus\\cUpdate)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//addCashDrawerFieldsToUserSalesStruct//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\addCashDrawerFieldsToUserSalesStruct\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Creates fields in the user-defined sales structure to read data from the Cash Drawer reconciliation.//crlf////tab////tab//These fields use the POS_Restaurant_Manager_Cash_Drawer_Totals_by_Description collection to //crlf////tab////tab//lookup values by the description of the field in the cash drawer reconcile.//crlf////crlf////tab////tab//The value is a comma-delimited list of values for Drawer 1 thru Drawer 6\\comma\\ Total of Drawers1-3 and //crlf////tab////tab//Drawers4-6 and the total.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//StoreID - Store ID//crlf////tab////tab//Date//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\addCashDrawerFieldsToUserSalesStruct\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\addCashDrawerFieldsToUserSalesStruct StoreID=__StoreID__ Date=__Date__\\quot\\)//crlf////crlf////tab////tab////tab////abort if missing StoreID//crlf////tab////tab////tab//if(not(defined(\\quot\\__StoreID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////tab////abotr if missing date//crlf////tab////tab////tab//if(not(defined(\\quot\\__Date__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the custom sales structures//crlf////tab////tab////tab//driverOpen(POS_Generic_User_Defined_Daily_Sales_Struct\\comma\\dSalesStruct\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__\\quot\\)//crlf////crlf////tab////tab////tab////open the cash drawer reconciliation//crlf////tab////tab////tab//driverOpen(POS_RM_Cash_Drawer_Reconcile\\comma\\dCashDrawer\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=__StoreID__~~pipe~~Date=__Date__\\quot\\)//crlf////crlf////tab////tab////tab////add a field for the date//crlf////tab////tab////tab//sDescription=\\quot\\Cash Drawer - Date\\quot\\//crlf////tab////tab////tab//r=driverFindRecordAbsolute(dSalesStruct\\comma\\0\\comma\\\\quot\\Description=\\quot\\\\plus\\quote(sDescription))//crlf////tab////tab////tab//if(r<0)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(dSalesStruct)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sFormula=\\quot\\if(defined(\\pound\\Date)\\comma\\parseTime(\\pound\\Date)\\comma\\if(value(DateNumber)\\quot\\\\plus\\char(0x3C)\\plus\\\\quot\\0\\comma\\date(DateNumber)\\comma\\Date))\\quot\\//crlf////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Used\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Description\\quot\\\\comma\\r\\comma\\sDescription)//crlf////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\IsCalculated\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Aspect_Structures_IsFormula\\quot\\\\comma\\r\\comma\\sFormula\\comma\\\\quot\\AddEquals\\quot\\)//crlf////crlf////tab////tab////tab////iterate through the records in the cash drawer reconciliation//crlf////tab////tab////tab//driverSetFilter(dCashDrawer\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(dCashDrawer)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//cAdded=0//crlf////tab////tab////tab//cUpdated=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sDescription=driverGetField(dCashDrawer\\comma\\\\quot\\Description\\quot\\\\comma\\n)//crlf////crlf////tab////tab////tab////tab////Add field for AM //crlf////tab////tab////tab////tab//sFieldDescription=\\quot\\Cash Drawer - \\quot\\\\plus\\sDescription\\plus\\\\quot\\ AM\\quot\\//crlf////tab////tab////tab////tab//r=driverFindRecordAbsolute(dSalesStruct\\comma\\0\\comma\\\\quot\\Description=\\quot\\\\plus\\quote(sFieldDescription))//crlf////tab////tab////tab////tab//if(r<0)//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(dSalesStruct)//crlf////tab////tab////tab////tab////tab//cAdded\\plus\\\\plus\\//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//cUpdated\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//sFormula=\\quot\\getElement(lookup(POS_Restaurant_Manager_Cash_Drawer_Totals_by_Description\\comma\\\\apos\\FieldID\\apos\\\\comma\\0\\comma\\\\apos\\StoreID=\\apos\\\\plus\\\\pound\\StoreID\\plus\\\\apos\\~~pipe~~Date=\\apos\\\\plus\\formatDate(CashDrawerDate\\comma\\\\apos\\MM-dd-yyyy\\apos\\))\\comma\\6)\\quot\\//crlf////tab////tab////tab////tab//if(sDescription=\\quot\\Over/Short\\quot\\)//crlf////tab////tab////tab////tab////tab//sFormula=replaceSubstring(sFormula\\comma\\\\quot\\FieldID\\quot\\\\comma\\\\quot\\OverAndShort\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sFormula=replaceSubstring(sFormula\\comma\\\\quot\\FieldID\\quot\\\\comma\\sDescription)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//sFormula=replaceSubstring(sFormula\\comma\\char(0x27)\\comma\\char(0x22))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Used\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Description\\quot\\\\comma\\r\\comma\\sFieldDescription)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\IsCalculated\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Aspect_Structures_IsFormula\\quot\\\\comma\\r\\comma\\sFormula\\comma\\\\quot\\AddEquals\\quot\\)//crlf////crlf////tab////tab////tab////tab////Add field for PM //crlf////tab////tab////tab////tab//sFieldDescription=\\quot\\Cash Drawer - \\quot\\\\plus\\sDescription\\plus\\\\quot\\ PM\\quot\\//crlf////tab////tab////tab////tab//r=driverFindRecordAbsolute(dSalesStruct\\comma\\0\\comma\\\\quot\\Description=\\quot\\\\plus\\quote(sFieldDescription))//crlf////tab////tab////tab////tab//if(r<0)//crlf////tab////tab////tab////tab////tab//r=driverAddNewRecord(dSalesStruct)//crlf////tab////tab////tab////tab////tab//cAdded\\plus\\\\plus\\//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//cUpdated\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//sFormula=replaceSubstring(sFormula\\comma\\\\quot\\6\\quot\\\\comma\\\\quot\\7\\quot\\)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Used\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Description\\quot\\\\comma\\r\\comma\\sFieldDescription)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\IsCalculated\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Aspect_Structures_IsFormula\\quot\\\\comma\\r\\comma\\sFormula\\comma\\\\quot\\AddEquals\\quot\\)//crlf////crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////add field for Daily_Rev_Forecast//crlf////tab////tab////tab//sFieldDescription=\\quot\\Cash Drawer - Daily Rev Forecast\\quot\\//crlf////tab////tab////tab//sFormula=\\quot\\getElement(lookup(POS_Restaurant_Manager_Cash_Drawer_Totals_by_Description\\comma\\\\apos\\Food\\apos\\\\comma\\0\\comma\\\\apos\\StoreID=\\apos\\\\plus\\\\pound\\StoreID\\plus\\\\apos\\~~pipe~~Date=\\apos\\\\plus\\formatDate(CashDrawerDate\\comma\\\\apos\\MM-dd-yyyy\\apos\\))\\comma\\9)\\quot\\//crlf////tab////tab////tab//sFormula=replaceSubstring(sFormula\\comma\\char(0x27)\\comma\\char(0x22))//crlf////tab////tab////tab//r=driverFindRecordAbsolute(dSalesStruct\\comma\\0\\comma\\\\quot\\Description=\\quot\\\\plus\\quote(sFieldDescription))//crlf////tab////tab////tab//if(r<0)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(dSalesStruct)//crlf////tab////tab////tab////tab//cAdded\\plus\\\\plus\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//cUpdated\\plus\\\\plus\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Used\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Description\\quot\\\\comma\\r\\comma\\sFieldDescription)//crlf////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\IsCalculated\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Aspect_Structures_IsFormula\\quot\\\\comma\\r\\comma\\sFormula\\comma\\\\quot\\AddEquals\\quot\\)//crlf////crlf////tab////tab////tab////add field for Budgeted_Labor//crlf////tab////tab////tab//sFieldDescription=\\quot\\Cash Drawer - Budgeted Labor Hours\\quot\\//crlf////tab////tab////tab//sFormula=\\quot\\getElement(lookup(POS_Restaurant_Manager_Cash_Drawer_Totals_by_Description\\comma\\\\apos\\Food\\apos\\\\comma\\0\\comma\\\\apos\\StoreID=\\apos\\\\plus\\\\pound\\StoreID\\plus\\\\apos\\~~pipe~~Date=\\apos\\\\plus\\formatDate(CashDrawerDate\\comma\\\\apos\\MM-dd-yyyy\\apos\\))\\comma\\10)\\quot\\//crlf////tab////tab////tab//sFormula=replaceSubstring(sFormula\\comma\\char(0x27)\\comma\\char(0x22))//crlf////tab////tab////tab//r=driverFindRecordAbsolute(dSalesStruct\\comma\\0\\comma\\\\quot\\Description=\\quot\\\\plus\\quote(sFieldDescription))//crlf////tab////tab////tab//if(r<0)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(dSalesStruct)//crlf////tab////tab////tab////tab//cAdded\\plus\\\\plus\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//cUpdated\\plus\\\\plus\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Used\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Description\\quot\\\\comma\\r\\comma\\sFieldDescription)//crlf////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\IsCalculated\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Aspect_Structures_IsFormula\\quot\\\\comma\\r\\comma\\sFormula\\comma\\\\quot\\AddEquals\\quot\\)//crlf////crlf////tab////tab////tab////add field for Scheduled_Labor_Hours//crlf////tab////tab////tab//sFieldDescription=\\quot\\Cash Drawer - Scheduled Labor Hours\\quot\\//crlf////tab////tab////tab//sFormula=\\quot\\getElement(lookup(POS_Restaurant_Manager_Cash_Drawer_Totals_by_Description\\comma\\\\apos\\Food\\apos\\\\comma\\0\\comma\\\\apos\\StoreID=\\apos\\\\plus\\\\pound\\StoreID\\plus\\\\apos\\~~pipe~~Date=\\apos\\\\plus\\formatDate(CashDrawerDate\\comma\\\\apos\\MM-dd-yyyy\\apos\\))\\comma\\11)\\quot\\//crlf////tab////tab////tab//sFormula=replaceSubstring(sFormula\\comma\\char(0x27)\\comma\\char(0x22))//crlf////tab////tab////tab//r=driverFindRecordAbsolute(dSalesStruct\\comma\\0\\comma\\\\quot\\Description=\\quot\\\\plus\\quote(sFieldDescription))//crlf////tab////tab////tab//if(r<0)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(dSalesStruct)//crlf////tab////tab////tab////tab//cAdded\\plus\\\\plus\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//cUpdated\\plus\\\\plus\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Used\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Description\\quot\\\\comma\\r\\comma\\sFieldDescription)//crlf////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\IsCalculated\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab//driverPutFieldAbsolute(dSalesStruct\\comma\\\\quot\\Aspect_Structures_IsFormula\\quot\\\\comma\\r\\comma\\sFormula\\comma\\\\quot\\AddEquals\\quot\\)//crlf////crlf////tab////tab////tab//driverClose(dSalesStruct)//crlf////tab////tab////tab//driverClose(dCashDrawer)//crlf////crlf////tab////tab////tab//return(\\quot\\ok Added: \\quot\\\\plus\\cAdded\\plus\\\\quot\\ Updated: \\quot\\\\plus\\cUpdated\\plus\\\\quot\\ HashID=\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\))//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf////crlf////crlf//^
ID=808803|X=1500|Y=26|W=1101|H=771|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__Date__//crlf////tab//__StoreID__//crlf////tab//__CustomerHashID__//crlf////tab//__TableControls__//crlf////tab//{@gfs(addDirSlash(getStoreDir(\\quot\\__StoreID__\\quot\\))\\plus\\\\quot\\cash_drawer.__Date__.bin\\quot\\)}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\12272022\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\TableControls\\quot\\\\comma\\\\quot\\__TableControls__\\quot\\\\comma\\true)>//crlf////crlf//[!------------------------------------------------------------------------//crlf//NOTES://crlf////crlf//This view uses multiple tables with the same driver ID to input://crlf////crlf//1. Manager names//crlf//2. Sales and deposits //crlf//3. Daily Rev Forecast\\comma\\ Chart Hours and Scheduled Labor Hours//crlf//4. Notes//crlf////crlf//Tables 1\\comma\\ 3 and 4 only display a single record - the first record in the driver and //crlf//the fields displayed are made editable in the html table.  There is no dialog associated //crlf//with the tables that is actually used.  These tables just give the appearance of additional //crlf//input fields since there are no borders.//crlf////crlf//Data recorded in tables 1\\comma\\ 3 and 4 is recorded in the first record in the driver.//crlf////crlf//--------------------------------------------------------------------------]//crlf////crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//< include type:expression; expression:htmlConstant(\\quot\\CustomerHashID\\quot\\\\comma\\\\quot\\__CustomerHashID__\\quot\\\\comma\\\\quot\\9ruxhc9so\\quot\\)>//crlf//--------------------------------------------------------------------------]//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\\\quot\\4EBdpidoyuakcElLhaG8Nwl2\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\Date\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\\\quot\\04-19-2023\\quot\\)>//crlf////crlf//<script ID=\\quot\\JS808803\\quot\\>//crlf////tab//function addFieldsToSalesStruct(TableID\\comma\\s) {//crlf////crlf////tab////tab//if(s) {//crlf////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\\\plus\\s\\plus\\\\quot\\<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//showDialog(\\quot\\msg=Adding fields to custom structure...\\amp\\icon=true\\quot\\);//crlf////crlf////tab////tab//var e=document.getElementById(TableID);//crlf////tab////tab//var sHashID=e.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////tab////tab//var sParams=e.getAttribute(\\quot\\AspectParamsActive\\quot\\);//crlf////tab////tab//var sStoreID=getElementValue(sParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sDate=getElementValue(sParams\\comma\\\\quot\\Date\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////crlf////tab////tab//var sUrl=getServer()\\plus\\\\quot\\/?Network=GreenLight\\amp\\ID=getWidget\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\;//crlf////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\Widget=Restaurant Manager Cash Drawer Reconcile\\amp\\ContainerItemID=Action_List\\amp\\Action=addCashDrawerFieldsToUserSalesStruct\\amp\\ActionExec=true\\quot\\;//crlf////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\Date=\\quot\\\\plus\\sDate\\plus\\\\quot\\\\amp\\Source=\\quot\\\\plus\\sHashID;//crlf////crlf////tab////tab//sFunc=\\quot\\addFieldsToSalesStruct(\\\quot\\\\quot\\\\plus\\TableID\\plus\\\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab//console.log(\\quot\\sUrl=\\quot\\\\plus\\sUrl);//crlf////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf////crlf////tab//var bIsImporting=false;//crlf////tab//function importCashDrawerReconcile(salt\\comma\\s) {//crlf////crlf////tab////tab//if(s) {//crlf////tab////tab////tab//bIsImporting=false;//crlf////tab////tab////tab//refreshTable(salt\\comma\\\\apos\\refresh\\apos\\);//crlf////tab////tab////tab//showDialog();//crlf////tab////tab////tab//return;//crlf////tab////tab//};//crlf////crlf////tab////tab//if(bIsImporting) return;//crlf////tab////tab//bIsImporting=true;//crlf////crlf////tab////tab//showDialog(\\quot\\msg=Importing...\\amp\\icon=true\\quot\\);//crlf////crlf////tab////tab//var e=document.getElementById(salt);//crlf////tab////tab//var sHashID=e.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////tab////tab//var sParams=e.getAttribute(\\quot\\AspectParamsActive\\quot\\);//crlf////tab////tab//var sStoreID=getElementValue(sParams\\comma\\\\quot\\StoreID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////tab////tab//var sDate=getElementValue(sParams\\comma\\\\quot\\Date\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\);//crlf////crlf////tab////tab//var sUrl=getServer()\\plus\\\\quot\\/?Network=GreenLight\\amp\\ID=getWidget\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\;//crlf////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\Widget=Restaurant Manager Cash Drawer Reconcile\\amp\\ContainerItemID=Action_List\\amp\\Action=initializeCashDrawerDriver\\amp\\ActionExec=true\\quot\\;//crlf////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\Date=\\quot\\\\plus\\sDate\\plus\\\\quot\\\\amp\\Source=\\quot\\\\plus\\sHashID\\plus\\\\quot\\\\amp\\ForceUpdate=true\\quot\\;//crlf////crlf////tab////tab//sFunc=\\quot\\importCashDrawerReconcile(\\\quot\\\\quot\\\\plus\\salt\\plus\\\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab//console.log(\\quot\\sUrl=\\quot\\\\plus\\sUrl);//crlf////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab//};//crlf//</script>//crlf////crlf//<conditional expression:(\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}\\quot\\=\\quot\\04262023\\quot\\) or (\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!-- Dialog used to edit a record -->//crlf////tab//<div ID=\\quot\\POS_RM_CASH_DRAWER_RECONCILEDialog\\quot\\ class=\\quot\\default_table_dialog\\quot\\ style=\\quot\\height:auto; width:100\\percent\\; max-width:500px; display:none;\\quot\\>//crlf////tab////tab//<div style=\\quot\\padding:5px;width:100\\percent\\\\quot\\>//crlf////tab////tab////tab//<!-- set this image to visible to include a close icon when the dialog header is disabled -->//crlf////tab////tab////tab//<div class=\\quot\\EditDialogCloseIcon\\quot\\ onclick=\\quot\\closeTableEditDialog(this)\\quot\\></div>//crlf////crlf////tab////tab////tab//<!--//tab//Note:  If a a Javascript function named initializeDialogxxx where xxx is the dialog ID is defined\\comma\\ //crlf////tab////tab////tab////tab//it will be called//tab//after the dialog values have been set and before the dialog is made visible.//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//An initialization function may also be specified by including it in an attribute named \\apos\\aspectinit\\apos\\//crlf////tab////tab////tab////tab//in the dialog div above.  Only include the function name with no parentheses or arguments.  //crlf////tab////tab////tab////tab//Arguments can be made//tab//available to the function by including them as attributes or by embedding //crlf////tab////tab////tab////tab//them in this div.  Use this method when the dialog ID is randomized to allow for multiple instances//crlf////tab////tab////tab////tab//in one document.//crlf////crlf////tab////tab////tab////tab//If an Aspect script is defined with the ID xxx_DataSubmitted where xxx is the driver ID\\comma\\ it will//crlf////tab////tab////tab////tab//be called whenever data is submitted due to an edit in either the table or the dialog.//crlf////tab////tab////tab////tab//Arguments passed to the script are in the form://crlf////crlf////tab////tab////tab////tab////tab//driver=xxx\\amp\\r=n\\amp\\fields=\\amp\\values=//crlf////crlf////tab////tab////tab////tab//where driver is the name of a system driver\\comma\\ r is the absolute record number\\comma\\//crlf////tab////tab////tab////tab//fields is a pipe-delimited list of field ID\\apos\\s and values is a pipe-delimited list of//crlf////tab////tab////tab////tab//values.  Ampersands and pipes in the values are tokenized by surrounding//crlf////tab////tab////tab////tab//them with two forward slashes.//crlf////tab////tab////tab//-->//crlf////tab// //crlf////tab////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\TextFieldWidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\300px\\quot\\)>//crlf////tab////tab////tab//<!include type:expression; expression:htmlConstant(\\quot\\NumberFieldWidth\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\150px\\quot\\)>//crlf////crlf////tab////tab////tab//<!-- The TableEditDialogTabsContainerExclusive and TableEditDialogSelectContainerExclusive//crlf////tab////tab////tab////tab//classes are used to make either the tabs or the select box visible\\comma\\ depending on the//crlf////tab////tab////tab////tab//size of the browser.  If only one or two tabs are to be included\\comma\\ the //crlf////tab////tab////tab////tab//TableEditDialogTabsContainer class can be used for the tabs and the select box can//crlf////tab////tab////tab////tab//be ommitted.//crlf////tab////tab////tab//-->//crlf////tab////tab////tab//<div class=\\quot\\TableEditDialogTabsContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab//<table class=\\apos\\tabdialog\\apos\\>//crlf////tab////tab////tab////tab////tab//<tr>//crlf////crlf////tab////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//</table>//tab////crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<div class=\\quot\\TableEditDialogSelectContainerExclusive\\quot\\>//crlf////tab////tab////tab////tab//<select onChange=\\quot\\showTab(this);this.blur();\\quot\\ class=\\quot\\TableEditDialogSelect\\quot\\>//crlf////tab////tab////tab////tab////tab//<option value=\\apos\\__salt__main\\apos\\>Main</option>//crlf////tab////tab////tab////tab//</select>//crlf////tab////tab////tab//</div>//crlf////crlf////crlf////tab////tab//</div>//crlf////tab//</div>//crlf////crlf////tab//<div style=\\quot\\margin-left:20px\\quot\\>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Title//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<h1>//crlf////tab////tab////tab//Cash Drawer Reconciliation: //crlf////tab////tab////tab////tab//<conditional expression:defined(\\quot\\__StoreID__\\quot\\)>//crlf////tab////tab////tab////tab////tab//{@getStoreName(\\quot\\__StoreID__\\quot\\)} //crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//<conditional expression:defined(\\quot\\__CustomerHashID__\\quot\\)>//crlf////tab////tab////tab////tab////tab//{@lookup(Aspect_BackOffice_Computer_Names_By_ID\\comma\\\\quot\\__CustomerHashID__\\quot\\)}//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//__Date__//crlf////tab////tab////tab//<conditional expression:(not(defined(\\quot\\__PrepareEmail__\\quot\\))) or (\\quot\\__PrepareEmail__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ style=\\quot\\margin-left:50px\\quot\\ value=\\quot\\Import\\quot\\ onClick=\\quot\\importCashDrawerReconcile(\\apos\\__salt__\\apos\\)\\quot\\>//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//</h1>//crlf////tab////tab//<br>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//this table is used to get the AM/PM manager names.  These are fields in the //crlf////tab////tab//driver.  The table is filtered to display only record 0\\comma\\ so the names will //crlf////tab////tab//always be recorded in the first record in the driver.//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\__salt__manager_names\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\POS_RM_CASH_DRAWER_RECONCILE\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__CustomerHashID__\\quot\\)>//crlf////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CustomerID=__CustomerHashID__~~pipe~~Date=__Date__~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_RM_CASH_DRAWER_RECONCILE\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:not(defined(\\quot\\__CustomerHashID__\\quot\\))>//crlf////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_RM_CASH_DRAWER_RECONCILE\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//<conditional expression:(not(defined(\\quot\\__PrepareEmail__\\quot\\))) or (\\quot\\__PrepareEmail__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab////tab////tab//display: \\quot\\Manager Names\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:(\\quot\\__PrepareEmail__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////tab//display: \\quot\\Manager Names For Email\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//basefilter: \\quot\\DiskIndex=0\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\noborder\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\300\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab//InsertPosition: \\quot\\top\\quot\\;//crlf////tab////tab////tab//RefreshOnDataSubmit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\none\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\false\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\Add fields to sales struct~~pipe~~addFieldsToSalesStruct\\quot\\;//crlf////tab////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab//>//crlf////tab////tab//<br><br>//crlf////crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\__salt__\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\POS_RM_CASH_DRAWER_RECONCILE\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__CustomerHashID__\\quot\\)>//crlf////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CustomerID=__CustomerHashID__~~pipe~~Date=__Date__~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_RM_CASH_DRAWER_RECONCILE\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:not(defined(\\quot\\__CustomerHashID__\\quot\\))>//crlf////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_RM_CASH_DRAWER_RECONCILE\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\Cash Drawer Reconciliation\\quot\\;//crlf////tab////tab////tab//basefilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\300\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab//InsertPosition: \\quot\\top\\quot\\;//crlf////tab////tab////tab//RefreshOnDataSubmit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\none\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\Add fields to sales struct~~pipe~~addFieldsToSalesStruct\\quot\\;//crlf////tab////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab//>//crlf////tab////tab//<br>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//this table is used to get additional fields.  These are fields in the //crlf////tab////tab//driver.  The table is filtered to display only record 0\\comma\\ so the names will //crlf////tab////tab//always be recorded in the first record in the driver.//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<br><br>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\__salt__additional_fields\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\POS_RM_CASH_DRAWER_RECONCILE\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__CustomerHashID__\\quot\\)>//crlf////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CustomerID=__CustomerHashID__~~pipe~~Date=__Date__~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_RM_CASH_DRAWER_RECONCILE\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:not(defined(\\quot\\__CustomerHashID__\\quot\\))>//crlf////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_RM_CASH_DRAWER_RECONCILE\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//<conditional expression:(not(defined(\\quot\\__PrepareEmail__\\quot\\))) or (\\quot\\__PrepareEmail__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab////tab////tab//display: \\quot\\Budgeted Values\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:(\\quot\\__PrepareEmail__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////tab//display: \\quot\\Budgeted Values\\quot\\;//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//basefilter: \\quot\\DiskIndex=0\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//class: \\quot\\noborder\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\300\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab//InsertPosition: \\quot\\top\\quot\\;//crlf////tab////tab////tab//RefreshOnDataSubmit: \\quot\\true\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\none\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\false\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\Add fields to sales struct~~pipe~~addFieldsToSalesStruct\\quot\\;//crlf////tab////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab//>//crlf////crlf////tab////tab//<_include type:script; commands:\\quot\\//crlf////tab////tab////tab//driverOpen(POS_RM_CASH_DRAWER_RECONCILE\\comma\\d\\comma\\read\\comma\\false\\comma\\\\quot\\date=__date__\\quot\\)//crlf////tab////tab////tab//b=driverContainsField(d\\comma\\\\quot\\Notes\\quot\\)//crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//if(b) //crlf////tab////tab////tab////tab//return(htmlConstant(\\quot\\NotesDefined\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\true\\quot\\))//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//this table is used to get the note field.//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__NotesDefined__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab//<br><br>//crlf////tab////tab////tab//<!include type:driver;//crlf////tab////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ID: \\quot\\__salt__notes\\quot\\;//crlf////tab////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//driver: \\quot\\POS_RM_CASH_DRAWER_RECONCILE\\quot\\;//crlf////tab////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//<conditional expression:defined(\\quot\\__CustomerHashID__\\quot\\)>//crlf////tab////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CustomerID=__CustomerHashID__~~pipe~~Date=__Date__~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_RM_CASH_DRAWER_RECONCILE\\quot\\;//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//<conditional expression:not(defined(\\quot\\__CustomerHashID__\\quot\\))>//crlf////tab////tab////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~StoreID=__StoreID__~~pipe~~Date=__Date__~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_RM_CASH_DRAWER_RECONCILE\\quot\\;//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//<conditional expression:(not(defined(\\quot\\__PrepareEmail__\\quot\\))) or (\\quot\\__PrepareEmail__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab////tab////tab////tab//display: \\quot\\Notes\\quot\\;//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//<conditional expression:(\\quot\\__PrepareEmail__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////tab////tab//display: \\quot\\Notes\\quot\\;//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//basefilter: \\quot\\DiskIndex=0\\quot\\;//crlf////tab////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//class: \\quot\\noborder\\quot\\;//crlf////tab////tab////tab////tab//maxrecords: \\quot\\300\\quot\\;//crlf////tab////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canEdit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canDelete: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//InsertPosition: \\quot\\top\\quot\\;//crlf////tab////tab////tab////tab//RefreshOnDataSubmit: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//EditDialogID: \\quot\\none\\quot\\;//crlf////tab////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//TableControls: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//SelectDisplay: \\quot\\false\\quot\\;//crlf////tab////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//Menu: \\quot\\Add fields to sales struct~~pipe~~addFieldsToSalesStruct\\quot\\;//crlf////tab////tab////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab////tab//<br><br>//crlf////tab////tab//</conditional>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=323792|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=always|^
ID=785907|X=183|Y=611|W=119|H=47|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ActionResult|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Restaurant Manager Cash Drawer Reconcile\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Restaurant Manager Cash Drawer Reconcile\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 11-16-2022 14:09:32//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Restaurant Manager Cash Drawer Reconcile\\comma\\AgentAction\\comma\\323792\\comma\\0\\comma\\updateCashDrawerFileset//crlf////tab////tab//Result1=execAgentAction(\\quot\\updateCashDrawerFileset\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Restaurant Manager Cash Drawer Reconcile\\comma\\AgentAction\\comma\\49900\\comma\\0\\comma\\Update cash draw reconciliation drivers//crlf////crlf////tab////tab////Update cash draw reconciliation drivers//crlf////tab////tab//ActionResult=execAgentAction(\\quot\\updateCashDrawReconciliationDrivers\\quot\\)//crlf////crlf////tab////tab////Success?//crlf////tab////tab//if(startsWith(ActionResult\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Restaurant Manager Cash Drawer Reconcile\\comma\\AgentTerminate\\comma\\785907\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Restaurant Manager Cash Drawer Reconcile\\quot\\\\comma\\\\quot\\785907\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\ActionResult\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(ActionResult)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Restaurant Manager Cash Drawer Reconcile\\comma\\AgentTerminate\\comma\\178595\\comma\\1\\comma\\Error//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Restaurant Manager Cash Drawer Reconcile\\quot\\\\comma\\\\quot\\178595\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\ActionResult\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(ActionResult)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;11162022//amp//nbsp;140932//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Restaurant//amp//nbsp;Manager//amp//nbsp;Cash//amp//nbsp;Drawer//amp//nbsp;Reconcile\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;11-16-2022//amp//nbsp;14:09:32</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result1=<span class='keyword'>execAgentAction</span>(\\quot\\updateCashDrawerFileset\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Update//amp//nbsp;cash//amp//nbsp;draw//amp//nbsp;reconciliation//amp//nbsp;drivers</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;ActionResult=<span class='keyword'>execAgentAction</span>(\\quot\\updateCashDrawReconciliationDrivers\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(ActionResult\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Restaurant//amp//nbsp;Manager//amp//nbsp;Cash//amp//nbsp;Drawer//amp//nbsp;Reconcile\\quot\\\\comma\\\\quot\\785907\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\ActionResult\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(ActionResult)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Restaurant//amp//nbsp;Manager//amp//nbsp;Cash//amp//nbsp;Drawer//amp//nbsp;Reconcile\\quot\\\\comma\\\\quot\\178595\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\ActionResult\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(ActionResult)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//crlf//<include type:expression; expression:htmlConstant(\\quot\\dir\\quot\\\\comma\\\\quot\\__dir__\\quot\\\\comma\\getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata\restaurant_manager\current\\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\date\\quot\\\\comma\\\\quot\\__date__\\quot\\\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\))>//crlf////crlf//<conditional expression:false>//crlf////tab//< include type:expression; expression:htmlConstant(\\quot\\date\\quot\\\\comma\\\\quot\\__date__\\quot\\\\comma\\\\quot\\06-08-2020\\quot\\)>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Notes//crlf//--------------------------------------------------------------------------]//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Selected=true//amp//Section=Notes\\quot\\;>//crlf////tab//<p>These tables use files in the posdata/current directory.  Files are copied to this directory whenever //crlf////tab////tab//an import is done.  The files may come from one of the dated directories or from the current //crlf////tab////tab//pos files in rmwin.  If a processed.txt file exists in the dated posdata directory\\comma\\ then files //crlf////tab////tab//are copied from there.  Otherwise they are copied from the pos directory.  The console can be //crlf////tab////tab//used during an import to confirm the source of the files when they are copied.</p>//crlf////crlf////tab//<p>It is important that files be copied from the dated directories when they exist to allow for //crlf////tab////tab//changes to the menu.dbf file.  If an item is deleted or moved to a different department then //crlf////tab////tab//the import for a previous day would be affected if the current menu.dbf file was used.</p>//crlf////crlf////tab//<p>To troubleshoot sales\\comma\\ use the \\quot\\Gross Sales by Department ID / Cash Draw\\quot\\ display in the sdet //crlf////tab////tab//file.  Get the starting and ending check number from the rep.dbf file and add a filter to the //crlf////tab////tab//sdet display to select the correct records.  For example\\comma\\ the filter may be Bill_No>=84529</p>//crlf////crlf////tab//<p>This will show the sales by drawer for each department.  Compare the total department sales //crlf////tab////tab//to the total sales for all drawers on the cash reconciliation.  Remember that total sales for //crlf////tab////tab//all departments does not include tax and cannot be compared to the Total Sales number on the //crlf////tab////tab//cash reconciliation which does include tax.</p>//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf//[!------------------------------------------------------------------------//crlf//rep.dbf//crlf//--------------------------------------------------------------------------]//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Selected=false//amp//Section={homedir}posdata\restaurant_manager\current\rep.dbf\\quot\\;>//crlf////tab//<div style=\\quot\\width:90\\percent\\;height:400px;overflow:auto\\quot\\>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\POS_RM_REP_DBF\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_RM_REP_DBF~~pipe~~Dir=__Dir__~~pipe~~Date=__Date__\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\POS_RM_REP_DBFDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf//[!------------------------------------------------------------------------//crlf//sls.dbf//crlf//--------------------------------------------------------------------------]//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Selected=false//amp//Section={homedir}posdata\restaurant_manager\current\sls.dbf (all records)\\quot\\;>//crlf////tab//<div style=\\quot\\width:90\\percent\\;height:400px;overflow:auto\\quot\\>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\POS_RM_SLS_DBF_ALL_RECORDS\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_RM_SLS_DBF_ALL_RECORDS~~pipe~~Dir=__Dir__~~pipe~~Date=__Date__\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\POS_RM_SLS_DBF_ALL_RECORDSDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf//[!------------------------------------------------------------------------//crlf//sdet.dbf//crlf//--------------------------------------------------------------------------]//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Selected=false//amp//Section={homedir}posdata\restaurant_manager\current\sdet.dbf (all records)\\quot\\;>//crlf////tab//<div style=\\quot\\width:90\\percent\\;height:400px;overflow:auto\\quot\\>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\POS_RM_SDET_DBF_ALL_RECORDS\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_RM_SDET_DBF_ALL_RECORDS~~pipe~~Dir=__Dir__~~pipe~~Date=__Date__\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\500\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\POS_RM_SDET_DBF_ALL_RECORDSDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf//[!------------------------------------------------------------------------//crlf//pmt.dbf//crlf//--------------------------------------------------------------------------]//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Selected=false//amp//Section={homedir}posdata\restaurant_manager\current\pmt.dbf (all records)\\quot\\;>//crlf////tab//<div style=\\quot\\width:90\\percent\\;height:400px;overflow:auto\\quot\\>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\POS_RM_Sls_Check_Details_Tenders_All_Records\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_RM_Sls_Check_Details_Tenders_All_Records~~pipe~~Dir=__Dir__~~pipe~~Date=__Date__\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\POS_RM_PMT_DBF_ALL_RECORDSDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf//[!------------------------------------------------------------------------//crlf//pout.dbf//crlf//--------------------------------------------------------------------------]//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Selected=false//amp//Section={homedir}posdata\restaurant_manager\current\pout.dbf (all records)\\quot\\;>//crlf////tab//<div style=\\quot\\width:90\\percent\\;height:400px;overflow:auto\\quot\\>//crlf////tab////tab//<!include type:driver;//crlf////tab////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab////tab//driver: \\quot\\POS_RM_POUT_DBF\\quot\\;//crlf////tab////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_RM_POUT_DBF~~pipe~~Dir=__Dir__~~pipe~~Date=__Date__\\quot\\;//crlf////tab////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab////tab//EditDialogID: \\quot\\POS_RM_POUT_DBFDialog\\quot\\;//crlf////tab////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab////tab//>//crlf////tab//</div>//crlf//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf//^
ID=AgentChart|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>11162022 140932</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart323792\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\142\\quot\\ style=\\quot\\width: 120px; height: 142px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Restaurant Manager Cash Drawer Reconcile</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: always<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart785907\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 568px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\86\\quot\\ style=\\quot\\width: 120px; height: 86px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart49900\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart309887\\quot\\ style=\\quot\\position: absolute; top: 303px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\96\\quot\\ style=\\quot\\width: 150px; height: 96px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Update cash draw reconciliation drivers<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>updateCashDrawReconciliationDrivers<br></td></tr><tr><td><u>Return</u></td><td>ActionResult</td></tr></tbody></table></div></div><div id=\\quot\\chart309887\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart785907\\quot\\ agentchildnonode=\\quot\\chart178595\\quot\\ style=\\quot\\position: absolute; top: 451px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\65\\quot\\ style=\\quot\\width: 150px; height: 65px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart178595\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 451px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\86\\quot\\ style=\\quot\\width: 120px; height: 86px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart323792\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart49900\\quot\\ style=\\quot\\position: absolute; top: 194px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\57\\quot\\ style=\\quot\\width: 150px; height: 57px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td><br></td></tr><tr><td><u>Return</u></td><td></td></tr></tbody></table></div></div>^
ID=49900|X=183|Y=346|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=309887|AgentChildNoNode=|AgentSensor=|AgentAction=updateCashDrawReconciliationDrivers|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=ActionResult|AgentNodeComment=Update cash draw reconciliation drivers|AgentNodeTermType=|^
ID=309887|X=183|Y=494|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=785907|AgentChildNoNode=178595|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(ActionResult//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=|^
ID=178595|X=373|Y=494|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ActionResult|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=194133|X=1500|Y=26|W=1101|H=771|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//This is a temporary item for testing//crlf//--------------------------------------------------------------------------]//crlf////crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\dir\\quot\\\\comma\\\\quot\\__dir__\\quot\\\\comma\\\\quot\\C:\aspect7\posdata\Restaurant_Manager\20190511\\\quot\\)>//crlf//<include type:expression; expression:htmlConstant(\\quot\\date\\quot\\\\comma\\\\quot\\__date__\\quot\\\\comma\\\\quot\\05-11-2019\\quot\\)>//crlf////crlf//<!include type:driver;//crlf////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab//title: \\quot\\\\quot\\;//crlf////tab//ID: \\quot\\\\quot\\;//crlf////tab//HashID: \\quot\\\\quot\\;//crlf////tab//driver: \\quot\\Pos_Rm_Sls_Dbf_All_Records\\quot\\;//crlf////tab//name: \\quot\\\\quot\\;//crlf////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab//dispose: \\quot\\false\\quot\\;//crlf////tab//state: \\quot\\\\quot\\;//crlf////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Metadata=Pos_Rm_Sls_Dbf_All_Records~~pipe~~Date=__Date__~~pipe~~Dir=__Dir__\\quot\\;//crlf////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab//display: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\\\quot\\;//crlf////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab//sort: \\quot\\ID\\quot\\;//crlf////tab//filter: \\quot\\true\\quot\\;//crlf////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab//height:\\quot\\auto\\quot\\;//crlf////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab//EditDialogID: \\quot\\POS_RM_SLS_DBFDialog\\quot\\;//crlf////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab//Menu: \\quot\\\\quot\\;//crlf////tab//faq: \\quot\\\\quot\\;//crlf////tab//procedure: \\quot\\\\quot\\;//crlf////tab//video: \\quot\\\\quot\\;//crlf////tab//Messages: \\quot\\true\\quot\\;//crlf////tab//ChartType: \\quot\\\\quot\\;//crlf////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab//debug: \\quot\\true\\quot\\;//crlf//>^
ID=311316|X=1500|Y=26|W=1101|H=771|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditinoal expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\) or (\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\))}\\quot\\=\\quot\\06302021\\quot\\)>//crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab//dt1=incrementTime(now()\\comma\\-2)//crlf////tab////tab//dt2=now()//crlf////crlf////tab////tab//appendToLog(\\quot\\dt1=\\quot\\+formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\ dt2=\\quot\\+formatDate(dt2\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab//sTitle=\\quot\\Filename\\comma\\Modified\\comma\\Size\\comma\\Record Count\\comma\\Absolute Record Count\\comma\\Errors\\comma\\OverShort1\\comma\\OverShort2\\comma\\OverShort3\\comma\\OverShort4\\comma\\OverShort5\\comma\\OverShort6\\quot\\//crlf////tab////tab//sResultFinal=\\quot\\\\quot\\//crlf////tab////tab//while(dt1<=dt2) //crlf////tab////tab////tab//sFilespec=getToken(\\quot\\homedir\\quot\\)+\\quot\\data/cash_drawer.\\quot\\+formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\.bin\\quot\\//crlf////tab////tab////tab//arFile=getMatchingFiles(sFilespec\\comma\\true\\comma\\false\\comma\\2)//crlf////tab////tab////tab//cFile=getElementCount(arFile\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\dt1=\\quot\\+formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\ cFile=\\quot\\+cFile+\\quot\\ sFilespec=\\quot\\+sFilespec)//crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//nFile=0//crlf////tab////tab////tab//while(nFile<cFile)//crlf////tab////tab////tab////tab//sFilename=getElement(arFile\\comma\\nFile\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//driverOpen(POS_RM_Cash_Drawer_Reconcile\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\Filename=\\quot\\+sFilename)//crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//n1=driverGetRecordCount(d\\comma\\false)//crlf////tab////tab////tab////tab//n2=driverGetRecordCount(d\\comma\\true)//crlf////crlf////tab////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\gt(dateNumber(Cleared_Error)\\comma\\0\\comma\\n)\\quot\\\\comma\\true)//crlf////tab////tab////tab////tab//n3=driverGetRecordCount(d\\comma\\false)//crlf////crlf////tab////tab////tab////tab//s=sFilename+\\quot\\\\comma\\\\quot\\+formatDate(fileModified(sFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)//crlf////tab////tab////tab////tab//s=s+\\quot\\\\comma\\\\quot\\+fileSize(sFilename)+\\quot\\\\comma\\\\quot\\+n1+\\quot\\\\comma\\\\quot\\+n2+\\quot\\\\comma\\\\quot\\+if(n3=0\\comma\\\\quot\\\\quot\\\\comma\\n3)//crlf////crlf////tab////tab////tab////tab//nDrawer=1//crlf////tab////tab////tab////tab//while(nDrawer<7)//crlf////tab////tab////tab////tab////tab//dOverShort=driverGetFieldAbsolute(d\\comma\\\\quot\\Drawer\\quot\\+nDrawer\\comma\\18)//crlf////tab////tab////tab////tab////tab//s=s+\\quot\\\\comma\\\\quot\\+dOverShort//crlf////tab////tab////tab////tab////tab//nDrawer++//crlf////tab////tab////tab////tab//endwhile//tab////tab////tab////tab////crlf////crlf////tab////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab////tab//sResult=addElement(sResult\\comma\\s\\comma\\char(10))//crlf////tab////tab////tab////tab//nFile++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//sResultFinal=sResultFinal+quote(\\quot\\h2\\quot\\\\comma\\char(0x3C))+formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\ File count: \\quot\\+cFile+quote(\\quot\\/h2\\quot\\\\comma\\char(0x3C))//crlf////tab////tab////tab//sResultFinal=sResultFinal+htmlTable(sResult\\comma\\char(10)\\comma\\char(0x2C)\\comma\\sTitle)//crlf////tab////tab////tab//sResultFinal=sResultFinal+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//return(sResultFinal)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=345468|X=1500|Y=26|W=1101|H=771|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditinoal expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\) or (\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\))}\\quot\\=\\quot\\06252021\\quot\\)>//crlf////tab//<div interval='0' style='width:100\\percent\\;' url='http://127.0.0.1:4446/?Network=GreenLight//amp//ID=getWidget//amp//source=//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=Restaurant Manager Cash Drawer Reconcile//amp//ContainerItemID=311316//amp//getContent=true//amp//source=7h45pkiq7'>//crlf////tab////tab//<progress />//crlf////tab//</div>//crlf//</conditional>^
ID=228849|X=1500|Y=26|W=1101|H=771|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditinoal expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\) or (\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\))}\\quot\\=\\quot\\06252021\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Filename\\quot\\\\comma\\\\quot\\__Filename__\\quot\\\\comma\\\\quot\\C:\aspect7\stores\summerville\cash_drawer.06-26-2021.bin\\quot\\)>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\POS_RM_CASH_DRAWER_RECONCILE_ALL_RECORDS\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Filename=__Filename__~~pipe~~Metadata=POS_RM_CASH_DRAWER_RECONCILE_ALL_RECORDS\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\POS_RM_CASH_DRAWER_RECONCILE_ALL_RECORDSDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//></conditional>//crlf////crlf//^
ID=323792|X=183|Y=237|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=49900|AgentChildNoNode=|AgentSensor=|AgentAction=updateCashDrawerFileset|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result1|AgentNodeComment=|AgentNodeTermType=|^
ID=87953|X=456|Y=87|W=673|H=342|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h2>Notes</h2>//crlf////crlf//<p>The cash drawer reconciliation uses the POS_RM_Cash_Drawer_Reconcile structure //crlf//in the POS Restaurant Manager package.</p>//crlf////crlf//<p>When the driver is initialized\\comma\\ a fixed number of records are added to it by the //crlf//initializeCashDrawerDriver action.  When a new field is added\\comma\\ the number of records //crlf//added to the driver has to be increased.  The description field of each record is //crlf//defined by a string in the action.</p>//crlf////crlf//<p>When adding a new field\\comma\\ the steps are:</p>//crlf//<ol>//crlf////tab//<li>Increase the number of fields added to the structure</li>//crlf////tab//<li>Add the description of the field.  This is done in the action.</li>//crlf////tab//<li>Update the POS_Restaurant_Manager_Cash_Drawer_Reconcile_Sort_Order collection //crlf////tab////tab//to indicate where the new field should appear in the table.</li>//crlf////tab//<li>Add code to calculate and record the field\\apos\\s value from the appropriate file</li>//crlf////tab//<li>Update the subtotal calculation in the initializeCashDrawerDriver action</li>//crlf////tab//<li>Update the subtotal calculation in the updateCashDrawReconciliationSubtotalRecords action</li>//crlf//</ol>//crlf////crlf//<p>There is a section in the initializeCashDrawerDriver that confirms the size of the //crlf//POS_RM_Cash_Drawer_Reconcile structure.  This is not a concern unless a new field is //crlf//added to the structure and this should rarely be the case.</p>//crlf//
</widget><widget name="View Factory" group="View Factory" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="View Factory" modified="08-17-2021 14:08:42" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=03-08-2019 22:20:58:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=49|toolboxy=126|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=View Factory.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'997952')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'719857')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=997952|X=1500|Y=26|W=1000|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=26|W=1000|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=26|W=1000|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_View Factory.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//View Factory\\comma\\getDefaultBackOfficeDateRange\\comma\\sensor_list\\comma\\Sensor=getDefaultBackOfficeDateRange\\comma\\private\\comma\\text//crlf//</conditional>//crlf////crlf//<conditional expression:false>//crlf//[!------------------------------------------------------------------------//crlf//getDefaultBackOfficeDateRange//crlf//--------------------------------------------------------------------------]//crlf//</conditional>//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getDefaultBackOfficeDateRange\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Returns a comma-delimited pair of dates specifying a date range//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//DateRange - A number indicating the range type//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Comma-delimited pair of dates//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getDefaultBackOfficeDateRange\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////if DateRange is not specified\\comma\\ return the last business day//crlf////tab////tab////tab//if(not(defined(\\quot\\__DateRange__\\quot\\)))//crlf////tab////tab////tab////tab//dt=lastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab////tab//s=formatDate(dt\\comma\\\\quot\\yyyy-MM-dd\\quot\\)//crlf////tab////tab////tab////tab//s=addElement(s\\comma\\formatDate(dt\\comma\\\\quot\\yyyy-MM-dd\\quot\\))//crlf////tab////tab////tab////tab//return(s)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(\\quot\\__DateRange__\\quot\\=\\quot\\LastBusinessDay\\quot\\)//crlf////tab////tab////tab////tab//dt=lastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab////tab//s=formatDate(dt\\comma\\\\quot\\yyyy-MM-dd\\quot\\)//crlf////tab////tab////tab////tab//s=addElement(s\\comma\\formatDate(dt\\comma\\\\quot\\yyyy-MM-dd\\quot\\))//crlf////tab////tab////tab////tab//return(s)//crlf////tab////tab////tab//elseif(\\quot\\__DateRange__\\quot\\=\\quot\\WeekToDate\\quot\\)//crlf////tab////tab////tab////tab//dt=lastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab////tab//dt1=getWeekStart(0\\comma\\dt)//crlf////tab////tab////tab////tab//dt2=dt//crlf////tab////tab////tab////tab//return(formatDate(dt1\\comma\\\\quot\\yyyy-MM-dd\\quot\\)+\\quot\\\\comma\\\\quot\\+formatDate(dt2\\comma\\\\quot\\yyyy-MM-dd\\quot\\))//crlf////tab////tab////tab//elseif(\\quot\\__DateRange__\\quot\\=\\quot\\LastFullWeek\\quot\\)//crlf////tab////tab////tab////tab//dt=now()//crlf////tab////tab////tab////tab//dt1=getWeekStart(-1\\comma\\dt)//crlf////tab////tab////tab////tab//dt2=getWeekEnd(-1\\comma\\dt)//crlf////tab////tab////tab////tab//return(formatDate(dt1\\comma\\\\quot\\yyyy-MM-dd\\quot\\)+\\quot\\\\comma\\\\quot\\+formatDate(dt2\\comma\\\\quot\\yyyy-MM-dd\\quot\\))//crlf////tab////tab////tab//elseif(\\quot\\__DateRange__\\quot\\=\\quot\\MonthToDate\\quot\\)//crlf////tab////tab////tab////tab//dt=lastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab////tab//dt1=getMonthStart(0\\comma\\dt)//crlf////tab////tab////tab////tab//dt2=dt//crlf////tab////tab////tab////tab//return(formatDate(dt1\\comma\\\\quot\\yyyy-MM-dd\\quot\\)+\\quot\\\\comma\\\\quot\\+formatDate(dt2\\comma\\\\quot\\yyyy-MM-dd\\quot\\))//crlf////tab////tab////tab//elseif(\\quot\\__DateRange__\\quot\\=\\quot\\LastFullMonth\\quot\\)//crlf////tab////tab////tab////tab//dt=now()//crlf////tab////tab////tab////tab//dt1=getMonthStart(-1\\comma\\dt)//crlf////tab////tab////tab////tab//dt2=getMonthEnd(-1\\comma\\dt)//crlf////tab////tab////tab////tab//return(formatDate(dt1\\comma\\\\quot\\yyyy-MM-dd\\quot\\)+\\quot\\\\comma\\\\quot\\+formatDate(dt2\\comma\\\\quot\\yyyy-MM-dd\\quot\\))//crlf////tab////tab////tab//elseif(\\quot\\__DateRange__\\quot\\=\\quot\\QuarterToDate\\quot\\)//crlf////tab////tab////tab////tab//dt=lastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab////tab//dt1=getQuarterStart(0\\comma\\dt)//crlf////tab////tab////tab////tab//dt2=dt//crlf////tab////tab////tab////tab//return(formatDate(dt1\\comma\\\\quot\\yyyy-MM-dd\\quot\\)+\\quot\\\\comma\\\\quot\\+formatDate(dt2\\comma\\\\quot\\yyyy-MM-dd\\quot\\))//crlf////tab////tab////tab//elseif(\\quot\\__DateRange__\\quot\\=\\quot\\LastFullQuarter\\quot\\)//crlf////tab////tab////tab////tab//dt=now()//crlf////tab////tab////tab////tab//dt1=getQuarterStart(-1\\comma\\dt)//crlf////tab////tab////tab////tab//dt2=getQuarterEnd(-1\\comma\\dt)//crlf////tab////tab////tab////tab//return(formatDate(dt1\\comma\\\\quot\\yyyy-MM-dd\\quot\\)+\\quot\\\\comma\\\\quot\\+formatDate(dt2\\comma\\\\quot\\yyyy-MM-dd\\quot\\))//crlf////tab////tab////tab//elseif(\\quot\\__DateRange__\\quot\\=\\quot\\YearToDate\\quot\\)//crlf////tab////tab////tab////tab//dt=lastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab////tab//dt1=parseTime(\\quot\\01-01-\\quot\\+year(dt)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//dt2=dt//crlf////tab////tab////tab////tab//return(formatDate(dt1\\comma\\\\quot\\yyyy-MM-dd\\quot\\)+\\quot\\\\comma\\\\quot\\+formatDate(dt2\\comma\\\\quot\\yyyy-MM-dd\\quot\\))//crlf////tab////tab////tab//elseif(\\quot\\__DateRange__\\quot\\=\\quot\\LastFullYear\\quot\\)//crlf////tab////tab////tab////tab//dt=lastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab////tab//dt2=incrementTime(parseTime(\\quot\\01-01-\\quot\\+year(dt)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\-1)//crlf////tab////tab////tab////tab//dt1=parseTime(\\quot\\01-01-\\quot\\+year(dt2)\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//return(formatDate(dt1\\comma\\\\quot\\yyyy-MM-dd\\quot\\)+\\quot\\\\comma\\\\quot\\+formatDate(dt2\\comma\\\\quot\\yyyy-MM-dd\\quot\\))//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//dt=lastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab////tab//s=formatDate(dt\\comma\\\\quot\\yyyy-MM-dd\\quot\\)//crlf////tab////tab////tab////tab//s=addElement(s\\comma\\formatDate(dt\\comma\\\\quot\\yyyy-MM-dd\\quot\\))//crlf////tab////tab////tab////tab//return(s)//crlf////tab////tab////tab//endif//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=1500|Y=26|W=1000|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_View Factory.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//View Factory\\comma\\addEmbeddedView434618\\comma\\action_list\\comma\\Action=addEmbeddedView434618\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//addEmbeddedView434618//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\addEmbeddedView434618\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Adds an embedded view using the Sales Export driver//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//ViewID//crlf////tab////tab//FactoryViewID//crlf////tab////tab//Source//crlf////tab////tab//ViewName//crlf////tab////tab//ReportID//crlf////tab////tab//Metadata//crlf////tab////tab//SelectedHashID//crlf////tab////tab//Display//crlf////tab////tab//DateRange//crlf////tab////tab//ChartVisible//crlf////tab////tab//TableVisible//crlf////tab////tab//TableControls//crlf////tab////tab//ChartTitle//crlf////tab////tab//SelectDates//crlf////tab////tab//BaseFilter//crlf////tab////tab//ExternalFilters//crlf////tab////tab//XDim//crlf////tab////tab//YDim//crlf////tab////tab//MaxRecords//crlf////tab////tab//StoreID//crlf////tab////tab//RecordType//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\addEmbeddedView434618\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////open driver of embedded views//crlf////tab////tab////tab//driverOpen(Greenlight_UI_Embedded_View\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Package=Local\\quot\\)//crlf////crlf////tab////tab////tab////see if a view already exists with the given name//crlf////tab////tab////tab//sFilter=\\quot\\(Embedded_ViewID=\\quot\\+quote(\\quot\\__FactoryViewID__\\quot\\)+\\quot\\) and (View_ID=\\quot\\+quote(\\quot\\__ViewID__\\quot\\)+\\quot\\) and (Embed_View_Name=\\quot\\+quote(\\quot\\__ViewName__\\quot\\)+\\quot\\)\\quot\\//crlf////tab////tab////tab//r=driverFindRecordAbsolute(d\\comma\\0\\comma\\sFilter)//crlf////tab////tab////tab//if(r<0)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////set the view ID//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\View_ID\\quot\\\\comma\\r\\comma\\\\quot\\__ViewID__\\quot\\)//crlf////crlf////tab////tab////tab////set the view ID used by the embedded view.  This is the \\quot\\Sales Export\\comma\\ All Stores\\comma\\ All Fields\\quot\\ view//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Embedded_ViewID\\quot\\\\comma\\r\\comma\\\\quot\\__FactoryViewID__\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Embed_View_Name\\quot\\\\comma\\r\\comma\\\\quot\\__ViewName__\\quot\\)//crlf////crlf////tab////tab////tab////set the section name and width//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Section_Name\\quot\\\\comma\\r\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Section_Width\\quot\\\\comma\\r\\comma\\\\quot\\100pcnt\\quot\\)//crlf////crlf////tab////tab////tab////add a dimensional report used to add external fields//crlf////tab////tab////tab//sEmbeddedViewID=driverGetFieldAbsolute(d\\comma\\\\quot\\ID\\quot\\\\comma\\r)//crlf////tab////tab////tab//driverOpen(Greenlight_Dimensional_View_Report_Params\\comma\\dReport\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Package=local\\quot\\)//crlf////tab////tab////tab//sReportID=left(sEmbeddedViewID\\comma\\7)+\\quot\\_\\quot\\//crlf////tab////tab////tab//sFilter=\\quot\\(ID=\\quot\\+quote(sReportID)+\\quot\\)\\quot\\//crlf////tab////tab////tab//rReport=driverFindRecordAbsolute(dReport\\comma\\0\\comma\\sFilter)//crlf////tab////tab////tab//if(rReport<0)//crlf////tab////tab////tab////tab//rReport=driverAddNewRecord(dReport)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dReport\\comma\\\\quot\\ID\\quot\\\\comma\\rReport\\comma\\sReportID)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//driverPutFieldAbsolute(dReport\\comma\\\\quot\\Description\\quot\\\\comma\\rReport\\comma\\\\quot\\Add Report: __ViewName__\\quot\\)//crlf////tab////tab////tab//sReportID=driverGetFieldAbsolute(dReport\\comma\\\\quot\\ID\\quot\\\\comma\\rReport)//crlf////tab////tab////tab//driverClose(dReport)//crlf////crlf////tab////tab////tab////set the parameters//crlf////tab////tab////tab//sParams=\\quot\\\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\ReportID=__ReportID__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//AddReportID=\\quot\\+sReportID//crlf////tab////tab////tab//if(defined(\\quot\\__RecordType__\\quot\\))//crlf////tab////tab////tab////tab//sParams=sParams+\\quot\\//amp//RecordType=__RecordType__\\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//Metadata=__Metadata__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//Display=__Display__\\quot\\//crlf////crlf////tab////tab////tab////only specify a SelectedHashID when a single store is selected.  Otherwise\\comma\\ leave it //crlf////tab////tab////tab////undefined and all stores will be included.  The parameter can also be edited manually //crlf////tab////tab////tab////to include selected HashID's//crlf////tab////tab////tab//if((defined(\\quot\\__SelectedHashID__\\quot\\)) and (getElementCount(\\quot\\__SelectedHashID__\\quot\\)=1))//crlf////tab////tab////tab////tab//sParams=sParams+\\quot\\//amp//SelectedHashID=__SelectedHashID__\\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//TableVisible=__TableVisible__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//TableControls=__TableControls__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//ChartVisible=__ChartVisible__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//ChartTitle=\\quot\\+if(defined(\\quot\\__ChartTitle__\\quot\\)\\comma\\\\quot\\__ChartTitle__\\quot\\\\comma\\\\quot\\__Display__\\quot\\)//crlf////tab////tab////tab//if(defined(\\quot\\__StoreID__\\quot\\))//crlf////tab////tab////tab////tab//sParams=sParams+\\quot\\//amp//StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//DateRange=__DateRange__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//BaseFilter=__BaseFilter__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//ExternalFilters=__ExternalFilters__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//SelectDates=__SelectDates__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//XDim=__XDim__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//YDim=__YDim__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//Measure=__Measure__\\quot\\//crlf////tab////tab////tab//sParams=sParams+\\quot\\//amp//Factory=false//amp//Debug=false\\quot\\//crlf////crlf////tab////tab////tab//if(defined(\\quot\\__MaxRecords__\\quot\\))//crlf////tab////tab////tab////tab//sParams=sParams+\\quot\\//amp//MaxRecords=__MaxRecords__\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sParams=sParams+\\quot\\//amp//MaxRecords=250\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sParams=char(0x22)+sParams+char(0x22)//crlf////crlf////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Embedded_View_Params\\quot\\\\comma\\r\\comma\\sParams\\comma\\\\quot\\AddEquals\\quot\\)//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Added embedded view\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=1500|Y=26|W=1000|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=719857|X=1500|Y=26|W=1000|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=991810|X=151|Y=15|W=1349|H=1428|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<select onChange=\\quot\\showTab(this)\\quot\\>//crlf////tab//<option value='777034'>Legitimate Usages</option>//crlf////tab//<option value='329000'>Legitimate Usages Select Box For Dimensions</option>//crlf////tab//<option value=''></option>//crlf////tab//<option value='434618'>Sales Export</option>//crlf////tab//<option value='795960'>Sales Export Select Box For Dimensions</option>//crlf////tab//<option value='962817'>Sales Export UI Param - Select Store</option>//crlf////tab//<option value='989881'>Sales Export UI Param - Select Dates On Y Dim</option>//crlf////tab//<option value=''></option>//crlf////tab//<option value='250218'>Check Details</option>//crlf////tab//<option value='837150'>Check Details Select Box For Dimensions</option>//crlf////tab//<option value=''></option>//crlf////tab//<option value='165614'>Sales Mix</option>//crlf////tab//<option value='238214'>Sales Mix Select Box For Dimensions</option>//crlf////tab//<option value=''></option>//crlf////tab//<option value='685734'>Labor Detail</option>//crlf////tab//<option value='980802'>Labor Detail Select Box For Dimensions</option>//crlf////tab//<option value=''></option>//crlf////tab//<option value='275763'>Invoice Details</option>//crlf////tab//<option value='463103'>Invoice Details Select Box For Dimensions</option>//crlf////tab//<option value=''></option>//crlf////tab//<option value='830201'>Inventory Extensions</option>//crlf////tab//<option value='815400'>Inventory Extensions Select Box For Dimensions</option>//crlf////tab//<option value=''></option>//crlf////tab//<option value='981720'>Open View Factory</option>//crlf//</select>//crlf//^
ID=238214|X=151|Y=33|W=1349|H=1429|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//List of fields.  This list is used to select the appropriate fields for //crlf//the X\\comma\\ Y and Measure fields.  //crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:undefined(\\quot\\__Axis__\\quot\\)>//crlf////tab//<h1>POS_Generic_SalesMix - All Fields</h1>//crlf////tab//<include type:expression; expression:htmlTable(getCollection(StructureFields2\\comma\\POS_Generic_SalesMix)\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\=\\quot\\)>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//This item is used to get the select box for x\\comma\\ y and measure dimensions.  It is //crlf//hardwired rather than using a collection in order specify which fields will //crlf//be included.//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:defined(\\quot\\__axis__\\quot\\)>//crlf////tab//<select ID=\\quot\\__salt__Select__Axis__\\quot\\ multiple onChange=\\quot\\__axis__Selected('__salt__'\\comma\\this)\\quot\\ style=\\quot\\height:150px;width:100\\percent\\\\quot\\ Param=\\quot\\__Axis__=$value$\\quot\\>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Measure//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\Measure\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Percent_Of_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Percent_Of_Sales\\quot\\>\\percent\\ Of Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Avg_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Avg_Price\\quot\\>Average Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\calcStoreID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\calcStoreID\\quot\\>Calc Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\calcStoreDirectory\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\calcStoreDirectory\\quot\\>calcStoreDirectory</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CategoryID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CategoryID\\quot\\>Category ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CategoryName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CategoryName\\quot\\>Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Comps\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Comps\\quot\\>Comps</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Amount\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Amount\\quot\\>Controllables Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Date\\quot\\>Controllables Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description1\\quot\\>Controllables Description1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description2\\quot\\>Controllables Description2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description3\\quot\\>Controllables Description3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID1\\quot\\>Controllables Record ID1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID2\\quot\\>Controllables Record ID2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID3\\quot\\>Controllables Record ID3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Department_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Department_ID\\quot\\>Department ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Department_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Department_Name\\quot\\>Department Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Diskindex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Diskindex\\quot\\>Diskindex</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Category1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Category1\\quot\\>Enterprise Category 1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Category2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Category2\\quot\\>Enterprise Category 2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Filename\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Filename\\quot\\>Filename</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Category_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Category_Name\\quot\\>Final Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Include_All_Menu_Items_In_Enterprise_Reporting\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Include_All_Menu_Items_In_Enterprise_Reporting\\quot\\>Include All Menu Items In Enterprise Reporting</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Include_Group_In_Enterprise_Reporting\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Include_Group_In_Enterprise_Reporting\\quot\\>Include Group In Enterprise Reporting</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Include_In_Enterprise_Reporting\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Include_In_Enterprise_Reporting\\quot\\>Include In Enterprise Reporting</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Item_ID\\quot\\>Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Line\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Line\\quot\\>Line</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryID1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryID1\\quot\\>Lookup Category ID1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryID2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryID2\\quot\\>Lookup Category ID2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryName1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryName1\\quot\\>Lookup Category Name1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryName2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryName2\\quot\\>Lookup Category Name2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryName3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryName3\\quot\\>Lookup Category Name3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Item_Name1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Item_Name1\\quot\\>Lookup Menu Item Name1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Item_Name2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Item_Name2\\quot\\>Lookup Menu Item Name2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\MenuItemID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\MenuItemID\\quot\\>Menu Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Item_Name\\quot\\>Menu Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\RecordLastModified\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\RecordLastModified\\quot\\>Modified</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Net_Less_Comps\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Net_Less_Comps\\quot\\>Net Less Comps</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Net_Sales\\quot\\>Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type\\quot\\>Record Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_Type\\quot\\>Record Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Category\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Category\\quot\\>Section Header By Category</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Date\\quot\\>Section Header By Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Department\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Department\\quot\\>Section Header By Department</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Store_Name\\quot\\>Section Header By Store Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Sold\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Sold\\quot\\>Sold</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Code\\quot\\>Store Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_ID\\quot\\>Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Name\\quot\\>Store Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_CatOrDept\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_CatOrDept\\quot\\>Subtotal_CatOrDept</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_Date\\quot\\>Subtotal_Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_Grand\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_Grand\\quot\\>Subtotal_Grand</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_Item\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_Item\\quot\\>Subtotal_Item</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_Store\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_Store\\quot\\>Subtotal_Store</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unused\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unused\\quot\\>Unused</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Used\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Used\\quot\\>Used</option>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//YDim//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\YDim\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Percent_Of_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Percent_Of_Sales\\quot\\>\\percent\\ Of Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Avg_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Avg_Price\\quot\\>Average Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\calcStoreID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\calcStoreID\\quot\\>Calc Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\calcStoreDirectory\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\calcStoreDirectory\\quot\\>calcStoreDirectory</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CategoryID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CategoryID\\quot\\>Category ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CategoryName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CategoryName\\quot\\>Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Comps\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Comps\\quot\\>Comps</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Amount\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Amount\\quot\\>Controllables Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Date\\quot\\>Controllables Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description1\\quot\\>Controllables Description1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description2\\quot\\>Controllables Description2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description3\\quot\\>Controllables Description3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID1\\quot\\>Controllables Record ID1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID2\\quot\\>Controllables Record ID2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID3\\quot\\>Controllables Record ID3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Department_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Department_ID\\quot\\>Department ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Department_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Department_Name\\quot\\>Department Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Diskindex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Diskindex\\quot\\>Diskindex</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Category1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Category1\\quot\\>Enterprise Category 1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Category2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Category2\\quot\\>Enterprise Category 2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Filename\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Filename\\quot\\>Filename</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Category_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Category_Name\\quot\\>Final Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Include_All_Menu_Items_In_Enterprise_Reporting\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Include_All_Menu_Items_In_Enterprise_Reporting\\quot\\>Include All Menu Items In Enterprise Reporting</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Include_Group_In_Enterprise_Reporting\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Include_Group_In_Enterprise_Reporting\\quot\\>Include Group In Enterprise Reporting</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Include_In_Enterprise_Reporting\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Include_In_Enterprise_Reporting\\quot\\>Include In Enterprise Reporting</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Item_ID\\quot\\>Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Line\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Line\\quot\\>Line</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryID1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryID1\\quot\\>Lookup Category ID1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryID2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryID2\\quot\\>Lookup Category ID2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryName1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryName1\\quot\\>Lookup Category Name1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryName2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryName2\\quot\\>Lookup Category Name2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryName3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryName3\\quot\\>Lookup Category Name3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Item_Name1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Item_Name1\\quot\\>Lookup Menu Item Name1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Item_Name2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Item_Name2\\quot\\>Lookup Menu Item Name2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\MenuItemID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\MenuItemID\\quot\\>Menu Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Item_Name\\quot\\>Menu Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\RecordLastModified\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\RecordLastModified\\quot\\>Modified</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Net_Less_Comps\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Net_Less_Comps\\quot\\>Net Less Comps</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Net_Sales\\quot\\>Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type\\quot\\>Record Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_Type\\quot\\>Record Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Category\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Category\\quot\\>Section Header By Category</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Date\\quot\\>Section Header By Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Department\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Department\\quot\\>Section Header By Department</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Store_Name\\quot\\>Section Header By Store Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Sold\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Sold\\quot\\>Sold</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Code\\quot\\>Store Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_ID\\quot\\>Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Name\\quot\\>Store Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_CatOrDept\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_CatOrDept\\quot\\>Subtotal_CatOrDept</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_Date\\quot\\>Subtotal_Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_Grand\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_Grand\\quot\\>Subtotal_Grand</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_Item\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_Item\\quot\\>Subtotal_Item</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_Store\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_Store\\quot\\>Subtotal_Store</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unused\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unused\\quot\\>Unused</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Used\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Used\\quot\\>Used</option>//crlf////tab////tab////tab//<option></option>//crlf////tab////tab////tab//<option>=====Date Fields=====</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date_Text\\quot\\>Date Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Description\\quot\\>Day Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_End\\quot\\>Day End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index\\quot\\>Day Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Start\\quot\\>Day Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month\\quot\\>Month</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Description\\quot\\>Month Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_End\\quot\\>Month End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index\\quot\\>Month Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Start\\quot\\>Month Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter\\quot\\>Quarter</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Description\\quot\\>Quarter Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_End\\quot\\>Quarter End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index\\quot\\>Quarter Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Start\\quot\\>Quarter Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Description\\quot\\>Week Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_End\\quot\\>Week End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index\\quot\\>Week Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Of_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Of_Year\\quot\\>Week Of Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Start\\quot\\>Week Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year\\quot\\>Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Description\\quot\\>Year Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_End\\quot\\>Year End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index\\quot\\>Year Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Start\\quot\\>Year Start</option>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//XDim//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\XDim\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Percent_Of_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Percent_Of_Sales\\quot\\>\\percent\\ Of Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Avg_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Avg_Price\\quot\\>Average Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\calcStoreID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\calcStoreID\\quot\\>Calc Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\calcStoreDirectory\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\calcStoreDirectory\\quot\\>calcStoreDirectory</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CategoryID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CategoryID\\quot\\>Category ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CategoryName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CategoryName\\quot\\>Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Comps\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Comps\\quot\\>Comps</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Amount\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Amount\\quot\\>Controllables Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Date\\quot\\>Controllables Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description1\\quot\\>Controllables Description1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description2\\quot\\>Controllables Description2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description3\\quot\\>Controllables Description3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID1\\quot\\>Controllables Record ID1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID2\\quot\\>Controllables Record ID2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID3\\quot\\>Controllables Record ID3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Department_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Department_ID\\quot\\>Department ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Department_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Department_Name\\quot\\>Department Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Diskindex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Diskindex\\quot\\>Diskindex</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Category1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Category1\\quot\\>Enterprise Category 1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Category2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Category2\\quot\\>Enterprise Category 2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Filename\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Filename\\quot\\>Filename</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Category_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Category_Name\\quot\\>Final Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Include_All_Menu_Items_In_Enterprise_Reporting\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Include_All_Menu_Items_In_Enterprise_Reporting\\quot\\>Include All Menu Items In Enterprise Reporting</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Include_Group_In_Enterprise_Reporting\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Include_Group_In_Enterprise_Reporting\\quot\\>Include Group In Enterprise Reporting</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Include_In_Enterprise_Reporting\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Include_In_Enterprise_Reporting\\quot\\>Include In Enterprise Reporting</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Item_ID\\quot\\>Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Line\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Line\\quot\\>Line</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryID1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryID1\\quot\\>Lookup Category ID1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryID2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryID2\\quot\\>Lookup Category ID2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryName1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryName1\\quot\\>Lookup Category Name1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryName2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryName2\\quot\\>Lookup Category Name2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryName3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryName3\\quot\\>Lookup Category Name3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Item_Name1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Item_Name1\\quot\\>Lookup Menu Item Name1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Item_Name2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Item_Name2\\quot\\>Lookup Menu Item Name2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\MenuItemID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\MenuItemID\\quot\\>Menu Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Item_Name\\quot\\>Menu Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\RecordLastModified\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\RecordLastModified\\quot\\>Modified</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Net_Less_Comps\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Net_Less_Comps\\quot\\>Net Less Comps</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Net_Sales\\quot\\>Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type\\quot\\>Record Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_Type\\quot\\>Record Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Category\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Category\\quot\\>Section Header By Category</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Date\\quot\\>Section Header By Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Department\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Department\\quot\\>Section Header By Department</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Store_Name\\quot\\>Section Header By Store Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Sold\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Sold\\quot\\>Sold</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Code\\quot\\>Store Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_ID\\quot\\>Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Name\\quot\\>Store Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_CatOrDept\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_CatOrDept\\quot\\>Subtotal_CatOrDept</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_Date\\quot\\>Subtotal_Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_Grand\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_Grand\\quot\\>Subtotal_Grand</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_Item\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_Item\\quot\\>Subtotal_Item</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_Store\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_Store\\quot\\>Subtotal_Store</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unused\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unused\\quot\\>Unused</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Used\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Used\\quot\\>Used</option>//crlf////tab////tab////tab//<option></option>//crlf////tab////tab////tab//<option>=====Date Fields=====</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date_Text\\quot\\>Date Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Start\\quot\\>Day Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_End\\quot\\>Day End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Description\\quot\\>Day Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index\\quot\\>Day Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_End\\quot\\>Day Index@Day_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_Start\\quot\\>Day Index@Day_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_Description\\quot\\>Day Index@Day_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Description\\quot\\>Month Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index\\quot\\>Month Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_End\\quot\\>Month Index@Month_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_Start\\quot\\>Month Index@Month_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_Description\\quot\\>Month Index@Month_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter\\quot\\>Quarter</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Start\\quot\\>Quarter Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_End\\quot\\>Quarter End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Description\\quot\\>Quarter Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index\\quot\\>Quarter Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_Start\\quot\\>Quarter Index@Quarter_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_End\\quot\\>Quarter Index@Quarter_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_Description\\quot\\>Quarter Index@Quarter_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Start\\quot\\>Week Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_End\\quot\\>Week End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Description\\quot\\>Week Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index\\quot\\>Week Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_Start\\quot\\>Week Index@Week_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_End\\quot\\>Week Index@Week_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_Description\\quot\\>Week Index@Week_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Of_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Of_Year\\quot\\>Week Of Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year\\quot\\>Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Description\\quot\\>Year Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Start\\quot\\>Year Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_End\\quot\\>Year End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index\\quot\\>Year Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_Start\\quot\\>Year Index@Year_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_End\\quot\\>Year Index@Year_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_Description\\quot\\>Year Index@Year_Description</option>//crlf////tab////tab//</conditional>//crlf////crlf////tab//</select>//crlf//</conditional>//crlf//^
ID=795960|X=151|Y=33|W=1349|H=1429|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//This item is used to get the select box for x\\comma\\ y and measure dimensions.  It is //crlf//hardwired rather than using a collection in order specify which fields will //crlf//be included.//crlf//--------------------------------------------------------------------------]//crlf//<select ID=\\quot\\__salt__Select__Axis__\\quot\\ multiple onChange=\\quot\\__axis__Selected('__salt__'\\comma\\this)\\quot\\ style=\\quot\\height:150px;width:225px\\quot\\ Param=\\quot\\__Axis__=$value$\\quot\\>//crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Measure//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\Measure\\quot\\)>//crlf////tab////tab//<option>=====Sort Fields=====</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Chart_Of_Accounts_Sort_Order\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Chart_Of_Accounts_Sort_Order\\quot\\>Chart Of Accounts Sort Order</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Enterprise_Sort_Order\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Enterprise_Sort_Order\\quot\\>Enterprise  Sort Order</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Category1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Category1\\quot\\>Final Category1</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Category2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Category2\\quot\\>Final Category2</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Category3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Category3\\quot\\>Final Category3</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Name\\quot\\>Final Name</option>//crlf////tab////tab//<option></option>//crlf////tab////tab//<option>=====Data Fields=====</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Amount\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Amount\\quot\\>Amount</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Amount_Last_Month\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Amount_Last_Month\\quot\\>Amount Last Month</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Amount_Last_Week\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Amount_Last_Week\\quot\\>Amount Last Week</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Amount_Last_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Amount_Last_Year\\quot\\>Amount Last Year</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Change_In_Amount_From_Last_Month\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Change_In_Amount_From_Last_Month\\quot\\>Change In Amount From Last Month</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Change_In_Amount_From_Last_Week\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Change_In_Amount_From_Last_Week\\quot\\>Change In Amount From Last Week</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Change_In_Amount_From_Last_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Change_In_Amount_From_Last_Year\\quot\\>Change In Amount From Last Year</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Change_In_Quantity_From_Last_Month\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Change_In_Quantity_From_Last_Month\\quot\\>Change In Quantity From Last Month</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Change_In_Quantity_From_Last_Week\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Change_In_Quantity_From_Last_Week\\quot\\>Change In Quantity From Last Week</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Change_In_Quantity_From_Last_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Change_In_Quantity_From_Last_Year\\quot\\>Change In Quantity From Last Year</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Net_Sales\\quot\\>Net Sales</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Total_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Total_Sales\\quot\\>Total Sales</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Percent_Of_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Percent_Of_Net_Sales\\quot\\>\\percent\\ Of Net Sales</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Percent_Of_Total_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Percent_Of_Total_Sales\\quot\\>\\percent\\ Of Total Sales</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Job_Code_Hour\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Job_Code_Hour\\quot\\>Job Code Hour</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Job_Code_Hours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Job_Code_Hours\\quot\\>Hours</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Job_Code_Hours_Last_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Job_Code_Hours_Last_Year\\quot\\>Hours Last Year</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Job_Code_Pay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Job_Code_Pay\\quot\\>Pay</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Job_Code_Pay_Last_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Job_Code_Pay_Last_Year\\quot\\>Pay Last Year</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Percent_Change_In_Amount_From_Last_Week\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Percent_Change_In_Amount_From_Last_Week\\quot\\>Percent  Change In Amount From Last Week</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Percent_Change_In_Amount_From_Last_Month\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Percent_Change_In_Amount_From_Last_Month\\quot\\>Percent Change In Amount From Last Month</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Percent_Change_In_Amount_From_Last_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Percent_Change_In_Amount_From_Last_Year\\quot\\>Percent Change In Amount From Last Year</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Percent_Change_In_Quantity_From_Last_Week\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Percent_Change_In_Quantity_From_Last_Week\\quot\\>Percent  Change In Quantity From Last Week</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Percent_Change_In_Quantity_From_Last_Month\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Percent_Change_In_Quantity_From_Last_Month\\quot\\>Percent Change In Quantity From Last Month</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Percent_Change_In_Quantity_From_Last_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Percent_Change_In_Quantity_From_Last_Year\\quot\\>Percent Change In Quantity From Last Year</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity\\quot\\>Quantity</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity_Last_Week\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity_Last_Week\\quot\\>Quantity Last Week</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity_Last_Month\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity_Last_Month\\quot\\>Quantity Last Month</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity_Last_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity_Last_Year\\quot\\>Quantity Last Year</option>//crlf////tab////tab//<option value=\\quot\\\\quot\\>===These fields will be deleted===</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Net_Sales\\quot\\>Day Net Sales</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Percent_of_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Percent_of_Net_Sales\\quot\\>Percent of Net Sales</option>//crlf////tab////tab//<option>=====Period To Date Fields=====</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Amount_WeekToDate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Amount_WeekToDate\\quot\\>Amount Week-To-Date</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity_WeekToDate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity_WeekToDate\\quot\\>Quantity Week-To-Date</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Amount_MonthToDate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Amount_MonthToDate\\quot\\>Amount Month-To-Date</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity_MonthToDate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity_MonthToDate\\quot\\>Quantity Month-To-Date</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Amount_QuarterToDate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Amount_QuarterToDate\\quot\\>Amount Quarter-To-Date</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity_QuarterToDate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity_QuarterToDate\\quot\\>Quantity Quarter-To-Date</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Amount_YearToDate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Amount_YearToDate\\quot\\>Amount Year-To-Date</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity_YearToDate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity_YearToDate\\quot\\>Quantity Year-To-Date</option>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//YDim//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\YDim\\quot\\)>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\CalcStoreID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CalcStoreID\\quot\\>CalcStoreID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Enterprise_Tags\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Enterprise_Tags\\quot\\>Enterprise Tags</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Exclude_Category_From_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Exclude_Category_From_Sales\\quot\\>Exclude Category From Sales</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Exclude_Department_From_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Exclude_Department_From_Sales\\quot\\>Exclude Department From Sales</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Category1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Category1\\quot\\>Final Category1</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Category2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Category2\\quot\\>Final Category2</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Category3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Category3\\quot\\>Final Category3</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Name\\quot\\>Final Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Store_Category1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Store_Category1\\quot\\>Final Store Category1</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Store_Category2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Store_Category2\\quot\\>Final Store Category2</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Store_Category3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Store_Category3\\quot\\>Final Store Category3</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Store_Name\\quot\\>Final Store Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Time_Period_Category1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Time_Period_Category1\\quot\\>Final Time Period Category1</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Time_Period_Category2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Time_Period_Category2\\quot\\>Final Time Period Category2</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Time_Period_Category3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Time_Period_Category3\\quot\\>Final Time Period Category3</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Time_Period_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Time_Period_Name\\quot\\>Final Time Period Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\HashID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\HashID\\quot\\>HashID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Is_Cash_Tender\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_Cash_Tender\\quot\\>Is Cash Tender</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Is_NonCash_Tender\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_NonCash_Tender\\quot\\>Is Non-Cash Tender</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Description\\quot\\>Period</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Description_Last_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Description_Last_Year\\quot\\>Period Description</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Start_Last_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Start_Last_Year\\quot\\>Period Start Last Year</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\POS_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\POS_ID\\quot\\>POS ID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Description\\quot\\>Record Type</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Description_Short\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Description_Short\\quot\\>Record Type Description Short</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type\\quot\\>Record Type ID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Sales_Structure_Field_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Sales_Structure_Field_ID\\quot\\>Sales Structure Field ID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Code\\quot\\>Store Code</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Index\\quot\\>Store Index</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Tags\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tags\\quot\\>Tags</option>//crlf////tab////tab//<option></option>//crlf////tab////tab//<option>=====Date Fields=====</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Date_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date_Text\\quot\\>Date Text</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Description\\quot\\>Day Description</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_End\\quot\\>Day End</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index\\quot\\>Day Index</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Start\\quot\\>Day Start</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Month\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month\\quot\\>Month</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Description\\quot\\>Month Description</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Month_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_End\\quot\\>Month End</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index\\quot\\>Month Index</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Start\\quot\\>Month Start</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter\\quot\\>Quarter</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Description\\quot\\>Quarter Description</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_End\\quot\\>Quarter End</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index\\quot\\>Quarter Index</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Start\\quot\\>Quarter Start</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Description\\quot\\>Week Description</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_End\\quot\\>Week End</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index\\quot\\>Week Index</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Of_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Of_Year\\quot\\>Week Of Year</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Start\\quot\\>Week Start</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year\\quot\\>Year</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Description\\quot\\>Year Description</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_End\\quot\\>Year End</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index\\quot\\>Year Index</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Start\\quot\\>Year Start</option>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//XDim//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\XDim\\quot\\)>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\CalcStoreID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CalcStoreID\\quot\\>CalcStoreID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Chart_Of_Accounts_Sort_Order\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Chart_Of_Accounts_Sort_Order\\quot\\>Chart Of Accounts Sort Order</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Enterprise_Sort_Order\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Enterprise_Sort_Order\\quot\\>Enterprise  Sort Order</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Enterprise_Tags\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Enterprise_Tags\\quot\\>Enterprise Tags</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Exclude_Category_From_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Exclude_Category_From_Sales\\quot\\>Exclude Category From Sales</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Exclude_Department_From_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Exclude_Department_From_Sales\\quot\\>Exclude Department From Sales</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Category1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Category1\\quot\\>Final Category1</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Category2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Category2\\quot\\>Final Category2</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Category3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Category3\\quot\\>Final Category3</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Name\\quot\\>Final Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Store_Category1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Store_Category1\\quot\\>Final Store Category1</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Store_Category2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Store_Category2\\quot\\>Final Store Category2</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Store_Category3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Store_Category3\\quot\\>Final Store Category3</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Time_Period_Category1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Time_Period_Category1\\quot\\>Final Time Period Category1</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Time_Period_Category2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Time_Period_Category2\\quot\\>Final Time Period Category2</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Time_Period_Category3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Time_Period_Category3\\quot\\>Final Time Period Category3</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Final_Time_Period_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Final_Time_Period_Name\\quot\\>Final Time Period Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\HashID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\HashID\\quot\\>HashID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Is_Cash_Tender\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_Cash_Tender\\quot\\>Is Cash Tender</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Is_NonCash_Tender\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_NonCash_Tender\\quot\\>Is Non-Cash Tender</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Description\\quot\\>Period</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Description_Last_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Description_Last_Year\\quot\\>Period Description</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Start_Last_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Start_Last_Year\\quot\\>Period Start Last Year</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\POS_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\POS_ID\\quot\\>POS ID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Description\\quot\\>Record Type</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Description_Short\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Description_Short\\quot\\>Record Type Description Short</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type\\quot\\>Record Type ID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Sales_Structure_Field_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Sales_Structure_Field_ID\\quot\\>Sales Structure Field ID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Code\\quot\\>Store Code</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Index\\quot\\>Store Index</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Index@Final_Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Index@Final_Store_Name\\quot\\>Store Index@Final_Store_Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Tags\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tags\\quot\\>Tags</option>//crlf////tab////tab//<option></option>//crlf////tab////tab//<option>=====Date Fields=====</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Date_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date_Text\\quot\\>Date Text</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Start\\quot\\>Day Start</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_End\\quot\\>Day End</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Description\\quot\\>Day Description</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index\\quot\\>Day Index</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_End\\quot\\>Day Index@Day_End</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_Start\\quot\\>Day Index@Day_Start</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_Description\\quot\\>Day Index@Day_Description</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Description\\quot\\>Month Description</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index\\quot\\>Month Index</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_End\\quot\\>Month Index@Month_End</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_Start\\quot\\>Month Index@Month_Start</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_Description\\quot\\>Month Index@Month_Description</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter\\quot\\>Quarter</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Start\\quot\\>Quarter Start</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_End\\quot\\>Quarter End</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Description\\quot\\>Quarter Description</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index\\quot\\>Quarter Index</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_Start\\quot\\>Quarter Index@Quarter_Start</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_End\\quot\\>Quarter Index@Quarter_End</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_Description\\quot\\>Quarter Index@Quarter_Description</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Start\\quot\\>Week Start</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_End\\quot\\>Week End</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Description\\quot\\>Week Description</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index\\quot\\>Week Index</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_Start\\quot\\>Week Index@Week_Start</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_End\\quot\\>Week Index@Week_End</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_Description\\quot\\>Week Index@Week_Description</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Of_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Of_Year\\quot\\>Week Of Year</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year\\quot\\>Year</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Description\\quot\\>Year Description</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Start\\quot\\>Year Start</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_End\\quot\\>Year End</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index\\quot\\>Year Index</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_Start\\quot\\>Year Index@Year_Start</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_End\\quot\\>Year Index@Year_End</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_Description\\quot\\>Year Index@Year_Description</option>//crlf////tab//</conditional>//crlf//</select>//crlf////crlf//[!------------------------------------------------------------------------//crlf////tab////tab//<option value=\\quot\\\\quot\\>===Fields below here will be deleted===</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Filename\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Filename\\quot\\>Filename</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Category1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Category1\\quot\\>Category 1</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Category2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Category2\\quot\\>Category 2</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Category3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Category3\\quot\\>Category 3</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Name_Override\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Name_Override\\quot\\>Name Override</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Field_Description_Short\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Field_Description_Short\\quot\\>Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Field_Description_Short1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Field_Description_Short1\\quot\\>Name1</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Enterprise_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Enterprise_Name\\quot\\>Enterprise Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Name\\quot\\>Store Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Enterprise_Category1_By_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Enterprise_Category1_By_Name\\quot\\>Lookup Enterprise Category1 By Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Enterprise_Category1_By_PosID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Enterprise_Category1_By_PosID\\quot\\>Lookup Enterprise Category1 By PosID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Enterprise_Category2_By_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Enterprise_Category2_By_Name\\quot\\>Lookup Enterprise Category2 By Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Enterprise_Category2_By_PosID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Enterprise_Category2_By_PosID\\quot\\>Lookup Enterprise Category2 By PosID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Enterprise_Category3_By_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Enterprise_Category3_By_Name\\quot\\>Lookup Enterprise Category3 By Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Enterprise_Category3_By_PosID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Enterprise_Category3_By_PosID\\quot\\>Lookup Enterprise Category3 By PosID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Enterprise_Name_By_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Enterprise_Name_By_Name\\quot\\>Lookup Enterprise Name By Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Enterprise_Name_By_PosID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Enterprise_Name_By_PosID\\quot\\>Lookup Enterprise Name By PosID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Enterprise_Sort_Order_By_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Enterprise_Sort_Order_By_Name\\quot\\>Lookup Enterprise Sort Order By Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Enterprise_Sort_Order_By_PosID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Enterprise_Sort_Order_By_PosID\\quot\\>Lookup Enterprise Sort Order By PosID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Enterprise_Tags_By_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Enterprise_Tags_By_Name\\quot\\>Lookup Enterprise Tags By Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Enterprise_Tags_By_PosID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Enterprise_Tags_By_PosID\\quot\\>Lookup Enterprise Tags By PosID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Store_Category1_By_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Store_Category1_By_Name\\quot\\>Lookup Store Category1 By Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Store_Category1_By_PosID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Store_Category1_By_PosID\\quot\\>Lookup Store Category1 By PosID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Store_Category2_By_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Store_Category2_By_Name\\quot\\>Lookup Store Category2 By Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Store_Category2_By_PosID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Store_Category2_By_PosID\\quot\\>Lookup Store Category2 By PosID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Store_Category3_By_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Store_Category3_By_Name\\quot\\>Lookup Store Category3 By Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Store_Category3_By_PosID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Store_Category3_By_PosID\\quot\\>Lookup Store Category3 By PosID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Store_Name_By_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Store_Name_By_Name\\quot\\>Lookup Store Name By Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Store_Name_By_PosID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Store_Name_By_PosID\\quot\\>Lookup Store Name By PosID</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Time_Period_Category1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Time_Period_Category1\\quot\\>Lookup Time Period Category1</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Time_Period_Category2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Time_Period_Category2\\quot\\>Lookup Time Period Category2</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Time_Period_Category3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Time_Period_Category3\\quot\\>Lookup Time Period Category3</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Time_Period_Department_Sort_Order\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Time_Period_Department_Sort_Order\\quot\\>Lookup Time Period Department Sort Order</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Time_Period_Menu_Category_Sort_Order\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Time_Period_Menu_Category_Sort_Order\\quot\\>Lookup Time Period Menu Category Sort Order</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Time_Period_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Time_Period_Name\\quot\\>Lookup Time Period Name</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Time_Period_Name_Sort_Order\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Time_Period_Name_Sort_Order\\quot\\>Lookup Time Period Name Sort Order</option>//crlf////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Time_Period_Revenue_Center_Sort_Order\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Time_Period_Revenue_Center_Sort_Order\\quot\\>Lookup Time Period Revenue Center Sort Order</option>//crlf//--------------------------------------------------------------------------]//crlf//^
ID=962817|X=151|Y=33|W=1349|H=1429|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=989881|X=151|Y=33|W=1349|H=1429|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=830201|X=151|Y=33|W=1349|H=1429|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false -->//crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//--------------------------------------------------------------------------]//crlf//<_include type:expression; expression:htmlConstant(\\quot\\ReportID\\quot\\\\comma\\\\quot\\__ReportID__\\quot\\\\comma\\\\quot\\kRXQtpzm\\quot\\)>//crlf//<_include type:expression; expression:htmlConstant(\\quot\\DatesOnYDim\\quot\\\\comma\\\\quot\\__DatesOnYDim__\\quot\\\\comma\\true)>//crlf//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\\\comma\\\\quot\\IXIhzKwdMIJWh02Rk8FjIVP0\\quot\\\\comma\\getToken(\\quot\\POSInterface_StoreID\\quot\\)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//This item is a wrapper for the consolidated sales export//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:not(defined(\\quot\\__ReportID__\\quot\\))>//crlf////tab//Error: Missing ReportID//crlf//</conditional>//crlf////crlf//<conditional expression:(defined(\\quot\\__ReportID__\\quot\\))>//crlf////crlf////tab//<script ID=\\quot\\JS434618\\quot\\>//crlf////tab////tab//function addEmbeddedView434618(salt\\comma\\s) {//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////get selected view//crlf////tab////tab////tab////tab//var sViewID=document.getElementById(salt+\\quot\\SelectView\\quot\\).value;//crlf////tab////tab////tab////tab//if(sViewID==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: No view selected.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////get date range//crlf////tab////tab////tab////tab//var sDateRange=document.getElementById(salt+\\quot\\DateRange\\quot\\).value;//crlf////tab////tab////tab////tab//if(sDateRange==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: No date range selected.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=Adding embedded view...//amp//icon=true\\quot\\);//crlf////crlf////tab////tab////tab////tab//var eTable=document.getElementById(salt);//crlf////tab////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////tab////tab//var eDisplay=document.getElementById(\\quot\\SelectDisplay1\\quot\\+salt);//crlf////tab////tab////tab////tab//var sDisplay=eDisplay.options[eDisplay.selectedIndex].text;//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Local: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Company: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Aspect: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab////get selected X dimensions//crlf////tab////tab////tab////tab//var sXDim=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectXDim\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sXDim.length>0) sXDim+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sXDim+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////tab////crlf////tab////tab////tab////tab////get selected Y dimensions//crlf////tab////tab////tab////tab//var sYDim=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectYDim\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sYDim.length>0) sYDim+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sYDim+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////tab////crlf////tab////tab////tab////tab////get selected Y dimensions//crlf////tab////tab////tab////tab//var sMeasure=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectMeasure\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sMeasure.length>0) sMeasure+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sMeasure+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////tab////crlf////tab////tab////tab////tab//var sParamsActive=eTable.getAttribute(\\quot\\Aspectparamsactive\\quot\\);//crlf////crlf////tab////tab////tab////tab///********************************************************************************************//crlf////tab////tab////tab////tab//Note: The ContainsText field is not used when creating the view.  It only serves as an //crlf////tab////tab////tab////tab//external filter when the report is displayed.//crlf////tab////tab////tab////tab//********************************************************************************************///crlf////tab////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Widget=View Factory//amp//ContainerItemID=Action_List//amp//Action=addEmbeddedView434618//amp//ActionExec=true\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ViewID=\\quot\\+sViewID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//FactoryViewID=dmOPZLtg\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ReportID=__ReportID__\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Metadata=\\quot\\+eTable.getAttribute(\\quot\\Aspectdisplay_metadata\\quot\\);//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Display=\\quot\\+sDisplay;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//DateRange=\\quot\\+sDateRange;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//BaseFilter=\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ExternalFilters=\\quot\\+document.getElementById(salt+\\quot\\ExternalFilters\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//XDim=\\quot\\+sXDim;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//YDim=\\quot\\+sYDim;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Measure=\\quot\\+sMeasure;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ViewName=\\quot\\+document.getElementById(salt+\\quot\\ViewName\\quot\\).value;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//TableVisible=\\quot\\+document.getElementById(salt+\\quot\\TableVisible\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//TableControls=\\quot\\+document.getElementById(salt+\\quot\\TableControls\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ChartVisible=\\quot\\+document.getElementById(salt+\\quot\\TableVisible\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ChartTitle=\\quot\\+document.getElementById(salt+\\quot\\ChartTitle\\quot\\).value;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//SelectDates=\\quot\\+document.getElementById(salt+\\quot\\SelectDates\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//MaxRecords=\\quot\\+document.getElementById(salt+\\quot\\MaxRecords\\quot\\).value;//crlf////crlf////tab////tab////tab////tab//sFunc=\\quot\\addEmbeddedView434618(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function dateRangeSelected434618(salt\\comma\\s)//crlf////tab////tab//{//crlf////tab////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab////tab////showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//ar=getSubStringArray(s\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab////tab////tab//document.getElementById(salt+\\quot\\ParamDateFrom\\quot\\).value=ar[0];//crlf////tab////tab////tab////tab////tab//document.getElementById(salt+\\quot\\ParamDateTo\\quot\\).value=ar[1];//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//var eTable=document.getElementById(salt);//crlf////tab////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Widget=View Factory//amp//ContainerItemID=sensor_list//amp//Sensor=getDefaultBackOfficeDateRange//amp//SensorExec=true\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//DateRange=\\quot\\+document.getElementById(salt+\\quot\\DateRange\\quot\\).value;//crlf////tab////tab////tab////tab//sFunc=\\quot\\dateRangeSelected434618(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function XDimSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_xdim\\quot\\).innerHTML=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function YDimSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_ydim\\quot\\).innerHTML=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function MeasureSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_measure\\quot\\).innerHTML=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function defaultSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var Index=e.selectedIndex;//crlf////tab////tab////tab//var sYDim=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\ydim\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab//var sXDim=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\xdim\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab//var sMeasure=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\measure\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectYDim\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\+sYDim+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//YDimSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectXDim\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\+sXDim+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//XDimSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectMeasure\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\+sMeasure+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//MeasureSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab//refreshTable(salt\\comma\\'refresh'\\comma\\''\\comma\\true);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Include stylesheet//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\style\\quot\\\\comma\\\\quot\\__style__\\quot\\\\comma\\\\quot\\default\\quot\\)>//crlf////tab//<!include type:widget; //crlf////tab////tab//server:{AspectHashID}; //crlf////tab////tab//secure:true; //crlf////tab////tab//documentID:\\quot\\VWaUGu88BMN0hDYWzZj57VpG\\quot\\; //crlf////tab////tab//widget:\\quot\\Daily Sales Export\\quot\\; //crlf////tab////tab//containerItemID:\\quot\\515261\\quot\\; //crlf////tab////tab//params:\\quot\\style=__style__\\quot\\;>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Defaults//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\SaveToName\\quot\\\\comma\\\\quot\\__SaveToName__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\display\\quot\\\\comma\\\\quot\\__display__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\DateRange\\quot\\\\comma\\\\quot\\__DateRange__\\quot\\\\comma\\\\quot\\LastFullWeek\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\YDim\\quot\\\\comma\\\\quot\\__YDim__\\quot\\\\comma\\\\quot\\Inventory_Item_Full_Group_Name\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\XDim\\quot\\\\comma\\\\quot\\__XDim__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Measure\\quot\\\\comma\\\\quot\\__Measure__\\quot\\\\comma\\\\quot\\Cost\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableControls\\quot\\\\comma\\\\quot\\__TableControls__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableHeader\\quot\\\\comma\\\\quot\\__TableHeader__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableBorder\\quot\\\\comma\\\\quot\\__TableBorder__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\SelectDisplay\\quot\\\\comma\\\\quot\\__SelectDisplay__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\EditDisplay\\quot\\\\comma\\\\quot\\__EditDisplay__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableVisible\\quot\\\\comma\\\\quot\\__TableVisible__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartTitle\\quot\\\\comma\\\\quot\\__ChartTitle__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartWidth\\quot\\\\comma\\\\quot\\__ChartWidth__\\quot\\\\comma\\\\quot\\100\\percent\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartHeight\\quot\\\\comma\\\\quot\\__ChartHeight__\\quot\\\\comma\\\\quot\\300px\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartVisible\\quot\\\\comma\\\\quot\\__ChartVisible__\\quot\\\\comma\\false)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartCanClose\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\false)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\MaxRecords\\quot\\\\comma\\\\quot\\__MaxRecords__\\quot\\\\comma\\250)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Set DateFrom and DateTo//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//if((not(defined(\\quot\\__DateFrom__\\quot\\))) and (not(defined(\\quot\\__DateTo__\\quot\\))))//crlf////tab////tab////tab////iDateRange=max(1\\comma\\if(defined(\\quot\\__DateRange__\\quot\\)\\comma\\__DateRange__\\comma\\1))//crlf////tab////tab////tab//s=if(defined(\\quot\\__DateRange__\\quot\\)\\comma\\__DateRange__\\comma\\\\quot\\LastFullWeek\\quot\\)//crlf////tab////tab////tab//sDateRange=getSensorValue(getDefaultBackOfficeDateRange\\comma\\\\quot\\DateRange=\\quot\\+s)//crlf////tab////tab////tab//s=htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getElement(sDateRange\\comma\\0))//crlf////tab////tab////tab//s=s+htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getElement(sDateRange\\comma\\1))//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Debugging.  Set Debug=true in the embedded view params to enable//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(\\quot\\__Debug__\\quot\\=true)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Debugging//amp//Selected=false//amp//CanCollapse=true\\quot\\;>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<th align='left'>Page Args</th>//crlf////tab////tab////tab////tab////tab//<th align='left'>Params</th>//crlf////tab////tab////tab////tab//</tr>//tab////tab////tab////tab////crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DatesOnYDim</td><td>__DatesOnYDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>ReportID</td><td>__ReportID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>AddReportID</td><td>__AddReportID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>RecordType</td><td>__RecordType__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>YDim</td><td>__YDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>XDim</td><td>__XDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>Measure</td><td>__Measure__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateRange</td><td>__DateRange__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateFrom</td><td>__DateFrom__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateTo</td><td>__DateTo__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>Date</td><td>__Date__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>StoreID</td><td>__StoreID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableVisible</td><td>__TableVisible__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>ChartVisible</td><td>__ChartVisible__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableControls</td><td>__TableControls__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableHeader</td><td>__TableHeader__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableBorder</td><td>__TableBorder__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>SelectDisplay</td><td>__SelectDisplay__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>EditDisplay</td><td>__EditDisplay__</td></tr>//crlf////tab////tab////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//{@htmlTable(\\quot\\__PageArgs__\\quot\\\\comma\\\\quot\\~\\quot\\\\comma\\\\quot\\=\\quot\\)}//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Save To View//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Save To View//amp//Selected=true//amp//CanCollapse=true\\quot\\;>//crlf////tab////tab////tab//<div>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ViewName\\quot\\ value=\\quot\\__SaveToName__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:300px\\quot\\ placeholder=\\quot\\View Name\\quot\\ {@htmlTooltip(\\quot\\View Name.  This is the name used for the embedded view.  It is also used as the chart title if no chart title is specified.\\quot\\)}>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ChartTitle\\quot\\ value=\\quot\\__ChartTitle__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:300px\\quot\\ placeholder=\\quot\\Chart Title\\quot\\ {@htmlTooltip(\\quot\\Chart Title.  The view name will be used if no title is specified.\\quot\\)}>//crlf////tab////tab////tab////tab//Records <input ID=\\quot\\__salt__MaxRecords\\quot\\ value=\\quot\\__MaxRecords__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:50px\\quot\\ {@htmlTooltip(\\quot\\Maximum number of records to be displayed\\quot\\)}>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__SelectDates\\quot\\ value=\\quot\\__SelectDates__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ fields will be displayed to select a start and end date.\\quot\\)}> Select Dates//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__TableVisible\\quot\\ value=\\quot\\__TableVisible__\\quot\\ type=\\quot\\checkbox\\quot\\ checked {@htmlTooltip(\\quot\\If enabled\\comma\\ the table will be visible.  Turn this off to display a chart by itself\\quot\\)}> Table Visible //crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ChartVisible\\quot\\ value=\\quot\\__ChartVisible__\\quot\\ type=\\quot\\checkbox\\quot\\ checked {@htmlTooltip(\\quot\\If enabled\\comma\\ the chart associated with the table will be displayed.  If disabled\\comma\\ the chart icon must be clicked to display the chart\\quot\\)}> Chart Visible //crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__TableControls\\quot\\ value=\\quot\\__TableControls__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ the table menu will be visible\\quot\\)}> Table Controls//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ExternalFilters\\quot\\ value=\\quot\\__ExternalFilters__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ external filters like date from and to will be visible\\quot\\)}> External Filters//crlf////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__salt__SelectView\\quot\\;//crlf////tab////tab////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Greenlight_UI_View_Extended_Name_by_ID_With_Select\\quot\\;//crlf////tab////tab////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\__SaveToViewID__\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\(Package_ID='Local') and (Container_Item_ID='Process_Embedded_Views')\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Add Embedded View\\quot\\ onClick=\\quot\\addEmbeddedView434618('__salt__')\\quot\\>//crlf////tab////tab////tab////tab////amp//nbsp;//amp//nbsp;<span class='refresh' style=\\quot\\cursor:pointer;\\quot\\ onClick=\\quot\\updateOptions('__salt__SelectView')\\quot\\></span>//crlf////tab////tab////tab//</div>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Defaults//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Defaults//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab//<select onChange=\\quot\\defaultSelected('__salt__'\\comma\\this)\\quot\\>//crlf////tab////tab////tab////tab//<option>-- Select Default --</option>//crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Note: RecordType\\comma\\ YDim\\comma\\ XDim and Measure are recorded as attributes in each option.//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Default: Labor by job code.  YDim - Job Codes\\comma\\ XDim - Stores//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<option //crlf////tab////tab////tab////tab////tab//recordtype=\\quot\\57\\quot\\ //crlf////tab////tab////tab////tab////tab//ydim=\\quot\\Final_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//xdim=\\quot\\Record_Type_Description_Short\\comma\\Store_Index@Final_Store_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//measure=\\quot\\Period_Percent_Of_Net_Sales\\comma\\Amount\\comma\\Period_Net_Sales\\quot\\//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//Labor by job code.  YDim - Job Codes\\comma\\ XDim - Stores//crlf////tab////tab////tab////tab//</option>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Default: Check counts vs last year by store.  YDim - Store\\comma\\ XDim - Check count//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<option //crlf////tab////tab////tab////tab////tab//recordtype=\\quot\\54\\quot\\ //crlf////tab////tab////tab////tab////tab//ydim=\\quot\\Final_Store_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//xdim=\\quot\\Record_Type_Description_Short\\quot\\ //crlf////tab////tab////tab////tab////tab//measure=\\quot\\Change_In_Quantity_From_Last_Year\\comma\\ Percent_Change_In_Quantity_From_Last_Year\\comma\\ Quantity\\comma\\ Quantity_Last_Year\\quot\\//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//Check counts vs last year by store.  YDim - Store\\comma\\ XDim - Check count//crlf////tab////tab////tab////tab//</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab//<div style=\\quot\\margin-right:10px;z-index:2\\quot\\>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Param - Store ID//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Store//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:ExternalDriverParam;//crlf////tab////tab////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ID:\\quot\\__salt__SelectStore\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Param:\\quot\\StoreID=$value$\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\size='5' style='height:150px~0x3B~width:100\\percent\\'\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Selected:\\quot\\__StoreID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Y Dimensions//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Y Dimensions//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\815400\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=YDim//amp//Selected=__YDim__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab//Y Dim: <span ID=\\quot\\__salt__selected_ydim\\quot\\>__YDim__</span>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////tab////tab////tab////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//X Dimensions//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=X Dimensions//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\815400\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=XDim//amp//Selected=__XDim__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab//X Dim: <span ID=\\quot\\__salt__selected_xdim\\quot\\>__XDim__</span>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Measurements//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Measurements//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\815400\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=Measure//amp//Selected=__Measure__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab//Measure: <span ID=\\quot\\__salt__selected_measure\\quot\\>__Measure__</span>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</conditional>//crlf////crlf////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Filters//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////tab//<conditional expression:not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__DateFromFilter__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Param - DateFrom//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:ExternalDriverParam;//crlf////tab////tab////tab//InputType:\\quot\\Date\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ParamDateFrom\\quot\\;//crlf////tab////tab////tab//Param:\\quot\\DateFrom=$value$\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateFrom__\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__DateToFilter__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Param - DateTo//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:ExternalDriverParam;//crlf////tab////tab////tab//InputType:\\quot\\Date\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ParamDateTo\\quot\\;//crlf////tab////tab////tab//Param:\\quot\\DateTo=$value$\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateTo__\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__DateRangeFilter__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Select Date Range//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:Collection;//crlf////tab////tab////tab//ID:\\quot\\__salt__DateRange\\quot\\;//crlf////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Select_Date_Range\\quot\\;//crlf////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateRange__\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\dateRangeSelected434618('__salt__')\\quot\\\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__ContainsTextFilter__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filter - Contains Text.  This param\\comma\\ like DateFrom and DateTo is not intended //crlf////tab////tab//to be used when defining the view.  It is an external filter that can be made//crlf////tab////tab//available to the user when the actual view is displayed.//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ContainsText\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\(keywordMatch('$value$'\\comma\\Final_Category1+Final_Category2+Final_Category3+Final_Name\\comma\\'\\comma\\'\\comma\\true))\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\Placeholder='Contains text'\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Section header for table//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)) or (\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Output//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Title//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(\\quot\\__Title__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<h1 style=\\quot\\padding:0px 0px 0px 0px;margin:0px 0px 10px 0px\\quot\\>//crlf////tab////tab////tab//<include type:expression; expression:if(defined(\\quot\\__Title__\\quot\\)\\comma\\\\quot\\__Title__\\quot\\\\comma\\lookup(Greenlight_Dimensional_Report_Description_by_ReportID\\comma\\\\quot\\__ReportID__\\quot\\))>//crlf////tab////tab////tab//__DateFrom__ - __DateTo__//crlf////tab////tab//</h1>//crlf////tab//</conditional>//crlf////tab////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Chart//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__Chart\\quot\\ style=\\quot\\width:100\\percent\\;height:350px;display:none\\quot\\></div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This is the standard Dimensional Report Viewer item in the Dimensional Views widget.//crlf////tab////crlf////tab//-//tab//The external filters and params defined in this item are passed to the report viewer//crlf////crlf////tab//-//tab//The report viewer uses the ReportID passed below to determine the dimensional view.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!!include //crlf////tab////tab//type:view; //crlf////tab////tab//viewid:\\quot\\DpQJE8Yp\\quot\\; //crlf////tab////tab//Source:\\quot\\\\quot\\; //crlf////tab////tab//params:\\quot\\//crlf////tab////tab////tab//Salt=__Salt__//amp////crlf////tab////tab////tab//ReportID=__ReportID__//amp////crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__AddReportID__\\quot\\)>//crlf////tab////tab////tab////tab//AddReportID=__AddReportID__//amp////crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//<conditional expression:false>//crlf////tab////tab////tab//------------------------------------------------------------------------------------------//crlf////tab////tab////tab//It should not be necessary to override the metadata.  It is allowed so that metadata //crlf////tab////tab////tab//can be manually specified in a view to create a new set of displays.  This might happen if //crlf////tab////tab////tab//there are different reports that use the same record type.//crlf////tab////tab////tab//------------------------------------------------------------------------------------------//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__Metadata__\\quot\\)>//crlf////tab////tab////tab////tab//DimParams=XDim=__XDim__~~pipe~~YDim=__YDim__~~pipe~~Measure=__Measure__~~pipe~~RecordType=__Recordtype__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~StoreID=__StoreID__~~pipe~~MetadataOverride=__MetaData__//amp////crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:not(defined(\\quot\\__Metadata__\\quot\\))>//crlf////tab////tab////tab////tab//DimParams=XDim=__XDim__~~pipe~~YDim=__YDim__~~pipe~~Measure=__Measure__~~pipe~~RecordType=__Recordtype__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~StoreID=__StoreID__~~pipe~~MetadataOverride=__ReportID__//amp////crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//Display=__Display__//amp////crlf////tab////tab////tab//ExternalParams=//crlf////tab////tab////tab////tab//<!conditional expression:(defined(\\quot\\__DatesOnYDim__\\quot\\))>//crlf////tab////tab////tab////tab////tab//__salt__FilterRecordtype\\comma\\//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//__salt__SelectStore\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamMetadata\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectXDim\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectYDim\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectMeasure\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamDateFrom\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamDateTo//amp////crlf////tab////tab////tab//ExternalFilters=//crlf////tab////tab////tab////tab//<!conditional expression:(not(defined(\\quot\\__DatesOnYDim__\\quot\\)))>//crlf////tab////tab////tab////tab////tab//__salt__FilterRecordtype\\comma\\//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//__salt__ContainsText//amp////crlf////tab////tab////tab//MaxRecords=__MaxRecords__//amp////crlf////tab////tab////tab//canEdit=false//amp////crlf////tab////tab////tab//TableControls=__TableControls__//amp////crlf////tab////tab////tab//TableHeader=__TableHeader__//amp////crlf////tab////tab////tab//TableBorder=__TableBorder__//amp////crlf////tab////tab////tab//SelectDisplay=__SelectDisplay__//amp////crlf////tab////tab////tab//EditDisplay=__EditDisplay__//amp////crlf////tab////tab////tab//TableVisible=__TableVisible__//amp////crlf////tab////tab////tab//ChartTitle=__ChartTitle__//amp////crlf////tab////tab////tab//ChartWidth=__ChartWidth__//amp////crlf////tab////tab////tab//ChartHeight=__ChartHeight__//amp////crlf////tab////tab////tab//ChartVisible=__ChartVisible__//amp////crlf////tab////tab////tab//ChartCanClose=__ChartCanClose__//amp////crlf////tab////tab//\\quot\\;//crlf////tab//>//crlf////crlf//</conditional>//crlf////crlf//<conditional expression:not(defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//</conditional>//crlf////crlf//__servertimerresults__//crlf//^
ID=165614|X=151|Y=33|W=1349|H=1429|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false -->//crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//--------------------------------------------------------------------------]//crlf//<_include type:expression; expression:htmlConstant(\\quot\\ReportID\\quot\\\\comma\\\\quot\\__ReportID__\\quot\\\\comma\\\\quot\\lWwRNKs0\\quot\\)>//crlf//<_include type:expression; expression:htmlConstant(\\quot\\DatesOnYDim\\quot\\\\comma\\\\quot\\__DatesOnYDim__\\quot\\\\comma\\true)>//crlf//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\\\comma\\\\quot\\yPezKBq8CwhVpYkKgSSz6EDo\\quot\\\\comma\\getToken(\\quot\\POSInterface_StoreID\\quot\\)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//This item is a wrapper for the consolidated sales export//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:not(defined(\\quot\\__ReportID__\\quot\\))>//crlf////tab//Error: Missing ReportID//crlf//</conditional>//crlf////crlf//<conditional expression:(defined(\\quot\\__ReportID__\\quot\\))>//crlf////crlf////tab//<script ID=\\quot\\JS434618\\quot\\>//crlf////tab////tab//function addEmbeddedView434618(salt\\comma\\s) {//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////get selected view//crlf////tab////tab////tab////tab//var sViewID=document.getElementById(salt+\\quot\\SelectView\\quot\\).value;//crlf////tab////tab////tab////tab//if(sViewID==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: No view selected.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////get date range//crlf////tab////tab////tab////tab//var sDateRange=document.getElementById(salt+\\quot\\DateRange\\quot\\).value;//crlf////tab////tab////tab////tab//if(sDateRange==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: No date range selected.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=Adding embedded view...//amp//icon=true\\quot\\);//crlf////crlf////tab////tab////tab////tab//var eTable=document.getElementById(salt);//crlf////tab////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////tab////tab//var eDisplay=document.getElementById(\\quot\\SelectDisplay1\\quot\\+salt);//crlf////tab////tab////tab////tab//var sDisplay=eDisplay.options[eDisplay.selectedIndex].text;//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Local: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Company: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Aspect: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab////get selected X dimensions//crlf////tab////tab////tab////tab//var sXDim=document.getElementById(salt+\\quot\\selected_xdim\\quot\\).value;//crlf////tab////crlf////tab////tab////tab////tab////get selected Y dimensions//crlf////tab////tab////tab////tab//var sYDim=document.getElementById(salt+\\quot\\selected_ydim\\quot\\).value;//crlf////tab////crlf////tab////tab////tab////tab////get selected measurements//crlf////tab////tab////tab////tab//var sMeasure=document.getElementById(salt+\\quot\\selected_measure\\quot\\).value;//crlf////tab////crlf////tab////tab////tab////tab//var sParamsActive=eTable.getAttribute(\\quot\\Aspectparamsactive\\quot\\);//crlf////crlf////tab////tab////tab////tab///********************************************************************************************//crlf////tab////tab////tab////tab//Note: The ContainsText field is not used when creating the view.  It only serves as an //crlf////tab////tab////tab////tab//external filter when the report is displayed.//crlf////tab////tab////tab////tab//********************************************************************************************///crlf////tab////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Widget=View Factory//amp//ContainerItemID=Action_List//amp//Action=addEmbeddedView434618//amp//ActionExec=true\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ViewID=\\quot\\+sViewID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//FactoryViewID=FSYBgXd4\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ReportID=__ReportID__\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//StoreID=\\quot\\+document.getElementById(salt+\\quot\\SelectStore\\quot\\).value;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Metadata=\\quot\\+eTable.getAttribute(\\quot\\Aspectdisplay_metadata\\quot\\);//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Display=\\quot\\+sDisplay;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//DateRange=\\quot\\+sDateRange;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//BaseFilter=\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ExternalFilters=\\quot\\+document.getElementById(salt+\\quot\\ExternalFilters\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//XDim=\\quot\\+sXDim;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//YDim=\\quot\\+sYDim;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Measure=\\quot\\+sMeasure;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ViewName=\\quot\\+document.getElementById(salt+\\quot\\ViewName\\quot\\).value;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//TableVisible=\\quot\\+document.getElementById(salt+\\quot\\TableVisible\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//TableControls=\\quot\\+document.getElementById(salt+\\quot\\TableControls\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ChartVisible=\\quot\\+document.getElementById(salt+\\quot\\TableVisible\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ChartTitle=\\quot\\+document.getElementById(salt+\\quot\\ChartTitle\\quot\\).value;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//SelectDates=\\quot\\+document.getElementById(salt+\\quot\\SelectDates\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//MaxRecords=\\quot\\+document.getElementById(salt+\\quot\\MaxRecords\\quot\\).value;//crlf////crlf////tab////tab////tab////tab//sFunc=\\quot\\addEmbeddedView434618(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function dateRangeSelected434618(salt\\comma\\s)//crlf////tab////tab//{//crlf////tab////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab////tab////showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//ar=getSubStringArray(s\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab////tab////tab//document.getElementById(salt+\\quot\\ParamDateFrom\\quot\\).value=ar[0];//crlf////tab////tab////tab////tab////tab//document.getElementById(salt+\\quot\\ParamDateTo\\quot\\).value=ar[1];//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//var eTable=document.getElementById(salt);//crlf////tab////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Widget=View Factory//amp//ContainerItemID=sensor_list//amp//Sensor=getDefaultBackOfficeDateRange//amp//SensorExec=true\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//DateRange=\\quot\\+document.getElementById(salt+\\quot\\DateRange\\quot\\).value;//crlf////tab////tab////tab////tab//sFunc=\\quot\\dateRangeSelected434618(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function XDimSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_xdim\\quot\\).value=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function YDimSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_ydim\\quot\\).value=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function MeasureSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_measure\\quot\\).value=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function defaultSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var Index=e.selectedIndex;//crlf////tab////tab////tab//var sYDim=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\ydim\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab//var sXDim=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\xdim\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab//var sMeasure=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\measure\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectYDim\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\+sYDim+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//YDimSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectXDim\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\+sXDim+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//XDimSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectMeasure\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\+sMeasure+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//MeasureSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab//refreshTable(salt\\comma\\'refresh'\\comma\\''\\comma\\true);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Include stylesheet//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\style\\quot\\\\comma\\\\quot\\__style__\\quot\\\\comma\\\\quot\\default\\quot\\)>//crlf////tab//<!include type:widget; //crlf////tab////tab//server:{AspectHashID}; //crlf////tab////tab//secure:true; //crlf////tab////tab//documentID:\\quot\\VWaUGu88BMN0hDYWzZj57VpG\\quot\\; //crlf////tab////tab//widget:\\quot\\Daily Sales Export\\quot\\; //crlf////tab////tab//containerItemID:\\quot\\515261\\quot\\; //crlf////tab////tab//params:\\quot\\style=__style__\\quot\\;>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Defaults//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\SaveToName\\quot\\\\comma\\\\quot\\__SaveToName__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\display\\quot\\\\comma\\\\quot\\__display__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\DateRange\\quot\\\\comma\\\\quot\\__DateRange__\\quot\\\\comma\\\\quot\\LastFullWeek\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\YDim\\quot\\\\comma\\\\quot\\__YDim__\\quot\\\\comma\\\\quot\\Item_Name\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\XDim\\quot\\\\comma\\\\quot\\__XDim__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Measure\\quot\\\\comma\\\\quot\\__Measure__\\quot\\\\comma\\\\quot\\Sold\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableControls\\quot\\\\comma\\\\quot\\__TableControls__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableHeader\\quot\\\\comma\\\\quot\\__TableHeader__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableBorder\\quot\\\\comma\\\\quot\\__TableBorder__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\SelectDisplay\\quot\\\\comma\\\\quot\\__SelectDisplay__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\EditDisplay\\quot\\\\comma\\\\quot\\__EditDisplay__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableVisible\\quot\\\\comma\\\\quot\\__TableVisible__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartTitle\\quot\\\\comma\\\\quot\\__ChartTitle__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartWidth\\quot\\\\comma\\\\quot\\__ChartWidth__\\quot\\\\comma\\\\quot\\100\\percent\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartHeight\\quot\\\\comma\\\\quot\\__ChartHeight__\\quot\\\\comma\\\\quot\\300px\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartVisible\\quot\\\\comma\\\\quot\\__ChartVisible__\\quot\\\\comma\\false)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartCanClose\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\false)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\MaxRecords\\quot\\\\comma\\\\quot\\__MaxRecords__\\quot\\\\comma\\250)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Set DateFrom and DateTo//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//if((not(defined(\\quot\\__DateFrom__\\quot\\))) and (not(defined(\\quot\\__DateTo__\\quot\\))))//crlf////tab////tab////tab////iDateRange=max(1\\comma\\if(defined(\\quot\\__DateRange__\\quot\\)\\comma\\__DateRange__\\comma\\1))//crlf////tab////tab////tab//s=if(defined(\\quot\\__DateRange__\\quot\\)\\comma\\__DateRange__\\comma\\\\quot\\LastFullWeek\\quot\\)//crlf////tab////tab////tab//sDateRange=getSensorValue(getDefaultBackOfficeDateRange\\comma\\\\quot\\DateRange=\\quot\\+s)//crlf////tab////tab////tab//s=htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getElement(sDateRange\\comma\\0))//crlf////tab////tab////tab//s=s+htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getElement(sDateRange\\comma\\1))//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Debugging.  Set Debug=true in the embedded view params to enable//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(\\quot\\__Debug__\\quot\\=true)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Debugging//amp//Selected=false//amp//CanCollapse=true\\quot\\;>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<th align='left'>Page Args</th>//crlf////tab////tab////tab////tab////tab//<th align='left'>Params</th>//crlf////tab////tab////tab////tab//</tr>//tab////tab////tab////tab////crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DatesOnYDim</td><td>__DatesOnYDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>ReportID</td><td>__ReportID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>AddReportID</td><td>__AddReportID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>RecordType</td><td>__RecordType__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>YDim</td><td>__YDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>XDim</td><td>__XDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>Measure</td><td>__Measure__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateRange</td><td>__DateRange__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateFrom</td><td>__DateFrom__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateTo</td><td>__DateTo__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>Date</td><td>__Date__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>StoreID</td><td>__StoreID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableVisible</td><td>__TableVisible__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>ChartVisible</td><td>__ChartVisible__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableControls</td><td>__TableControls__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableHeader</td><td>__TableHeader__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableBorder</td><td>__TableBorder__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>SelectDisplay</td><td>__SelectDisplay__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>EditDisplay</td><td>__EditDisplay__</td></tr>//crlf////tab////tab////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//{@htmlTable(\\quot\\__PageArgs__\\quot\\\\comma\\\\quot\\~\\quot\\\\comma\\\\quot\\=\\quot\\)}//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Save To View//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Save To View//amp//Selected=true//amp//CanCollapse=true\\quot\\;>//crlf////tab////tab////tab//<div>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ViewName\\quot\\ value=\\quot\\__SaveToName__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:300px\\quot\\ placeholder=\\quot\\View Name\\quot\\ {@htmlTooltip(\\quot\\View Name.  This is the name used for the embedded view.  It is also used as the chart title if no chart title is specified.\\quot\\)}>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ChartTitle\\quot\\ value=\\quot\\__ChartTitle__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:300px\\quot\\ placeholder=\\quot\\Chart Title\\quot\\ {@htmlTooltip(\\quot\\Chart Title.  The view name will be used if no title is specified.\\quot\\)}>//crlf////tab////tab////tab////tab//Records <input ID=\\quot\\__salt__MaxRecords\\quot\\ value=\\quot\\__MaxRecords__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:50px\\quot\\ {@htmlTooltip(\\quot\\Maximum number of records to be displayed\\quot\\)}>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__SelectDates\\quot\\ value=\\quot\\__SelectDates__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ fields will be displayed to select a start and end date.\\quot\\)}> Select Dates//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__TableVisible\\quot\\ value=\\quot\\__TableVisible__\\quot\\ type=\\quot\\checkbox\\quot\\ checked {@htmlTooltip(\\quot\\If enabled\\comma\\ the table will be visible.  Turn this off to display a chart by itself\\quot\\)}> Table Visible //crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ChartVisible\\quot\\ value=\\quot\\__ChartVisible__\\quot\\ type=\\quot\\checkbox\\quot\\ checked {@htmlTooltip(\\quot\\If enabled\\comma\\ the chart associated with the table will be displayed.  If disabled\\comma\\ the chart icon must be clicked to display the chart\\quot\\)}> Chart Visible //crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__TableControls\\quot\\ value=\\quot\\__TableControls__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ the table menu will be visible\\quot\\)}> Table Controls//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ExternalFilters\\quot\\ value=\\quot\\__ExternalFilters__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ external filters like date from and to will be visible\\quot\\)}> External Filters//crlf////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__salt__SelectView\\quot\\;//crlf////tab////tab////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Greenlight_UI_View_Extended_Name_by_ID_With_Select\\quot\\;//crlf////tab////tab////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\__SaveToViewID__\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\(Package_ID='Local') and (Container_Item_ID='Process_Embedded_Views')\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Add Embedded View\\quot\\ onClick=\\quot\\addEmbeddedView434618('__salt__')\\quot\\>//crlf////tab////tab////tab////tab////amp//nbsp;//amp//nbsp;<span class='refresh' style=\\quot\\cursor:pointer;\\quot\\ onClick=\\quot\\updateOptions('__salt__SelectView')\\quot\\></span>//crlf////tab////tab////tab//</div>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Defaults//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Defaults//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab//<select onChange=\\quot\\defaultSelected('__salt__'\\comma\\this)\\quot\\>//crlf////tab////tab////tab////tab//<option>-- Select Default --</option>//crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Note: RecordType\\comma\\ YDim\\comma\\ XDim and Measure are recorded as attributes in each option.//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Default: Labor by job code.  YDim - Job Codes\\comma\\ XDim - Stores//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<option //crlf////tab////tab////tab////tab////tab//recordtype=\\quot\\57\\quot\\ //crlf////tab////tab////tab////tab////tab//ydim=\\quot\\Final_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//xdim=\\quot\\Record_Type_Description_Short\\comma\\Store_Index@Final_Store_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//measure=\\quot\\Period_Percent_Of_Net_Sales\\comma\\Amount\\comma\\Period_Net_Sales\\quot\\//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//Labor by job code.  YDim - Job Codes\\comma\\ XDim - Stores//crlf////tab////tab////tab////tab//</option>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Default: Check counts vs last year by store.  YDim - Store\\comma\\ XDim - Check count//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<option //crlf////tab////tab////tab////tab////tab//recordtype=\\quot\\54\\quot\\ //crlf////tab////tab////tab////tab////tab//ydim=\\quot\\Final_Store_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//xdim=\\quot\\Record_Type_Description_Short\\quot\\ //crlf////tab////tab////tab////tab////tab//measure=\\quot\\Change_In_Quantity_From_Last_Year\\comma\\ Percent_Change_In_Quantity_From_Last_Year\\comma\\ Quantity\\comma\\ Quantity_Last_Year\\quot\\//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//Check counts vs last year by store.  YDim - Store\\comma\\ XDim - Check count//crlf////tab////tab////tab////tab//</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab//<div style=\\quot\\margin-right:10px;z-index:2\\quot\\>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Param - Store ID//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Store//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:ExternalDriverParam;//crlf////tab////tab////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ID:\\quot\\__salt__SelectStore\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Param:\\quot\\StoreID=$value$\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\size='5' style='height:150px~0x3B~width:100\\percent\\'\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Selected:\\quot\\__StoreID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Y Dimensions//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Y Dimensions//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\238214\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=YDim//amp//Selected=__YDim__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////tab////tab////tab////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//X Dimensions//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=X Dimensions//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\238214\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=XDim//amp//Selected=__XDim__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Measurements//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Measurements//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\238214\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=Measure//amp//Selected=__Measure__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//<table class='bordered'>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Y Dim</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ ID=\\quot\\__salt__selected_ydim\\quot\\ style=\\quot\\width:350px\\quot\\ value=\\quot\\__YDim__\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>X Dim</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ ID=\\quot\\__salt__selected_xdim\\quot\\ style=\\quot\\width:350px\\quot\\ value=\\quot\\__XDim__\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Measure</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ ID=\\quot\\__salt__selected_measure\\quot\\ style=\\quot\\width:350px\\quot\\ value=\\quot\\__Measure__\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//</div>//crlf////tab//</conditional>//crlf////crlf////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Filters//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\) or (not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__DateFromFilter__\\quot\\=\\quot\\false\\quot\\)))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Param - DateFrom//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:ExternalDriverParam;//crlf////tab////tab////tab//InputType:\\quot\\Date\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ParamDateFrom\\quot\\;//crlf////tab////tab////tab//Param:\\quot\\DateFrom=$value$\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateFrom__\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\) or (not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__DateToFilter__\\quot\\=\\quot\\false\\quot\\)))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Param - DateTo//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:ExternalDriverParam;//crlf////tab////tab////tab//InputType:\\quot\\Date\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ParamDateTo\\quot\\;//crlf////tab////tab////tab//Param:\\quot\\DateTo=$value$\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateTo__\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\) or (not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__DateRangeFilter__\\quot\\=\\quot\\false\\quot\\)))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Select Date Range//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:Collection;//crlf////tab////tab////tab//ID:\\quot\\__salt__DateRange\\quot\\;//crlf////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Select_Date_Range\\quot\\;//crlf////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateRange__\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\dateRangeSelected434618('__salt__')\\quot\\\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\) or (not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__ContainsTextFilter__\\quot\\=\\quot\\false\\quot\\)))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filter - Contains Text.  This param\\comma\\ like DateFrom and DateTo is not intended //crlf////tab////tab//to be used when defining the view.  It is an external filter that can be made//crlf////tab////tab//available to the user when the actual view is displayed.//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ContainsText\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\(keywordMatch('$value$'\\comma\\Final_Category1+Final_Category2+Final_Category3+Final_Name\\comma\\'\\comma\\'\\comma\\true))\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\Placeholder='Contains text'\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Section header for table//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)) or (\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Output//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Title//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(\\quot\\__Title__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<h1 style=\\quot\\padding:0px 0px 0px 0px;margin:0px 0px 10px 0px\\quot\\>//crlf////tab////tab////tab//<include type:expression; expression:if(defined(\\quot\\__Title__\\quot\\)\\comma\\\\quot\\__Title__\\quot\\\\comma\\lookup(Greenlight_Dimensional_Report_Description_by_ReportID\\comma\\\\quot\\__ReportID__\\quot\\))>//crlf////tab////tab////tab//__DateFrom__ - __DateTo__//crlf////tab////tab//</h1>//crlf////tab//</conditional>//crlf////tab////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Chart//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__Chart\\quot\\ style=\\quot\\width:100\\percent\\;height:350px;display:none\\quot\\></div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This is the standard Dimensional Report Viewer item in the Dimensional Views widget.//crlf////tab////crlf////tab//-//tab//The external filters and params defined in this item are passed to the report viewer//crlf////crlf////tab//-//tab//The report viewer uses the ReportID passed below to determine the dimensional view.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<h1>__DateFrom__ - __DateTo__</h1>//crlf////tab//<!!include //crlf////tab////tab//type:view; //crlf////tab////tab//viewid:\\quot\\DpQJE8Yp\\quot\\; //crlf////tab////tab//Source:\\quot\\\\quot\\; //crlf////tab////tab//params:\\quot\\//crlf////tab////tab////tab//Salt=__Salt__//amp////crlf////tab////tab////tab//ReportID=__ReportID__//amp////crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__AddReportID__\\quot\\)>//crlf////tab////tab////tab////tab//AddReportID=__AddReportID__//amp////crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//<conditional expression:false>//crlf////tab////tab////tab//------------------------------------------------------------------------------------------//crlf////tab////tab////tab//It should not be necessary to override the metadata.  It is allowed so that metadata //crlf////tab////tab////tab//can be manually specified in a view to create a new set of displays.  This might happen if //crlf////tab////tab////tab//there are different reports that use the same record type.//crlf////tab////tab////tab//------------------------------------------------------------------------------------------//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__Metadata__\\quot\\)>//crlf////tab////tab////tab////tab//DimParams=XDim=__XDim__~~pipe~~YDim=__YDim__~~pipe~~Measure=__Measure__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~StoreID=__StoreID__~~pipe~~MetadataOverride=__MetaData__//amp////crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:not(defined(\\quot\\__Metadata__\\quot\\))>//crlf////tab////tab////tab////tab//DimParams=XDim=__XDim__~~pipe~~YDim=__YDim__~~pipe~~Measure=__Measure__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~StoreID=__StoreID__~~pipe~~MetadataOverride=__ReportID__//amp////crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//Display=__Display__//amp////crlf////tab////tab////tab//ExternalParams=//crlf////tab////tab////tab////tab//<!conditional expression:(defined(\\quot\\__DatesOnYDim__\\quot\\))>//crlf////tab////tab////tab////tab////tab//__salt__FilterRecordtype\\comma\\//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//__salt__SelectStore\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamMetadata\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectXDim\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectYDim\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectMeasure\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamDateFrom\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamDateTo//amp////crlf////tab////tab////tab//ExternalFilters=//crlf////tab////tab////tab////tab//<!conditional expression:(not(defined(\\quot\\__DatesOnYDim__\\quot\\)))>//crlf////tab////tab////tab////tab////tab//__salt__FilterRecordtype\\comma\\//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//__salt__ContainsText//amp////crlf////tab////tab////tab//MaxRecords=__MaxRecords__//amp////crlf////tab////tab////tab//canEdit=false//amp////crlf////tab////tab////tab//TableControls=__TableControls__//amp////crlf////tab////tab////tab//TableHeader=__TableHeader__//amp////crlf////tab////tab////tab//TableBorder=__TableBorder__//amp////crlf////tab////tab////tab//SelectDisplay=__SelectDisplay__//amp////crlf////tab////tab////tab//EditDisplay=__EditDisplay__//amp////crlf////tab////tab////tab//TableVisible=__TableVisible__//amp////crlf////tab////tab////tab//ChartTitle=__ChartTitle__//amp////crlf////tab////tab////tab//ChartWidth=__ChartWidth__//amp////crlf////tab////tab////tab//ChartHeight=__ChartHeight__//amp////crlf////tab////tab////tab//ChartVisible=__ChartVisible__//amp////crlf////tab////tab////tab//ChartCanClose=__ChartCanClose__//amp////crlf////tab////tab//\\quot\\;//crlf////tab//>//crlf////crlf//</conditional>//crlf////crlf//<conditional expression:not(defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//</conditional>//crlf////crlf//__servertimerresults__//crlf//^
ID=685734|X=151|Y=33|W=1349|H=1429|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false -->//crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//--------------------------------------------------------------------------]//crlf//<_include type:expression; expression:htmlConstant(\\quot\\ReportID\\quot\\\\comma\\\\quot\\__ReportID__\\quot\\\\comma\\\\quot\\oXyZTX2k\\quot\\)>//crlf//<_include type:expression; expression:htmlConstant(\\quot\\DatesOnYDim\\quot\\\\comma\\\\quot\\__DatesOnYDim__\\quot\\\\comma\\true)>//crlf//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\\\comma\\\\quot\\IXIhzKwdMIJWh02Rk8FjIVP0\\quot\\\\comma\\getToken(\\quot\\POSInterface_StoreID\\quot\\)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//This item is a wrapper for the consolidated sales export//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:not(defined(\\quot\\__ReportID__\\quot\\))>//crlf////tab//Error: Missing ReportID//crlf//</conditional>//crlf////crlf//<conditional expression:(defined(\\quot\\__ReportID__\\quot\\))>//crlf////crlf////tab//<script ID=\\quot\\JS434618\\quot\\>//crlf////tab////tab//function addEmbeddedView434618(salt\\comma\\s) {//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////get selected view//crlf////tab////tab////tab////tab//var sViewID=document.getElementById(salt+\\quot\\SelectView\\quot\\).value;//crlf////tab////tab////tab////tab//if(sViewID==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: No view selected.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////get date range//crlf////tab////tab////tab////tab//var sDateRange=document.getElementById(salt+\\quot\\DateRange\\quot\\).value;//crlf////tab////tab////tab////tab//if(sDateRange==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: No date range selected.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=Adding embedded view...//amp//icon=true\\quot\\);//crlf////crlf////tab////tab////tab////tab//var eTable=document.getElementById(salt);//crlf////tab////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////tab////tab//var eDisplay=document.getElementById(\\quot\\SelectDisplay1\\quot\\+salt);//crlf////tab////tab////tab////tab//var sDisplay=eDisplay.options[eDisplay.selectedIndex].text;//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Local: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Company: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Aspect: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab////get StoreID//crlf////tab////tab////tab////tab//var sStoreID=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectStore\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sStoreID.length>0) sStoreID+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sStoreID+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////crlf////tab////tab////tab////tab////get selected X dimensions//crlf////tab////tab////tab////tab//var sXDim=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectXDim\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sXDim.length>0) sXDim+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sXDim+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////tab////crlf////tab////tab////tab////tab////get selected Y dimensions//crlf////tab////tab////tab////tab//var sYDim=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectYDim\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sYDim.length>0) sYDim+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sYDim+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////tab////crlf////tab////tab////tab////tab////get selected Y dimensions//crlf////tab////tab////tab////tab//var sMeasure=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectMeasure\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sMeasure.length>0) sMeasure+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sMeasure+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////tab////crlf////tab////tab////tab////tab//var sParamsActive=eTable.getAttribute(\\quot\\Aspectparamsactive\\quot\\);//crlf////crlf////tab////tab////tab////tab///********************************************************************************************//crlf////tab////tab////tab////tab//Note: The ContainsText field is not used when creating the view.  It only serves as an //crlf////tab////tab////tab////tab//external filter when the report is displayed.//crlf////tab////tab////tab////tab//********************************************************************************************///crlf////tab////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Widget=View Factory//amp//ContainerItemID=Action_List//amp//Action=addEmbeddedView434618//amp//ActionExec=true\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ViewID=\\quot\\+sViewID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ReportID=__ReportID__\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//StoreID=\\quot\\+sStoreID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Metadata=\\quot\\+eTable.getAttribute(\\quot\\Aspectdisplay_metadata\\quot\\);//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Display=\\quot\\+sDisplay;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//DateRange=\\quot\\+sDateRange;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//BaseFilter=\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ExternalFilters=\\quot\\+document.getElementById(salt+\\quot\\ExternalFilters\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//XDim=\\quot\\+sXDim;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//YDim=\\quot\\+sYDim;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Measure=\\quot\\+sMeasure;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ViewName=\\quot\\+document.getElementById(salt+\\quot\\ViewName\\quot\\).value;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//TableVisible=\\quot\\+document.getElementById(salt+\\quot\\TableVisible\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//TableControls=\\quot\\+document.getElementById(salt+\\quot\\TableControls\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ChartVisible=\\quot\\+document.getElementById(salt+\\quot\\TableVisible\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ChartTitle=\\quot\\+document.getElementById(salt+\\quot\\ChartTitle\\quot\\).value;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//SelectDates=\\quot\\+document.getElementById(salt+\\quot\\SelectDates\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//MaxRecords=\\quot\\+document.getElementById(salt+\\quot\\MaxRecords\\quot\\).value;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//FactoryViewID=oXpeDgWp\\quot\\;//crlf////crlf////tab////tab////tab////tab//sFunc=\\quot\\addEmbeddedView434618(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function dateRangeSelected434618(salt\\comma\\s)//crlf////tab////tab//{//crlf////tab////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab////tab////showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//ar=getSubStringArray(s\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab////tab////tab//document.getElementById(salt+\\quot\\ParamDateFrom\\quot\\).value=ar[0];//crlf////tab////tab////tab////tab////tab//document.getElementById(salt+\\quot\\ParamDateTo\\quot\\).value=ar[1];//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//var eTable=document.getElementById(salt);//crlf////tab////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Widget=View Factory//amp//ContainerItemID=sensor_list//amp//Sensor=getDefaultBackOfficeDateRange//amp//SensorExec=true\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//DateRange=\\quot\\+document.getElementById(salt+\\quot\\DateRange\\quot\\).value;//crlf////tab////tab////tab////tab//sFunc=\\quot\\dateRangeSelected434618(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function XDimSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_xdim\\quot\\).innerHTML=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function YDimSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_ydim\\quot\\).innerHTML=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function MeasureSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_measure\\quot\\).innerHTML=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function defaultSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var Index=e.selectedIndex;//crlf////tab////tab////tab//var sYDim=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\ydim\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab//var sXDim=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\xdim\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab//var sMeasure=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\measure\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectYDim\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\+sYDim+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//YDimSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectXDim\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\+sXDim+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//XDimSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectMeasure\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\+sMeasure+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//MeasureSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab//refreshTable(salt\\comma\\'refresh'\\comma\\''\\comma\\true);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Include stylesheet//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\style\\quot\\\\comma\\\\quot\\__style__\\quot\\\\comma\\\\quot\\default\\quot\\)>//crlf////tab//<!include type:widget; //crlf////tab////tab//server:{AspectHashID}; //crlf////tab////tab//secure:true; //crlf////tab////tab//documentID:\\quot\\VWaUGu88BMN0hDYWzZj57VpG\\quot\\; //crlf////tab////tab//widget:\\quot\\Daily Sales Export\\quot\\; //crlf////tab////tab//containerItemID:\\quot\\515261\\quot\\; //crlf////tab////tab//params:\\quot\\style=__style__\\quot\\;>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Defaults//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\SaveToName\\quot\\\\comma\\\\quot\\__SaveToName__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\display\\quot\\\\comma\\\\quot\\__display__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\DateRange\\quot\\\\comma\\\\quot\\__DateRange__\\quot\\\\comma\\\\quot\\LastFullWeek\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\YDim\\quot\\\\comma\\\\quot\\__YDim__\\quot\\\\comma\\\\quot\\EmpName\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\XDim\\quot\\\\comma\\\\quot\\__XDim__\\quot\\\\comma\\\\quot\\AppJobCodeName\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Measure\\quot\\\\comma\\\\quot\\__Measure__\\quot\\\\comma\\\\quot\\AppTtlHours\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableControls\\quot\\\\comma\\\\quot\\__TableControls__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableHeader\\quot\\\\comma\\\\quot\\__TableHeader__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableBorder\\quot\\\\comma\\\\quot\\__TableBorder__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\SelectDisplay\\quot\\\\comma\\\\quot\\__SelectDisplay__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\EditDisplay\\quot\\\\comma\\\\quot\\__EditDisplay__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableVisible\\quot\\\\comma\\\\quot\\__TableVisible__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartTitle\\quot\\\\comma\\\\quot\\__ChartTitle__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartWidth\\quot\\\\comma\\\\quot\\__ChartWidth__\\quot\\\\comma\\\\quot\\100\\percent\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartHeight\\quot\\\\comma\\\\quot\\__ChartHeight__\\quot\\\\comma\\\\quot\\300px\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartVisible\\quot\\\\comma\\\\quot\\__ChartVisible__\\quot\\\\comma\\false)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartCanClose\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\false)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\MaxRecords\\quot\\\\comma\\\\quot\\__MaxRecords__\\quot\\\\comma\\250)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\CanEdit\\quot\\\\comma\\\\quot\\__CanEdit__\\quot\\\\comma\\false)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Set DateFrom and DateTo//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//if((not(defined(\\quot\\__DateFrom__\\quot\\))) and (not(defined(\\quot\\__DateTo__\\quot\\))))//crlf////tab////tab////tab////iDateRange=max(1\\comma\\if(defined(\\quot\\__DateRange__\\quot\\)\\comma\\__DateRange__\\comma\\1))//crlf////tab////tab////tab//s=if(defined(\\quot\\__DateRange__\\quot\\)\\comma\\__DateRange__\\comma\\\\quot\\LastFullWeek\\quot\\)//crlf////tab////tab////tab//sDateRange=getSensorValue(getDefaultBackOfficeDateRange\\comma\\\\quot\\DateRange=\\quot\\+s)//crlf////tab////tab////tab//s=htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getElement(sDateRange\\comma\\0))//crlf////tab////tab////tab//s=s+htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getElement(sDateRange\\comma\\1))//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Debugging.  Set Debug=true in the embedded view params to enable//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(\\quot\\__Debug__\\quot\\=true)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Debugging//amp//Selected=false//amp//CanCollapse=true\\quot\\;>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<th align='left'>Page Args</th>//crlf////tab////tab////tab////tab////tab//<th align='left'>Params</th>//crlf////tab////tab////tab////tab//</tr>//tab////tab////tab////tab////crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DatesOnYDim</td><td>__DatesOnYDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>ReportID</td><td>__ReportID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>AddReportID</td><td>__AddReportID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>RecordType</td><td>__RecordType__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>YDim</td><td>__YDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>XDim</td><td>__XDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>Measure</td><td>__Measure__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateRange</td><td>__DateRange__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateFrom</td><td>__DateFrom__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateTo</td><td>__DateTo__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>Date</td><td>__Date__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>StoreID</td><td>__StoreID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableVisible</td><td>__TableVisible__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>ChartVisible</td><td>__ChartVisible__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableControls</td><td>__TableControls__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableHeader</td><td>__TableHeader__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableBorder</td><td>__TableBorder__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>SelectDisplay</td><td>__SelectDisplay__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>EditDisplay</td><td>__EditDisplay__</td></tr>//crlf////tab////tab////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//{@htmlTable(\\quot\\__PageArgs__\\quot\\\\comma\\\\quot\\~\\quot\\\\comma\\\\quot\\=\\quot\\)}//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Save To View//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Save To View//amp//Selected=true//amp//CanCollapse=true\\quot\\;>//crlf////tab////tab////tab//<div>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ViewName\\quot\\ value=\\quot\\__SaveToName__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:300px\\quot\\ placeholder=\\quot\\View Name\\quot\\ {@htmlTooltip(\\quot\\View Name.  This is the name used for the embedded view.  It is also used as the chart title if no chart title is specified.\\quot\\)}>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ChartTitle\\quot\\ value=\\quot\\__ChartTitle__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:300px\\quot\\ placeholder=\\quot\\Chart Title\\quot\\ {@htmlTooltip(\\quot\\Chart Title.  The view name will be used if no title is specified.\\quot\\)}>//crlf////tab////tab////tab////tab//Records <input ID=\\quot\\__salt__MaxRecords\\quot\\ value=\\quot\\__MaxRecords__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:50px\\quot\\ {@htmlTooltip(\\quot\\Maximum number of records to be displayed\\quot\\)}>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__SelectDates\\quot\\ value=\\quot\\__SelectDates__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ fields will be displayed to select a start and end date.\\quot\\)}> Select Dates//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__TableVisible\\quot\\ value=\\quot\\__TableVisible__\\quot\\ type=\\quot\\checkbox\\quot\\ checked {@htmlTooltip(\\quot\\If enabled\\comma\\ the table will be visible.  Turn this off to display a chart by itself\\quot\\)}> Table Visible //crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ChartVisible\\quot\\ value=\\quot\\__ChartVisible__\\quot\\ type=\\quot\\checkbox\\quot\\ checked {@htmlTooltip(\\quot\\If enabled\\comma\\ the chart associated with the table will be displayed.  If disabled\\comma\\ the chart icon must be clicked to display the chart\\quot\\)}> Chart Visible //crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__TableControls\\quot\\ value=\\quot\\__TableControls__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ the table menu will be visible\\quot\\)}> Table Controls//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ExternalFilters\\quot\\ value=\\quot\\__ExternalFilters__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ external filters like date from and to will be visible\\quot\\)}> External Filters//crlf////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__salt__SelectView\\quot\\;//crlf////tab////tab////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Greenlight_UI_View_Extended_Name_by_ID_With_Select\\quot\\;//crlf////tab////tab////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\__SaveToViewID__\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\(Package_ID='Local') and (Container_Item_ID='Process_Embedded_Views')\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Add Embedded View\\quot\\ onClick=\\quot\\addEmbeddedView434618('__salt__')\\quot\\>//crlf////tab////tab////tab////tab////amp//nbsp;//amp//nbsp;<span class='refresh' style=\\quot\\cursor:pointer;\\quot\\ onClick=\\quot\\updateOptions('__salt__SelectView')\\quot\\></span>//crlf////tab////tab////tab//</div>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Defaults//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Defaults//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab//<select onChange=\\quot\\defaultSelected('__salt__'\\comma\\this)\\quot\\>//crlf////tab////tab////tab////tab//<option>-- Select Default --</option>//crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Note: RecordType\\comma\\ YDim\\comma\\ XDim and Measure are recorded as attributes in each option.//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Default: Labor by job code.  YDim - Job Codes\\comma\\ XDim - Stores//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<option //crlf////tab////tab////tab////tab////tab//recordtype=\\quot\\57\\quot\\ //crlf////tab////tab////tab////tab////tab//ydim=\\quot\\Final_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//xdim=\\quot\\Record_Type_Description_Short\\comma\\Store_Index@Final_Store_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//measure=\\quot\\Period_Percent_Of_Net_Sales\\comma\\Amount\\comma\\Period_Net_Sales\\quot\\//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//Labor by job code.  YDim - Job Codes\\comma\\ XDim - Stores//crlf////tab////tab////tab////tab//</option>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Default: Check counts vs last year by store.  YDim - Store\\comma\\ XDim - Check count//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<option //crlf////tab////tab////tab////tab////tab//recordtype=\\quot\\54\\quot\\ //crlf////tab////tab////tab////tab////tab//ydim=\\quot\\Final_Store_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//xdim=\\quot\\Record_Type_Description_Short\\quot\\ //crlf////tab////tab////tab////tab////tab//measure=\\quot\\Change_In_Quantity_From_Last_Year\\comma\\ Percent_Change_In_Quantity_From_Last_Year\\comma\\ Quantity\\comma\\ Quantity_Last_Year\\quot\\//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//Check counts vs last year by store.  YDim - Store\\comma\\ XDim - Check count//crlf////tab////tab////tab////tab//</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab//<div style=\\quot\\margin-right:10px;z-index:2\\quot\\>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Param - Store ID//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Store//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:ExternalDriverParam;//crlf////tab////tab////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ID:\\quot\\__salt__SelectStore\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Param:\\quot\\StoreID=$value$\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\size='5' style='height:150px~0x3B~width:100\\percent\\'\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Selected:\\quot\\__StoreID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Y Dimensions//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Y Dimensions//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\980802\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=YDim//amp//Selected=__YDim__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab//Y Dim: <span ID=\\quot\\__salt__selected_ydim\\quot\\>__YDim__</span>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////tab////tab////tab////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//X Dimensions//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=X Dimensions//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\980802\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=XDim//amp//Selected=__XDim__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab//X Dim: <span ID=\\quot\\__salt__selected_xdim\\quot\\>__XDim__</span>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Measurements//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Measurements//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\980802\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=Measure//amp//Selected=__Measure__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab//Measure: <span ID=\\quot\\__salt__selected_measure\\quot\\>__Measure__</span>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</conditional>//crlf////crlf////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Filters//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////tab//<conditional expression:not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__DateFromFilter__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Param - DateFrom//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:ExternalDriverParam;//crlf////tab////tab////tab//InputType:\\quot\\Date\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ParamDateFrom\\quot\\;//crlf////tab////tab////tab//Param:\\quot\\DateFrom=$value$\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateFrom__\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__DateToFilter__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Param - DateTo//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:ExternalDriverParam;//crlf////tab////tab////tab//InputType:\\quot\\Date\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ParamDateTo\\quot\\;//crlf////tab////tab////tab//Param:\\quot\\DateTo=$value$\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateTo__\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__DateRangeFilter__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Select Date Range//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:Collection;//crlf////tab////tab////tab//ID:\\quot\\__salt__DateRange\\quot\\;//crlf////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Select_Date_Range\\quot\\;//crlf////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateRange__\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\dateRangeSelected434618('__salt__')\\quot\\\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__ContainsTextFilter__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filter - Contains Text.  This param\\comma\\ like DateFrom and DateTo is not intended //crlf////tab////tab//to be used when defining the view.  It is an external filter that can be made//crlf////tab////tab//available to the user when the actual view is displayed.//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ContainsText\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\(keywordMatch('$value$'\\comma\\Final_Category1+Final_Category2+Final_Category3+Final_Name\\comma\\'\\comma\\'\\comma\\true))\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\Placeholder='Contains text'\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Section header for table//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)) or (\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Output//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Title//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(\\quot\\__Title__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<h1 style=\\quot\\padding:0px 0px 0px 0px;margin:0px 0px 10px 0px\\quot\\>//crlf////tab////tab////tab//<include type:expression; expression:if(defined(\\quot\\__Title__\\quot\\)\\comma\\\\quot\\__Title__\\quot\\\\comma\\lookup(Greenlight_Dimensional_Report_Description_by_ReportID\\comma\\\\quot\\__ReportID__\\quot\\))>//crlf////tab////tab////tab//__DateFrom__ - __DateTo__//crlf////tab////tab//</h1>//crlf////tab//</conditional>//crlf////tab////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Chart//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__Chart\\quot\\ style=\\quot\\width:100\\percent\\;height:350px;display:none\\quot\\></div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This is the standard Dimensional Report Viewer item in the Dimensional Views widget.//crlf////tab////crlf////tab//-//tab//The external filters and params defined in this item are passed to the report viewer//crlf////crlf////tab//-//tab//The report viewer uses the ReportID passed below to determine the dimensional view.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!!include //crlf////tab////tab//type:view; //crlf////tab////tab//viewid:\\quot\\DpQJE8Yp\\quot\\; //crlf////tab////tab//Source:\\quot\\\\quot\\; //crlf////tab////tab//params:\\quot\\//crlf////tab////tab////tab//Salt=__Salt__//amp////crlf////tab////tab////tab//ReportID=__ReportID__//amp////crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__AddReportID__\\quot\\)>//crlf////tab////tab////tab////tab//AddReportID=__AddReportID__//amp////crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//<conditional expression:false>//crlf////tab////tab////tab//------------------------------------------------------------------------------------------//crlf////tab////tab////tab//It should not be necessary to override the metadata.  It is allowed so that metadata //crlf////tab////tab////tab//can be manually specified in a view to create a new set of displays.  This might happen if //crlf////tab////tab////tab//there are different reports that use the same record type.//crlf////tab////tab////tab//------------------------------------------------------------------------------------------//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__Metadata__\\quot\\)>//crlf////tab////tab////tab////tab//DimParams=ExportHeader=__ExportHeader__~~pipe~~XDim=__XDim__~~pipe~~YDim=__YDim__~~pipe~~Measure=__Measure__~~pipe~~RecordType=__Recordtype__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~StoreID=__StoreID__~~pipe~~MetadataOverride=__MetaData__//amp////crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:not(defined(\\quot\\__Metadata__\\quot\\))>//crlf////tab////tab////tab////tab//DimParams=ExportHeader=__ExportHeader__~~pipe~~XDim=__XDim__~~pipe~~YDim=__YDim__~~pipe~~Measure=__Measure__~~pipe~~RecordType=__Recordtype__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~StoreID=__StoreID__~~pipe~~MetadataOverride=__ReportID__{@replaceSubstring(\\quot\\__RecordType__\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\_\\quot\\)}//amp////crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//Display=__Display__//amp////crlf////tab////tab////tab//ExternalParams=//crlf////tab////tab////tab////tab//<!conditional expression:(defined(\\quot\\__DatesOnYDim__\\quot\\))>//crlf////tab////tab////tab////tab////tab//__salt__FilterRecordtype\\comma\\//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//__salt__SelectStore\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamMetadata\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectXDim\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectYDim\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectMeasure\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamDateFrom\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamDateTo//amp////crlf////tab////tab////tab//ExternalFilters=//crlf////tab////tab////tab////tab//<!conditional expression:(not(defined(\\quot\\__DatesOnYDim__\\quot\\)))>//crlf////tab////tab////tab////tab////tab//__salt__FilterRecordtype\\comma\\//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//__salt__ContainsText//amp////crlf////tab////tab////tab//MaxRecords=__MaxRecords__//amp////crlf////tab////tab////tab//canEdit=__CanEdit__//amp////crlf////tab////tab////tab//TableControls=__TableControls__//amp////crlf////tab////tab////tab//TableHeader=__TableHeader__//amp////crlf////tab////tab////tab//TableBorder=__TableBorder__//amp////crlf////tab////tab////tab//SelectDisplay=__SelectDisplay__//amp////crlf////tab////tab////tab//EditDisplay=__EditDisplay__//amp////crlf////tab////tab////tab//TableVisible=__TableVisible__//amp////crlf////tab////tab////tab//ChartTitle=__ChartTitle__//amp////crlf////tab////tab////tab//ChartWidth=__ChartWidth__//amp////crlf////tab////tab////tab//ChartHeight=__ChartHeight__//amp////crlf////tab////tab////tab//ChartVisible=__ChartVisible__//amp////crlf////tab////tab////tab//ChartCanClose=__ChartCanClose__//amp////crlf////tab////tab//\\quot\\;//crlf////tab//>//crlf////crlf//</conditional>//crlf////crlf//<conditional expression:not(defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//</conditional>//crlf////crlf//__servertimerresults__//crlf//^
ID=250218|X=151|Y=33|W=1349|H=1429|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false -->//crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//--------------------------------------------------------------------------]//crlf//<_include type:expression; expression:htmlConstant(\\quot\\ReportID\\quot\\\\comma\\\\quot\\__ReportID__\\quot\\\\comma\\\\quot\\CFjyYF4Z\\quot\\)>//crlf//<_include type:expression; expression:htmlConstant(\\quot\\DatesOnYDim\\quot\\\\comma\\\\quot\\__DatesOnYDim__\\quot\\\\comma\\true)>//crlf//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\\\comma\\\\quot\\IXIhzKwdMIJWh02Rk8FjIVP0\\quot\\\\comma\\getToken(\\quot\\POSInterface_StoreID\\quot\\)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//This item is a wrapper for the consolidated sales export//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:not(defined(\\quot\\__ReportID__\\quot\\))>//crlf////tab//Error: Missing ReportID//crlf//</conditional>//crlf////crlf//<conditional expression:(defined(\\quot\\__ReportID__\\quot\\))>//crlf////crlf////tab//<script ID=\\quot\\JS434618\\quot\\>//crlf////tab////tab//function addEmbeddedView434618(salt\\comma\\s) {//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\\\plus\\s\\plus\\\\quot\\<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////get selected view//crlf////tab////tab////tab////tab//var sViewID=document.getElementById(salt\\plus\\\\quot\\SelectView\\quot\\).value;//crlf////tab////tab////tab////tab//if(sViewID==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: No view selected.<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////get date range//crlf////tab////tab////tab////tab//var sDateRange=document.getElementById(salt\\plus\\\\quot\\DateRange\\quot\\).value;//crlf////tab////tab////tab////tab//if(sDateRange==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: No date range selected.<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=Adding embedded view...\\amp\\icon=true\\quot\\);//crlf////crlf////tab////tab////tab////tab//var eTable=document.getElementById(salt);//crlf////tab////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////tab////tab//var eDisplay=document.getElementById(\\quot\\SelectDisplay1\\quot\\\\plus\\salt);//crlf////tab////tab////tab////tab//var sDisplay=eDisplay.options[eDisplay.selectedIndex].text;//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Local: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Company: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Aspect: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab////get record type//crlf////tab////tab////tab////tab//var sRecordType=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\FilterRecordtype\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i\\plus\\\\plus\\) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sRecordType.length>0) sRecordType\\plus\\=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sRecordType\\plus\\=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////crlf////tab////tab////tab////tab////get selected X dimensions//crlf////tab////tab////tab////tab//var sXDim=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\SelectXDim\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i\\plus\\\\plus\\) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sXDim.length>0) sXDim\\plus\\=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sXDim\\plus\\=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////tab////crlf////tab////tab////tab////tab////get selected Y dimensions//crlf////tab////tab////tab////tab//var sYDim=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\SelectYDim\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i\\plus\\\\plus\\) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sYDim.length>0) sYDim\\plus\\=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sYDim\\plus\\=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////tab////crlf////tab////tab////tab////tab////get selected Y dimensions//crlf////tab////tab////tab////tab//var sMeasure=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\SelectMeasure\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i\\plus\\\\plus\\) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sMeasure.length>0) sMeasure\\plus\\=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sMeasure\\plus\\=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////tab////crlf////tab////tab////tab////tab//var sParamsActive=eTable.getAttribute(\\quot\\Aspectparamsactive\\quot\\);//crlf////crlf////tab////tab////tab////tab///********************************************************************************************//crlf////tab////tab////tab////tab//Note: The ContainsText field is not used when creating the view.  It only serves as an //crlf////tab////tab////tab////tab//external filter when the report is displayed.//crlf////tab////tab////tab////tab//********************************************************************************************///crlf////tab////tab////tab////tab//var sUrl=getServer()\\plus\\\\quot\\/?Network=GreenLight\\amp\\ID=getWidget\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\Widget=View Factory\\amp\\ContainerItemID=Action_List\\amp\\Action=addEmbeddedView434618\\amp\\ActionExec=true\\quot\\;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\ViewID=\\quot\\\\plus\\sViewID;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\Source=\\quot\\\\plus\\sHashID;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\ReportID=__ReportID__\\quot\\;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\Metadata=\\quot\\\\plus\\eTable.getAttribute(\\quot\\Aspectdisplay_metadata\\quot\\);//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\Display=\\quot\\\\plus\\sDisplay;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\DateRange=\\quot\\\\plus\\sDateRange;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\Recordtype=\\quot\\\\plus\\sRecordType;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\BaseFilter=\\quot\\;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\ExternalFilters=\\quot\\\\plus\\document.getElementById(salt\\plus\\\\quot\\ExternalFilters\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\XDim=\\quot\\\\plus\\sXDim;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\YDim=\\quot\\\\plus\\sYDim;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\Measure=\\quot\\\\plus\\sMeasure;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\ViewName=\\quot\\\\plus\\document.getElementById(salt\\plus\\\\quot\\ViewName\\quot\\).value;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\TableVisible=\\quot\\\\plus\\document.getElementById(salt\\plus\\\\quot\\TableVisible\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\TableControls=\\quot\\\\plus\\document.getElementById(salt\\plus\\\\quot\\TableControls\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\ChartVisible=\\quot\\\\plus\\document.getElementById(salt\\plus\\\\quot\\TableVisible\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\ChartTitle=\\quot\\\\plus\\document.getElementById(salt\\plus\\\\quot\\ChartTitle\\quot\\).value;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\SelectDates=\\quot\\\\plus\\document.getElementById(salt\\plus\\\\quot\\SelectDates\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\MaxRecords=\\quot\\\\plus\\document.getElementById(salt\\plus\\\\quot\\MaxRecords\\quot\\).value;//crlf////crlf////tab////tab////tab////tab//sFunc=\\quot\\addEmbeddedView434618(~~backslash~~\\quot\\\\quot\\\\plus\\salt\\plus\\\\quot\\~~backslash~~\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\\\plus\\sUrl);//crlf////tab////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function dateRangeSelected434618(salt\\comma\\s)//crlf////tab////tab//{//crlf////tab////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab////tab////showDialog(\\quot\\msg=\\quot\\\\plus\\s\\plus\\\\quot\\<br><br>\\amp\\fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//ar=getSubStringArray(s\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\ParamDateFrom\\quot\\).value=ar[0];//crlf////tab////tab////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\ParamDateTo\\quot\\).value=ar[1];//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//var eTable=document.getElementById(salt);//crlf////tab////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////tab////tab//var sUrl=getServer()\\plus\\\\quot\\/?Network=GreenLight\\amp\\ID=getWidget\\amp\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\Widget=View Factory\\amp\\ContainerItemID=sensor_list\\amp\\Sensor=getDefaultBackOfficeDateRange\\amp\\SensorExec=true\\quot\\;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\Source=\\quot\\\\plus\\sHashID;//crlf////tab////tab////tab////tab//sUrl\\plus\\=\\quot\\\\amp\\DateRange=\\quot\\\\plus\\document.getElementById(salt\\plus\\\\quot\\DateRange\\quot\\).value;//crlf////tab////tab////tab////tab//sFunc=\\quot\\dateRangeSelected434618(~~backslash~~\\quot\\\\quot\\\\plus\\salt\\plus\\\\quot\\~~backslash~~\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\\\plus\\sUrl);//crlf////tab////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab///***********************************************************************************//crlf////tab////tab//This function updates the hidden input containing the external param for the display//crlf////tab////tab//metadata.  The metadata is composed of the RepotrID and the selected record types//crlf////tab////tab//***********************************************************************************///crlf////tab////tab//function recordTypeSelected(salt\\comma\\ReportID) {//crlf////tab////tab////tab//console.log(\\quot\\record type selected\\quot\\);//crlf////crlf////tab////tab////tab////get record type//crlf////tab////tab////tab//var sRecordType=\\quot\\\\quot\\; //crlf////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\FilterRecordtype\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i\\plus\\\\plus\\) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(sRecordType.length>0) sRecordType\\plus\\=\\quot\\_\\quot\\; //crlf////tab////tab////tab////tab////tab//sRecordType\\plus\\=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//var s=replaceAllSubstrings(sRecordType\\comma\\\\quot\\_\\quot\\\\comma\\\\quot\\\\comma\\ \\quot\\);//crlf////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\selected_record_types\\quot\\).innerHTML=sRecordType;//crlf////crlf////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\ParamMetadata\\quot\\).value=ReportID\\plus\\sRecordType;//crlf////tab////tab////tab//refreshTable(salt\\comma\\\\apos\\refresh\\apos\\\\comma\\\\apos\\\\apos\\\\comma\\true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function XDimSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i\\plus\\\\plus\\) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s\\plus\\=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s\\plus\\=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\selected_xdim\\quot\\).innerHTML=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function YDimSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i\\plus\\\\plus\\) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s\\plus\\=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s\\plus\\=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\selected_ydim\\quot\\).innerHTML=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function MeasureSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i\\plus\\\\plus\\) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s\\plus\\=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s\\plus\\=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt\\plus\\\\quot\\selected_measure\\quot\\).innerHTML=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function defaultSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var Index=e.selectedIndex;//crlf////tab////tab////tab//var sRecordType=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\recordtype\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab//var sYDim=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\ydim\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab//var sXDim=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\xdim\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab//var sMeasure=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\measure\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////crlf////tab////tab////tab////console.log(\\quot\\sRecordType=\\quot\\\\plus\\sRecordType);//crlf////tab////tab////tab////console.log(\\quot\\sYDim=\\quot\\\\plus\\sYDim);//crlf////tab////tab////tab////console.log(\\quot\\sXDim=\\quot\\\\plus\\sXDim);//crlf////tab////tab////tab////console.log(\\quot\\sMeasure=\\quot\\\\plus\\sMeasure);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\SelectYDim\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i\\plus\\\\plus\\) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\\\plus\\sYDim\\plus\\\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\\\plus\\e.options[i].value\\plus\\\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//YDimSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\SelectXDim\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i\\plus\\\\plus\\) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\\\plus\\sXDim\\plus\\\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\\\plus\\e.options[i].value\\plus\\\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//XDimSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\SelectMeasure\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i\\plus\\\\plus\\) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\\\plus\\sMeasure\\plus\\\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\\\plus\\e.options[i].value\\plus\\\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//MeasureSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab////update the record type last because recordTypeSelected() refreshes the table//crlf////tab////tab////tab//var e=document.getElementById(salt\\plus\\\\quot\\FilterRecordtype\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i\\plus\\\\plus\\) {//crlf////tab////tab////tab////tab//console.log(\\quot\\s1=\\quot\\\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\sRecordType\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\\\quot\\ s2=\\quot\\\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\e.options[i].value\\plus\\\\quot\\\\comma\\\\quot\\\\plus\\\\quot\\ Index=\\quot\\\\plus\\(\\quot\\\\comma\\\\quot\\\\plus\\sRecordType\\plus\\\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\\\plus\\e.options[i].value\\plus\\\\quot\\\\comma\\\\quot\\))//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\\\plus\\sRecordType\\plus\\\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\\\plus\\e.options[i].value\\plus\\\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//recordTypeSelected(salt\\comma\\e.getAttribute(\\quot\\ReportID\\quot\\));//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Include stylesheet//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\style\\quot\\\\comma\\\\quot\\__style__\\quot\\\\comma\\\\quot\\default\\quot\\)>//crlf////tab//<!include type:widget; //crlf////tab////tab//server:{AspectHashID}; //crlf////tab////tab//secure:true; //crlf////tab////tab//documentID:\\quot\\VWaUGu88BMN0hDYWzZj57VpG\\quot\\; //crlf////tab////tab//widget:\\quot\\Daily Sales Export\\quot\\; //crlf////tab////tab//containerItemID:\\quot\\515261\\quot\\; //crlf////tab////tab//params:\\quot\\style=__style__\\quot\\;>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Defaults//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\SaveToName\\quot\\\\comma\\\\quot\\__SaveToName__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\display\\quot\\\\comma\\\\quot\\__display__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\DateRange\\quot\\\\comma\\\\quot\\__DateRange__\\quot\\\\comma\\\\quot\\LastFullWeek\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\RecordType\\quot\\\\comma\\\\quot\\__RecordType__\\quot\\\\comma\\\\quot\\0\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\YDim\\quot\\\\comma\\\\quot\\__YDim__\\quot\\\\comma\\\\quot\\CheckNumber\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\XDim\\quot\\\\comma\\\\quot\\__XDim__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Measure\\quot\\\\comma\\\\quot\\__Measure__\\quot\\\\comma\\\\quot\\Amount\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableControls\\quot\\\\comma\\\\quot\\__TableControls__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableHeader\\quot\\\\comma\\\\quot\\__TableHeader__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableBorder\\quot\\\\comma\\\\quot\\__TableBorder__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\SelectDisplay\\quot\\\\comma\\\\quot\\__SelectDisplay__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\EditDisplay\\quot\\\\comma\\\\quot\\__EditDisplay__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableVisible\\quot\\\\comma\\\\quot\\__TableVisible__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartTitle\\quot\\\\comma\\\\quot\\__ChartTitle__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartWidth\\quot\\\\comma\\\\quot\\__ChartWidth__\\quot\\\\comma\\\\quot\\100\\percent\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartHeight\\quot\\\\comma\\\\quot\\__ChartHeight__\\quot\\\\comma\\\\quot\\300px\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartVisible\\quot\\\\comma\\\\quot\\__ChartVisible__\\quot\\\\comma\\false)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartCanClose\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\false)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\MaxRecords\\quot\\\\comma\\\\quot\\__MaxRecords__\\quot\\\\comma\\250)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Set DateFrom and DateTo//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//if((not(defined(\\quot\\__DateFrom__\\quot\\))) and (not(defined(\\quot\\__DateTo__\\quot\\))))//crlf////tab////tab////tab////iDateRange=max(1\\comma\\if(defined(\\quot\\__DateRange__\\quot\\)\\comma\\__DateRange__\\comma\\1))//crlf////tab////tab////tab//s=if(defined(\\quot\\__DateRange__\\quot\\)\\comma\\__DateRange__\\comma\\\\quot\\LastBusinessDate\\quot\\)//crlf////tab////tab////tab//sDateRange=getSensorValue(getDefaultBackOfficeDateRange\\comma\\\\quot\\DateRange=\\quot\\\\plus\\s)//crlf////tab////tab////tab//s=htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getElement(sDateRange\\comma\\0))//crlf////tab////tab////tab//s=s\\plus\\htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getElement(sDateRange\\comma\\1))//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Debugging.  Set Debug=true in the embedded view params to enable//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(\\quot\\__Debug__\\quot\\=true)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader\\amp\\Chapter=__salt__\\amp\\Section=Debugging\\amp\\Selected=false\\amp\\CanCollapse=true\\quot\\;>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<th align=\\apos\\left\\apos\\>Page Args</th>//crlf////tab////tab////tab////tab////tab//<th align=\\apos\\left\\apos\\>Params</th>//crlf////tab////tab////tab////tab//</tr>//tab////tab////tab////tab////crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DatesOnYDim</td><td>__DatesOnYDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>ReportID</td><td>__ReportID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>AddReportID</td><td>__AddReportID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>RecordType</td><td>__RecordType__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>YDim</td><td>__YDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>XDim</td><td>__XDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>Measure</td><td>__Measure__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateRange</td><td>__DateRange__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateFrom</td><td>__DateFrom__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateTo</td><td>__DateTo__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>Date</td><td>__Date__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>StoreID</td><td>__StoreID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableVisible</td><td>__TableVisible__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>ChartVisible</td><td>__ChartVisible__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableControls</td><td>__TableControls__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableHeader</td><td>__TableHeader__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableBorder</td><td>__TableBorder__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>SelectDisplay</td><td>__SelectDisplay__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>EditDisplay</td><td>__EditDisplay__</td></tr>//crlf////tab////tab////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//{@htmlTable(\\quot\\__PageArgs__\\quot\\\\comma\\\\quot\\~\\quot\\\\comma\\\\quot\\=\\quot\\)}//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Save To View//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader\\amp\\Chapter=__salt__\\amp\\Section=Save To View\\amp\\Selected=true\\amp\\CanCollapse=true\\quot\\;>//crlf////tab////tab////tab//<div>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ViewName\\quot\\ value=\\quot\\__SaveToName__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:300px\\quot\\ placeholder=\\quot\\View Name\\quot\\ {@htmlTooltip(\\quot\\View Name.  This is the name used for the embedded view.  It is also used as the chart title if no chart title is specified.\\quot\\)}>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ChartTitle\\quot\\ value=\\quot\\__ChartTitle__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:300px\\quot\\ placeholder=\\quot\\Chart Title\\quot\\ {@htmlTooltip(\\quot\\Chart Title.  The view name will be used if no title is specified.\\quot\\)}>//crlf////tab////tab////tab////tab//Records <input ID=\\quot\\__salt__MaxRecords\\quot\\ value=\\quot\\__MaxRecords__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:50px\\quot\\ {@htmlTooltip(\\quot\\Maximum number of records to be displayed\\quot\\)}>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__SelectDates\\quot\\ value=\\quot\\__SelectDates__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ fields will be displayed to select a start and end date.\\quot\\)}> Select Dates//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__TableVisible\\quot\\ value=\\quot\\__TableVisible__\\quot\\ type=\\quot\\checkbox\\quot\\ checked {@htmlTooltip(\\quot\\If enabled\\comma\\ the table will be visible.  Turn this off to display a chart by itself\\quot\\)}> Table Visible //crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ChartVisible\\quot\\ value=\\quot\\__ChartVisible__\\quot\\ type=\\quot\\checkbox\\quot\\ checked {@htmlTooltip(\\quot\\If enabled\\comma\\ the chart associated with the table will be displayed.  If disabled\\comma\\ the chart icon must be clicked to display the chart\\quot\\)}> Chart Visible //crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__TableControls\\quot\\ value=\\quot\\__TableControls__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ the table menu will be visible\\quot\\)}> Table Controls//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ExternalFilters\\quot\\ value=\\quot\\__ExternalFilters__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ external filters like date from and to will be visible\\quot\\)}> External Filters//crlf////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__salt__SelectView\\quot\\;//crlf////tab////tab////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Greenlight_UI_View_Extended_Name_by_ID_With_Select\\quot\\;//crlf////tab////tab////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\__SaveToViewID__\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\(Package_ID=\\apos\\Local\\apos\\) and (Container_Item_ID=\\apos\\Process_Embedded_Views\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Add Embedded View\\quot\\ onClick=\\quot\\addEmbeddedView434618(\\apos\\__salt__\\apos\\)\\quot\\>//crlf////tab////tab////tab////tab//\\amp\\nbsp;\\amp\\nbsp;<span class=\\apos\\refresh\\apos\\ style=\\quot\\cursor:pointer;\\quot\\ onClick=\\quot\\updateOptions(\\apos\\__salt__SelectView\\apos\\)\\quot\\></span>//crlf////tab////tab////tab//</div>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Defaults//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader\\amp\\Chapter=__salt__\\amp\\Section=Defaults\\amp\\Selected=true\\amp\\CanCollapse=false\\quot\\;>//crlf////tab////tab////tab//<select onChange=\\quot\\defaultSelected(\\apos\\__salt__\\apos\\\\comma\\this)\\quot\\>//crlf////tab////tab////tab////tab//<option>-- Select Default --</option>//crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Note: RecordType\\comma\\ YDim\\comma\\ XDim and Measure are recorded as attributes in each option.//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Default: Labor by job code.  YDim - Job Codes\\comma\\ XDim - Stores//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<option //crlf////tab////tab////tab////tab////tab//recordtype=\\quot\\57\\quot\\ //crlf////tab////tab////tab////tab////tab//ydim=\\quot\\Final_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//xdim=\\quot\\Record_Type_Description_Short\\comma\\Store_Index@Final_Store_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//measure=\\quot\\Period_Percent_Of_Net_Sales\\comma\\Amount\\comma\\Period_Net_Sales\\quot\\//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//Labor by job code.  YDim - Job Codes\\comma\\ XDim - Stores//crlf////tab////tab////tab////tab//</option>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Default: Check counts vs last year by store.  YDim - Store\\comma\\ XDim - Check count//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<option //crlf////tab////tab////tab////tab////tab//recordtype=\\quot\\54\\quot\\ //crlf////tab////tab////tab////tab////tab//ydim=\\quot\\Final_Store_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//xdim=\\quot\\Record_Type_Description_Short\\quot\\ //crlf////tab////tab////tab////tab////tab//measure=\\quot\\Change_In_Quantity_From_Last_Year\\comma\\ Percent_Change_In_Quantity_From_Last_Year\\comma\\ Quantity\\comma\\ Quantity_Last_Year\\quot\\//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//Check counts vs last year by store.  YDim - Store\\comma\\ XDim - Check count//crlf////tab////tab////tab////tab//</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab//<div style=\\quot\\margin-right:10px;z-index:2\\quot\\>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Param - Store ID//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:20\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader\\amp\\Chapter=__salt__\\amp\\Section=Store\\amp\\Selected=true\\amp\\CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:ExternalDriverParam;//crlf////tab////tab////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ID:\\quot\\__salt__SelectStore\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Param:\\quot\\StoreID=$value$\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\size=\\apos\\5\\apos\\ style=\\apos\\height:150px~0x3B~width:100\\percent\\\\apos\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Selected:\\quot\\__StoreID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter - Record Type//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:20\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader\\amp\\Chapter=__salt__\\amp\\Section=Record Types\\amp\\Selected=true\\amp\\CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ID:\\quot\\__salt__FilterRecordtype\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Condition:\\quot\\not(\\apos\\$value$\\apos\\=\\apos\\all\\apos\\)\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Expression:\\quot\\(gte(containsElement(\\apos\\$value$\\apos\\\\comma\\Record_Type)\\comma\\0\\comma\\n))\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\multiple style=\\apos\\height:150px~0x3B~width:100\\percent\\\\apos\\ param=\\apos\\RecordType=$value$\\apos\\ ReportID=\\quot\\__ReportID__\\quot\\ onBlur=\\apos\\recordTypeSelected(\\quot\\__salt__\\quot\\\\comma\\\\quot\\__ReportID__\\quot\\)\\apos\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\POS_Generic_Check_Detail_Record_Types_for_View_Factory\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Selected:\\quot\\{@if(defined(\\quot\\__RecordType__\\quot\\)\\comma\\replaceSubstring(\\quot\\__RecordType__\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\all\\quot\\)}\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab//Record Types: <span ID=\\quot\\__salt__selected_record_types\\quot\\>__RecordType__</span>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab////tab////tab//<input type=\\quot\\text\\quot\\ style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__ParamMetadata\\quot\\ value=\\quot\\__ReportID__{@replaceSubstring(\\quot\\__RecordType__\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\_\\quot\\)}\\quot\\ param=\\quot\\Metadata=$value$\\quot\\>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Y Dimensions//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:20\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader\\amp\\Chapter=__salt__\\amp\\Section=Y Dimensions\\amp\\Selected=true\\amp\\CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\837150\\quot\\; params:\\quot\\Salt=__salt__\\amp\\Axis=YDim\\amp\\Selected=__YDim__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab//Y Dim: <span ID=\\quot\\__salt__selected_ydim\\quot\\>__YDim__</span>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////tab////tab////tab////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//X Dimensions//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:20\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader\\amp\\Chapter=__salt__\\amp\\Section=X Dimensions\\amp\\Selected=true\\amp\\CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\837150\\quot\\; params:\\quot\\Salt=__salt__\\amp\\Axis=XDim\\amp\\Selected=__XDim__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab//X Dim: <span ID=\\quot\\__salt__selected_xdim\\quot\\>__XDim__</span>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Measurements//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:20\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader\\amp\\Chapter=__salt__\\amp\\Section=Measurements\\amp\\Selected=true\\amp\\CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\837150\\quot\\; params:\\quot\\Salt=__salt__\\amp\\Axis=Measure\\amp\\Selected=__Measure__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab//Measure: <span ID=\\quot\\__salt__selected_measure\\quot\\>__Measure__</span>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</conditional>//crlf////crlf////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader\\amp\\Chapter=__salt__\\amp\\Section=Filters\\amp\\Selected=true\\amp\\CanCollapse=false\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\)) and (not(\\quot\\__DateFromFilter__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Param - DateFrom//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:ExternalDriverParam;//crlf////tab////tab////tab//InputType:\\quot\\Date\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ParamDateFrom\\quot\\;//crlf////tab////tab////tab//Param:\\quot\\DateFrom=$value$\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateFrom__\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\)) and (not(\\quot\\__DateToFilter__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Param - DateTo//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:ExternalDriverParam;//crlf////tab////tab////tab//InputType:\\quot\\Date\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ParamDateTo\\quot\\;//crlf////tab////tab////tab//Param:\\quot\\DateTo=$value$\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateTo__\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\)) and (not(\\quot\\__DateRangeFilter__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Select Date Range//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:Collection;//crlf////tab////tab////tab//ID:\\quot\\__salt__DateRange\\quot\\;//crlf////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Select_Date_Range\\quot\\;//crlf////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateRange__\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\dateRangeSelected434618(\\apos\\__salt__\\apos\\)\\quot\\\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__ContainsTextFilter__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filter - Contains Text.  This param\\comma\\ like DateFrom and DateTo is not intended //crlf////tab////tab//to be used when defining the view.  It is an external filter that can be made//crlf////tab////tab//available to the user when the actual view is displayed.//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ContainsText\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not(len(trim(\\apos\\$value$\\apos\\))=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\(keywordMatch(\\apos\\$value$\\apos\\\\comma\\Final_Category1\\plus\\Final_Category2\\plus\\Final_Category3\\plus\\Final_Name\\comma\\\\apos\\\\comma\\\\apos\\\\comma\\true))\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\Placeholder=\\apos\\Contains text\\apos\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Section header for table//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)) or (\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader\\amp\\Chapter=__salt__\\amp\\Section=Output\\amp\\Selected=true\\amp\\CanCollapse=false\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Title//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(\\quot\\__Title__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<h1 style=\\quot\\padding:0px 0px 0px 0px;margin:0px 0px 10px 0px\\quot\\>//crlf////tab////tab////tab//<include type:expression; expression:if(defined(\\quot\\__Title__\\quot\\)\\comma\\\\quot\\__Title__\\quot\\\\comma\\lookup(Greenlight_Dimensional_Report_Description_by_ReportID\\comma\\\\quot\\__ReportID__\\quot\\))>//crlf////tab////tab////tab//__DateFrom__ - __DateTo__//crlf////tab////tab//</h1>//crlf////tab//</conditional>//crlf////tab////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Chart//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__Chart\\quot\\ style=\\quot\\width:100\\percent\\;height:350px;display:none\\quot\\></div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This is the standard Dimensional Report Viewer item in the Dimensional Views widget.//crlf////tab////crlf////tab//-//tab//The external filters and params defined in this item are passed to the report viewer//crlf////crlf////tab//-//tab//The report viewer uses the ReportID passed below to determine the dimensional view.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!!include //crlf////tab////tab//type:view; //crlf////tab////tab//viewid:\\quot\\DpQJE8Yp\\quot\\; //crlf////tab////tab//Source:\\quot\\\\quot\\; //crlf////tab////tab//params:\\quot\\//crlf////tab////tab////tab//Salt=__Salt__\\amp\\//crlf////tab////tab////tab//ReportID=__ReportID__\\amp\\//crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__AddReportID__\\quot\\)>//crlf////tab////tab////tab////tab//AddReportID=__AddReportID__\\amp\\//crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//<conditional expression:false>//crlf////tab////tab////tab//------------------------------------------------------------------------------------------//crlf////tab////tab////tab//It should not be necessary to override the metadata.  It is allowed so that metadata //crlf////tab////tab////tab//can be manually specified in a view to create a new set of displays.  This might happen if //crlf////tab////tab////tab//there are different reports that use the same record type.//crlf////tab////tab////tab//------------------------------------------------------------------------------------------//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__Metadata__\\quot\\)>//crlf////tab////tab////tab////tab//DimParams=XDim=__XDim__~~pipe~~YDim=__YDim__~~pipe~~Measure=__Measure__~~pipe~~RecordType=__Recordtype__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~StoreID=__StoreID__~~pipe~~MetadataOverride=__MetaData__\\amp\\//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:not(defined(\\quot\\__Metadata__\\quot\\))>//crlf////tab////tab////tab////tab//DimParams=XDim=__XDim__~~pipe~~YDim=__YDim__~~pipe~~Measure=__Measure__~~pipe~~RecordType=__Recordtype__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~StoreID=__StoreID__~~pipe~~MetadataOverride=__ReportID__{@replaceSubstring(\\quot\\__RecordType__\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\_\\quot\\)}\\amp\\//crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//Display=__Display__\\amp\\//crlf////tab////tab////tab//ExternalParams=//crlf////tab////tab////tab////tab//<!conditional expression:(defined(\\quot\\__DatesOnYDim__\\quot\\))>//crlf////tab////tab////tab////tab////tab//__salt__FilterRecordtype\\comma\\//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//__salt__SelectStore\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamMetadata\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectXDim\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectYDim\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectMeasure\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamDateFrom\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamDateTo\\amp\\//crlf////tab////tab////tab//ExternalFilters=//crlf////tab////tab////tab////tab//<!conditional expression:(not(defined(\\quot\\__DatesOnYDim__\\quot\\)))>//crlf////tab////tab////tab////tab////tab//__salt__FilterRecordtype\\comma\\//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//__salt__ContainsText\\amp\\//crlf////tab////tab////tab//MaxRecords=__MaxRecords__\\amp\\//crlf////tab////tab////tab//canEdit=false\\amp\\//crlf////tab////tab////tab//TableControls=__TableControls__\\amp\\//crlf////tab////tab////tab//TableHeader=__TableHeader__\\amp\\//crlf////tab////tab////tab//TableBorder=__TableBorder__\\amp\\//crlf////tab////tab////tab//SelectDisplay=__SelectDisplay__\\amp\\//crlf////tab////tab////tab//EditDisplay=__EditDisplay__\\amp\\//crlf////tab////tab////tab//TableVisible=__TableVisible__\\amp\\//crlf////tab////tab////tab//ChartTitle=__ChartTitle__\\amp\\//crlf////tab////tab////tab//ChartWidth=__ChartWidth__\\amp\\//crlf////tab////tab////tab//ChartHeight=__ChartHeight__\\amp\\//crlf////tab////tab////tab//ChartVisible=__ChartVisible__\\amp\\//crlf////tab////tab////tab//ChartCanClose=__ChartCanClose__\\amp\\//crlf////tab////tab//\\quot\\;//crlf////tab//>//crlf////crlf//</conditional>//crlf////crlf//<conditional expression:not(defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//</conditional>//crlf////crlf//__servertimerresults__//crlf//^
ID=275763|X=151|Y=33|W=1349|H=1429|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false -->//crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//--------------------------------------------------------------------------]//crlf//<_include type:expression; expression:htmlConstant(\\quot\\ReportID\\quot\\\\comma\\\\quot\\__ReportID__\\quot\\\\comma\\\\quot\\V48NODbZ\\quot\\)>//crlf//<_include type:expression; expression:htmlConstant(\\quot\\DatesOnYDim\\quot\\\\comma\\\\quot\\__DatesOnYDim__\\quot\\\\comma\\true)>//crlf//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\\\comma\\\\quot\\IXIhzKwdMIJWh02Rk8FjIVP0\\quot\\\\comma\\getToken(\\quot\\POSInterface_StoreID\\quot\\)))>//crlf////crlf//[!------------------------------------------------------------------------//crlf//This item is a wrapper for the consolidated sales export//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:not(defined(\\quot\\__ReportID__\\quot\\))>//crlf////tab//Error: Missing ReportID//crlf//</conditional>//crlf////crlf//<conditional expression:(defined(\\quot\\__ReportID__\\quot\\))>//crlf////crlf////tab//<script ID=\\quot\\JS434618\\quot\\>//crlf////tab////tab//function addEmbeddedView434618(salt\\comma\\s) {//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////get selected view//crlf////tab////tab////tab////tab//var sViewID=document.getElementById(salt+\\quot\\SelectView\\quot\\).value;//crlf////tab////tab////tab////tab//if(sViewID==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: No view selected.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////get date range//crlf////tab////tab////tab////tab//var sDateRange=document.getElementById(salt+\\quot\\DateRange\\quot\\).value;//crlf////tab////tab////tab////tab//if(sDateRange==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: No date range selected.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=Adding embedded view...//amp//icon=true\\quot\\);//crlf////crlf////tab////tab////tab////tab//var eTable=document.getElementById(salt);//crlf////tab////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////tab////tab//var eDisplay=document.getElementById(\\quot\\SelectDisplay1\\quot\\+salt);//crlf////tab////tab////tab////tab//var sDisplay=eDisplay.options[eDisplay.selectedIndex].text;//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Local: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Company: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Aspect: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab////get selected X dimensions//crlf////tab////tab////tab////tab//var sXDim=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectXDim\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sXDim.length>0) sXDim+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sXDim+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////tab////crlf////tab////tab////tab////tab////get selected Y dimensions//crlf////tab////tab////tab////tab//var sYDim=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectYDim\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sYDim.length>0) sYDim+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sYDim+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////tab////crlf////tab////tab////tab////tab////get selected Y dimensions//crlf////tab////tab////tab////tab//var sMeasure=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectMeasure\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sMeasure.length>0) sMeasure+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sMeasure+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////tab////crlf////tab////tab////tab////tab//var sParamsActive=eTable.getAttribute(\\quot\\Aspectparamsactive\\quot\\);//crlf////crlf////tab////tab////tab////tab///********************************************************************************************//crlf////tab////tab////tab////tab//Note: The ContainsText field is not used when creating the view.  It only serves as an //crlf////tab////tab////tab////tab//external filter when the report is displayed.//crlf////tab////tab////tab////tab//********************************************************************************************///crlf////tab////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Widget=View Factory//amp//ContainerItemID=Action_List//amp//Action=addEmbeddedView434618//amp//ActionExec=true\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ViewID=\\quot\\+sViewID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ReportID=__ReportID__\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Metadata=\\quot\\+eTable.getAttribute(\\quot\\Aspectdisplay_metadata\\quot\\);//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Display=\\quot\\+sDisplay;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//DateRange=\\quot\\+sDateRange;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//BaseFilter=\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ExternalFilters=\\quot\\+document.getElementById(salt+\\quot\\ExternalFilters\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//XDim=\\quot\\+sXDim;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//YDim=\\quot\\+sYDim;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Measure=\\quot\\+sMeasure;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ViewName=\\quot\\+document.getElementById(salt+\\quot\\ViewName\\quot\\).value;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//TableVisible=\\quot\\+document.getElementById(salt+\\quot\\TableVisible\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//TableControls=\\quot\\+document.getElementById(salt+\\quot\\TableControls\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ChartVisible=\\quot\\+document.getElementById(salt+\\quot\\TableVisible\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ChartTitle=\\quot\\+document.getElementById(salt+\\quot\\ChartTitle\\quot\\).value;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//SelectDates=\\quot\\+document.getElementById(salt+\\quot\\SelectDates\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//MaxRecords=\\quot\\+document.getElementById(salt+\\quot\\MaxRecords\\quot\\).value;//crlf////crlf////tab////tab////tab////tab//sFunc=\\quot\\addEmbeddedView434618(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function dateRangeSelected434618(salt\\comma\\s)//crlf////tab////tab//{//crlf////tab////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab////tab////showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//ar=getSubStringArray(s\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab////tab////tab//document.getElementById(salt+\\quot\\ParamDateFrom\\quot\\).value=ar[0];//crlf////tab////tab////tab////tab////tab//document.getElementById(salt+\\quot\\ParamDateTo\\quot\\).value=ar[1];//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//var eTable=document.getElementById(salt);//crlf////tab////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Widget=View Factory//amp//ContainerItemID=sensor_list//amp//Sensor=getDefaultBackOfficeDateRange//amp//SensorExec=true\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//DateRange=\\quot\\+document.getElementById(salt+\\quot\\DateRange\\quot\\).value;//crlf////tab////tab////tab////tab//sFunc=\\quot\\dateRangeSelected434618(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function XDimSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_xdim\\quot\\).innerHTML=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function YDimSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_ydim\\quot\\).innerHTML=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function MeasureSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_measure\\quot\\).innerHTML=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function defaultSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var Index=e.selectedIndex;//crlf////tab////tab////tab//var sYDim=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\ydim\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab//var sXDim=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\xdim\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab//var sMeasure=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\measure\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectYDim\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\+sYDim+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//YDimSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectXDim\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\+sXDim+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//XDimSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectMeasure\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\+sMeasure+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//MeasureSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab//refreshTable(salt\\comma\\'refresh'\\comma\\''\\comma\\true);//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Include stylesheet//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\style\\quot\\\\comma\\\\quot\\__style__\\quot\\\\comma\\\\quot\\default\\quot\\)>//crlf////tab//<!include type:widget; //crlf////tab////tab//server:{AspectHashID}; //crlf////tab////tab//secure:true; //crlf////tab////tab//documentID:\\quot\\VWaUGu88BMN0hDYWzZj57VpG\\quot\\; //crlf////tab////tab//widget:\\quot\\Daily Sales Export\\quot\\; //crlf////tab////tab//containerItemID:\\quot\\515261\\quot\\; //crlf////tab////tab//params:\\quot\\style=__style__\\quot\\;>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Defaults//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\SaveToName\\quot\\\\comma\\\\quot\\__SaveToName__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\display\\quot\\\\comma\\\\quot\\__display__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\DateRange\\quot\\\\comma\\\\quot\\__DateRange__\\quot\\\\comma\\\\quot\\LastFullWeek\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\YDim\\quot\\\\comma\\\\quot\\__YDim__\\quot\\\\comma\\\\quot\\Invoice_Number\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\XDim\\quot\\\\comma\\\\quot\\__XDim__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Measure\\quot\\\\comma\\\\quot\\__Measure__\\quot\\\\comma\\\\quot\\Extended_Price\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableControls\\quot\\\\comma\\\\quot\\__TableControls__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableHeader\\quot\\\\comma\\\\quot\\__TableHeader__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableBorder\\quot\\\\comma\\\\quot\\__TableBorder__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\SelectDisplay\\quot\\\\comma\\\\quot\\__SelectDisplay__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\EditDisplay\\quot\\\\comma\\\\quot\\__EditDisplay__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableVisible\\quot\\\\comma\\\\quot\\__TableVisible__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartTitle\\quot\\\\comma\\\\quot\\__ChartTitle__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartWidth\\quot\\\\comma\\\\quot\\__ChartWidth__\\quot\\\\comma\\\\quot\\100\\percent\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartHeight\\quot\\\\comma\\\\quot\\__ChartHeight__\\quot\\\\comma\\\\quot\\300px\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartVisible\\quot\\\\comma\\\\quot\\__ChartVisible__\\quot\\\\comma\\false)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartCanClose\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\false)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\MaxRecords\\quot\\\\comma\\\\quot\\__MaxRecords__\\quot\\\\comma\\250)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Set DateFrom and DateTo//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//if((not(defined(\\quot\\__DateFrom__\\quot\\))) and (not(defined(\\quot\\__DateTo__\\quot\\))))//crlf////tab////tab////tab////iDateRange=max(1\\comma\\if(defined(\\quot\\__DateRange__\\quot\\)\\comma\\__DateRange__\\comma\\1))//crlf////tab////tab////tab//s=if(defined(\\quot\\__DateRange__\\quot\\)\\comma\\__DateRange__\\comma\\\\quot\\LastFullWeek\\quot\\)//crlf////tab////tab////tab//sDateRange=getSensorValue(getDefaultBackOfficeDateRange\\comma\\\\quot\\DateRange=\\quot\\+s)//crlf////tab////tab////tab//s=htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getElement(sDateRange\\comma\\0))//crlf////tab////tab////tab//s=s+htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getElement(sDateRange\\comma\\1))//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Debugging.  Set Debug=true in the embedded view params to enable//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(\\quot\\__Debug__\\quot\\=true)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Debugging//amp//Selected=false//amp//CanCollapse=true\\quot\\;>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<th align='left'>Page Args</th>//crlf////tab////tab////tab////tab////tab//<th align='left'>Params</th>//crlf////tab////tab////tab////tab//</tr>//tab////tab////tab////tab////crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DatesOnYDim</td><td>__DatesOnYDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>ReportID</td><td>__ReportID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>AddReportID</td><td>__AddReportID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>RecordType</td><td>__RecordType__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>YDim</td><td>__YDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>XDim</td><td>__XDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>Measure</td><td>__Measure__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateRange</td><td>__DateRange__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateFrom</td><td>__DateFrom__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateTo</td><td>__DateTo__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>Date</td><td>__Date__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>StoreID</td><td>__StoreID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableVisible</td><td>__TableVisible__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>ChartVisible</td><td>__ChartVisible__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableControls</td><td>__TableControls__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableHeader</td><td>__TableHeader__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableBorder</td><td>__TableBorder__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>SelectDisplay</td><td>__SelectDisplay__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>EditDisplay</td><td>__EditDisplay__</td></tr>//crlf////tab////tab////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//{@htmlTable(\\quot\\__PageArgs__\\quot\\\\comma\\\\quot\\~\\quot\\\\comma\\\\quot\\=\\quot\\)}//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Save To View//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Save To View//amp//Selected=true//amp//CanCollapse=true\\quot\\;>//crlf////tab////tab////tab//<div>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ViewName\\quot\\ value=\\quot\\__SaveToName__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:300px\\quot\\ placeholder=\\quot\\View Name\\quot\\ {@htmlTooltip(\\quot\\View Name.  This is the name used for the embedded view.  It is also used as the chart title if no chart title is specified.\\quot\\)}>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ChartTitle\\quot\\ value=\\quot\\__ChartTitle__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:300px\\quot\\ placeholder=\\quot\\Chart Title\\quot\\ {@htmlTooltip(\\quot\\Chart Title.  The view name will be used if no title is specified.\\quot\\)}>//crlf////tab////tab////tab////tab//Records <input ID=\\quot\\__salt__MaxRecords\\quot\\ value=\\quot\\__MaxRecords__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:50px\\quot\\ {@htmlTooltip(\\quot\\Maximum number of records to be displayed\\quot\\)}>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__SelectDates\\quot\\ value=\\quot\\__SelectDates__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ fields will be displayed to select a start and end date.\\quot\\)}> Select Dates//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__TableVisible\\quot\\ value=\\quot\\__TableVisible__\\quot\\ type=\\quot\\checkbox\\quot\\ checked {@htmlTooltip(\\quot\\If enabled\\comma\\ the table will be visible.  Turn this off to display a chart by itself\\quot\\)}> Table Visible //crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ChartVisible\\quot\\ value=\\quot\\__ChartVisible__\\quot\\ type=\\quot\\checkbox\\quot\\ checked {@htmlTooltip(\\quot\\If enabled\\comma\\ the chart associated with the table will be displayed.  If disabled\\comma\\ the chart icon must be clicked to display the chart\\quot\\)}> Chart Visible //crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__TableControls\\quot\\ value=\\quot\\__TableControls__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ the table menu will be visible\\quot\\)}> Table Controls//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ExternalFilters\\quot\\ value=\\quot\\__ExternalFilters__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ external filters like date from and to will be visible\\quot\\)}> External Filters//crlf////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__salt__SelectView\\quot\\;//crlf////tab////tab////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Greenlight_UI_View_Extended_Name_by_ID_With_Select\\quot\\;//crlf////tab////tab////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\__SaveToViewID__\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\(Package_ID='Local') and (Container_Item_ID='Process_Embedded_Views')\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Add Embedded View\\quot\\ onClick=\\quot\\addEmbeddedView434618('__salt__')\\quot\\>//crlf////tab////tab////tab////tab////amp//nbsp;//amp//nbsp;<span class='refresh' style=\\quot\\cursor:pointer;\\quot\\ onClick=\\quot\\updateOptions('__salt__SelectView')\\quot\\></span>//crlf////tab////tab////tab//</div>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Defaults//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Defaults//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab//<select onChange=\\quot\\defaultSelected('__salt__'\\comma\\this)\\quot\\>//crlf////tab////tab////tab////tab//<option>-- Select Default --</option>//crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Note: RecordType\\comma\\ YDim\\comma\\ XDim and Measure are recorded as attributes in each option.//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Default: Labor by job code.  YDim - Job Codes\\comma\\ XDim - Stores//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<option //crlf////tab////tab////tab////tab////tab//recordtype=\\quot\\57\\quot\\ //crlf////tab////tab////tab////tab////tab//ydim=\\quot\\Final_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//xdim=\\quot\\Record_Type_Description_Short\\comma\\Store_Index@Final_Store_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//measure=\\quot\\Period_Percent_Of_Net_Sales\\comma\\Amount\\comma\\Period_Net_Sales\\quot\\//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//Labor by job code.  YDim - Job Codes\\comma\\ XDim - Stores//crlf////tab////tab////tab////tab//</option>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Default: Check counts vs last year by store.  YDim - Store\\comma\\ XDim - Check count//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<option //crlf////tab////tab////tab////tab////tab//recordtype=\\quot\\54\\quot\\ //crlf////tab////tab////tab////tab////tab//ydim=\\quot\\Final_Store_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//xdim=\\quot\\Record_Type_Description_Short\\quot\\ //crlf////tab////tab////tab////tab////tab//measure=\\quot\\Change_In_Quantity_From_Last_Year\\comma\\ Percent_Change_In_Quantity_From_Last_Year\\comma\\ Quantity\\comma\\ Quantity_Last_Year\\quot\\//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//Check counts vs last year by store.  YDim - Store\\comma\\ XDim - Check count//crlf////tab////tab////tab////tab//</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab//<div style=\\quot\\margin-right:10px;z-index:2\\quot\\>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Param - Store ID//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Store//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:ExternalDriverParam;//crlf////tab////tab////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ID:\\quot\\__salt__SelectStore\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Param:\\quot\\StoreID=$value$\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\size='5' style='height:150px~0x3B~width:100\\percent\\'\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Selected:\\quot\\__StoreID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Y Dimensions//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Y Dimensions//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\463103\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=YDim//amp//Selected=__YDim__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab//Y Dim: <span ID=\\quot\\__salt__selected_ydim\\quot\\>__YDim__</span>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////tab////tab////tab////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//X Dimensions//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=X Dimensions//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\463103\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=XDim//amp//Selected=__XDim__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab//X Dim: <span ID=\\quot\\__salt__selected_xdim\\quot\\>__XDim__</span>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Measurements//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Measurements//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\463103\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=Measure//amp//Selected=__Measure__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab////tab//Measure: <span ID=\\quot\\__salt__selected_measure\\quot\\>__Measure__</span>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////tab//</conditional>//crlf////crlf////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Filters//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////tab//<conditional expression:not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__DateFromFilter__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Param - DateFrom//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:ExternalDriverParam;//crlf////tab////tab////tab//InputType:\\quot\\Date\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ParamDateFrom\\quot\\;//crlf////tab////tab////tab//Param:\\quot\\DateFrom=$value$\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateFrom__\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__DateToFilter__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Param - DateTo//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:ExternalDriverParam;//crlf////tab////tab////tab//InputType:\\quot\\Date\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ParamDateTo\\quot\\;//crlf////tab////tab////tab//Param:\\quot\\DateTo=$value$\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateTo__\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__DateRangeFilter__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Select Date Range//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:Collection;//crlf////tab////tab////tab//ID:\\quot\\__salt__DateRange\\quot\\;//crlf////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Select_Date_Range\\quot\\;//crlf////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateRange__\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\dateRangeSelected434618('__salt__')\\quot\\\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__ContainsTextFilter__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filter - Contains Text.  This param\\comma\\ like DateFrom and DateTo is not intended //crlf////tab////tab//to be used when defining the view.  It is an external filter that can be made//crlf////tab////tab//available to the user when the actual view is displayed.//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ContainsText\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\(keywordMatch('$value$'\\comma\\Final_Category1+Final_Category2+Final_Category3+Final_Name\\comma\\'\\comma\\'\\comma\\true))\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\Placeholder='Contains text'\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Section header for table//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)) or (\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Output//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Title//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(\\quot\\__Title__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<h1 style=\\quot\\padding:0px 0px 0px 0px;margin:0px 0px 10px 0px\\quot\\>//crlf////tab////tab////tab//<include type:expression; expression:if(defined(\\quot\\__Title__\\quot\\)\\comma\\\\quot\\__Title__\\quot\\\\comma\\lookup(Greenlight_Dimensional_Report_Description_by_ReportID\\comma\\\\quot\\__ReportID__\\quot\\))>//crlf////tab////tab////tab//__DateFrom__ - __DateTo__//crlf////tab////tab//</h1>//crlf////tab//</conditional>//crlf////tab////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Chart//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__Chart\\quot\\ style=\\quot\\width:100\\percent\\;height:350px;display:none\\quot\\></div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This is the standard Dimensional Report Viewer item in the Dimensional Views widget.//crlf////tab////crlf////tab//-//tab//The external filters and params defined in this item are passed to the report viewer//crlf////crlf////tab//-//tab//The report viewer uses the ReportID passed below to determine the dimensional view.//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!!include //crlf////tab////tab//type:view; //crlf////tab////tab//viewid:\\quot\\DpQJE8Yp\\quot\\; //crlf////tab////tab//Source:\\quot\\\\quot\\; //crlf////tab////tab//params:\\quot\\//crlf////tab////tab////tab//Salt=__Salt__//amp////crlf////tab////tab////tab//ReportID=__ReportID__//amp////crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__AddReportID__\\quot\\)>//crlf////tab////tab////tab////tab//AddReportID=__AddReportID__//amp////crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//<conditional expression:false>//crlf////tab////tab////tab//------------------------------------------------------------------------------------------//crlf////tab////tab////tab//It should not be necessary to override the metadata.  It is allowed so that metadata //crlf////tab////tab////tab//can be manually specified in a view to create a new set of displays.  This might happen if //crlf////tab////tab////tab//there are different reports that use the same record type.//crlf////tab////tab////tab//------------------------------------------------------------------------------------------//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__Metadata__\\quot\\)>//crlf////tab////tab////tab////tab//DimParams=XDim=__XDim__~~pipe~~YDim=__YDim__~~pipe~~Measure=__Measure__~~pipe~~RecordType=__Recordtype__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~StoreID=__StoreID__~~pipe~~MetadataOverride=__MetaData__//amp////crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:not(defined(\\quot\\__Metadata__\\quot\\))>//crlf////tab////tab////tab////tab//DimParams=XDim=__XDim__~~pipe~~YDim=__YDim__~~pipe~~Measure=__Measure__~~pipe~~RecordType=__Recordtype__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~StoreID=__StoreID__~~pipe~~MetadataOverride=__ReportID__{@replaceSubstring(\\quot\\__RecordType__\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\_\\quot\\)}//amp////crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//Display=__Display__//amp////crlf////tab////tab////tab//ExternalParams=//crlf////tab////tab////tab////tab//<!conditional expression:(defined(\\quot\\__DatesOnYDim__\\quot\\))>//crlf////tab////tab////tab////tab////tab//__salt__FilterRecordtype\\comma\\//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//__salt__SelectStore\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamMetadata\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectXDim\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectYDim\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectMeasure\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamDateFrom\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamDateTo//amp////crlf////tab////tab////tab//ExternalFilters=//crlf////tab////tab////tab////tab//<!conditional expression:(not(defined(\\quot\\__DatesOnYDim__\\quot\\)))>//crlf////tab////tab////tab////tab////tab//__salt__FilterRecordtype\\comma\\//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//__salt__ContainsText//amp////crlf////tab////tab////tab//MaxRecords=__MaxRecords__//amp////crlf////tab////tab////tab//canEdit=false//amp////crlf////tab////tab////tab//TableControls=__TableControls__//amp////crlf////tab////tab////tab//TableHeader=__TableHeader__//amp////crlf////tab////tab////tab//TableBorder=__TableBorder__//amp////crlf////tab////tab////tab//SelectDisplay=__SelectDisplay__//amp////crlf////tab////tab////tab//EditDisplay=__EditDisplay__//amp////crlf////tab////tab////tab//TableVisible=__TableVisible__//amp////crlf////tab////tab////tab//ChartTitle=__ChartTitle__//amp////crlf////tab////tab////tab//ChartWidth=__ChartWidth__//amp////crlf////tab////tab////tab//ChartHeight=__ChartHeight__//amp////crlf////tab////tab////tab//ChartVisible=__ChartVisible__//amp////crlf////tab////tab////tab//ChartCanClose=__ChartCanClose__//amp////crlf////tab////tab//\\quot\\;//crlf////tab//>//crlf////crlf//</conditional>//crlf////crlf//<conditional expression:not(defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//</conditional>//crlf////crlf//__servertimerresults__//crlf//^
ID=837150|X=151|Y=33|W=1349|H=1429|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//crlf//[!------------------------------------------------------------------------//crlf//List of fields.  This list is used to select the appropriate fields for //crlf//the X\\comma\\ Y and Measure fields.  Check Details also has record types\\comma\\ similar //crlf//to the sales export//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:undefined(\\quot\\__Axis__\\quot\\)>//crlf////tab//<h1>Record Types</h1>//crlf////tab//<include type:expression; expression:htmlTable(getCollection(POS_Generic_Check_Detail_Record_Types_Sorted)\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\=\\quot\\)>//crlf////crlf////tab//<h1>POS_Generic_Check_Detail - All Fields</h1>//crlf////tab//<include type:expression; expression:htmlTable(getCollection(StructureFields2\\comma\\POS_Generic_Check_Detail)\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\=\\quot\\)>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//This item is used to get the select box for x\\comma\\ y and measure dimensions.  It is //crlf//hardwired rather than using a collection in order specify which fields will //crlf//be included.//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:defined(\\quot\\__axis__\\quot\\)>//crlf////tab//<select ID=\\quot\\__salt__Select__Axis__\\quot\\ multiple onChange=\\quot\\__axis__Selected('__salt__'\\comma\\this)\\quot\\ style=\\quot\\height:150px;width:100\\percent\\\\quot\\ Param=\\quot\\__Axis__=$value$\\quot\\>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Measure//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\Measure\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Amount\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Amount\\quot\\>Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Aspect6_DiskIndex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Aspect6_DiskIndex\\quot\\>Aspect6_DiskIndex</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Business_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Business_Date\\quot\\>Business Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CalcCheckHeaderFilename\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CalcCheckHeaderFilename\\quot\\>Calc CheckHeader Filename</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CalcStoreID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CalcStoreID\\quot\\>CalcStoreID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Category\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Category\\quot\\>Category (not used?)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Category_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Category_ID\\quot\\>Category ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CategoryName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CategoryName\\quot\\>Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CheckNumber\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CheckNumber\\quot\\>Check Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Check_Time_Close\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Check_Time_Close\\quot\\>Check Time Close</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Check_Time_Close_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Check_Time_Close_Text\\quot\\>Check Time Close Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Check_Time_Open\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Check_Time_Open\\quot\\>Check Time Open</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Check_Time_Open_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Check_Time_Open_Text\\quot\\>Check Time Open Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Comp_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Comp_Name\\quot\\>Comp Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Comps\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Comps\\quot\\>Comps</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Department\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Department\\quot\\>Department (not used?)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Department_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Department_ID\\quot\\>Department ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Department_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Department_Name\\quot\\>Department Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Discount_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Discount_Name\\quot\\>Discount Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Discounts\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Discounts\\quot\\>Discounts</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\DiskIndex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\DiskIndex\\quot\\>DiskIndex</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee\\quot\\>Employee</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Close_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Close_Name\\quot\\>Employee Close Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Close_POS_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Close_POS_ID\\quot\\>Employee Close POS ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Name\\quot\\>Employee Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Open_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Open_Name\\quot\\>Employee Open Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Open_POS_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Open_POS_ID\\quot\\>Employee Open POS ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Filename\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Filename\\quot\\>Filename</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date_And_Hour\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date_And_Hour\\quot\\>Date/Hour</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Hour\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Hour\\quot\\>Hour</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Hour_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Hour_Text\\quot\\>Hour (Text)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID_For_Daily_Sales_Summary\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID_For_Daily_Sales_Summary\\quot\\>ID For Daily Sales Summary</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Id1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Id1\\quot\\>Id1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Id2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Id2\\quot\\>Id2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_Cash_Tender\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_Cash_Tender\\quot\\>Is Cash Tender</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_NonCash_Tender\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_NonCash_Tender\\quot\\>Is Non-Cash Tender</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Line\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Line\\quot\\>Line</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryName\\quot\\>Lookup Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Department_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Department_Name\\quot\\>Lookup Department Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Tender_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Tender_Type\\quot\\>Lookup Tender Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Time_Period_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Time_Period_Name\\quot\\>Lookup Time Period</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Menu_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Menu_Item_Name\\quot\\>Menu Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Menuitem\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Menuitem\\quot\\>Menuitem (not used?)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\MenuItemID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\MenuItemID\\quot\\>MenuItemID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Minute1440\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Minute1440\\quot\\>Minute1440</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\NetSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\NetSales\\quot\\>Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\POS_ID_For_Record_Types_64_67\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\POS_ID_For_Record_Types_64_67\\quot\\>POS ID For Record Types 64 - 67</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity\\quot\\>Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Rectype\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Rectype\\quot\\>Record Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Description\\quot\\>Record Type Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Net_Sales_By_Hour\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Net_Sales_By_Hour\\quot\\>Record Type Net Sales By Hour</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Net_Sales_By_Time_Period\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Net_Sales_By_Time_Period\\quot\\>Record Type Net Sales By Time Period</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Total_Sales_By_Hour\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Total_Sales_By_Hour\\quot\\>Record Type Total Sales By Hour</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Total_Sales_By_Time_Period\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Total_Sales_By_Time_Period\\quot\\>Record Type Total Sales By Time Period</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\RecType_Merge_Comp_By_Category\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\RecType_Merge_Comp_By_Category\\quot\\>RecType - Merge Comp By Category</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\RecType_Merge_Comp_By_Department\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\RecType_Merge_Comp_By_Department\\quot\\>RecType - Merge Comp By Department</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Revenue_Center_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Revenue_Center_Name\\quot\\>Revenue Center Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Check_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Check_Number\\quot\\>Section Header - Check Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Hour\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Hour\\quot\\>Section Header - Hour</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Menu_Item\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Menu_Item\\quot\\>Section Header - Menu Item</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Record_Type\\quot\\>Section Header - Record Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Store_Name\\quot\\>Section Header - Store Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SrcIndex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SrcIndex\\quot\\>SrcIndex</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Code\\quot\\>Store Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_ID\\quot\\>Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Name\\quot\\>Store Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_Level\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_Level\\quot\\>Subtotal Level</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tax\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tax\\quot\\>Tax</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tax_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tax_Name\\quot\\>Tax Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tender\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tender\\quot\\>Tender</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tender_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tender_Name\\quot\\>Tender Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Time\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Time\\quot\\>Time</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Time_Period_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Time_Period_Name\\quot\\>Time Period</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Time_Period_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Time_Period_ID\\quot\\>Time Period ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Time_Period_Start_Minute\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Time_Period_Start_Minute\\quot\\>Time Period Start Minute</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\TotalSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\TotalSales\\quot\\>Total Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unused\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unused\\quot\\>Unused</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Used\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Used\\quot\\>Used</option>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//YDim//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\YDim\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Amount\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Amount\\quot\\>Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Aspect6_DiskIndex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Aspect6_DiskIndex\\quot\\>Aspect6_DiskIndex</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Business_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Business_Date\\quot\\>Business Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CalcCheckHeaderFilename\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CalcCheckHeaderFilename\\quot\\>Calc CheckHeader Filename</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CalcStoreID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CalcStoreID\\quot\\>CalcStoreID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Category\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Category\\quot\\>Category (not used?)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Category_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Category_ID\\quot\\>Category ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CategoryName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CategoryName\\quot\\>Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CheckNumber\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CheckNumber\\quot\\>Check Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Check_Time_Close\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Check_Time_Close\\quot\\>Check Time Close</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Check_Time_Close_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Check_Time_Close_Text\\quot\\>Check Time Close Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Check_Time_Open\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Check_Time_Open\\quot\\>Check Time Open</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Check_Time_Open_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Check_Time_Open_Text\\quot\\>Check Time Open Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Comp_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Comp_Name\\quot\\>Comp Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Comps\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Comps\\quot\\>Comps</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Department\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Department\\quot\\>Department (not used?)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Department_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Department_ID\\quot\\>Department ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Department_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Department_Name\\quot\\>Department Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Discount_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Discount_Name\\quot\\>Discount Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Discounts\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Discounts\\quot\\>Discounts</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\DiskIndex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\DiskIndex\\quot\\>DiskIndex</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee\\quot\\>Employee</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Close_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Close_Name\\quot\\>Employee Close Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Close_POS_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Close_POS_ID\\quot\\>Employee Close POS ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Name\\quot\\>Employee Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Open_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Open_Name\\quot\\>Employee Open Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Open_POS_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Open_POS_ID\\quot\\>Employee Open POS ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Filename\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Filename\\quot\\>Filename</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date_And_Hour\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date_And_Hour\\quot\\>Date/Hour</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Hour\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Hour\\quot\\>Hour</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Hour_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Hour_Text\\quot\\>Hour (Text)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID_For_Daily_Sales_Summary\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID_For_Daily_Sales_Summary\\quot\\>ID For Daily Sales Summary</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Id1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Id1\\quot\\>Id1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Id2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Id2\\quot\\>Id2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_Cash_Tender\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_Cash_Tender\\quot\\>Is Cash Tender</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_NonCash_Tender\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_NonCash_Tender\\quot\\>Is Non-Cash Tender</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Line\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Line\\quot\\>Line</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryName\\quot\\>Lookup Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Department_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Department_Name\\quot\\>Lookup Department Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Tender_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Tender_Type\\quot\\>Lookup Tender Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Time_Period_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Time_Period_Name\\quot\\>Lookup Time Period</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Menu_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Menu_Item_Name\\quot\\>Menu Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Menuitem\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Menuitem\\quot\\>Menuitem (not used?)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\MenuItemID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\MenuItemID\\quot\\>MenuItemID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Minute1440\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Minute1440\\quot\\>Minute1440</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\NetSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\NetSales\\quot\\>Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\POS_ID_For_Record_Types_64_67\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\POS_ID_For_Record_Types_64_67\\quot\\>POS ID For Record Types 64 - 67</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity\\quot\\>Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Rectype\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Rectype\\quot\\>Record Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Description\\quot\\>Record Type Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Net_Sales_By_Hour\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Net_Sales_By_Hour\\quot\\>Record Type Net Sales By Hour</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Net_Sales_By_Time_Period\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Net_Sales_By_Time_Period\\quot\\>Record Type Net Sales By Time Period</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Total_Sales_By_Hour\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Total_Sales_By_Hour\\quot\\>Record Type Total Sales By Hour</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Total_Sales_By_Time_Period\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Total_Sales_By_Time_Period\\quot\\>Record Type Total Sales By Time Period</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\RecType_Merge_Comp_By_Category\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\RecType_Merge_Comp_By_Category\\quot\\>RecType - Merge Comp By Category</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\RecType_Merge_Comp_By_Department\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\RecType_Merge_Comp_By_Department\\quot\\>RecType - Merge Comp By Department</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Revenue_Center_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Revenue_Center_Name\\quot\\>Revenue Center Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Check_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Check_Number\\quot\\>Section Header - Check Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Hour\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Hour\\quot\\>Section Header - Hour</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Menu_Item\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Menu_Item\\quot\\>Section Header - Menu Item</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Record_Type\\quot\\>Section Header - Record Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Store_Name\\quot\\>Section Header - Store Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SrcIndex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SrcIndex\\quot\\>SrcIndex</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Code\\quot\\>Store Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_ID\\quot\\>Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Name\\quot\\>Store Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_Level\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_Level\\quot\\>Subtotal Level</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tax\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tax\\quot\\>Tax</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tax_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tax_Name\\quot\\>Tax Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tender\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tender\\quot\\>Tender</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tender_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tender_Name\\quot\\>Tender Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Time\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Time\\quot\\>Time</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Time_Period_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Time_Period_Name\\quot\\>Time Period</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Time_Period_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Time_Period_ID\\quot\\>Time Period ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Time_Period_Start_Minute\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Time_Period_Start_Minute\\quot\\>Time Period Start Minute</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\TotalSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\TotalSales\\quot\\>Total Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unused\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unused\\quot\\>Unused</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Used\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Used\\quot\\>Used</option>//crlf////tab////tab////tab//<option></option>//crlf////tab////tab////tab//<option>=====Date Fields=====</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date_Text\\quot\\>Date Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Description\\quot\\>Day Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_End\\quot\\>Day End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index\\quot\\>Day Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Start\\quot\\>Day Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month\\quot\\>Month</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Description\\quot\\>Month Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_End\\quot\\>Month End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index\\quot\\>Month Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Start\\quot\\>Month Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter\\quot\\>Quarter</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Description\\quot\\>Quarter Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_End\\quot\\>Quarter End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index\\quot\\>Quarter Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Start\\quot\\>Quarter Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Description\\quot\\>Week Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_End\\quot\\>Week End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index\\quot\\>Week Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Of_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Of_Year\\quot\\>Week Of Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Start\\quot\\>Week Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year\\quot\\>Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Description\\quot\\>Year Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_End\\quot\\>Year End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index\\quot\\>Year Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Start\\quot\\>Year Start</option>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//XDim//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\XDim\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Amount\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Amount\\quot\\>Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Aspect6_DiskIndex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Aspect6_DiskIndex\\quot\\>Aspect6_DiskIndex</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Business_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Business_Date\\quot\\>Business Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CalcCheckHeaderFilename\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CalcCheckHeaderFilename\\quot\\>Calc CheckHeader Filename</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CalcStoreID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CalcStoreID\\quot\\>CalcStoreID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Category\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Category\\quot\\>Category (not used?)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Category_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Category_ID\\quot\\>Category ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CategoryName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CategoryName\\quot\\>Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CheckNumber\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CheckNumber\\quot\\>Check Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Check_Time_Close\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Check_Time_Close\\quot\\>Check Time Close</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Check_Time_Close_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Check_Time_Close_Text\\quot\\>Check Time Close Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Check_Time_Open\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Check_Time_Open\\quot\\>Check Time Open</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Check_Time_Open_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Check_Time_Open_Text\\quot\\>Check Time Open Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Comp_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Comp_Name\\quot\\>Comp Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Comps\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Comps\\quot\\>Comps</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Department\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Department\\quot\\>Department (not used?)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Department_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Department_ID\\quot\\>Department ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Department_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Department_Name\\quot\\>Department Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Discount_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Discount_Name\\quot\\>Discount Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Discounts\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Discounts\\quot\\>Discounts</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\DiskIndex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\DiskIndex\\quot\\>DiskIndex</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee\\quot\\>Employee</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Close_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Close_Name\\quot\\>Employee Close Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Close_POS_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Close_POS_ID\\quot\\>Employee Close POS ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Name\\quot\\>Employee Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Open_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Open_Name\\quot\\>Employee Open Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Open_POS_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Open_POS_ID\\quot\\>Employee Open POS ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Filename\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Filename\\quot\\>Filename</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date_And_Hour\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date_And_Hour\\quot\\>Date/Hour</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Hour\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Hour\\quot\\>Hour</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Hour_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Hour_Text\\quot\\>Hour (Text)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID_For_Daily_Sales_Summary\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID_For_Daily_Sales_Summary\\quot\\>ID For Daily Sales Summary</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Id1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Id1\\quot\\>Id1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Id2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Id2\\quot\\>Id2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_Cash_Tender\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_Cash_Tender\\quot\\>Is Cash Tender</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_NonCash_Tender\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_NonCash_Tender\\quot\\>Is Non-Cash Tender</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Line\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Line\\quot\\>Line</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_CategoryName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_CategoryName\\quot\\>Lookup Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Department_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Department_Name\\quot\\>Lookup Department Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Tender_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Tender_Type\\quot\\>Lookup Tender Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Time_Period_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Time_Period_Name\\quot\\>Lookup Time Period</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Menu_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Menu_Item_Name\\quot\\>Menu Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Menuitem\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Menuitem\\quot\\>Menuitem (not used?)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\MenuItemID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\MenuItemID\\quot\\>MenuItemID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Minute1440\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Minute1440\\quot\\>Minute1440</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\NetSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\NetSales\\quot\\>Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\POS_ID_For_Record_Types_64_67\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\POS_ID_For_Record_Types_64_67\\quot\\>POS ID For Record Types 64 - 67</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity\\quot\\>Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Rectype\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Rectype\\quot\\>Record Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Description\\quot\\>Record Type Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Net_Sales_By_Hour\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Net_Sales_By_Hour\\quot\\>Record Type Net Sales By Hour</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Net_Sales_By_Time_Period\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Net_Sales_By_Time_Period\\quot\\>Record Type Net Sales By Time Period</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Total_Sales_By_Hour\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Total_Sales_By_Hour\\quot\\>Record Type Total Sales By Hour</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Type_Total_Sales_By_Time_Period\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Type_Total_Sales_By_Time_Period\\quot\\>Record Type Total Sales By Time Period</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\RecType_Merge_Comp_By_Category\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\RecType_Merge_Comp_By_Category\\quot\\>RecType - Merge Comp By Category</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\RecType_Merge_Comp_By_Department\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\RecType_Merge_Comp_By_Department\\quot\\>RecType - Merge Comp By Department</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Revenue_Center_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Revenue_Center_Name\\quot\\>Revenue Center Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Check_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Check_Number\\quot\\>Section Header - Check Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Hour\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Hour\\quot\\>Section Header - Hour</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Menu_Item\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Menu_Item\\quot\\>Section Header - Menu Item</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Record_Type\\quot\\>Section Header - Record Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_Store_Name\\quot\\>Section Header - Store Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SrcIndex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SrcIndex\\quot\\>SrcIndex</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Code\\quot\\>Store Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_ID\\quot\\>Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Name\\quot\\>Store Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Subtotal_Level\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Subtotal_Level\\quot\\>Subtotal Level</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tax\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tax\\quot\\>Tax</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tax_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tax_Name\\quot\\>Tax Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tender\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tender\\quot\\>Tender</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tender_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tender_Name\\quot\\>Tender Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Time\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Time\\quot\\>Time</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Time_Period_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Time_Period_Name\\quot\\>Time Period</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Time_Period_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Time_Period_ID\\quot\\>Time Period ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Time_Period_Start_Minute\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Time_Period_Start_Minute\\quot\\>Time Period Start Minute</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\TotalSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\TotalSales\\quot\\>Total Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unused\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unused\\quot\\>Unused</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Used\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Used\\quot\\>Used</option>//crlf////tab////tab////tab//<option></option>//crlf////tab////tab////tab//<option>=====Date Fields=====</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date_Text\\quot\\>Date Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Start\\quot\\>Day Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_End\\quot\\>Day End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Description\\quot\\>Day Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index\\quot\\>Day Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_End\\quot\\>Day Index@Day_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_Start\\quot\\>Day Index@Day_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_Description\\quot\\>Day Index@Day_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Description\\quot\\>Month Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index\\quot\\>Month Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_End\\quot\\>Month Index@Month_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_Start\\quot\\>Month Index@Month_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_Description\\quot\\>Month Index@Month_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter\\quot\\>Quarter</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Start\\quot\\>Quarter Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_End\\quot\\>Quarter End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Description\\quot\\>Quarter Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index\\quot\\>Quarter Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_Start\\quot\\>Quarter Index@Quarter_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_End\\quot\\>Quarter Index@Quarter_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_Description\\quot\\>Quarter Index@Quarter_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Start\\quot\\>Week Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_End\\quot\\>Week End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Description\\quot\\>Week Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index\\quot\\>Week Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_Start\\quot\\>Week Index@Week_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_End\\quot\\>Week Index@Week_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_Description\\quot\\>Week Index@Week_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Of_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Of_Year\\quot\\>Week Of Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year\\quot\\>Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Description\\quot\\>Year Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Start\\quot\\>Year Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_End\\quot\\>Year End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index\\quot\\>Year Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_Start\\quot\\>Year Index@Year_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_End\\quot\\>Year Index@Year_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_Description\\quot\\>Year Index@Year_Description</option>//crlf////tab////tab//</conditional>//crlf////crlf////tab//</select>//crlf//</conditional>//crlf//^
ID=434618|X=151|Y=33|W=1349|H=1429|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false -->//crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//--------------------------------------------------------------------------]//crlf//<_include type:expression; expression:htmlConstant(\\quot\\ReportID\\quot\\\\comma\\\\quot\\__ReportID__\\quot\\\\comma\\\\quot\\hLXPB4So\\quot\\)>//crlf//<_include type:expression; expression:htmlConstant(\\quot\\DatesOnYDim\\quot\\\\comma\\\\quot\\__DatesOnYDim__\\quot\\\\comma\\true)>//crlf////crlf//[!------------------------------------------------------------------------//crlf//This item is a wrapper for the consolidated sales export//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:not(defined(\\quot\\__ReportID__\\quot\\))>//crlf////tab//Error: Missing ReportID//crlf//</conditional>//crlf////crlf//<conditional expression:(defined(\\quot\\__ReportID__\\quot\\))>//crlf////crlf////tab//<script ID=\\quot\\JS434618\\quot\\>//crlf////tab////tab//function addEmbeddedView434618(salt\\comma\\s) {//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////get selected view//crlf////tab////tab////tab////tab//var sViewID=document.getElementById(salt+\\quot\\SelectView\\quot\\).value;//crlf////tab////tab////tab////tab//if(sViewID==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: No view selected.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab////get date range//crlf////tab////tab////tab////tab//var sDateRange=document.getElementById(salt+\\quot\\DateRange\\quot\\).value;//crlf////tab////tab////tab////tab//if(sDateRange==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: No date range selected.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=Adding embedded view...//amp//icon=true\\quot\\);//crlf////crlf////tab////tab////tab////tab//var eTable=document.getElementById(salt);//crlf////tab////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////tab////tab//var eDisplay=document.getElementById(\\quot\\SelectDisplay1\\quot\\+salt);//crlf////tab////tab////tab////tab//var sDisplay=eDisplay.options[eDisplay.selectedIndex].text;//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Local: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Company: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Aspect: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////tab////get record type//crlf////tab////tab////tab////tab//var sRecordType=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt+\\quot\\FilterRecordtype\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sRecordType.length>0) sRecordType+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sRecordType+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////crlf////tab////tab////tab////tab////get selected X dimensions//crlf////tab////tab////tab////tab//var sXDim=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectXDim\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sXDim.length>0) sXDim+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sXDim+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////tab////crlf////tab////tab////tab////tab////get selected Y dimensions//crlf////tab////tab////tab////tab//var sYDim=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectYDim\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sYDim.length>0) sYDim+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sYDim+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////tab////tab////tab////tab//var sYDim=document.getElementById(salt+\\quot\\selected_ydim\\quot\\).value;//crlf////tab////crlf////tab////tab////tab////tab////get selected Y dimensions//crlf////tab////tab////tab////tab//var sMeasure=\\quot\\\\quot\\; //crlf////tab////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectMeasure\\quot\\);//crlf////tab////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab////tab//if(sMeasure.length>0) sMeasure+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//sMeasure+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//}; //crlf////tab////crlf////tab////tab////tab////tab//var sParamsActive=eTable.getAttribute(\\quot\\Aspectparamsactive\\quot\\);//crlf////crlf////tab////tab////tab////tab///********************************************************************************************//crlf////tab////tab////tab////tab//Note: The ContainsText field is not used when creating the view.  It only serves as an //crlf////tab////tab////tab////tab//external filter when the report is displayed.//crlf////tab////tab////tab////tab//********************************************************************************************///crlf////tab////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Widget=View Factory//amp//ContainerItemID=Action_List//amp//Action=addEmbeddedView434618//amp//ActionExec=true\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ViewID=\\quot\\+sViewID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//FactoryViewID=niLntmV7\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ReportID=__ReportID__\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//SelectedHashID=__SelectedHashID__\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Metadata=\\quot\\+eTable.getAttribute(\\quot\\Aspectdisplay_metadata\\quot\\);//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Display=\\quot\\+sDisplay;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//DateRange=\\quot\\+sDateRange;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Recordtype=\\quot\\+sRecordType;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//BaseFilter=\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ExternalFilters=\\quot\\+document.getElementById(salt+\\quot\\ExternalFilters\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//XDim=\\quot\\+sXDim;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//YDim=\\quot\\+sYDim;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Measure=\\quot\\+sMeasure;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ViewName=\\quot\\+document.getElementById(salt+\\quot\\ViewName\\quot\\).value;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//TableVisible=\\quot\\+document.getElementById(salt+\\quot\\TableVisible\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//TableControls=\\quot\\+document.getElementById(salt+\\quot\\TableControls\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ChartVisible=\\quot\\+document.getElementById(salt+\\quot\\TableVisible\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//ChartTitle=\\quot\\+document.getElementById(salt+\\quot\\ChartTitle\\quot\\).value;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//SelectDates=\\quot\\+document.getElementById(salt+\\quot\\SelectDates\\quot\\).checked;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//MaxRecords=\\quot\\+document.getElementById(salt+\\quot\\MaxRecords\\quot\\).value;//crlf////crlf////tab////tab////tab////tab//sFunc=\\quot\\addEmbeddedView434618(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function dateRangeSelected434618(salt\\comma\\s)//crlf////tab////tab//{//crlf////tab////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab////tab////showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//ar=getSubStringArray(s\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab////tab////tab//document.getElementById(salt+\\quot\\ParamDateFrom\\quot\\).value=ar[0];//crlf////tab////tab////tab////tab////tab//document.getElementById(salt+\\quot\\ParamDateTo\\quot\\).value=ar[1];//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//var eTable=document.getElementById(salt);//crlf////tab////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Widget=View Factory//amp//ContainerItemID=sensor_list//amp//Sensor=getDefaultBackOfficeDateRange//amp//SensorExec=true\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//DateRange=\\quot\\+document.getElementById(salt+\\quot\\DateRange\\quot\\).value;//crlf////tab////tab////tab////tab//sFunc=\\quot\\dateRangeSelected434618(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab///***********************************************************************************//crlf////tab////tab//This function updates the hidden input containing the external param for the display//crlf////tab////tab//metadata.  The metadata is composed of the RepotrID and the selected record types//crlf////tab////tab//***********************************************************************************///crlf////tab////tab//function recordTypeSelected(salt\\comma\\ReportID) {//crlf////tab////tab////tab//console.log(\\quot\\record type selected\\quot\\);//crlf////crlf////tab////tab////tab////get record type//crlf////tab////tab////tab//var sRecordType=\\quot\\\\quot\\; //crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\FilterRecordtype\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(sRecordType.length>0) sRecordType+=\\quot\\_\\quot\\; //crlf////tab////tab////tab////tab////tab//sRecordType+=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//var s=replaceAllSubstrings(sRecordType\\comma\\\\quot\\_\\quot\\\\comma\\\\quot\\\\comma\\ \\quot\\);//crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_record_types\\quot\\).value=sRecordType;//crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\ParamMetadata\\quot\\).value=ReportID+sRecordType;//crlf////tab////tab////tab//refreshTable(salt\\comma\\'refresh'\\comma\\''\\comma\\true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function XDimSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_xdim\\quot\\).value=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function YDimSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_ydim\\quot\\).value=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function MeasureSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\ \\quot\\; //crlf////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_measure\\quot\\).value=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function defaultSelected(salt\\comma\\e) {//crlf////tab////tab////tab//var Index=e.selectedIndex;//crlf////tab////tab////tab//var sRecordType=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\recordtype\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab//var sYDim=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\ydim\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab//var sXDim=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\xdim\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab//var sMeasure=replaceAllSubstrings(e.options[e.selectedIndex].getAttribute(\\quot\\measure\\quot\\)\\comma\\\\quot\\\\comma\\ \\quot\\\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////crlf////tab////tab////tab////console.log(\\quot\\sRecordType=\\quot\\+sRecordType);//crlf////tab////tab////tab////console.log(\\quot\\sYDim=\\quot\\+sYDim);//crlf////tab////tab////tab////console.log(\\quot\\sXDim=\\quot\\+sXDim);//crlf////tab////tab////tab////console.log(\\quot\\sMeasure=\\quot\\+sMeasure);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectYDim\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\+sYDim+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//YDimSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectXDim\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\+sXDim+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//XDimSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectMeasure\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) {//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\+sMeasure+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//MeasureSelected(salt\\comma\\e);//crlf////crlf////tab////tab////tab////update the record type last because recordTypeSelected() refreshes the table//crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\FilterRecordtype\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) {//crlf////tab////tab////tab////tab//console.log(\\quot\\s1=\\quot\\+\\quot\\\\comma\\\\quot\\+sRecordType+\\quot\\\\comma\\\\quot\\+\\quot\\ s2=\\quot\\+\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\+\\quot\\ Index=\\quot\\+(\\quot\\\\comma\\\\quot\\+sRecordType+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\))//crlf////tab////tab////tab////tab//e.options[i].selected=(\\quot\\\\comma\\\\quot\\+sRecordType+\\quot\\\\comma\\\\quot\\).indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value+\\quot\\\\comma\\\\quot\\)>=0;//crlf////tab////tab////tab//};//crlf////tab////tab////tab//recordTypeSelected(salt\\comma\\e.getAttribute(\\quot\\ReportID\\quot\\));//crlf////tab////tab//};//crlf////tab//</script>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Include stylesheet//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\style\\quot\\\\comma\\\\quot\\__style__\\quot\\\\comma\\\\quot\\default\\quot\\)>//crlf////tab//<!include type:widget; //crlf////tab////tab//server:{AspectHashID}; //crlf////tab////tab//secure:true; //crlf////tab////tab//documentID:\\quot\\VWaUGu88BMN0hDYWzZj57VpG\\quot\\; //crlf////tab////tab//widget:\\quot\\Daily Sales Export\\quot\\; //crlf////tab////tab//containerItemID:\\quot\\515261\\quot\\; //crlf////tab////tab//params:\\quot\\style=__style__\\quot\\;>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Defaults//crlf////tab//< include type:expression; expression:htmlConstant(\\quot\\SelectedHashID\\quot\\\\comma\\\\quot\\__SelectedHashID__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\))>//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\SaveToName\\quot\\\\comma\\\\quot\\__SaveToName__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\display\\quot\\\\comma\\\\quot\\__display__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\DateRange\\quot\\\\comma\\\\quot\\__DateRange__\\quot\\\\comma\\\\quot\\LastFullWeek\\quot\\)>//crlf////tab//<_include type:expression; expression:htmlConstant(\\quot\\RecordType\\quot\\\\comma\\\\quot\\__RecordType__\\quot\\\\comma\\\\quot\\40\\comma\\64\\comma\\66\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\YDim\\quot\\\\comma\\\\quot\\__YDim__\\quot\\\\comma\\\\quot\\Date\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\XDim\\quot\\\\comma\\\\quot\\__XDim__\\quot\\\\comma\\\\quot\\Record_Type_Description_Short\\comma\\Final_Name\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Measure\\quot\\\\comma\\\\quot\\__Measure__\\quot\\\\comma\\\\quot\\Amount\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableControls\\quot\\\\comma\\\\quot\\__TableControls__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableHeader\\quot\\\\comma\\\\quot\\__TableHeader__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableBorder\\quot\\\\comma\\\\quot\\__TableBorder__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\SelectDisplay\\quot\\\\comma\\\\quot\\__SelectDisplay__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\EditDisplay\\quot\\\\comma\\\\quot\\__EditDisplay__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\TableVisible\\quot\\\\comma\\\\quot\\__TableVisible__\\quot\\\\comma\\true)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartTitle\\quot\\\\comma\\\\quot\\__ChartTitle__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartWidth\\quot\\\\comma\\\\quot\\__ChartWidth__\\quot\\\\comma\\\\quot\\100\\percent\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartHeight\\quot\\\\comma\\\\quot\\__ChartHeight__\\quot\\\\comma\\\\quot\\500px\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartVisible\\quot\\\\comma\\\\quot\\__ChartVisible__\\quot\\\\comma\\false)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartCanClose\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\false)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\MaxRecords\\quot\\\\comma\\\\quot\\__MaxRecords__\\quot\\\\comma\\250)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Set DateFrom and DateTo//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//if((not(defined(\\quot\\__DateFrom__\\quot\\))) and (not(defined(\\quot\\__DateTo__\\quot\\))))//crlf////tab////tab////tab////iDateRange=max(1\\comma\\if(defined(\\quot\\__DateRange__\\quot\\)\\comma\\__DateRange__\\comma\\1))//crlf////tab////tab////tab//s=if(defined(\\quot\\__DateRange__\\quot\\)\\comma\\__DateRange__\\comma\\\\quot\\LastFullWeek\\quot\\)//crlf////tab////tab////tab//sDateRange=getSensorValue(getDefaultBackOfficeDateRange\\comma\\\\quot\\DateRange=\\quot\\+s)//crlf////tab////tab////tab//s=htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getElement(sDateRange\\comma\\0))//crlf////tab////tab////tab//s=s+htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getElement(sDateRange\\comma\\1))//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Get HashID's if not defined//crlf////tab//This needs to execute early in order to initialize the multiple-select box//crlf////tab//containing the store names//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:script; commands:\\quot\\//crlf////tab////tab//if((undefined(\\quot\\__SelectedHashID__\\quot\\)) or (len(trim(\\quot\\__SelectedHashID__\\quot\\))=0))//crlf////tab////tab////tab////if opening the view factory\\comma\\ only include the local HashID.  This is to allow the //crlf////tab////tab////tab////view to open more quickly.//crlf////tab////tab////tab//if((boolean(getSystemValue(DevelopmentMode))) and (not(defined(\\quot\\__Factory__\\quot\\))) or (boolean(\\quot\\__Factory__\\quot\\)))//crlf////tab////tab////tab////tab//return(htmlConstant(SelectedHashID\\comma\\\\quot\\__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\)))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////AllHashID is set to true by a user interface param when the view is opened//crlf////tab////tab////tab//if(\\quot\\__AllHashID__\\quot\\=\\quot\\true\\quot\\) //crlf////tab////tab////tab////tab//arSelectedHashID=getCollection(POS_Generic_Available_Consolidated_HashID\\comma\\true\\comma\\\\quot\\coll=AvailableConsolidatedData\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\keys\\quot\\)//crlf////tab////tab////tab////tab//return(htmlConstant(SelectedHashID\\comma\\\\quot\\__\\quot\\\\comma\\arSelectedHashID))//crlf////tab////tab////tab//elseif(\\quot\\__AllHashID__\\quot\\=\\quot\\false\\quot\\) //crlf////tab////tab////tab////tab//return(htmlConstant(SelectedHashID\\comma\\\\quot\\__\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\)))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////If the AllHashID param is not defined\\comma\\ include all HashID's //crlf////tab////tab////tab//arSelectedHashID=getCollection(POS_Generic_Available_Consolidated_HashID\\comma\\true\\comma\\\\quot\\coll=AvailableConsolidatedData\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\keys\\quot\\)//crlf////tab////tab////tab//return(htmlConstant(SelectedHashID\\comma\\\\quot\\__\\quot\\\\comma\\arSelectedHashID)))//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Debugging.  Set Debug=true in the embedded view params to enable//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(\\quot\\__Debug__\\quot\\=true)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Debugging//amp//Selected=false//amp//CanCollapse=true\\quot\\;>//crlf////tab////tab////tab//<table>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<th align='left'>Params</th>//crlf////tab////tab////tab////tab////tab//<th align='left'>Page Args</th>//crlf////tab////tab////tab////tab//</tr>//tab////tab////tab////tab////crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<table>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DatesOnYDim</td><td>__DatesOnYDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>ReportID</td><td>__ReportID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>AddReportID</td><td>__AddReportID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>RecordType</td><td>__RecordType__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>YDim</td><td>__YDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>XDim</td><td>__XDim__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>Measure</td><td>__Measure__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateRange</td><td>__DateRange__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateFrom</td><td>__DateFrom__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>DateTo</td><td>__DateTo__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>Date</td><td>__Date__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>SelectedHashID</td><td>__SelectedHashID__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableVisible</td><td>__TableVisible__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>ChartVisible</td><td>__ChartVisible__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableControls</td><td>__TableControls__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableHeader</td><td>__TableHeader__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>TableBorder</td><td>__TableBorder__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>SelectDisplay</td><td>__SelectDisplay__</td></tr>//crlf////tab////tab////tab////tab////tab////tab////tab//<tr><td>EditDisplay</td><td>__EditDisplay__</td></tr>//crlf////tab////tab////tab////tab////tab////tab//</table>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab////tab//<td>//crlf////tab////tab////tab////tab////tab////tab//<include type:expression; expression:htmlTable(\\quot\\__PageArgs__\\quot\\\\comma\\\\quot\\~\\quot\\\\comma\\\\quot\\=\\quot\\)>//crlf////tab////tab////tab////tab////tab//</td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Save To View//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Save To View//amp//Selected=true//amp//CanCollapse=true\\quot\\;>//crlf////tab////tab////tab//<div>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ViewName\\quot\\ value=\\quot\\__SaveToName__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:300px\\quot\\ placeholder=\\quot\\View Name\\quot\\ {@htmlTooltip(\\quot\\View Name.  This is the name used for the embedded view.  It is also used as the chart title if no chart title is specified.\\quot\\)}>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ChartTitle\\quot\\ value=\\quot\\__ChartTitle__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:300px\\quot\\ placeholder=\\quot\\Chart Title\\quot\\ {@htmlTooltip(\\quot\\Chart Title.  The view name will be used if no title is specified.\\quot\\)}>//crlf////tab////tab////tab////tab//Records <input ID=\\quot\\__salt__MaxRecords\\quot\\ value=\\quot\\__MaxRecords__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:50px\\quot\\ {@htmlTooltip(\\quot\\Maximum number of records to be displayed\\quot\\)}>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__SelectDates\\quot\\ value=\\quot\\__SelectDates__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ fields will be displayed to select a start and end date.\\quot\\)}> Select Dates//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__TableVisible\\quot\\ value=\\quot\\__TableVisible__\\quot\\ type=\\quot\\checkbox\\quot\\ checked {@htmlTooltip(\\quot\\If enabled\\comma\\ the table will be visible.  Turn this off to display a chart by itself\\quot\\)}> Table Visible //crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ChartVisible\\quot\\ value=\\quot\\__ChartVisible__\\quot\\ type=\\quot\\checkbox\\quot\\ checked {@htmlTooltip(\\quot\\If enabled\\comma\\ the chart associated with the table will be displayed.  If disabled\\comma\\ the chart icon must be clicked to display the chart\\quot\\)}> Chart Visible //crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__TableControls\\quot\\ value=\\quot\\__TableControls__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ the table menu will be visible\\quot\\)}> Table Controls//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ExternalFilters\\quot\\ value=\\quot\\__ExternalFilters__\\quot\\ type=\\quot\\checkbox\\quot\\ {@htmlTooltip(\\quot\\If enabled\\comma\\ external filters like date from and to will be visible\\quot\\)}> External Filters//crlf////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__salt__SelectView\\quot\\;//crlf////tab////tab////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Greenlight_UI_View_Extended_Name_by_ID_With_Select\\quot\\;//crlf////tab////tab////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\__SaveToViewID__\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\(Package_ID='Local') and (Container_Item_ID='Process_Embedded_Views')\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Add Embedded View\\quot\\ onClick=\\quot\\addEmbeddedView434618('__salt__')\\quot\\>//crlf////tab////tab////tab////tab////amp//nbsp;//amp//nbsp;<span class='refresh' style=\\quot\\cursor:pointer;\\quot\\ onClick=\\quot\\updateOptions('__salt__SelectView')\\quot\\></span>//crlf////tab////tab////tab//</div>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Defaults//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Defaults//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab//<select onChange=\\quot\\defaultSelected('__salt__'\\comma\\this)\\quot\\>//crlf////tab////tab////tab////tab//<option>-- Select Default --</option>//crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Note: RecordType\\comma\\ YDim\\comma\\ XDim and Measure are recorded as attributes in each option.//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Default: Labor by job code.  YDim - Job Codes\\comma\\ XDim - Stores//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<option //crlf////tab////tab////tab////tab////tab//recordtype=\\quot\\57\\quot\\ //crlf////tab////tab////tab////tab////tab//ydim=\\quot\\Final_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//xdim=\\quot\\Record_Type_Description_Short\\comma\\Store_Index@Final_Store_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//measure=\\quot\\Period_Percent_Of_Net_Sales\\comma\\Amount\\comma\\Period_Net_Sales\\quot\\//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//Labor by job code.  YDim - Job Codes\\comma\\ XDim - Stores//crlf////tab////tab////tab////tab//</option>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Default: Check counts vs last year by store.  YDim - Store\\comma\\ XDim - Check count//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<option //crlf////tab////tab////tab////tab////tab//recordtype=\\quot\\54\\quot\\ //crlf////tab////tab////tab////tab////tab//ydim=\\quot\\Final_Store_Name\\quot\\ //crlf////tab////tab////tab////tab////tab//xdim=\\quot\\Record_Type_Description_Short\\quot\\ //crlf////tab////tab////tab////tab////tab//measure=\\quot\\Change_In_Quantity_From_Last_Year\\comma\\ Percent_Change_In_Quantity_From_Last_Year\\comma\\ Quantity\\comma\\ Quantity_Last_Year\\quot\\//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//Check counts vs last year by store.  YDim - Store\\comma\\ XDim - Check count//crlf////tab////tab////tab////tab//</option>//crlf////tab////tab////tab//</select>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab//<div style=\\quot\\margin-right:10px;z-index:2\\quot\\>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter - SelectedHashID//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<constant name:\\quot\\__tooltip__AvailableHashID\\quot\\; value:\\quot\\The values in this list are based on the //crlf////tab////tab////tab////tab//directories in the aspect7\data directory.  If no sales export files are available\\comma\\ there //crlf////tab////tab////tab////tab//will be no Hash ID's in this list\\quot\\>//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:20\\percent\\\\quot\\ {@htmlTooltip(\\quot\\__tooltip__AvailableHashID\\quot\\)}>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Hash ID//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!!include type:ExternalDriverParam;//crlf////tab////tab////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ID:\\quot\\__Salt__SelectHashID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Param:\\quot\\SelectedHashID=$value$\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\multiple style='height:150px~0x3B~width:225px'\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\POS_Generic_Available_Consolidated_HashID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Selected:\\quot\\<!include type:expression; expression:replaceSubstring(\\quot\\__SelectedHashID__\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)>\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\coll=AvailableConsolidatedData\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Filter - Record Type//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:20\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Record Types//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ID:\\quot\\__salt__FilterRecordtype\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Condition:\\quot\\not('$value$'='all')\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Expression:\\quot\\(gte(containsElement('$value$'\\comma\\Record_Type)\\comma\\0\\comma\\n))\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\multiple style='height:150px~0x3B~width:225px' param='RecordType=$value$' ReportID=\\quot\\__ReportID__\\quot\\ onBlur='recordTypeSelected(\\quot\\__salt__\\quot\\\\comma\\\\quot\\__ReportID__\\quot\\)'\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\POS_Generic_Check_Detail_Record_Types_Sorted\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Selected:\\quot\\{@if(defined(\\quot\\__RecordType__\\quot\\)\\comma\\replaceSubstring(\\quot\\__RecordType__\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\all\\quot\\)}\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab////tab////tab//<input type=\\quot\\text\\quot\\ style=\\quot\\display:none\\quot\\ ID=\\quot\\__salt__ParamMetadata\\quot\\ value=\\quot\\__ReportID__{@replaceSubstring(\\quot\\__RecordType__\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\_\\quot\\)}\\quot\\ param=\\quot\\Metadata=$value$\\quot\\>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Y Dimensions//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:20\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Y Dimensions//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\795960\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=YDim//amp//Selected=__YDim__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////tab////tab////tab////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//X Dimensions//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:20\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=X Dimensions//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\795960\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=XDim//amp//Selected=__XDim__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Measurements//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:20\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Measurements//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\795960\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=Measure//amp//Selected=__Measure__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////tab////tab//</div>//crlf////crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Final Dimensions//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab//<table style=\\quot\\width:100\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<th align='left'>Record Types</th>//crlf////tab////tab////tab////tab////tab//<th align='left'>YDim</th>//crlf////tab////tab////tab////tab////tab//<th align='left'>XDim</th>//crlf////tab////tab////tab////tab////tab//<th align='left'>Measure</th>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td><textarea style=\\quot\\width:100\\percent\\;height:60px\\quot\\ disabled type=\\quot\\text\\quot\\ ID=\\quot\\__salt__selected_record_types\\quot\\ value=\\quot\\__RecordType__\\quot\\>__RecordType__</textarea></td>//crlf////tab////tab////tab////tab////tab//<td><textarea style=\\quot\\width:100\\percent\\;height:60px\\quot\\ type=\\quot\\text\\quot\\ ID=\\quot\\__salt__selected_ydim\\quot\\ value=\\quot\\__YDim__\\quot\\ style=\\quot\\width:300px\\quot\\ Param=\\quot\\YDim=$value$\\quot\\>__YDim__</textarea></td>//crlf////tab////tab////tab////tab////tab//<td><textarea style=\\quot\\width:100\\percent\\;height:60px\\quot\\ type=\\quot\\text\\quot\\ ID=\\quot\\__salt__selected_xdim\\quot\\ value=\\quot\\__XDim__\\quot\\ style=\\quot\\width:300px\\quot\\ Param=\\quot\\XDim=$value$\\quot\\>__XDim__</textarea></td>//crlf////tab////tab////tab////tab////tab//<td><textarea style=\\quot\\width:100\\percent\\;height:60px\\quot\\ disabled type=\\quot\\text\\quot\\ value=\\quot\\__Measure__\\quot\\ ID=\\quot\\__salt__selected_measure\\quot\\>__Measure__</textarea></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//tab////tab////tab////crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab//</conditional>//crlf////crlf////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Filters//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\) or ((not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\)) and (not(\\quot\\__DateToFilter__\\quot\\=\\quot\\false\\quot\\)))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Param - DateFrom//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:ExternalDriverParam;//crlf////tab////tab////tab//InputType:\\quot\\Date\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ParamDateFrom\\quot\\;//crlf////tab////tab////tab//Param:\\quot\\DateFrom=$value$\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateFrom__\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\) or ((not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\)) and (not(\\quot\\__DateToFilter__\\quot\\=\\quot\\false\\quot\\)))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Param - DateTo//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:ExternalDriverParam;//crlf////tab////tab////tab//InputType:\\quot\\Date\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ParamDateTo\\quot\\;//crlf////tab////tab////tab//Param:\\quot\\DateTo=$value$\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateTo__\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\) or ((not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\)) and (not(\\quot\\__DateToFilter__\\quot\\=\\quot\\false\\quot\\)))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Select Date Range//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:Collection;//crlf////tab////tab////tab//ID:\\quot\\__salt__DateRange\\quot\\;//crlf////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Select_Date_Range\\quot\\;//crlf////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateRange__\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\dateRangeSelected434618('__salt__')\\quot\\\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\) or ((not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\)) and (not(\\quot\\__DateToFilter__\\quot\\=\\quot\\false\\quot\\)))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filter - Contains Text.  This param\\comma\\ like DateFrom and DateTo is not intended //crlf////tab////tab//to be used when defining the view.  It is an external filter that can be made//crlf////tab////tab//available to the user when the actual view is displayed.//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ContainsText\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\(keywordMatch('$value$'\\comma\\Final_Category1+Final_Category2+Final_Category3+Final_Name\\comma\\'\\comma\\'\\comma\\true))\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\Placeholder='Contains text'\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Section header for table//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:(not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)) or (\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Output//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Title//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:defined(\\quot\\__Title__\\quot\\)>//crlf////tab////tab//__Title__ //crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(\\quot\\__ShowDates__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!!include type:expression; expression:formatDate(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM/dd/yyyy\\quot\\) + if(\\quot\\__DateFrom__\\quot\\=\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\ - \\quot\\+formatDate(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM/dd/yyyy\\quot\\))>//crlf////tab//</conditional>//crlf////tab////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Chart//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__Chart\\quot\\ style=\\quot\\width:100\\percent\\;height:__ChartHeight__;display:none\\quot\\></div>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This is the standard Dimensional Report Viewer item in the Dimensional Views widget.//crlf////tab////crlf////tab//-//tab//The external filters and params defined in this item are passed to the report viewer//crlf////crlf////tab//-//tab//The report viewer uses the ReportID passed below to determine the dimensional view.//crlf////tab////tab//The dimensional view for all reports that use this item is Consolidated Sales Export //crlf////crlf////tab//- The driver used by the dimensional view is POS_Generic_Daily_Sales_Export_Consolidated.  //crlf////tab////tab//The dimensional view passes SelectedHashID to the driver which is updated using the //crlf////tab////tab//updateConsolidatedDailySalesExport action in the Daily Sales Export widget.  When running //crlf////tab////tab//on the development machine with the single local HashID specified (instead of all available //crlf////tab////tab//HashID's from the data directory) the sales export filename is hardwired to use a particular store//crlf////tab////tab//in this action.  //crlf////crlf////tab////tab//Note: DatesOnYDim determines if the record type is used as a param or a filter.//crlf////tab////tab//When dates are included on the Y dimension\\comma\\ the record type is passed to the driver as //crlf////tab////tab//a param.  This param is used to include only the selected record type when consolidating //crlf////tab////tab//the driver.  This has the effect of determining which fields are included on the X dimension.  //crlf////tab////tab//Fields like Category1 and Final_Name are still selected for the X dimension.  //crlf////crlf////tab////tab//When DatesOnYDim is undefined\\comma\\ the RecordType is used as a filter.  For example\\comma\\ the report //crlf////tab////tab//might include only job code pay.//crlf////crlf////tab////tab//4/30/2019 - It appears that DatesOnYDim has no effect.  The RecordType is always passed as a //crlf////tab////tab//param when the driver is first loaded which causes the action use to update the driver to //crlf////tab////tab//use the RecordType as a filter.//crlf////crlf////tab////tab//AddReportID can be used to specify a second dimensional report record that contains additional //crlf////tab////tab//external fields.  //crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!!!include //crlf////tab////tab//type:view; //crlf////tab////tab//viewid:\\quot\\DpQJE8Yp\\quot\\; //crlf////tab////tab//Source:\\quot\\\\quot\\; //crlf////tab////tab//params:\\quot\\//crlf////tab////tab////tab//Salt=__Salt__//amp////crlf////tab////tab////tab//ReportID=__ReportID__//amp////crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__AddReportID__\\quot\\)>//crlf////tab////tab////tab////tab//AddReportID=__AddReportID__//amp////crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//<conditional expression:false>//crlf////tab////tab////tab//------------------------------------------------------------------------------------------//crlf////tab////tab////tab//It should not be necessary to override the metadata.  It is allowed so that metadata //crlf////tab////tab////tab//can be manually specified in a view to create a new set of displays.  This might happen if //crlf////tab////tab////tab//there are different reports that use the same record type.//crlf////tab////tab////tab//------------------------------------------------------------------------------------------//crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:defined(\\quot\\__Metadata__\\quot\\)>//crlf////tab////tab////tab////tab//DimParams=XDim=__XDim__~~pipe~~YDim=__YDim__~~pipe~~Measure=__Measure__~~pipe~~RecordType=__Recordtype__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~SelectedHashID=__SelectedHashID__~~pipe~~MetadataOverride=__MetaData__//amp////crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:not(defined(\\quot\\__Metadata__\\quot\\))>//crlf////tab////tab////tab////tab//DimParams=XDim=__XDim__~~pipe~~YDim=__YDim__~~pipe~~Measure=__Measure__~~pipe~~RecordType=__Recordtype__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~SelectedHashID=__SelectedHashID__~~pipe~~MetadataOverride=__ReportID__{@replaceSubstring(\\quot\\__RecordType__\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\\\comma\\\\quot\\_\\quot\\)}//amp////crlf////tab////tab////tab//</conditional>//crlf////crlf////tab////tab////tab//Display=__Display__//amp////crlf////tab////tab////tab//ExternalParams=//crlf////tab////tab////tab////tab//<!conditional expression:(defined(\\quot\\__DatesOnYDim__\\quot\\))>//crlf////tab////tab////tab////tab////tab//__salt__FilterRecordtype\\comma\\//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//__Salt__SelectHashID\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamMetadata\\comma\\//crlf//<conditional expression:false>//crlf////tab////tab////tab////tab//__salt__SelectXDim\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectYDim\\comma\\//crlf//</conditional>//crlf////tab////tab////tab////tab//__salt__selected_xdim\\comma\\//crlf////tab////tab////tab////tab//__salt__selected_ydim\\comma\\//crlf////tab////tab////tab////tab//__salt__SelectMeasure\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamDateFrom\\comma\\//crlf////tab////tab////tab////tab//__salt__ParamDateTo//amp////crlf////tab////tab////tab//ExternalFilters=//crlf////tab////tab////tab////tab//<!conditional expression:(not(defined(\\quot\\__DatesOnYDim__\\quot\\)))>//crlf////tab////tab////tab////tab////tab//__salt__FilterRecordtype\\comma\\//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//__salt__ContainsText//amp////crlf////tab////tab////tab//MaxRecords=__MaxRecords__//amp////crlf////tab////tab////tab//canEdit=false//amp////crlf////tab////tab////tab//<conditional expression:(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////tab//TableControls=true//amp////crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////tab//TableControls=__TableControls__//amp////crlf////tab////tab////tab//</conditional>//crlf////tab////tab////tab//TableHeader=__TableHeader__//amp////crlf////tab////tab////tab//TableBorder=__TableBorder__//amp////crlf////tab////tab////tab//SelectDisplay=__SelectDisplay__//amp////crlf////tab////tab////tab//EditDisplay=__EditDisplay__//amp////crlf////tab////tab////tab//TableVisible=__TableVisible__//amp////crlf////tab////tab////tab//ChartTitle=__ChartTitle__//amp////crlf////tab////tab////tab//ChartWidth=__ChartWidth__//amp////crlf////tab////tab////tab//ChartHeight=__ChartHeight__//amp////crlf////tab////tab////tab//ChartVisible=__ChartVisible__//amp////crlf////tab////tab////tab//ChartCanClose=__ChartCanClose__//amp////crlf////tab////tab//\\quot\\;//crlf////tab//>//crlf////crlf//</conditional>//crlf////crlf//<conditional expression:not(defined(\\quot\\__getContent__\\quot\\))>//crlf////tab//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//</conditional>//crlf////crlf//__servertimerresults__//crlf//^
ID=980802|X=151|Y=33|W=1349|H=1429|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//List of fields.  This list is used to select the appropriate fields for //crlf//the X\\comma\\ Y and Measure fields.  //crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:undefined(\\quot\\__Axis__\\quot\\)>//crlf////tab//<h1>POS_Generic_Daily_Labor_Detail - All Fields</h1>//crlf////tab//<include type:expression; expression:htmlTable(getCollection(StructureFields2\\comma\\POS_Generic_Daily_Labor_Detail)\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\=\\quot\\)>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//This item is used to get the select box for x\\comma\\ y and measure dimensions.  It is //crlf//hardwired rather than using a collection in order specify which fields will //crlf//be included.//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:defined(\\quot\\__axis__\\quot\\)>//crlf////tab//<select ID=\\quot\\__salt__Select__Axis__\\quot\\ multiple onChange=\\quot\\__axis__Selected('__salt__'\\comma\\this)\\quot\\ style=\\quot\\height:150px;width:100\\percent\\\\quot\\ Param=\\quot\\__Axis__=$value$\\quot\\>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Measure//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\Measure\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Average_Overtime_Rate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Average_Overtime_Rate\\quot\\>Approved Average Overtime Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Average_Regular_Rate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Average_Regular_Rate\\quot\\>Approved Average Regular Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppBreakHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppBreakHours\\quot\\>Approved Break Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppBreakIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppBreakIn\\quot\\>Approved Break In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppBrkNotPd\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppBrkNotPd\\quot\\>Approved Break Not Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppBreakOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppBreakOut\\quot\\>Approved Break Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppCashTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppCashTip\\quot\\>Approved Cash Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppCCFee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppCCFee\\quot\\>Approved CC Fee</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppChgTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppChgTip\\quot\\>Approved Charge Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppComps\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppComps\\quot\\>Approved Comps</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppDeclTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppDeclTip\\quot\\>Approved Declared Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppJobCode\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppJobCode\\quot\\>Approved Job Code ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppJobCodeName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppJobCodeName\\quot\\>Approved Job Code Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtHours\\quot\\>Approved O/t Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtHrs1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtHrs1\\quot\\>Approved O/t Hours1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtHrs2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtHrs2\\quot\\>Approved O/t Hours2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtPay\\quot\\>Approved O/t Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtPay1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtPay1\\quot\\>Approved O/t Pay1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtPay2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtPay2\\quot\\>Approved O/t Pay2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtRate\\quot\\>Approved O/t Rate Total</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtRate1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtRate1\\quot\\>Approved O/t Rate1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtRate2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtRate2\\quot\\>Approved O/t Rate2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Approved_Pay_Excluding_Overtime\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Approved_Pay_Excluding_Overtime\\quot\\>Approved Pay Excluding Overtime</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppPayType\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppPayType\\quot\\>Approved Pay Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppPosition\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppPosition\\quot\\>Approved Position</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppRegHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppRegHours\\quot\\>Approved Regular Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppRegPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppRegPay\\quot\\>Approved Regular Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppRegRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppRegRate\\quot\\>Approved Regular Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppCashSls\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppCashSls\\quot\\>Approved Shift Cash Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppChgSls\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppChgSls\\quot\\>Approved Shift Charge Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTtlSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTtlSales\\quot\\>Approved Shift Total Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTimeIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTimeIn\\quot\\>Approved Time In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTimeOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTimeOut\\quot\\>Approved Time Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTipsPaid\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTipsPaid\\quot\\>Approved Tips Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTipsReceived\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTipsReceived\\quot\\>Approved Tips Received</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTtlHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTtlHours\\quot\\>Approved Total Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTtlPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTtlPay\\quot\\>Approved Total Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTotalTips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTotalTips\\quot\\>Approved Total Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Union_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Union_Code\\quot\\>Branch / Union Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Business_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Business_Date\\quot\\>Business Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Date_From\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Date_From\\quot\\>Calc Date From</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Date_To\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Date_To\\quot\\>Calc Date To</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Tip_Share_Field_Selection\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Tip_Share_Field_Selection\\quot\\>Calc Tip Share Field Selection</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Tip_Share_Percent\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Tip_Share_Percent\\quot\\>Calc Tip Share Percent</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calculated_Tip_Share\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calculated_Tip_Share\\quot\\>Calculated Tip Share</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cash_Tip_Pcnt\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cash_Tip_Pcnt\\quot\\>Cash Tip \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Charge_Tip_Pcnt\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Charge_Tip_Pcnt\\quot\\>Charge Tip \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Date\\quot\\>Compare Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Employee_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Employee_ID\\quot\\>Compare Employee ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Employee_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Employee_Name\\quot\\>Compare Employee Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Job_Code_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Job_Code_Name\\quot\\>Compare Job Code Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ConsecDays\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ConsecDays\\quot\\>Consecutive Days Worked</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Amount\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Amount\\quot\\>Controllables Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CumTtlHrs\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CumTtlHrs\\quot\\>Cumulative Total Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\datenumin\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\datenumin\\quot\\>datenum_in</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\datenumout\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\datenumout\\quot\\>datenum_out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Net_Sales\\quot\\>Day Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description\\quot\\>Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Dim_Driver_StoreID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Dim_Driver_StoreID\\quot\\>Dim Driver StoreID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\DiskIndex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\DiskIndex\\quot\\>DiskIndex</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\DriverParams\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\DriverParams\\quot\\>DriverParams</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Cash_Tips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Cash_Tips\\quot\\>Earning Code Cash Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_CC_Fee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_CC_Fee\\quot\\>Earning Code CC Fee</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Charge_Tips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Charge_Tips\\quot\\>Earning Code Charge Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Job_No\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Job_No\\quot\\>Earning Code Job Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Overtime_Hours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Overtime_Hours\\quot\\>Earning Code Overtime Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Regular_Hours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Regular_Hours\\quot\\>Earning Code Regular Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Sales\\quot\\>Earning Code Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Tip_Share\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Tip_Share\\quot\\>Earning Code Tip Share</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Tips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Tips\\quot\\>Earning Code Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Tips_Paid\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Tips_Paid\\quot\\>Earning Code Tips Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Tips_Received\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Tips_Received\\quot\\>Earning Code Tips Received</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee\\quot\\>Employee ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\EmpName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\EmpName\\quot\\>Employee Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Payroll_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Payroll_Number\\quot\\>Employee Payroll Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_POS_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_POS_ID\\quot\\>Employee POS ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Do_Not_Export\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Do_Not_Export\\quot\\>Exclude From Labor Detail</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\First_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\First_Name\\quot\\>First Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\First_Name_Last_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\First_Name_Last_Name\\quot\\>First Name / Last Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Job_Code_Category_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Job_Code_Category_ID\\quot\\>Job Code Category ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Job_Code_Category_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Job_Code_Category_Name\\quot\\>Job Code Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export_Detail\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export_Detail\\quot\\>Key For Export - Detail</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export_OvtHrs\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export_OvtHrs\\quot\\>Key For Export - Overtime Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export_RegHrs\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export_RegHrs\\quot\\>Key For Export - Regular Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export_Sales\\quot\\>Key For Export - Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export_Tips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export_Tips\\quot\\>Key For Export - Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Reg_Rate_Lookup\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Reg_Rate_Lookup\\quot\\>Key For Reg Rate Lookup</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppLbrPercent\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppLbrPercent\\quot\\>Labor \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Labor_Percent_Of_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Labor_Percent_Of_Sales\\quot\\>Labor \\percent\\ Of Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Last_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Last_Name\\quot\\>Last Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Last_Name_First_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Last_Name_First_Name\\quot\\>Last Name / First Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Line\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Line\\quot\\>Line</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Middle_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Middle_Name\\quot\\>Middle Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Net_Tips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Net_Tips\\quot\\>Net Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0000\\quot\\>OT Hours 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0100\\quot\\>OT Hours 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0200\\quot\\>OT Hours 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0300\\quot\\>OT Hours 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0400\\quot\\>OT Hours 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0500\\quot\\>OT Hours 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0600\\quot\\>OT Hours 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0700\\quot\\>OT Hours 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0800\\quot\\>OT Hours 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0900\\quot\\>OT Hours 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1000\\quot\\>OT Hours 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1100\\quot\\>OT Hours 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1200\\quot\\>OT Hours 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1300\\quot\\>OT Hours 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1400\\quot\\>OT Hours 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1500\\quot\\>OT Hours 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1600\\quot\\>OT Hours 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1700\\quot\\>OT Hours 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1800\\quot\\>OT Hours 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1900\\quot\\>OT Hours 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_2000\\quot\\>OT Hours 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_2100\\quot\\>OT Hours 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_2200\\quot\\>OT Hours 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_2300\\quot\\>OT Hours 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0000\\quot\\>OT1 Hours 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0100\\quot\\>OT1 Hours 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0200\\quot\\>OT1 Hours 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0300\\quot\\>OT1 Hours 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0400\\quot\\>OT1 Hours 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0500\\quot\\>OT1 Hours 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0600\\quot\\>OT1 Hours 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0700\\quot\\>OT1 Hours 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0800\\quot\\>OT1 Hours 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0900\\quot\\>OT1 Hours 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1000\\quot\\>OT1 Hours 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1100\\quot\\>OT1 Hours 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1200\\quot\\>OT1 Hours 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1300\\quot\\>OT1 Hours 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1400\\quot\\>OT1 Hours 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1500\\quot\\>OT1 Hours 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1600\\quot\\>OT1 Hours 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1700\\quot\\>OT1 Hours 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1800\\quot\\>OT1 Hours 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1900\\quot\\>OT1 Hours 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_2000\\quot\\>OT1 Hours 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_2100\\quot\\>OT1 Hours 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_2200\\quot\\>OT1 Hours 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_2300\\quot\\>OT1 Hours 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0000\\quot\\>OT2 Hours 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0100\\quot\\>OT2 Hours 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0200\\quot\\>OT2 Hours 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0300\\quot\\>OT2 Hours 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0400\\quot\\>OT2 Hours 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0500\\quot\\>OT2 Hours 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0600\\quot\\>OT2 Hours 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0700\\quot\\>OT2 Hours 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0800\\quot\\>OT2 Hours 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0900\\quot\\>OT2 Hours 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1000\\quot\\>OT2 Hours 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1100\\quot\\>OT2 Hours 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1200\\quot\\>OT2 Hours 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1300\\quot\\>OT2 Hours 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1400\\quot\\>OT2 Hours 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1500\\quot\\>OT2 Hours 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1600\\quot\\>OT2 Hours 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1700\\quot\\>OT2 Hours 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1800\\quot\\>OT2 Hours 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1900\\quot\\>OT2 Hours 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_2000\\quot\\>OT2 Hours 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_2100\\quot\\>OT2 Hours 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_2200\\quot\\>OT2 Hours 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_2300\\quot\\>OT2 Hours 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Hours_4_digits\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Hours_4_digits\\quot\\>Overtime Hours (4 digits)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Rate_for_Export\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Rate_for_Export\\quot\\>Overtime Rate for Export</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Reason_1_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Reason_1_Description\\quot\\>Overtime Reason 1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Reason_1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Reason_1\\quot\\>Overtime Reason 1 Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Reason_2_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Reason_2_Description\\quot\\>Overtime Reason 2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Reason_2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Reason_2\\quot\\>Overtime Reason 2 Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0000\\quot\\>Ovt Pay 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0100\\quot\\>Ovt Pay 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0200\\quot\\>Ovt Pay 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0300\\quot\\>Ovt Pay 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0400\\quot\\>Ovt Pay 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0500\\quot\\>Ovt Pay 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0600\\quot\\>Ovt Pay 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0700\\quot\\>Ovt Pay 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0800\\quot\\>Ovt Pay 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0900\\quot\\>Ovt Pay 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1000\\quot\\>Ovt Pay 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1100\\quot\\>Ovt Pay 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1200\\quot\\>Ovt Pay 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1300\\quot\\>Ovt Pay 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1400\\quot\\>Ovt Pay 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1500\\quot\\>Ovt Pay 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1600\\quot\\>Ovt Pay 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1700\\quot\\>Ovt Pay 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1800\\quot\\>Ovt Pay 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1900\\quot\\>Ovt Pay 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_2000\\quot\\>Ovt Pay 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_2100\\quot\\>Ovt Pay 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_2200\\quot\\>Ovt Pay 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_2300\\quot\\>Ovt Pay 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Batch_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Batch_ID\\quot\\>Payroll Batch ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Company_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Company_Code\\quot\\>Payroll Company Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Division\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Division\\quot\\>Payroll Division</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Earnings_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Earnings_Code\\quot\\>Payroll Earnings Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Export_Add_Tips_Paid\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Export_Add_Tips_Paid\\quot\\>Payroll Export Add Tips Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Export_Add_Tips_Received\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Export_Add_Tips_Received\\quot\\>Payroll Export Add Tips Received</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Export_Deduct_CC_Fee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Export_Deduct_CC_Fee\\quot\\>Payroll Export Deduct CC Fee</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Export_Deduct_Tip_Share\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Export_Deduct_Tip_Share\\quot\\>Payroll Export Deduct Tip Share</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Net_Sales\\quot\\>Period Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Net_Sales_Date_From\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Net_Sales_Date_From\\quot\\>Period Net Sales Date From</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Net_Sales_Date_To\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Net_Sales_Date_To\\quot\\>Period Net Sales Date To</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Total_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Total_Sales\\quot\\>Period Total Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActBreakHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActBreakHours\\quot\\>POS Break Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActBreakIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActBreakIn\\quot\\>POS Break In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActBrkNotPd\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActBrkNotPd\\quot\\>POS Break Not Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActBreakOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActBreakOut\\quot\\>POS Break Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActCashSls\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActCashSls\\quot\\>POS Cash Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActCashTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActCashTip\\quot\\>POS Cash Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActCCFee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActCCFee\\quot\\>POS CC Fee</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActChgSls\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActChgSls\\quot\\>POS Charge Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActChgTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActChgTip\\quot\\>POS Charge Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActComps\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActComps\\quot\\>POS Comps</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActDeclTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActDeclTip\\quot\\>POS Declared Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActJobCode\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActJobCode\\quot\\>POS Job Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActJobCodeName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActJobCodeName\\quot\\>POS Job Code Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActLbrPercent\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActLbrPercent\\quot\\>POS Labor \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActNetSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActNetSales\\quot\\>POS Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtHours\\quot\\>POS Overtime Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtHrs1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtHrs1\\quot\\>POS Overtime Hours1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtHrs2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtHrs2\\quot\\>POS Overtime Hours2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtPay\\quot\\>POS Overtime Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtPay1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtPay1\\quot\\>POS Overtime Pay1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtPay2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtPay2\\quot\\>POS Overtime Pay2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtRate\\quot\\>POS Overtime Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtRate1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtRate1\\quot\\>POS Overtime Rate1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtRate2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtRate2\\quot\\>POS Overtime Rate2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActPayType\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActPayType\\quot\\>POS Pay Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActPosition\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActPosition\\quot\\>POS Position</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActRegHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActRegHours\\quot\\>POS Regular Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActRegPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActRegPay\\quot\\>POS Regular Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActRegRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActRegRate\\quot\\>POS Regular Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTimeIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTimeIn\\quot\\>POS Time In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTimeOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTimeOut\\quot\\>POS Time Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTipsPaid\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTipsPaid\\quot\\>POS Tips Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTipsReceived\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTipsReceived\\quot\\>POS Tips Received</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTtlHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTtlHours\\quot\\>POS Total Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTtlPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTtlPay\\quot\\>POS Total Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTtlSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTtlSales\\quot\\>POS Total Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_Type\\quot\\>Record Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0000\\quot\\>Reg Hours 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0100\\quot\\>Reg Hours 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0200\\quot\\>Reg Hours 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0300\\quot\\>Reg Hours 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0400\\quot\\>Reg Hours 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0500\\quot\\>Reg Hours 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0600\\quot\\>Reg Hours 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0700\\quot\\>Reg Hours 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0800\\quot\\>Reg Hours 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0900\\quot\\>Reg Hours 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1000\\quot\\>Reg Hours 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1100\\quot\\>Reg Hours 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1200\\quot\\>Reg Hours 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1300\\quot\\>Reg Hours 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1400\\quot\\>Reg Hours 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1500\\quot\\>Reg Hours 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1600\\quot\\>Reg Hours 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1700\\quot\\>Reg Hours 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1800\\quot\\>Reg Hours 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1900\\quot\\>Reg Hours 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_2000\\quot\\>Reg Hours 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_2100\\quot\\>Reg Hours 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_2200\\quot\\>Reg Hours 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_2300\\quot\\>Reg Hours 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0000\\quot\\>Reg Pay 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0100\\quot\\>Reg Pay 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0200\\quot\\>Reg Pay 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0300\\quot\\>Reg Pay 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0400\\quot\\>Reg Pay 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0500\\quot\\>Reg Pay 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0600\\quot\\>Reg Pay 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0700\\quot\\>Reg Pay 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0800\\quot\\>Reg Pay 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0900\\quot\\>Reg Pay 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1000\\quot\\>Reg Pay 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1100\\quot\\>Reg Pay 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1200\\quot\\>Reg Pay 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1300\\quot\\>Reg Pay 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1400\\quot\\>Reg Pay 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1500\\quot\\>Reg Pay 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1600\\quot\\>Reg Pay 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1700\\quot\\>Reg Pay 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1800\\quot\\>Reg Pay 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1900\\quot\\>Reg Pay 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_2000\\quot\\>Reg Pay 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_2100\\quot\\>Reg Pay 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_2200\\quot\\>Reg Pay 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_2300\\quot\\>Reg Pay 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Regular_Hours_4_digits\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Regular_Hours_4_digits\\quot\\>Regular Hours (4 digits)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Sales_Link\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Sales_Link\\quot\\>Sales Link</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchBreakIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchBreakIn\\quot\\>Scheduled Break In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchBrkNotPd\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchBrkNotPd\\quot\\>Scheduled Break Not Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchBreakOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchBreakOut\\quot\\>Scheduled Break Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchJobCode\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchJobCode\\quot\\>Scheduled Job Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchJobCodeName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchJobCodeName\\quot\\>Scheduled Job Code Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchLbrPercent\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchLbrPercent\\quot\\>Scheduled Labor \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtHours\\quot\\>Scheduled Overtime Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtHrs1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtHrs1\\quot\\>Scheduled Overtime Hours1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtHrs2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtHrs2\\quot\\>Scheduled Overtime Hours2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtPay\\quot\\>Scheduled Overtime Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtPay1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtPay1\\quot\\>Scheduled Overtime Pay1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtPay2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtPay2\\quot\\>Scheduled Overtime Pay2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtRate\\quot\\>Scheduled Overtime Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtRate1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtRate1\\quot\\>Scheduled Overtime Rate1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtRate2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtRate2\\quot\\>Scheduled Overtime Rate2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchPayType\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchPayType\\quot\\>Scheduled Pay Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchPosition\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchPosition\\quot\\>Scheduled Position</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchRegHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchRegHours\\quot\\>Scheduled Regular Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchRegPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchRegPay\\quot\\>Scheduled Regular Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchRegRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchRegRate\\quot\\>Scheduled Regular Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchTimeIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchTimeIn\\quot\\>Scheduled Time In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchTimeOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchTimeOut\\quot\\>Scheduled Time Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchTtlHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchTtlHours\\quot\\>Scheduled Total Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchTtlPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchTtlPay\\quot\\>Scheduled Total Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Approved_Job_Code_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Approved_Job_Code_Name\\quot\\>Section Header by Approved Job Code Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Business_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Business_Date\\quot\\>Section Header by Business Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Employee_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Employee_Name\\quot\\>Section Header by Employee Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Job_Code_Category_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Job_Code_Category_Name\\quot\\>Section Header by Job Code Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppShift_Hours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppShift_Hours\\quot\\>Shift Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppNetSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppNetSales\\quot\\>Shift Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppShift_Pay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppShift_Pay\\quot\\>Shift Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Shift_Time_In_For_Inspect\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Shift_Time_In_For_Inspect\\quot\\>Shift Time In For Inspect</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Shift_Time_Out_For_Inspect\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Shift_Time_Out_For_Inspect\\quot\\>Shift Time Out For Inspect</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Social_Security_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Social_Security_Number\\quot\\>Social Security Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Code\\quot\\>Store Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Store_ID\\quot\\>Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_ID\\quot\\>Store ID (Duplicate)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Name\\quot\\>Store Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tip_Interpretation\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tip_Interpretation\\quot\\>Tip Interpretation</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Total_Hours_4_digits\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Total_Hours_4_digits\\quot\\>Total Hours (4 digits)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Total_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Total_Net_Sales\\quot\\>Total Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Total_Pay_Percent_Of_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Total_Pay_Percent_Of_Net_Sales\\quot\\>Total Pay Percent Of Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Total_Pay_Percent_Of_Total_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Total_Pay_Percent_Of_Total_Sales\\quot\\>Total Pay Percent Of Total Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Total_Tip_Pcnt\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Total_Tip_Pcnt\\quot\\>Total Tip \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0000\\quot\\>Ttl Hours 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0100\\quot\\>Ttl Hours 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0200\\quot\\>Ttl Hours 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0300\\quot\\>Ttl Hours 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0400\\quot\\>Ttl Hours 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0500\\quot\\>Ttl Hours 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0600\\quot\\>Ttl Hours 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0700\\quot\\>Ttl Hours 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0800\\quot\\>Ttl Hours 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0900\\quot\\>Ttl Hours 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1000\\quot\\>Ttl Hours 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1100\\quot\\>Ttl Hours 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1200\\quot\\>Ttl Hours 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1300\\quot\\>Ttl Hours 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1400\\quot\\>Ttl Hours 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1500\\quot\\>Ttl Hours 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1600\\quot\\>Ttl Hours 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1700\\quot\\>Ttl Hours 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1800\\quot\\>Ttl Hours 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1900\\quot\\>Ttl Hours 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_2000\\quot\\>Ttl Hours 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_2100\\quot\\>Ttl Hours 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_2200\\quot\\>Ttl Hours 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_2300\\quot\\>Ttl Hours 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0000\\quot\\>Ttl Pay 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0100\\quot\\>Ttl Pay 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0200\\quot\\>Ttl Pay 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0300\\quot\\>Ttl Pay 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0400\\quot\\>Ttl Pay 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0500\\quot\\>Ttl Pay 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0600\\quot\\>Ttl Pay 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0700\\quot\\>Ttl Pay 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0800\\quot\\>Ttl Pay 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0900\\quot\\>Ttl Pay 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1000\\quot\\>Ttl Pay 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1100\\quot\\>Ttl Pay 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1200\\quot\\>Ttl Pay 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1300\\quot\\>Ttl Pay 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1400\\quot\\>Ttl Pay 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1500\\quot\\>Ttl Pay 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1600\\quot\\>Ttl Pay 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1700\\quot\\>Ttl Pay 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1800\\quot\\>Ttl Pay 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1900\\quot\\>Ttl Pay 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_2000\\quot\\>Ttl Pay 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_2100\\quot\\>Ttl Pay 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_2200\\quot\\>Ttl Pay 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_2300\\quot\\>Ttl Pay 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unused\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unused\\quot\\>Unused</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Used\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Used\\quot\\>Used</option>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//YDim//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\YDim\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Average_Overtime_Rate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Average_Overtime_Rate\\quot\\>Approved Average Overtime Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Average_Regular_Rate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Average_Regular_Rate\\quot\\>Approved Average Regular Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppBreakHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppBreakHours\\quot\\>Approved Break Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppBreakIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppBreakIn\\quot\\>Approved Break In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppBrkNotPd\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppBrkNotPd\\quot\\>Approved Break Not Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppBreakOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppBreakOut\\quot\\>Approved Break Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppCashTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppCashTip\\quot\\>Approved Cash Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppCCFee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppCCFee\\quot\\>Approved CC Fee</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppChgTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppChgTip\\quot\\>Approved Charge Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppComps\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppComps\\quot\\>Approved Comps</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppDeclTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppDeclTip\\quot\\>Approved Declared Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppJobCode\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppJobCode\\quot\\>Approved Job Code ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppJobCodeName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppJobCodeName\\quot\\>Approved Job Code Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtHours\\quot\\>Approved O/t Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtHrs1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtHrs1\\quot\\>Approved O/t Hours1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtHrs2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtHrs2\\quot\\>Approved O/t Hours2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtPay\\quot\\>Approved O/t Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtPay1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtPay1\\quot\\>Approved O/t Pay1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtPay2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtPay2\\quot\\>Approved O/t Pay2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtRate\\quot\\>Approved O/t Rate Total</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtRate1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtRate1\\quot\\>Approved O/t Rate1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtRate2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtRate2\\quot\\>Approved O/t Rate2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Approved_Pay_Excluding_Overtime\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Approved_Pay_Excluding_Overtime\\quot\\>Approved Pay Excluding Overtime</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppPayType\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppPayType\\quot\\>Approved Pay Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppPosition\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppPosition\\quot\\>Approved Position</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppRegHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppRegHours\\quot\\>Approved Regular Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppRegPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppRegPay\\quot\\>Approved Regular Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppRegRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppRegRate\\quot\\>Approved Regular Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppCashSls\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppCashSls\\quot\\>Approved Shift Cash Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppChgSls\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppChgSls\\quot\\>Approved Shift Charge Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTtlSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTtlSales\\quot\\>Approved Shift Total Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTimeIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTimeIn\\quot\\>Approved Time In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTimeOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTimeOut\\quot\\>Approved Time Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTipsPaid\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTipsPaid\\quot\\>Approved Tips Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTipsReceived\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTipsReceived\\quot\\>Approved Tips Received</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTtlHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTtlHours\\quot\\>Approved Total Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTtlPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTtlPay\\quot\\>Approved Total Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTotalTips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTotalTips\\quot\\>Approved Total Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Union_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Union_Code\\quot\\>Branch / Union Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Business_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Business_Date\\quot\\>Business Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Date_From\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Date_From\\quot\\>Calc Date From</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Date_To\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Date_To\\quot\\>Calc Date To</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Tip_Share_Field_Selection\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Tip_Share_Field_Selection\\quot\\>Calc Tip Share Field Selection</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Tip_Share_Percent\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Tip_Share_Percent\\quot\\>Calc Tip Share Percent</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calculated_Tip_Share\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calculated_Tip_Share\\quot\\>Calculated Tip Share</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cash_Tip_Pcnt\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cash_Tip_Pcnt\\quot\\>Cash Tip \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Charge_Tip_Pcnt\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Charge_Tip_Pcnt\\quot\\>Charge Tip \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Date\\quot\\>Compare Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Employee_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Employee_ID\\quot\\>Compare Employee ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Employee_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Employee_Name\\quot\\>Compare Employee Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Job_Code_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Job_Code_Name\\quot\\>Compare Job Code Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ConsecDays\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ConsecDays\\quot\\>Consecutive Days Worked</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Amount\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Amount\\quot\\>Controllables Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CumTtlHrs\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CumTtlHrs\\quot\\>Cumulative Total Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\datenumin\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\datenumin\\quot\\>datenum_in</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\datenumout\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\datenumout\\quot\\>datenum_out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Net_Sales\\quot\\>Day Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description\\quot\\>Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Dim_Driver_StoreID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Dim_Driver_StoreID\\quot\\>Dim Driver StoreID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\DiskIndex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\DiskIndex\\quot\\>DiskIndex</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\DriverParams\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\DriverParams\\quot\\>DriverParams</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Cash_Tips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Cash_Tips\\quot\\>Earning Code Cash Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_CC_Fee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_CC_Fee\\quot\\>Earning Code CC Fee</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Charge_Tips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Charge_Tips\\quot\\>Earning Code Charge Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Job_No\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Job_No\\quot\\>Earning Code Job Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Overtime_Hours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Overtime_Hours\\quot\\>Earning Code Overtime Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Regular_Hours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Regular_Hours\\quot\\>Earning Code Regular Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Sales\\quot\\>Earning Code Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Tip_Share\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Tip_Share\\quot\\>Earning Code Tip Share</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Tips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Tips\\quot\\>Earning Code Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Tips_Paid\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Tips_Paid\\quot\\>Earning Code Tips Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Tips_Received\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Tips_Received\\quot\\>Earning Code Tips Received</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee\\quot\\>Employee ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\EmpName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\EmpName\\quot\\>Employee Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Payroll_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Payroll_Number\\quot\\>Employee Payroll Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_POS_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_POS_ID\\quot\\>Employee POS ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Do_Not_Export\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Do_Not_Export\\quot\\>Exclude From Labor Detail</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\First_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\First_Name\\quot\\>First Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\First_Name_Last_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\First_Name_Last_Name\\quot\\>First Name / Last Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Job_Code_Category_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Job_Code_Category_ID\\quot\\>Job Code Category ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Job_Code_Category_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Job_Code_Category_Name\\quot\\>Job Code Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export_Detail\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export_Detail\\quot\\>Key For Export - Detail</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export_OvtHrs\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export_OvtHrs\\quot\\>Key For Export - Overtime Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export_RegHrs\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export_RegHrs\\quot\\>Key For Export - Regular Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export_Sales\\quot\\>Key For Export - Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export_Tips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export_Tips\\quot\\>Key For Export - Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Reg_Rate_Lookup\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Reg_Rate_Lookup\\quot\\>Key For Reg Rate Lookup</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppLbrPercent\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppLbrPercent\\quot\\>Labor \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Labor_Percent_Of_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Labor_Percent_Of_Sales\\quot\\>Labor \\percent\\ Of Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Last_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Last_Name\\quot\\>Last Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Last_Name_First_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Last_Name_First_Name\\quot\\>Last Name / First Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Line\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Line\\quot\\>Line</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Middle_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Middle_Name\\quot\\>Middle Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Net_Tips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Net_Tips\\quot\\>Net Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0000\\quot\\>OT Hours 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0100\\quot\\>OT Hours 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0200\\quot\\>OT Hours 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0300\\quot\\>OT Hours 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0400\\quot\\>OT Hours 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0500\\quot\\>OT Hours 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0600\\quot\\>OT Hours 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0700\\quot\\>OT Hours 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0800\\quot\\>OT Hours 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0900\\quot\\>OT Hours 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1000\\quot\\>OT Hours 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1100\\quot\\>OT Hours 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1200\\quot\\>OT Hours 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1300\\quot\\>OT Hours 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1400\\quot\\>OT Hours 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1500\\quot\\>OT Hours 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1600\\quot\\>OT Hours 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1700\\quot\\>OT Hours 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1800\\quot\\>OT Hours 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1900\\quot\\>OT Hours 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_2000\\quot\\>OT Hours 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_2100\\quot\\>OT Hours 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_2200\\quot\\>OT Hours 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_2300\\quot\\>OT Hours 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0000\\quot\\>OT1 Hours 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0100\\quot\\>OT1 Hours 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0200\\quot\\>OT1 Hours 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0300\\quot\\>OT1 Hours 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0400\\quot\\>OT1 Hours 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0500\\quot\\>OT1 Hours 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0600\\quot\\>OT1 Hours 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0700\\quot\\>OT1 Hours 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0800\\quot\\>OT1 Hours 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0900\\quot\\>OT1 Hours 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1000\\quot\\>OT1 Hours 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1100\\quot\\>OT1 Hours 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1200\\quot\\>OT1 Hours 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1300\\quot\\>OT1 Hours 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1400\\quot\\>OT1 Hours 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1500\\quot\\>OT1 Hours 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1600\\quot\\>OT1 Hours 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1700\\quot\\>OT1 Hours 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1800\\quot\\>OT1 Hours 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1900\\quot\\>OT1 Hours 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_2000\\quot\\>OT1 Hours 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_2100\\quot\\>OT1 Hours 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_2200\\quot\\>OT1 Hours 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_2300\\quot\\>OT1 Hours 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0000\\quot\\>OT2 Hours 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0100\\quot\\>OT2 Hours 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0200\\quot\\>OT2 Hours 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0300\\quot\\>OT2 Hours 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0400\\quot\\>OT2 Hours 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0500\\quot\\>OT2 Hours 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0600\\quot\\>OT2 Hours 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0700\\quot\\>OT2 Hours 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0800\\quot\\>OT2 Hours 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0900\\quot\\>OT2 Hours 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1000\\quot\\>OT2 Hours 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1100\\quot\\>OT2 Hours 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1200\\quot\\>OT2 Hours 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1300\\quot\\>OT2 Hours 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1400\\quot\\>OT2 Hours 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1500\\quot\\>OT2 Hours 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1600\\quot\\>OT2 Hours 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1700\\quot\\>OT2 Hours 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1800\\quot\\>OT2 Hours 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1900\\quot\\>OT2 Hours 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_2000\\quot\\>OT2 Hours 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_2100\\quot\\>OT2 Hours 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_2200\\quot\\>OT2 Hours 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_2300\\quot\\>OT2 Hours 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Hours_4_digits\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Hours_4_digits\\quot\\>Overtime Hours (4 digits)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Rate_for_Export\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Rate_for_Export\\quot\\>Overtime Rate for Export</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Reason_1_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Reason_1_Description\\quot\\>Overtime Reason 1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Reason_1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Reason_1\\quot\\>Overtime Reason 1 Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Reason_2_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Reason_2_Description\\quot\\>Overtime Reason 2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Reason_2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Reason_2\\quot\\>Overtime Reason 2 Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0000\\quot\\>Ovt Pay 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0100\\quot\\>Ovt Pay 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0200\\quot\\>Ovt Pay 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0300\\quot\\>Ovt Pay 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0400\\quot\\>Ovt Pay 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0500\\quot\\>Ovt Pay 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0600\\quot\\>Ovt Pay 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0700\\quot\\>Ovt Pay 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0800\\quot\\>Ovt Pay 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0900\\quot\\>Ovt Pay 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1000\\quot\\>Ovt Pay 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1100\\quot\\>Ovt Pay 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1200\\quot\\>Ovt Pay 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1300\\quot\\>Ovt Pay 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1400\\quot\\>Ovt Pay 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1500\\quot\\>Ovt Pay 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1600\\quot\\>Ovt Pay 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1700\\quot\\>Ovt Pay 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1800\\quot\\>Ovt Pay 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1900\\quot\\>Ovt Pay 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_2000\\quot\\>Ovt Pay 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_2100\\quot\\>Ovt Pay 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_2200\\quot\\>Ovt Pay 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_2300\\quot\\>Ovt Pay 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Batch_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Batch_ID\\quot\\>Payroll Batch ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Company_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Company_Code\\quot\\>Payroll Company Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Division\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Division\\quot\\>Payroll Division</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Earnings_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Earnings_Code\\quot\\>Payroll Earnings Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Export_Add_Tips_Paid\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Export_Add_Tips_Paid\\quot\\>Payroll Export Add Tips Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Export_Add_Tips_Received\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Export_Add_Tips_Received\\quot\\>Payroll Export Add Tips Received</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Export_Deduct_CC_Fee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Export_Deduct_CC_Fee\\quot\\>Payroll Export Deduct CC Fee</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Export_Deduct_Tip_Share\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Export_Deduct_Tip_Share\\quot\\>Payroll Export Deduct Tip Share</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Net_Sales\\quot\\>Period Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Net_Sales_Date_From\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Net_Sales_Date_From\\quot\\>Period Net Sales Date From</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Net_Sales_Date_To\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Net_Sales_Date_To\\quot\\>Period Net Sales Date To</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Total_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Total_Sales\\quot\\>Period Total Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActBreakHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActBreakHours\\quot\\>POS Break Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActBreakIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActBreakIn\\quot\\>POS Break In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActBrkNotPd\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActBrkNotPd\\quot\\>POS Break Not Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActBreakOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActBreakOut\\quot\\>POS Break Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActCashSls\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActCashSls\\quot\\>POS Cash Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActCashTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActCashTip\\quot\\>POS Cash Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActCCFee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActCCFee\\quot\\>POS CC Fee</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActChgSls\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActChgSls\\quot\\>POS Charge Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActChgTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActChgTip\\quot\\>POS Charge Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActComps\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActComps\\quot\\>POS Comps</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActDeclTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActDeclTip\\quot\\>POS Declared Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActJobCode\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActJobCode\\quot\\>POS Job Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActJobCodeName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActJobCodeName\\quot\\>POS Job Code Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActLbrPercent\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActLbrPercent\\quot\\>POS Labor \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActNetSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActNetSales\\quot\\>POS Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtHours\\quot\\>POS Overtime Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtHrs1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtHrs1\\quot\\>POS Overtime Hours1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtHrs2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtHrs2\\quot\\>POS Overtime Hours2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtPay\\quot\\>POS Overtime Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtPay1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtPay1\\quot\\>POS Overtime Pay1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtPay2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtPay2\\quot\\>POS Overtime Pay2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtRate\\quot\\>POS Overtime Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtRate1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtRate1\\quot\\>POS Overtime Rate1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtRate2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtRate2\\quot\\>POS Overtime Rate2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActPayType\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActPayType\\quot\\>POS Pay Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActPosition\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActPosition\\quot\\>POS Position</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActRegHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActRegHours\\quot\\>POS Regular Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActRegPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActRegPay\\quot\\>POS Regular Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActRegRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActRegRate\\quot\\>POS Regular Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTimeIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTimeIn\\quot\\>POS Time In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTimeOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTimeOut\\quot\\>POS Time Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTipsPaid\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTipsPaid\\quot\\>POS Tips Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTipsReceived\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTipsReceived\\quot\\>POS Tips Received</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTtlHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTtlHours\\quot\\>POS Total Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTtlPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTtlPay\\quot\\>POS Total Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTtlSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTtlSales\\quot\\>POS Total Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_Type\\quot\\>Record Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0000\\quot\\>Reg Hours 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0100\\quot\\>Reg Hours 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0200\\quot\\>Reg Hours 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0300\\quot\\>Reg Hours 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0400\\quot\\>Reg Hours 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0500\\quot\\>Reg Hours 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0600\\quot\\>Reg Hours 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0700\\quot\\>Reg Hours 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0800\\quot\\>Reg Hours 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0900\\quot\\>Reg Hours 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1000\\quot\\>Reg Hours 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1100\\quot\\>Reg Hours 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1200\\quot\\>Reg Hours 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1300\\quot\\>Reg Hours 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1400\\quot\\>Reg Hours 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1500\\quot\\>Reg Hours 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1600\\quot\\>Reg Hours 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1700\\quot\\>Reg Hours 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1800\\quot\\>Reg Hours 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1900\\quot\\>Reg Hours 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_2000\\quot\\>Reg Hours 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_2100\\quot\\>Reg Hours 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_2200\\quot\\>Reg Hours 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_2300\\quot\\>Reg Hours 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0000\\quot\\>Reg Pay 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0100\\quot\\>Reg Pay 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0200\\quot\\>Reg Pay 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0300\\quot\\>Reg Pay 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0400\\quot\\>Reg Pay 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0500\\quot\\>Reg Pay 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0600\\quot\\>Reg Pay 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0700\\quot\\>Reg Pay 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0800\\quot\\>Reg Pay 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0900\\quot\\>Reg Pay 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1000\\quot\\>Reg Pay 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1100\\quot\\>Reg Pay 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1200\\quot\\>Reg Pay 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1300\\quot\\>Reg Pay 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1400\\quot\\>Reg Pay 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1500\\quot\\>Reg Pay 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1600\\quot\\>Reg Pay 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1700\\quot\\>Reg Pay 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1800\\quot\\>Reg Pay 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1900\\quot\\>Reg Pay 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_2000\\quot\\>Reg Pay 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_2100\\quot\\>Reg Pay 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_2200\\quot\\>Reg Pay 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_2300\\quot\\>Reg Pay 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Regular_Hours_4_digits\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Regular_Hours_4_digits\\quot\\>Regular Hours (4 digits)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Sales_Link\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Sales_Link\\quot\\>Sales Link</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchBreakIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchBreakIn\\quot\\>Scheduled Break In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchBrkNotPd\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchBrkNotPd\\quot\\>Scheduled Break Not Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchBreakOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchBreakOut\\quot\\>Scheduled Break Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchJobCode\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchJobCode\\quot\\>Scheduled Job Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchJobCodeName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchJobCodeName\\quot\\>Scheduled Job Code Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchLbrPercent\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchLbrPercent\\quot\\>Scheduled Labor \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtHours\\quot\\>Scheduled Overtime Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtHrs1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtHrs1\\quot\\>Scheduled Overtime Hours1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtHrs2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtHrs2\\quot\\>Scheduled Overtime Hours2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtPay\\quot\\>Scheduled Overtime Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtPay1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtPay1\\quot\\>Scheduled Overtime Pay1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtPay2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtPay2\\quot\\>Scheduled Overtime Pay2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtRate\\quot\\>Scheduled Overtime Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtRate1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtRate1\\quot\\>Scheduled Overtime Rate1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtRate2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtRate2\\quot\\>Scheduled Overtime Rate2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchPayType\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchPayType\\quot\\>Scheduled Pay Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchPosition\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchPosition\\quot\\>Scheduled Position</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchRegHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchRegHours\\quot\\>Scheduled Regular Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchRegPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchRegPay\\quot\\>Scheduled Regular Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchRegRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchRegRate\\quot\\>Scheduled Regular Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchTimeIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchTimeIn\\quot\\>Scheduled Time In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchTimeOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchTimeOut\\quot\\>Scheduled Time Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchTtlHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchTtlHours\\quot\\>Scheduled Total Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchTtlPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchTtlPay\\quot\\>Scheduled Total Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Approved_Job_Code_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Approved_Job_Code_Name\\quot\\>Section Header by Approved Job Code Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Business_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Business_Date\\quot\\>Section Header by Business Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Employee_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Employee_Name\\quot\\>Section Header by Employee Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Job_Code_Category_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Job_Code_Category_Name\\quot\\>Section Header by Job Code Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppShift_Hours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppShift_Hours\\quot\\>Shift Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppNetSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppNetSales\\quot\\>Shift Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppShift_Pay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppShift_Pay\\quot\\>Shift Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Shift_Time_In_For_Inspect\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Shift_Time_In_For_Inspect\\quot\\>Shift Time In For Inspect</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Shift_Time_Out_For_Inspect\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Shift_Time_Out_For_Inspect\\quot\\>Shift Time Out For Inspect</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Social_Security_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Social_Security_Number\\quot\\>Social Security Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Code\\quot\\>Store Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Store_ID\\quot\\>Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_ID\\quot\\>Store ID (Duplicate)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Name\\quot\\>Store Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tip_Interpretation\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tip_Interpretation\\quot\\>Tip Interpretation</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Total_Hours_4_digits\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Total_Hours_4_digits\\quot\\>Total Hours (4 digits)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Total_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Total_Net_Sales\\quot\\>Total Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Total_Pay_Percent_Of_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Total_Pay_Percent_Of_Net_Sales\\quot\\>Total Pay Percent Of Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Total_Pay_Percent_Of_Total_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Total_Pay_Percent_Of_Total_Sales\\quot\\>Total Pay Percent Of Total Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Total_Tip_Pcnt\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Total_Tip_Pcnt\\quot\\>Total Tip \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0000\\quot\\>Ttl Hours 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0100\\quot\\>Ttl Hours 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0200\\quot\\>Ttl Hours 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0300\\quot\\>Ttl Hours 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0400\\quot\\>Ttl Hours 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0500\\quot\\>Ttl Hours 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0600\\quot\\>Ttl Hours 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0700\\quot\\>Ttl Hours 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0800\\quot\\>Ttl Hours 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0900\\quot\\>Ttl Hours 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1000\\quot\\>Ttl Hours 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1100\\quot\\>Ttl Hours 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1200\\quot\\>Ttl Hours 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1300\\quot\\>Ttl Hours 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1400\\quot\\>Ttl Hours 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1500\\quot\\>Ttl Hours 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1600\\quot\\>Ttl Hours 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1700\\quot\\>Ttl Hours 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1800\\quot\\>Ttl Hours 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1900\\quot\\>Ttl Hours 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_2000\\quot\\>Ttl Hours 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_2100\\quot\\>Ttl Hours 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_2200\\quot\\>Ttl Hours 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_2300\\quot\\>Ttl Hours 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0000\\quot\\>Ttl Pay 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0100\\quot\\>Ttl Pay 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0200\\quot\\>Ttl Pay 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0300\\quot\\>Ttl Pay 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0400\\quot\\>Ttl Pay 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0500\\quot\\>Ttl Pay 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0600\\quot\\>Ttl Pay 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0700\\quot\\>Ttl Pay 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0800\\quot\\>Ttl Pay 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0900\\quot\\>Ttl Pay 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1000\\quot\\>Ttl Pay 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1100\\quot\\>Ttl Pay 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1200\\quot\\>Ttl Pay 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1300\\quot\\>Ttl Pay 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1400\\quot\\>Ttl Pay 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1500\\quot\\>Ttl Pay 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1600\\quot\\>Ttl Pay 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1700\\quot\\>Ttl Pay 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1800\\quot\\>Ttl Pay 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1900\\quot\\>Ttl Pay 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_2000\\quot\\>Ttl Pay 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_2100\\quot\\>Ttl Pay 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_2200\\quot\\>Ttl Pay 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_2300\\quot\\>Ttl Pay 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unused\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unused\\quot\\>Unused</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Used\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Used\\quot\\>Used</option>//crlf////tab////tab////tab//<option></option>//crlf////tab////tab////tab//<option>=====Date Fields=====</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date_Text\\quot\\>Date Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Description\\quot\\>Day Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_End\\quot\\>Day End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index\\quot\\>Day Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Start\\quot\\>Day Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month\\quot\\>Month</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Description\\quot\\>Month Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_End\\quot\\>Month End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index\\quot\\>Month Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Start\\quot\\>Month Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter\\quot\\>Quarter</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Description\\quot\\>Quarter Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_End\\quot\\>Quarter End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index\\quot\\>Quarter Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Start\\quot\\>Quarter Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Description\\quot\\>Week Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_End\\quot\\>Week End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index\\quot\\>Week Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Of_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Of_Year\\quot\\>Week Of Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Start\\quot\\>Week Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year\\quot\\>Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Description\\quot\\>Year Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_End\\quot\\>Year End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index\\quot\\>Year Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Start\\quot\\>Year Start</option>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//XDim//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\XDim\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Average_Overtime_Rate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Average_Overtime_Rate\\quot\\>Approved Average Overtime Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Average_Regular_Rate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Average_Regular_Rate\\quot\\>Approved Average Regular Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppBreakHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppBreakHours\\quot\\>Approved Break Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppBreakIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppBreakIn\\quot\\>Approved Break In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppBrkNotPd\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppBrkNotPd\\quot\\>Approved Break Not Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppBreakOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppBreakOut\\quot\\>Approved Break Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppCashTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppCashTip\\quot\\>Approved Cash Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppCCFee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppCCFee\\quot\\>Approved CC Fee</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppChgTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppChgTip\\quot\\>Approved Charge Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppComps\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppComps\\quot\\>Approved Comps</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppDeclTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppDeclTip\\quot\\>Approved Declared Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppJobCode\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppJobCode\\quot\\>Approved Job Code ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppJobCodeName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppJobCodeName\\quot\\>Approved Job Code Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtHours\\quot\\>Approved O/t Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtHrs1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtHrs1\\quot\\>Approved O/t Hours1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtHrs2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtHrs2\\quot\\>Approved O/t Hours2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtPay\\quot\\>Approved O/t Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtPay1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtPay1\\quot\\>Approved O/t Pay1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtPay2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtPay2\\quot\\>Approved O/t Pay2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtRate\\quot\\>Approved O/t Rate Total</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtRate1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtRate1\\quot\\>Approved O/t Rate1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppOvtRate2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppOvtRate2\\quot\\>Approved O/t Rate2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Approved_Pay_Excluding_Overtime\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Approved_Pay_Excluding_Overtime\\quot\\>Approved Pay Excluding Overtime</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppPayType\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppPayType\\quot\\>Approved Pay Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppPosition\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppPosition\\quot\\>Approved Position</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppRegHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppRegHours\\quot\\>Approved Regular Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppRegPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppRegPay\\quot\\>Approved Regular Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppRegRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppRegRate\\quot\\>Approved Regular Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppCashSls\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppCashSls\\quot\\>Approved Shift Cash Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppChgSls\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppChgSls\\quot\\>Approved Shift Charge Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTtlSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTtlSales\\quot\\>Approved Shift Total Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTimeIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTimeIn\\quot\\>Approved Time In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTimeOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTimeOut\\quot\\>Approved Time Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTipsPaid\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTipsPaid\\quot\\>Approved Tips Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTipsReceived\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTipsReceived\\quot\\>Approved Tips Received</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTtlHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTtlHours\\quot\\>Approved Total Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTtlPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTtlPay\\quot\\>Approved Total Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppTotalTips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppTotalTips\\quot\\>Approved Total Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Union_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Union_Code\\quot\\>Branch / Union Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Business_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Business_Date\\quot\\>Business Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Date_From\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Date_From\\quot\\>Calc Date From</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Date_To\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Date_To\\quot\\>Calc Date To</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Tip_Share_Field_Selection\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Tip_Share_Field_Selection\\quot\\>Calc Tip Share Field Selection</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Tip_Share_Percent\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Tip_Share_Percent\\quot\\>Calc Tip Share Percent</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calculated_Tip_Share\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calculated_Tip_Share\\quot\\>Calculated Tip Share</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cash_Tip_Pcnt\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cash_Tip_Pcnt\\quot\\>Cash Tip \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Charge_Tip_Pcnt\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Charge_Tip_Pcnt\\quot\\>Charge Tip \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Date\\quot\\>Compare Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Employee_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Employee_ID\\quot\\>Compare Employee ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Employee_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Employee_Name\\quot\\>Compare Employee Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Job_Code_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Job_Code_Name\\quot\\>Compare Job Code Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ConsecDays\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ConsecDays\\quot\\>Consecutive Days Worked</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Amount\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Amount\\quot\\>Controllables Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\CumTtlHrs\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\CumTtlHrs\\quot\\>Cumulative Total Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\datenumin\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\datenumin\\quot\\>datenum_in</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\datenumout\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\datenumout\\quot\\>datenum_out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Net_Sales\\quot\\>Day Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description\\quot\\>Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Dim_Driver_StoreID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Dim_Driver_StoreID\\quot\\>Dim Driver StoreID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\DiskIndex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\DiskIndex\\quot\\>DiskIndex</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\DriverParams\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\DriverParams\\quot\\>DriverParams</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Cash_Tips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Cash_Tips\\quot\\>Earning Code Cash Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_CC_Fee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_CC_Fee\\quot\\>Earning Code CC Fee</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Charge_Tips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Charge_Tips\\quot\\>Earning Code Charge Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Job_No\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Job_No\\quot\\>Earning Code Job Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Overtime_Hours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Overtime_Hours\\quot\\>Earning Code Overtime Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Regular_Hours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Regular_Hours\\quot\\>Earning Code Regular Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Sales\\quot\\>Earning Code Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Tip_Share\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Tip_Share\\quot\\>Earning Code Tip Share</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Tips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Tips\\quot\\>Earning Code Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Tips_Paid\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Tips_Paid\\quot\\>Earning Code Tips Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Earning_Code_Tips_Received\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Earning_Code_Tips_Received\\quot\\>Earning Code Tips Received</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee\\quot\\>Employee ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\EmpName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\EmpName\\quot\\>Employee Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_Payroll_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_Payroll_Number\\quot\\>Employee Payroll Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Employee_POS_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Employee_POS_ID\\quot\\>Employee POS ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Do_Not_Export\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Do_Not_Export\\quot\\>Exclude From Labor Detail</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\First_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\First_Name\\quot\\>First Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\First_Name_Last_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\First_Name_Last_Name\\quot\\>First Name / Last Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Job_Code_Category_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Job_Code_Category_ID\\quot\\>Job Code Category ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Job_Code_Category_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Job_Code_Category_Name\\quot\\>Job Code Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export_Detail\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export_Detail\\quot\\>Key For Export - Detail</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export_OvtHrs\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export_OvtHrs\\quot\\>Key For Export - Overtime Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export_RegHrs\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export_RegHrs\\quot\\>Key For Export - Regular Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export_Sales\\quot\\>Key For Export - Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export_Tips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export_Tips\\quot\\>Key For Export - Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Reg_Rate_Lookup\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Reg_Rate_Lookup\\quot\\>Key For Reg Rate Lookup</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppLbrPercent\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppLbrPercent\\quot\\>Labor \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Labor_Percent_Of_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Labor_Percent_Of_Sales\\quot\\>Labor \\percent\\ Of Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Last_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Last_Name\\quot\\>Last Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Last_Name_First_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Last_Name_First_Name\\quot\\>Last Name / First Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Line\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Line\\quot\\>Line</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Middle_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Middle_Name\\quot\\>Middle Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Net_Tips\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Net_Tips\\quot\\>Net Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0000\\quot\\>OT Hours 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0100\\quot\\>OT Hours 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0200\\quot\\>OT Hours 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0300\\quot\\>OT Hours 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0400\\quot\\>OT Hours 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0500\\quot\\>OT Hours 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0600\\quot\\>OT Hours 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0700\\quot\\>OT Hours 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0800\\quot\\>OT Hours 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_0900\\quot\\>OT Hours 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1000\\quot\\>OT Hours 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1100\\quot\\>OT Hours 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1200\\quot\\>OT Hours 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1300\\quot\\>OT Hours 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1400\\quot\\>OT Hours 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1500\\quot\\>OT Hours 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1600\\quot\\>OT Hours 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1700\\quot\\>OT Hours 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1800\\quot\\>OT Hours 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_1900\\quot\\>OT Hours 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_2000\\quot\\>OT Hours 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_2100\\quot\\>OT Hours 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_2200\\quot\\>OT Hours 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT_Hours_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT_Hours_2300\\quot\\>OT Hours 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0000\\quot\\>OT1 Hours 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0100\\quot\\>OT1 Hours 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0200\\quot\\>OT1 Hours 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0300\\quot\\>OT1 Hours 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0400\\quot\\>OT1 Hours 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0500\\quot\\>OT1 Hours 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0600\\quot\\>OT1 Hours 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0700\\quot\\>OT1 Hours 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0800\\quot\\>OT1 Hours 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_0900\\quot\\>OT1 Hours 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1000\\quot\\>OT1 Hours 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1100\\quot\\>OT1 Hours 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1200\\quot\\>OT1 Hours 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1300\\quot\\>OT1 Hours 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1400\\quot\\>OT1 Hours 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1500\\quot\\>OT1 Hours 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1600\\quot\\>OT1 Hours 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1700\\quot\\>OT1 Hours 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1800\\quot\\>OT1 Hours 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_1900\\quot\\>OT1 Hours 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_2000\\quot\\>OT1 Hours 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_2100\\quot\\>OT1 Hours 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_2200\\quot\\>OT1 Hours 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT1_Hours_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT1_Hours_2300\\quot\\>OT1 Hours 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0000\\quot\\>OT2 Hours 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0100\\quot\\>OT2 Hours 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0200\\quot\\>OT2 Hours 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0300\\quot\\>OT2 Hours 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0400\\quot\\>OT2 Hours 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0500\\quot\\>OT2 Hours 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0600\\quot\\>OT2 Hours 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0700\\quot\\>OT2 Hours 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0800\\quot\\>OT2 Hours 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_0900\\quot\\>OT2 Hours 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1000\\quot\\>OT2 Hours 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1100\\quot\\>OT2 Hours 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1200\\quot\\>OT2 Hours 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1300\\quot\\>OT2 Hours 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1400\\quot\\>OT2 Hours 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1500\\quot\\>OT2 Hours 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1600\\quot\\>OT2 Hours 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1700\\quot\\>OT2 Hours 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1800\\quot\\>OT2 Hours 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_1900\\quot\\>OT2 Hours 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_2000\\quot\\>OT2 Hours 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_2100\\quot\\>OT2 Hours 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_2200\\quot\\>OT2 Hours 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\OT2_Hours_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\OT2_Hours_2300\\quot\\>OT2 Hours 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Hours_4_digits\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Hours_4_digits\\quot\\>Overtime Hours (4 digits)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Rate_for_Export\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Rate_for_Export\\quot\\>Overtime Rate for Export</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Reason_1_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Reason_1_Description\\quot\\>Overtime Reason 1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Reason_1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Reason_1\\quot\\>Overtime Reason 1 Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Reason_2_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Reason_2_Description\\quot\\>Overtime Reason 2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Overtime_Reason_2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Overtime_Reason_2\\quot\\>Overtime Reason 2 Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0000\\quot\\>Ovt Pay 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0100\\quot\\>Ovt Pay 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0200\\quot\\>Ovt Pay 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0300\\quot\\>Ovt Pay 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0400\\quot\\>Ovt Pay 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0500\\quot\\>Ovt Pay 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0600\\quot\\>Ovt Pay 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0700\\quot\\>Ovt Pay 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0800\\quot\\>Ovt Pay 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_0900\\quot\\>Ovt Pay 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1000\\quot\\>Ovt Pay 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1100\\quot\\>Ovt Pay 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1200\\quot\\>Ovt Pay 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1300\\quot\\>Ovt Pay 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1400\\quot\\>Ovt Pay 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1500\\quot\\>Ovt Pay 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1600\\quot\\>Ovt Pay 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1700\\quot\\>Ovt Pay 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1800\\quot\\>Ovt Pay 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_1900\\quot\\>Ovt Pay 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_2000\\quot\\>Ovt Pay 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_2100\\quot\\>Ovt Pay 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_2200\\quot\\>Ovt Pay 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ovt_Pay_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ovt_Pay_2300\\quot\\>Ovt Pay 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Batch_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Batch_ID\\quot\\>Payroll Batch ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Company_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Company_Code\\quot\\>Payroll Company Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Division\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Division\\quot\\>Payroll Division</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Earnings_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Earnings_Code\\quot\\>Payroll Earnings Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Export_Add_Tips_Paid\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Export_Add_Tips_Paid\\quot\\>Payroll Export Add Tips Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Export_Add_Tips_Received\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Export_Add_Tips_Received\\quot\\>Payroll Export Add Tips Received</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Export_Deduct_CC_Fee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Export_Deduct_CC_Fee\\quot\\>Payroll Export Deduct CC Fee</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Payroll_Export_Deduct_Tip_Share\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Payroll_Export_Deduct_Tip_Share\\quot\\>Payroll Export Deduct Tip Share</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Net_Sales\\quot\\>Period Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Net_Sales_Date_From\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Net_Sales_Date_From\\quot\\>Period Net Sales Date From</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Net_Sales_Date_To\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Net_Sales_Date_To\\quot\\>Period Net Sales Date To</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Total_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Total_Sales\\quot\\>Period Total Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActBreakHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActBreakHours\\quot\\>POS Break Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActBreakIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActBreakIn\\quot\\>POS Break In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActBrkNotPd\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActBrkNotPd\\quot\\>POS Break Not Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActBreakOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActBreakOut\\quot\\>POS Break Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActCashSls\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActCashSls\\quot\\>POS Cash Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActCashTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActCashTip\\quot\\>POS Cash Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActCCFee\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActCCFee\\quot\\>POS CC Fee</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActChgSls\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActChgSls\\quot\\>POS Charge Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActChgTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActChgTip\\quot\\>POS Charge Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActComps\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActComps\\quot\\>POS Comps</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActDeclTip\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActDeclTip\\quot\\>POS Declared Tips</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActJobCode\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActJobCode\\quot\\>POS Job Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActJobCodeName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActJobCodeName\\quot\\>POS Job Code Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActLbrPercent\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActLbrPercent\\quot\\>POS Labor \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActNetSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActNetSales\\quot\\>POS Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtHours\\quot\\>POS Overtime Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtHrs1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtHrs1\\quot\\>POS Overtime Hours1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtHrs2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtHrs2\\quot\\>POS Overtime Hours2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtPay\\quot\\>POS Overtime Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtPay1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtPay1\\quot\\>POS Overtime Pay1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtPay2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtPay2\\quot\\>POS Overtime Pay2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtRate\\quot\\>POS Overtime Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtRate1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtRate1\\quot\\>POS Overtime Rate1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActOvtRate2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActOvtRate2\\quot\\>POS Overtime Rate2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActPayType\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActPayType\\quot\\>POS Pay Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActPosition\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActPosition\\quot\\>POS Position</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActRegHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActRegHours\\quot\\>POS Regular Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActRegPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActRegPay\\quot\\>POS Regular Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActRegRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActRegRate\\quot\\>POS Regular Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTimeIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTimeIn\\quot\\>POS Time In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTimeOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTimeOut\\quot\\>POS Time Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTipsPaid\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTipsPaid\\quot\\>POS Tips Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTipsReceived\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTipsReceived\\quot\\>POS Tips Received</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTtlHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTtlHours\\quot\\>POS Total Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTtlPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTtlPay\\quot\\>POS Total Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ActTtlSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ActTtlSales\\quot\\>POS Total Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_Type\\quot\\>Record Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0000\\quot\\>Reg Hours 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0100\\quot\\>Reg Hours 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0200\\quot\\>Reg Hours 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0300\\quot\\>Reg Hours 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0400\\quot\\>Reg Hours 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0500\\quot\\>Reg Hours 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0600\\quot\\>Reg Hours 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0700\\quot\\>Reg Hours 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0800\\quot\\>Reg Hours 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_0900\\quot\\>Reg Hours 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1000\\quot\\>Reg Hours 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1100\\quot\\>Reg Hours 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1200\\quot\\>Reg Hours 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1300\\quot\\>Reg Hours 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1400\\quot\\>Reg Hours 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1500\\quot\\>Reg Hours 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1600\\quot\\>Reg Hours 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1700\\quot\\>Reg Hours 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1800\\quot\\>Reg Hours 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_1900\\quot\\>Reg Hours 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_2000\\quot\\>Reg Hours 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_2100\\quot\\>Reg Hours 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_2200\\quot\\>Reg Hours 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Hours_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Hours_2300\\quot\\>Reg Hours 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0000\\quot\\>Reg Pay 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0100\\quot\\>Reg Pay 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0200\\quot\\>Reg Pay 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0300\\quot\\>Reg Pay 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0400\\quot\\>Reg Pay 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0500\\quot\\>Reg Pay 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0600\\quot\\>Reg Pay 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0700\\quot\\>Reg Pay 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0800\\quot\\>Reg Pay 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_0900\\quot\\>Reg Pay 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1000\\quot\\>Reg Pay 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1100\\quot\\>Reg Pay 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1200\\quot\\>Reg Pay 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1300\\quot\\>Reg Pay 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1400\\quot\\>Reg Pay 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1500\\quot\\>Reg Pay 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1600\\quot\\>Reg Pay 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1700\\quot\\>Reg Pay 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1800\\quot\\>Reg Pay 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_1900\\quot\\>Reg Pay 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_2000\\quot\\>Reg Pay 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_2100\\quot\\>Reg Pay 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_2200\\quot\\>Reg Pay 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Reg_Pay_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Reg_Pay_2300\\quot\\>Reg Pay 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Regular_Hours_4_digits\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Regular_Hours_4_digits\\quot\\>Regular Hours (4 digits)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Sales_Link\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Sales_Link\\quot\\>Sales Link</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchBreakIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchBreakIn\\quot\\>Scheduled Break In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchBrkNotPd\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchBrkNotPd\\quot\\>Scheduled Break Not Paid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchBreakOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchBreakOut\\quot\\>Scheduled Break Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchJobCode\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchJobCode\\quot\\>Scheduled Job Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchJobCodeName\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchJobCodeName\\quot\\>Scheduled Job Code Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchLbrPercent\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchLbrPercent\\quot\\>Scheduled Labor \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtHours\\quot\\>Scheduled Overtime Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtHrs1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtHrs1\\quot\\>Scheduled Overtime Hours1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtHrs2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtHrs2\\quot\\>Scheduled Overtime Hours2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtPay\\quot\\>Scheduled Overtime Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtPay1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtPay1\\quot\\>Scheduled Overtime Pay1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtPay2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtPay2\\quot\\>Scheduled Overtime Pay2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtRate\\quot\\>Scheduled Overtime Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtRate1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtRate1\\quot\\>Scheduled Overtime Rate1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchOvtRate2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchOvtRate2\\quot\\>Scheduled Overtime Rate2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchPayType\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchPayType\\quot\\>Scheduled Pay Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchPosition\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchPosition\\quot\\>Scheduled Position</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchRegHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchRegHours\\quot\\>Scheduled Regular Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchRegPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchRegPay\\quot\\>Scheduled Regular Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchRegRate\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchRegRate\\quot\\>Scheduled Regular Rate</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchTimeIn\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchTimeIn\\quot\\>Scheduled Time In</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchTimeOut\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchTimeOut\\quot\\>Scheduled Time Out</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchTtlHours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchTtlHours\\quot\\>Scheduled Total Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\SchTtlPay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\SchTtlPay\\quot\\>Scheduled Total Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Approved_Job_Code_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Approved_Job_Code_Name\\quot\\>Section Header by Approved Job Code Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Business_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Business_Date\\quot\\>Section Header by Business Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Employee_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Employee_Name\\quot\\>Section Header by Employee Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Job_Code_Category_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Job_Code_Category_Name\\quot\\>Section Header by Job Code Category Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppShift_Hours\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppShift_Hours\\quot\\>Shift Hours</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppNetSales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppNetSales\\quot\\>Shift Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\AppShift_Pay\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\AppShift_Pay\\quot\\>Shift Pay</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Shift_Time_In_For_Inspect\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Shift_Time_In_For_Inspect\\quot\\>Shift Time In For Inspect</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Shift_Time_Out_For_Inspect\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Shift_Time_Out_For_Inspect\\quot\\>Shift Time Out For Inspect</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Social_Security_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Social_Security_Number\\quot\\>Social Security Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Code\\quot\\>Store Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Store_ID\\quot\\>Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_ID\\quot\\>Store ID (Duplicate)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Store_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Store_Name\\quot\\>Store Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tip_Interpretation\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tip_Interpretation\\quot\\>Tip Interpretation</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Total_Hours_4_digits\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Total_Hours_4_digits\\quot\\>Total Hours (4 digits)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Total_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Total_Net_Sales\\quot\\>Total Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Total_Pay_Percent_Of_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Total_Pay_Percent_Of_Net_Sales\\quot\\>Total Pay Percent Of Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Total_Pay_Percent_Of_Total_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Total_Pay_Percent_Of_Total_Sales\\quot\\>Total Pay Percent Of Total Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Total_Tip_Pcnt\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Total_Tip_Pcnt\\quot\\>Total Tip \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0000\\quot\\>Ttl Hours 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0100\\quot\\>Ttl Hours 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0200\\quot\\>Ttl Hours 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0300\\quot\\>Ttl Hours 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0400\\quot\\>Ttl Hours 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0500\\quot\\>Ttl Hours 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0600\\quot\\>Ttl Hours 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0700\\quot\\>Ttl Hours 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0800\\quot\\>Ttl Hours 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_0900\\quot\\>Ttl Hours 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1000\\quot\\>Ttl Hours 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1100\\quot\\>Ttl Hours 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1200\\quot\\>Ttl Hours 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1300\\quot\\>Ttl Hours 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1400\\quot\\>Ttl Hours 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1500\\quot\\>Ttl Hours 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1600\\quot\\>Ttl Hours 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1700\\quot\\>Ttl Hours 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1800\\quot\\>Ttl Hours 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_1900\\quot\\>Ttl Hours 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_2000\\quot\\>Ttl Hours 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_2100\\quot\\>Ttl Hours 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_2200\\quot\\>Ttl Hours 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Hours_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Hours_2300\\quot\\>Ttl Hours 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0000\\quot\\>Ttl Pay 00:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0100\\quot\\>Ttl Pay 01:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0200\\quot\\>Ttl Pay 02:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0300\\quot\\>Ttl Pay 03:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0400\\quot\\>Ttl Pay 04:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0500\\quot\\>Ttl Pay 05:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0600\\quot\\>Ttl Pay 06:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0700\\quot\\>Ttl Pay 07:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0800\\quot\\>Ttl Pay 08:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_0900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_0900\\quot\\>Ttl Pay 09:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1000\\quot\\>Ttl Pay 10:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1100\\quot\\>Ttl Pay 11:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1200\\quot\\>Ttl Pay 12:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1300\\quot\\>Ttl Pay 13:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1400\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1400\\quot\\>Ttl Pay 14:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1500\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1500\\quot\\>Ttl Pay 15:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1600\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1600\\quot\\>Ttl Pay 16:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1700\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1700\\quot\\>Ttl Pay 17:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1800\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1800\\quot\\>Ttl Pay 18:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_1900\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_1900\\quot\\>Ttl Pay 19:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_2000\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_2000\\quot\\>Ttl Pay 20:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_2100\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_2100\\quot\\>Ttl Pay 21:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_2200\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_2200\\quot\\>Ttl Pay 22:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ttl_Pay_2300\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ttl_Pay_2300\\quot\\>Ttl Pay 23:00</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unused\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unused\\quot\\>Unused</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Used\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Used\\quot\\>Used</option>//crlf////tab////tab////tab//<option></option>//crlf////tab////tab////tab//<option>=====Date Fields=====</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date_Text\\quot\\>Date Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Start\\quot\\>Day Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_End\\quot\\>Day End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Description\\quot\\>Day Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index\\quot\\>Day Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_End\\quot\\>Day Index@Day_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_Start\\quot\\>Day Index@Day_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_Description\\quot\\>Day Index@Day_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Description\\quot\\>Month Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index\\quot\\>Month Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_End\\quot\\>Month Index@Month_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_Start\\quot\\>Month Index@Month_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_Description\\quot\\>Month Index@Month_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter\\quot\\>Quarter</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Start\\quot\\>Quarter Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_End\\quot\\>Quarter End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Description\\quot\\>Quarter Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index\\quot\\>Quarter Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_Start\\quot\\>Quarter Index@Quarter_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_End\\quot\\>Quarter Index@Quarter_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_Description\\quot\\>Quarter Index@Quarter_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Start\\quot\\>Week Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_End\\quot\\>Week End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Description\\quot\\>Week Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index\\quot\\>Week Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_Start\\quot\\>Week Index@Week_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_End\\quot\\>Week Index@Week_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_Description\\quot\\>Week Index@Week_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Of_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Of_Year\\quot\\>Week Of Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year\\quot\\>Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Description\\quot\\>Year Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Start\\quot\\>Year Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_End\\quot\\>Year End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index\\quot\\>Year Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_Start\\quot\\>Year Index@Year_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_End\\quot\\>Year Index@Year_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_Description\\quot\\>Year Index@Year_Description</option>//crlf////tab////tab//</conditional>//crlf////crlf////tab//</select>//crlf//</conditional>//crlf//^
ID=463103|X=151|Y=33|W=1349|H=1429|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//List of fields.  This list is used to select the appropriate fields for //crlf//the X\\comma\\ Y and Measure fields.  //crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:undefined(\\quot\\__Axis__\\quot\\)>//crlf////tab//<h1>Aspect_Back_Office_Invoice_Detail - All Fields</h1>//crlf////tab//<include type:expression; expression:htmlTable(getCollection(StructureFields2\\comma\\Aspect_Back_Office_Invoice_Detail)\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\=\\quot\\)>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//This item is used to get the select box for x\\comma\\ y and measure dimensions.  It is //crlf//hardwired rather than using a collection in order specify which fields will //crlf//be included.//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:defined(\\quot\\__axis__\\quot\\)>//crlf////tab//<select ID=\\quot\\__salt__Select__Axis__\\quot\\ multiple onChange=\\quot\\__axis__Selected('__salt__'\\comma\\this)\\quot\\ style=\\quot\\height:150px;width:100\\percent\\\\quot\\ Param=\\quot\\__Axis__=$value$\\quot\\>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Measure//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\Measure\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Extended_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Extended_Price\\quot\\>Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Amount_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Amount_Text\\quot\\>Amount Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Aspect7_Import_Key\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Aspect7_Import_Key\\quot\\>Aspect7_Import_Key</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Store_ID\\quot\\>Calc Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Conversion_Is_Valid\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Conversion_Is_Valid\\quot\\>Conversion Is Valid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Full_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Full_Group_Name\\quot\\>Full Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\GL_Account\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\GL_Account\\quot\\>GL Account</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\GL_Class\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\GL_Class\\quot\\>GL Class</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group_ID\\quot\\>Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\High_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\High_Price\\quot\\>High Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Extended_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Extended_Price\\quot\\>Imported Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Item_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Item_Code\\quot\\>Imported Item Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Item_Name\\quot\\>Imported Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Line_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Line_Number\\quot\\>Imported Line Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Pack_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Pack_Size\\quot\\>Imported Pack Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Quantity\\quot\\>Imported Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Tax\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Tax\\quot\\>Imported Tax</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group_Name\\quot\\>Inventory Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_ID\\quot\\>Inventory Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Name\\quot\\>Inventory Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Parent_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Parent_Group_ID\\quot\\>Inventory Item Parent Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Invoice_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Invoice_Date\\quot\\>Invoice Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\InvoiceID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\InvoiceID\\quot\\>Invoice ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Invoice_ID_Is_Deleted\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Invoice_ID_Is_Deleted\\quot\\>Invoice ID Is Deleted</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Invoice_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Invoice_Number\\quot\\>Invoice Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ItemID\\quot\\>Item</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Item_Name\\quot\\>Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Record_Type\\quot\\>Item Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export\\quot\\>Key For Export</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\DiskIndex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\DiskIndex\\quot\\>Line</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Invoice_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Invoice_Date\\quot\\>Lookup Invoice Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Low_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Low_Price\\quot\\>Low Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\MAS90_GL_Account\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\MAS90_GL_Account\\quot\\>MAS90 GL Account</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\MAS90_Invoice_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\MAS90_Invoice_Number\\quot\\>MAS90 Invoice Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\MAS90_Vendor_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\MAS90_Vendor_Code\\quot\\>MAS90 Vendor Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Move\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Move\\quot\\>Move</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Number_of_Days_Past\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Number_of_Days_Past\\quot\\>Number of Days Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Parent_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Parent_Group_Name\\quot\\>Parent Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity\\quot\\>Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_1Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_1Week_Quantity\\quot\\>Quantity Purchased 1 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_2Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_2Week_Quantity\\quot\\>Quantity Purchased 2 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_3Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_3Week_Quantity\\quot\\>Quantity Purchased 3 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_4Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_4Week_Quantity\\quot\\>Quantity Purchased 4 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_5To12Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_5To12Week_Quantity\\quot\\>Quantity Purchased 5 to 12 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Over12Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Over12Week_Quantity\\quot\\>Quantity Purchased Over 12 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quickbooks_Date_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quickbooks_Date_Text\\quot\\>Quickbooks Date (Text)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quickbooks_GL_Account\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quickbooks_GL_Account\\quot\\>Quickbooks GL Account</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Full_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Full_Group_Name\\quot\\>Section Header by Full Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Invoice_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Invoice_Date\\quot\\>Section Header By Invoice Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Parent_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Parent_Group_Name\\quot\\>Section Header By Parent Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Vendor\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Vendor\\quot\\>Section Header By Vendor</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size\\quot\\>Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Prefix\\quot\\>Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Unit\\quot\\>Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Sort_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Sort_Index\\quot\\>Sort Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Price\\quot\\>Standard Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Quantity\\quot\\>Standard Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size\\quot\\>Standard Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size_Prefix\\quot\\>Standard Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size_Unit\\quot\\>Standard Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tax\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tax\\quot\\>Tax</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Top_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Top_Group_Name\\quot\\>Top Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unit_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unit_Price\\quot\\>Unit Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unused\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unused\\quot\\>Unused</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Used\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Used\\quot\\>Used</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor_Code\\quot\\>Vendor Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\VendorID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\VendorID\\quot\\>Vendor ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor\\quot\\>Vendor Name</option>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//YDim//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\YDim\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Extended_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Extended_Price\\quot\\>Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Amount_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Amount_Text\\quot\\>Amount Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Aspect7_Import_Key\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Aspect7_Import_Key\\quot\\>Aspect7_Import_Key</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Store_ID\\quot\\>Calc Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Conversion_Is_Valid\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Conversion_Is_Valid\\quot\\>Conversion Is Valid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Full_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Full_Group_Name\\quot\\>Full Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\GL_Account\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\GL_Account\\quot\\>GL Account</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\GL_Class\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\GL_Class\\quot\\>GL Class</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group_ID\\quot\\>Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\High_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\High_Price\\quot\\>High Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Extended_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Extended_Price\\quot\\>Imported Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Item_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Item_Code\\quot\\>Imported Item Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Item_Name\\quot\\>Imported Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Line_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Line_Number\\quot\\>Imported Line Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Pack_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Pack_Size\\quot\\>Imported Pack Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Quantity\\quot\\>Imported Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Tax\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Tax\\quot\\>Imported Tax</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group_Name\\quot\\>Inventory Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_ID\\quot\\>Inventory Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Name\\quot\\>Inventory Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Parent_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Parent_Group_ID\\quot\\>Inventory Item Parent Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Invoice_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Invoice_Date\\quot\\>Invoice Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\InvoiceID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\InvoiceID\\quot\\>Invoice ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Invoice_ID_Is_Deleted\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Invoice_ID_Is_Deleted\\quot\\>Invoice ID Is Deleted</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Invoice_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Invoice_Number\\quot\\>Invoice Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ItemID\\quot\\>Item</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Item_Name\\quot\\>Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Record_Type\\quot\\>Item Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export\\quot\\>Key For Export</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\DiskIndex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\DiskIndex\\quot\\>Line</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Invoice_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Invoice_Date\\quot\\>Lookup Invoice Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Low_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Low_Price\\quot\\>Low Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\MAS90_GL_Account\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\MAS90_GL_Account\\quot\\>MAS90 GL Account</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\MAS90_Invoice_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\MAS90_Invoice_Number\\quot\\>MAS90 Invoice Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\MAS90_Vendor_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\MAS90_Vendor_Code\\quot\\>MAS90 Vendor Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Move\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Move\\quot\\>Move</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Number_of_Days_Past\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Number_of_Days_Past\\quot\\>Number of Days Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Parent_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Parent_Group_Name\\quot\\>Parent Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity\\quot\\>Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_1Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_1Week_Quantity\\quot\\>Quantity Purchased 1 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_2Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_2Week_Quantity\\quot\\>Quantity Purchased 2 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_3Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_3Week_Quantity\\quot\\>Quantity Purchased 3 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_4Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_4Week_Quantity\\quot\\>Quantity Purchased 4 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_5To12Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_5To12Week_Quantity\\quot\\>Quantity Purchased 5 to 12 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Over12Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Over12Week_Quantity\\quot\\>Quantity Purchased Over 12 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quickbooks_Date_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quickbooks_Date_Text\\quot\\>Quickbooks Date (Text)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quickbooks_GL_Account\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quickbooks_GL_Account\\quot\\>Quickbooks GL Account</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Full_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Full_Group_Name\\quot\\>Section Header by Full Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Invoice_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Invoice_Date\\quot\\>Section Header By Invoice Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Parent_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Parent_Group_Name\\quot\\>Section Header By Parent Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Vendor\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Vendor\\quot\\>Section Header By Vendor</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size\\quot\\>Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Prefix\\quot\\>Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Unit\\quot\\>Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Sort_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Sort_Index\\quot\\>Sort Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Price\\quot\\>Standard Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Quantity\\quot\\>Standard Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size\\quot\\>Standard Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size_Prefix\\quot\\>Standard Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size_Unit\\quot\\>Standard Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tax\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tax\\quot\\>Tax</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Top_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Top_Group_Name\\quot\\>Top Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unit_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unit_Price\\quot\\>Unit Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unused\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unused\\quot\\>Unused</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Used\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Used\\quot\\>Used</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor_Code\\quot\\>Vendor Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\VendorID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\VendorID\\quot\\>Vendor ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor\\quot\\>Vendor Name</option>//crlf////tab////tab////tab//<option></option>//crlf////tab////tab////tab//<option>=====Date Fields=====</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date_Text\\quot\\>Date Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Description\\quot\\>Day Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_End\\quot\\>Day End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index\\quot\\>Day Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Start\\quot\\>Day Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month\\quot\\>Month</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Description\\quot\\>Month Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_End\\quot\\>Month End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index\\quot\\>Month Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Start\\quot\\>Month Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter\\quot\\>Quarter</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Description\\quot\\>Quarter Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_End\\quot\\>Quarter End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index\\quot\\>Quarter Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Start\\quot\\>Quarter Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Description\\quot\\>Week Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_End\\quot\\>Week End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index\\quot\\>Week Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Of_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Of_Year\\quot\\>Week Of Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Start\\quot\\>Week Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year\\quot\\>Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Description\\quot\\>Year Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_End\\quot\\>Year End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index\\quot\\>Year Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Start\\quot\\>Year Start</option>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//XDim//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\XDim\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Extended_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Extended_Price\\quot\\>Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Amount_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Amount_Text\\quot\\>Amount Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Aspect7_Import_Key\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Aspect7_Import_Key\\quot\\>Aspect7_Import_Key</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Store_ID\\quot\\>Calc Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Conversion_Is_Valid\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Conversion_Is_Valid\\quot\\>Conversion Is Valid</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Full_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Full_Group_Name\\quot\\>Full Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\GL_Account\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\GL_Account\\quot\\>GL Account</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\GL_Class\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\GL_Class\\quot\\>GL Class</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group_ID\\quot\\>Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\High_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\High_Price\\quot\\>High Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Extended_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Extended_Price\\quot\\>Imported Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Item_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Item_Code\\quot\\>Imported Item Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Item_Name\\quot\\>Imported Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Line_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Line_Number\\quot\\>Imported Line Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Pack_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Pack_Size\\quot\\>Imported Pack Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Quantity\\quot\\>Imported Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Imported_Tax\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Imported_Tax\\quot\\>Imported Tax</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group_Name\\quot\\>Inventory Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_ID\\quot\\>Inventory Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Name\\quot\\>Inventory Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Parent_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Parent_Group_ID\\quot\\>Inventory Item Parent Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Invoice_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Invoice_Date\\quot\\>Invoice Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\InvoiceID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\InvoiceID\\quot\\>Invoice ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Invoice_ID_Is_Deleted\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Invoice_ID_Is_Deleted\\quot\\>Invoice ID Is Deleted</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Invoice_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Invoice_Number\\quot\\>Invoice Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ItemID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ItemID\\quot\\>Item</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Item_Name\\quot\\>Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Record_Type\\quot\\>Item Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Key_For_Export\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Key_For_Export\\quot\\>Key For Export</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\DiskIndex\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\DiskIndex\\quot\\>Line</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Lookup_Invoice_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Lookup_Invoice_Date\\quot\\>Lookup Invoice Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Low_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Low_Price\\quot\\>Low Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\MAS90_GL_Account\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\MAS90_GL_Account\\quot\\>MAS90 GL Account</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\MAS90_Invoice_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\MAS90_Invoice_Number\\quot\\>MAS90 Invoice Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\MAS90_Vendor_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\MAS90_Vendor_Code\\quot\\>MAS90 Vendor Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Move\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Move\\quot\\>Move</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Number_of_Days_Past\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Number_of_Days_Past\\quot\\>Number of Days Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Parent_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Parent_Group_Name\\quot\\>Parent Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity\\quot\\>Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_1Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_1Week_Quantity\\quot\\>Quantity Purchased 1 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_2Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_2Week_Quantity\\quot\\>Quantity Purchased 2 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_3Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_3Week_Quantity\\quot\\>Quantity Purchased 3 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_4Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_4Week_Quantity\\quot\\>Quantity Purchased 4 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_5To12Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_5To12Week_Quantity\\quot\\>Quantity Purchased 5 to 12 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Period_Over12Week_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Period_Over12Week_Quantity\\quot\\>Quantity Purchased Over 12 Week Past</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quickbooks_Date_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quickbooks_Date_Text\\quot\\>Quickbooks Date (Text)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quickbooks_GL_Account\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quickbooks_GL_Account\\quot\\>Quickbooks GL Account</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Full_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Full_Group_Name\\quot\\>Section Header by Full Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Invoice_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Invoice_Date\\quot\\>Section Header By Invoice Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Parent_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Parent_Group_Name\\quot\\>Section Header By Parent Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Vendor\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Vendor\\quot\\>Section Header By Vendor</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size\\quot\\>Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Prefix\\quot\\>Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Unit\\quot\\>Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Sort_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Sort_Index\\quot\\>Sort Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Price\\quot\\>Standard Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Quantity\\quot\\>Standard Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size\\quot\\>Standard Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size_Prefix\\quot\\>Standard Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size_Unit\\quot\\>Standard Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Tax\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Tax\\quot\\>Tax</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Top_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Top_Group_Name\\quot\\>Top Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unit_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unit_Price\\quot\\>Unit Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unused\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unused\\quot\\>Unused</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Used\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Used\\quot\\>Used</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor_Code\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor_Code\\quot\\>Vendor Code</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\VendorID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\VendorID\\quot\\>Vendor ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor\\quot\\>Vendor Name</option>//crlf////tab////tab////tab//<option></option>//crlf////tab////tab////tab//<option>=====Date Fields=====</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date_Text\\quot\\>Date Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Start\\quot\\>Day Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_End\\quot\\>Day End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Description\\quot\\>Day Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index\\quot\\>Day Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_End\\quot\\>Day Index@Day_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_Start\\quot\\>Day Index@Day_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_Description\\quot\\>Day Index@Day_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Description\\quot\\>Month Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index\\quot\\>Month Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_End\\quot\\>Month Index@Month_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_Start\\quot\\>Month Index@Month_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_Description\\quot\\>Month Index@Month_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter\\quot\\>Quarter</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Start\\quot\\>Quarter Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_End\\quot\\>Quarter End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Description\\quot\\>Quarter Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index\\quot\\>Quarter Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_Start\\quot\\>Quarter Index@Quarter_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_End\\quot\\>Quarter Index@Quarter_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_Description\\quot\\>Quarter Index@Quarter_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Start\\quot\\>Week Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_End\\quot\\>Week End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Description\\quot\\>Week Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index\\quot\\>Week Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_Start\\quot\\>Week Index@Week_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_End\\quot\\>Week Index@Week_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_Description\\quot\\>Week Index@Week_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Of_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Of_Year\\quot\\>Week Of Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year\\quot\\>Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Description\\quot\\>Year Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Start\\quot\\>Year Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_End\\quot\\>Year End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index\\quot\\>Year Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_Start\\quot\\>Year Index@Year_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_End\\quot\\>Year Index@Year_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_Description\\quot\\>Year Index@Year_Description</option>//crlf////tab////tab//</conditional>//crlf////crlf////tab//</select>//crlf//</conditional>//crlf//^
ID=815400|X=151|Y=33|W=1349|H=1429|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//List of fields.  This list is used to select the appropriate fields for //crlf//the X\\comma\\ Y and Measure fields.  //crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:undefined(\\quot\\__Axis__\\quot\\)>//crlf////tab//<h1>Aspect_Back_Office_Inventory_Extensions - All Fields</h1>//crlf////tab//<include type:expression; expression:htmlTable(getCollection(StructureFields2\\comma\\Aspect_Back_Office_Inventory_Extensions)\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\=\\quot\\)>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//This item is used to get the select box for x\\comma\\ y and measure dimensions.  It is //crlf//hardwired rather than using a collection in order specify which fields will //crlf//be included.//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:defined(\\quot\\__axis__\\quot\\)>//crlf////tab//<select ID=\\quot\\__salt__Select__Axis__\\quot\\ multiple onChange=\\quot\\__axis__Selected('__salt__'\\comma\\this)\\quot\\ style=\\quot\\height:150px;width:100\\percent\\\\quot\\ Param=\\quot\\__Axis__=$value$\\quot\\>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Measure//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\Measure\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Actual_Cost_Percent_Of_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Actual_Cost_Percent_Of_Sales\\quot\\>Actual Cost \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Actual_Usage\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Actual_Usage\\quot\\>Actual Usage</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Average_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Average_Price\\quot\\>Average Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Physical_Count_Batch_Detail\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Physical_Count_Batch_Detail\\quot\\>Beginning Batch Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Physical_Count_Batch_Detail_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Physical_Count_Batch_Detail_Value\\quot\\>Beginning Batch Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Physical_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Physical_Count\\quot\\>Beginning Physical Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Physical_Count_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Physical_Count_Value\\quot\\>Beginning Physical Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Price\\quot\\>Beginning Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Inventory_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Inventory_Count\\quot\\>Beginning Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Inventory_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Inventory_Value\\quot\\>Beginning Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Date_From\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Date_From\\quot\\>Calc Date From</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Date_To\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Date_To\\quot\\>Calc Date To</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Store_ID\\quot\\>Calc Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cals_Group_Name_for_Lookup1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cals_Group_Name_for_Lookup1\\quot\\>Cals Group Name for Lookup1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cals_Group_Name_for_Lookup2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cals_Group_Name_for_Lookup2\\quot\\>Cals Group Name for Lookup2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cals_Group_Name_for_Lookup3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cals_Group_Name_for_Lookup3\\quot\\>Cals Group Name for Lookup3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cals_Group_Name_for_Lookup4\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cals_Group_Name_for_Lookup4\\quot\\>Cals Group Name for Lookup4</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Group_Name\\quot\\>Compare Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Item_Name\\quot\\>Compare Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Amount\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Amount\\quot\\>Controllables Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Date\\quot\\>Controllables Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description1\\quot\\>Controllables Description1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description2\\quot\\>Controllables Description2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description3\\quot\\>Controllables Description3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID1\\quot\\>Controllables Record ID1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID2\\quot\\>Controllables Record ID2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID3\\quot\\>Controllables Record ID3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cost\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cost\\quot\\>Cost</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cost_Variance\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cost_Variance\\quot\\>Cost Variance</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cost_Variance_Absolute\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cost_Variance_Absolute\\quot\\>Cost Variance (Absolute Value)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Purchase_Dollar\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Purchase_Dollar\\quot\\>Dollars Purchased</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Physical_Count_Batch_Detail\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Physical_Count_Batch_Detail\\quot\\>Ending Batch Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Physical_Count_Batch_Detail_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Physical_Count_Batch_Detail_Value\\quot\\>Ending Batch Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Physical_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Physical_Count\\quot\\>Ending Physical Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Physical_Count_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Physical_Count_Value\\quot\\>Ending Physical Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Price\\quot\\>Ending Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Inventory_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Inventory_Count\\quot\\>Ending Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Inventory_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Inventory_Value\\quot\\>Ending Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Full_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Full_Group_Name\\quot\\>Full Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Group_ID_for_Sales_Link\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Group_ID_for_Sales_Link\\quot\\>Group ID for Sales Link</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\High_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\High_Price\\quot\\>High Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\isSubOfSelectedInventoryGroup\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\isSubOfSelectedInventoryGroup\\quot\\>Id Sub Of Selected Inventory Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Include_In_Enterprise_Reporting\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Include_In_Enterprise_Reporting\\quot\\>Include In Enterprise Reporting</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group\\quot\\>Inventory Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group_ID\\quot\\>Inventory Item Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_ID\\quot\\>Inventory Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Name\\quot\\>Inventory Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Parent_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Parent_Group_ID\\quot\\>Inventory Item Parent Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Parent_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Parent_Group_Name\\quot\\>Inventory Parent Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_Active_Item\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_Active_Item\\quot\\>Is Active Item</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Item_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Item_Type\\quot\\>Item Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Record_Type\\quot\\>Item Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Cost\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Cost\\quot\\>Legit Cost</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Cost_Percent_Of_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Cost_Percent_Of_Sales\\quot\\>Legit Cost \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Price\\quot\\>Legit Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Usage\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Usage\\quot\\>Legit Usage</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Usage_Part_One\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Usage_Part_One\\quot\\>Legit Usage Part One</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Usage_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Usage_Size\\quot\\>Legit Usage Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Usage_Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Usage_Size_Prefix\\quot\\>Legit Usage Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Usage_Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Usage_Size_Unit\\quot\\>Legit Usage Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Low_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Low_Price\\quot\\>Low Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Net_Sales\\quot\\>Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Old Inventory_Item_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Old Inventory_Item_Group_ID\\quot\\>Old Inventory Item Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Prep_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Prep_Count\\quot\\>Prep Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Prep_Count_Batch_Detail\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Prep_Count_Batch_Detail\\quot\\>Prep Count Batch Detail</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Price_Fluctuation\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Price_Fluctuation\\quot\\>Price Fluctuation</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Purchase_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Purchase_Quantity\\quot\\>Quantity Purchased</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_Type\\quot\\>Record Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Sales_Link\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Sales_Link\\quot\\>Sales Link</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Full_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Full_Group_Name\\quot\\>Section Header by Full Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Inventory_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Inventory_Group\\quot\\>Section Header By Inventory Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Parent_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Parent_Group_Name\\quot\\>Section Header By Parent Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Top_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Top_Group_Name\\quot\\>Section Header by Top Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size\\quot\\>Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Prefix\\quot\\>Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Unit\\quot\\>Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size\\quot\\>Standard Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_SubGroup_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_SubGroup_Name\\quot\\>Subgroup Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Top_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Top_Group_Name\\quot\\>Top Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unused\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unused\\quot\\>Unused</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Usage_Variance\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Usage_Variance\\quot\\>Usage Variance</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Usage_Variance_Absolute\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Usage_Variance_Absolute\\quot\\>Usage Variance (Absolute Value)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_Used_As_Ingredient\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_Used_As_Ingredient\\quot\\>Used In Recipe</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor1_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor1_Name\\quot\\>Vendor 1 Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor1_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor1_ID\\quot\\>Vendor 1 ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor2_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor2_Name\\quot\\>Vendor 2 Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor2_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor2_ID\\quot\\>Vendor 2 ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor3_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor3_Name\\quot\\>Vendor 3 Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor3_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor3_ID\\quot\\>Vendor 3 ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor_Names\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor_Names\\quot\\>Vendor Names</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Waste_Cost\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Waste_Cost\\quot\\>Waste Cost</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Waste_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Waste_Count\\quot\\>Waste Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Waste_Count_Batch_Detail\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Waste_Count_Batch_Detail\\quot\\>Waste Count Batch Detail</option>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//YDim//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\YDim\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Actual_Cost_Percent_Of_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Actual_Cost_Percent_Of_Sales\\quot\\>Actual Cost \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Actual_Usage\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Actual_Usage\\quot\\>Actual Usage</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Average_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Average_Price\\quot\\>Average Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Physical_Count_Batch_Detail\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Physical_Count_Batch_Detail\\quot\\>Beginning Batch Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Physical_Count_Batch_Detail_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Physical_Count_Batch_Detail_Value\\quot\\>Beginning Batch Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Physical_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Physical_Count\\quot\\>Beginning Physical Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Physical_Count_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Physical_Count_Value\\quot\\>Beginning Physical Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Price\\quot\\>Beginning Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Inventory_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Inventory_Count\\quot\\>Beginning Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Inventory_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Inventory_Value\\quot\\>Beginning Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Date_From\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Date_From\\quot\\>Calc Date From</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Date_To\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Date_To\\quot\\>Calc Date To</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Store_ID\\quot\\>Calc Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cals_Group_Name_for_Lookup1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cals_Group_Name_for_Lookup1\\quot\\>Cals Group Name for Lookup1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cals_Group_Name_for_Lookup2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cals_Group_Name_for_Lookup2\\quot\\>Cals Group Name for Lookup2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cals_Group_Name_for_Lookup3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cals_Group_Name_for_Lookup3\\quot\\>Cals Group Name for Lookup3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cals_Group_Name_for_Lookup4\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cals_Group_Name_for_Lookup4\\quot\\>Cals Group Name for Lookup4</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Group_Name\\quot\\>Compare Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Item_Name\\quot\\>Compare Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Amount\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Amount\\quot\\>Controllables Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Date\\quot\\>Controllables Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description1\\quot\\>Controllables Description1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description2\\quot\\>Controllables Description2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description3\\quot\\>Controllables Description3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID1\\quot\\>Controllables Record ID1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID2\\quot\\>Controllables Record ID2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID3\\quot\\>Controllables Record ID3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cost\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cost\\quot\\>Cost</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cost_Variance\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cost_Variance\\quot\\>Cost Variance</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cost_Variance_Absolute\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cost_Variance_Absolute\\quot\\>Cost Variance (Absolute Value)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Purchase_Dollar\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Purchase_Dollar\\quot\\>Dollars Purchased</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Physical_Count_Batch_Detail\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Physical_Count_Batch_Detail\\quot\\>Ending Batch Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Physical_Count_Batch_Detail_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Physical_Count_Batch_Detail_Value\\quot\\>Ending Batch Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Physical_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Physical_Count\\quot\\>Ending Physical Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Physical_Count_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Physical_Count_Value\\quot\\>Ending Physical Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Price\\quot\\>Ending Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Inventory_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Inventory_Count\\quot\\>Ending Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Inventory_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Inventory_Value\\quot\\>Ending Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Full_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Full_Group_Name\\quot\\>Full Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Group_ID_for_Sales_Link\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Group_ID_for_Sales_Link\\quot\\>Group ID for Sales Link</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\High_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\High_Price\\quot\\>High Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\isSubOfSelectedInventoryGroup\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\isSubOfSelectedInventoryGroup\\quot\\>Id Sub Of Selected Inventory Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Include_In_Enterprise_Reporting\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Include_In_Enterprise_Reporting\\quot\\>Include In Enterprise Reporting</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group\\quot\\>Inventory Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group_ID\\quot\\>Inventory Item Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_ID\\quot\\>Inventory Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Name\\quot\\>Inventory Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Parent_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Parent_Group_ID\\quot\\>Inventory Item Parent Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Parent_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Parent_Group_Name\\quot\\>Inventory Parent Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_Active_Item\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_Active_Item\\quot\\>Is Active Item</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Item_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Item_Type\\quot\\>Item Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Record_Type\\quot\\>Item Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Cost\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Cost\\quot\\>Legit Cost</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Cost_Percent_Of_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Cost_Percent_Of_Sales\\quot\\>Legit Cost \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Price\\quot\\>Legit Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Usage\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Usage\\quot\\>Legit Usage</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Usage_Part_One\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Usage_Part_One\\quot\\>Legit Usage Part One</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Usage_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Usage_Size\\quot\\>Legit Usage Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Usage_Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Usage_Size_Prefix\\quot\\>Legit Usage Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Usage_Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Usage_Size_Unit\\quot\\>Legit Usage Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Low_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Low_Price\\quot\\>Low Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Net_Sales\\quot\\>Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Old Inventory_Item_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Old Inventory_Item_Group_ID\\quot\\>Old Inventory Item Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Prep_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Prep_Count\\quot\\>Prep Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Prep_Count_Batch_Detail\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Prep_Count_Batch_Detail\\quot\\>Prep Count Batch Detail</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Price_Fluctuation\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Price_Fluctuation\\quot\\>Price Fluctuation</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Purchase_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Purchase_Quantity\\quot\\>Quantity Purchased</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_Type\\quot\\>Record Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Sales_Link\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Sales_Link\\quot\\>Sales Link</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Full_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Full_Group_Name\\quot\\>Section Header by Full Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Inventory_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Inventory_Group\\quot\\>Section Header By Inventory Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Parent_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Parent_Group_Name\\quot\\>Section Header By Parent Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Top_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Top_Group_Name\\quot\\>Section Header by Top Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size\\quot\\>Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Prefix\\quot\\>Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Unit\\quot\\>Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size\\quot\\>Standard Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_SubGroup_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_SubGroup_Name\\quot\\>Subgroup Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Top_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Top_Group_Name\\quot\\>Top Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unused\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unused\\quot\\>Unused</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Usage_Variance\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Usage_Variance\\quot\\>Usage Variance</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Usage_Variance_Absolute\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Usage_Variance_Absolute\\quot\\>Usage Variance (Absolute Value)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_Used_As_Ingredient\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_Used_As_Ingredient\\quot\\>Used In Recipe</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor1_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor1_Name\\quot\\>Vendor 1 Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor1_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor1_ID\\quot\\>Vendor 1 ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor2_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor2_Name\\quot\\>Vendor 2 Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor2_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor2_ID\\quot\\>Vendor 2 ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor3_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor3_Name\\quot\\>Vendor 3 Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor3_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor3_ID\\quot\\>Vendor 3 ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor_Names\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor_Names\\quot\\>Vendor Names</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Waste_Cost\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Waste_Cost\\quot\\>Waste Cost</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Waste_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Waste_Count\\quot\\>Waste Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Waste_Count_Batch_Detail\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Waste_Count_Batch_Detail\\quot\\>Waste Count Batch Detail</option>//crlf////tab////tab////tab//<option></option>//crlf////tab////tab////tab//<option>=====Date Fields=====</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date_Text\\quot\\>Date Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Description\\quot\\>Day Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_End\\quot\\>Day End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index\\quot\\>Day Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Start\\quot\\>Day Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month\\quot\\>Month</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Description\\quot\\>Month Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_End\\quot\\>Month End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index\\quot\\>Month Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Start\\quot\\>Month Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter\\quot\\>Quarter</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Description\\quot\\>Quarter Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_End\\quot\\>Quarter End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index\\quot\\>Quarter Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Start\\quot\\>Quarter Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Description\\quot\\>Week Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_End\\quot\\>Week End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index\\quot\\>Week Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Of_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Of_Year\\quot\\>Week Of Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Start\\quot\\>Week Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year\\quot\\>Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Description\\quot\\>Year Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_End\\quot\\>Year End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index\\quot\\>Year Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Start\\quot\\>Year Start</option>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//XDim//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\XDim\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Actual_Cost_Percent_Of_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Actual_Cost_Percent_Of_Sales\\quot\\>Actual Cost \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Actual_Usage\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Actual_Usage\\quot\\>Actual Usage</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Average_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Average_Price\\quot\\>Average Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Physical_Count_Batch_Detail\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Physical_Count_Batch_Detail\\quot\\>Beginning Batch Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Physical_Count_Batch_Detail_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Physical_Count_Batch_Detail_Value\\quot\\>Beginning Batch Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Physical_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Physical_Count\\quot\\>Beginning Physical Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Physical_Count_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Physical_Count_Value\\quot\\>Beginning Physical Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Price\\quot\\>Beginning Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Inventory_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Inventory_Count\\quot\\>Beginning Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Beginning_Inventory_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Beginning_Inventory_Value\\quot\\>Beginning Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Date_From\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Date_From\\quot\\>Calc Date From</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Date_To\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Date_To\\quot\\>Calc Date To</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Store_ID\\quot\\>Calc Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cals_Group_Name_for_Lookup1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cals_Group_Name_for_Lookup1\\quot\\>Cals Group Name for Lookup1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cals_Group_Name_for_Lookup2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cals_Group_Name_for_Lookup2\\quot\\>Cals Group Name for Lookup2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cals_Group_Name_for_Lookup3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cals_Group_Name_for_Lookup3\\quot\\>Cals Group Name for Lookup3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cals_Group_Name_for_Lookup4\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cals_Group_Name_for_Lookup4\\quot\\>Cals Group Name for Lookup4</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Group_Name\\quot\\>Compare Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Compare_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Compare_Item_Name\\quot\\>Compare Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Amount\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Amount\\quot\\>Controllables Amount</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Date\\quot\\>Controllables Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description1\\quot\\>Controllables Description1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description2\\quot\\>Controllables Description2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description3\\quot\\>Controllables Description3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID1\\quot\\>Controllables Record ID1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID2\\quot\\>Controllables Record ID2</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID3\\quot\\>Controllables Record ID3</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cost\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cost\\quot\\>Cost</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cost_Variance\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cost_Variance\\quot\\>Cost Variance</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Cost_Variance_Absolute\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Cost_Variance_Absolute\\quot\\>Cost Variance (Absolute Value)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Purchase_Dollar\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Purchase_Dollar\\quot\\>Dollars Purchased</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Physical_Count_Batch_Detail\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Physical_Count_Batch_Detail\\quot\\>Ending Batch Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Physical_Count_Batch_Detail_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Physical_Count_Batch_Detail_Value\\quot\\>Ending Batch Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Physical_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Physical_Count\\quot\\>Ending Physical Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Physical_Count_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Physical_Count_Value\\quot\\>Ending Physical Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Price\\quot\\>Ending Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Inventory_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Inventory_Count\\quot\\>Ending Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ending_Inventory_Value\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ending_Inventory_Value\\quot\\>Ending Value</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Full_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Full_Group_Name\\quot\\>Full Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Group_ID_for_Sales_Link\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Group_ID_for_Sales_Link\\quot\\>Group ID for Sales Link</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\High_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\High_Price\\quot\\>High Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\isSubOfSelectedInventoryGroup\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\isSubOfSelectedInventoryGroup\\quot\\>Id Sub Of Selected Inventory Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Include_In_Enterprise_Reporting\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Include_In_Enterprise_Reporting\\quot\\>Include In Enterprise Reporting</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group\\quot\\>Inventory Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group_ID\\quot\\>Inventory Item Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_ID\\quot\\>Inventory Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Name\\quot\\>Inventory Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Parent_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Parent_Group_ID\\quot\\>Inventory Item Parent Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Parent_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Parent_Group_Name\\quot\\>Inventory Parent Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_Active_Item\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_Active_Item\\quot\\>Is Active Item</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Item_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Item_Type\\quot\\>Item Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Record_Type\\quot\\>Item Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Cost\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Cost\\quot\\>Legit Cost</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Cost_Percent_Of_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Cost_Percent_Of_Sales\\quot\\>Legit Cost \\percent\\</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Price\\quot\\>Legit Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Usage\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Usage\\quot\\>Legit Usage</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Usage_Part_One\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Usage_Part_One\\quot\\>Legit Usage Part One</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Usage_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Usage_Size\\quot\\>Legit Usage Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Usage_Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Usage_Size_Prefix\\quot\\>Legit Usage Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Legit_Usage_Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Legit_Usage_Size_Unit\\quot\\>Legit Usage Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Low_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Low_Price\\quot\\>Low Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Net_Sales\\quot\\>Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Old Inventory_Item_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Old Inventory_Item_Group_ID\\quot\\>Old Inventory Item Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Prep_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Prep_Count\\quot\\>Prep Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Prep_Count_Batch_Detail\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Prep_Count_Batch_Detail\\quot\\>Prep Count Batch Detail</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Price_Fluctuation\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Price_Fluctuation\\quot\\>Price Fluctuation</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Purchase_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Purchase_Quantity\\quot\\>Quantity Purchased</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_Type\\quot\\>Record Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Sales_Link\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Sales_Link\\quot\\>Sales Link</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Full_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Full_Group_Name\\quot\\>Section Header by Full Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Inventory_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Inventory_Group\\quot\\>Section Header By Inventory Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Parent_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Parent_Group_Name\\quot\\>Section Header By Parent Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Top_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Top_Group_Name\\quot\\>Section Header by Top Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size\\quot\\>Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Prefix\\quot\\>Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Unit\\quot\\>Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size\\quot\\>Standard Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_SubGroup_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_SubGroup_Name\\quot\\>Subgroup Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Top_Group_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Top_Group_Name\\quot\\>Top Group Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Unused\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Unused\\quot\\>Unused</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Usage_Variance\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Usage_Variance\\quot\\>Usage Variance</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Usage_Variance_Absolute\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Usage_Variance_Absolute\\quot\\>Usage Variance (Absolute Value)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_Used_As_Ingredient\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_Used_As_Ingredient\\quot\\>Used In Recipe</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor1_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor1_Name\\quot\\>Vendor 1 Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor1_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor1_ID\\quot\\>Vendor 1 ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor2_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor2_Name\\quot\\>Vendor 2 Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor2_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor2_ID\\quot\\>Vendor 2 ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor3_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor3_Name\\quot\\>Vendor 3 Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor3_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor3_ID\\quot\\>Vendor 3 ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Vendor_Names\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Vendor_Names\\quot\\>Vendor Names</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Waste_Cost\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Waste_Cost\\quot\\>Waste Cost</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Waste_Count\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Waste_Count\\quot\\>Waste Count</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Waste_Count_Batch_Detail\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Waste_Count_Batch_Detail\\quot\\>Waste Count Batch Detail</option>//crlf////tab////tab////tab//<option></option>//crlf////tab////tab////tab//<option>=====Date Fields=====</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date_Text\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date_Text\\quot\\>Date Text</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Start\\quot\\>Day Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_End\\quot\\>Day End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Description\\quot\\>Day Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index\\quot\\>Day Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_End\\quot\\>Day Index@Day_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_Start\\quot\\>Day Index@Day_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Day_Index@Day_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Day_Index@Day_Description\\quot\\>Day Index@Day_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Description\\quot\\>Month Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index\\quot\\>Month Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_End\\quot\\>Month Index@Month_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_Start\\quot\\>Month Index@Month_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Month_Index@Month_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Month_Index@Month_Description\\quot\\>Month Index@Month_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter\\quot\\>Quarter</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Start\\quot\\>Quarter Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_End\\quot\\>Quarter End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Description\\quot\\>Quarter Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index\\quot\\>Quarter Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_Start\\quot\\>Quarter Index@Quarter_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_End\\quot\\>Quarter Index@Quarter_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quarter_Index@Quarter_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quarter_Index@Quarter_Description\\quot\\>Quarter Index@Quarter_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Start\\quot\\>Week Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_End\\quot\\>Week End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Description\\quot\\>Week Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index\\quot\\>Week Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_Start\\quot\\>Week Index@Week_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_End\\quot\\>Week Index@Week_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Index@Week_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Index@Week_Description\\quot\\>Week Index@Week_Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Week_Of_Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Week_Of_Year\\quot\\>Week Of Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year\\quot\\>Year</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Description\\quot\\>Year Description</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Start\\quot\\>Year Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_End\\quot\\>Year End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index\\quot\\>Year Index</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_Start\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_Start\\quot\\>Year Index@Year_Start</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_End\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_End\\quot\\>Year Index@Year_End</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Year_Index@Year_Description\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Year_Index@Year_Description\\quot\\>Year Index@Year_Description</option>//crlf////tab////tab//</conditional>//crlf////crlf////tab//</select>//crlf//</conditional>//crlf//^
ID=981720|X=151|Y=33|W=779|H=738|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//This item is used to open a view factory by inspecting an embedded view.  It //crlf//takes the parameters of the embedded view and opens the appropriate view factory //crlf//based on the ReportID.//crlf//--------------------------------------------------------------------------]//crlf////crlf//[!------------------------------------------------------------------------//crlf//Debug//crlf//<h1>ViewFactoryParams</h1>//crlf//SourceID=__SourceID__<br>//crlf//{@htmlTable(\\quot\\__ViewFactoryParams__\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\=\\quot\\)}//crlf//--------------------------------------------------------------------------]//crlf////crlf//[!------------------------------------------------------------------------//crlf//Check Details (View Factory)//tab// //tab// //tab// //crlf//--------------------------------------------------------------------------]//crlf//<conditional expression; expression:(getElementValue(\\quot\\__ViewFactoryParams__\\quot\\\\comma\\\\quot\\ReportID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)=\\quot\\CFjyYF4Z\\quot\\)>//crlf////tab//<div //crlf////tab////tab//interval=\\apos\\0\\apos\\ //crlf////tab////tab//style=\\apos\\width:100\\percent\\;\\apos\\ //crlf////tab////tab//url=\\apos\\__RequestServer__/?Network=GreenLight\\amp\\//crlf////tab////tab////tab//ID=getWidget\\amp\\//crlf////tab////tab////tab//source=__SourceID__\\amp\\//crlf////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\//crlf////tab////tab////tab//Widget=View Factory\\amp\\//crlf////tab////tab////tab//ContainerItemID=250218\\amp\\//crlf////tab////tab////tab//{@replaceSubstring(replaceSubstring(\\quot\\__ViewFactoryParams__\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\\\amp\\\\quot\\)\\comma\\\\quot\\Factory=false\\quot\\\\comma\\\\quot\\Factory=true\\quot\\)}//crlf////tab////tab////tab//\\apos\\>//crlf////crlf////tab////tab//<div style=\\quot\\margin:20px\\quot\\>//crlf////tab////tab////tab//Loading view factory<br>//crlf////tab////tab////tab//<progress />//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Consolidated Sales Export//tab// //tab// //tab// //crlf//--------------------------------------------------------------------------]//crlf//<conditional expression; expression:(getElementValue(\\quot\\__ViewFactoryParams__\\quot\\\\comma\\\\quot\\ReportID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)=\\quot\\hLXPB4So\\quot\\)>//crlf////tab//<div //crlf////tab////tab//interval=\\apos\\0\\apos\\ //crlf////tab////tab//style=\\apos\\width:100\\percent\\;\\apos\\ //crlf////tab////tab//url=\\apos\\__RequestServer__/?Network=GreenLight\\amp\\//crlf////tab////tab////tab//ID=getWidget\\amp\\//crlf////tab////tab////tab//source=__SourceID__\\amp\\//crlf////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\//crlf////tab////tab////tab//Widget=View Factory\\amp\\//crlf////tab////tab////tab//ContainerItemID=434618\\amp\\//crlf////tab////tab////tab//{@replaceSubstring(replaceSubstring(\\quot\\__ViewFactoryParams__\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\\\amp\\\\quot\\)\\comma\\\\quot\\Factory=false\\quot\\\\comma\\\\quot\\Factory=true\\quot\\)}//crlf////tab////tab////tab//\\apos\\>//crlf////crlf////tab////tab//<div style=\\quot\\margin:20px\\quot\\>//crlf////tab////tab////tab//Loading view factory<br>//crlf////tab////tab////tab//<progress />//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Inventory Extensions (View Factory)//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression; expression:(getElementValue(\\quot\\__ViewFactoryParams__\\quot\\\\comma\\\\quot\\ReportID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)=\\quot\\kRXQtpzm\\quot\\)>//crlf////tab//<div //crlf////tab////tab//interval=\\apos\\0\\apos\\ //crlf////tab////tab//style=\\apos\\width:100\\percent\\;\\apos\\ //crlf////tab////tab//url=\\apos\\__RequestServer__/?Network=GreenLight\\amp\\//crlf////tab////tab////tab//ID=getWidget\\amp\\//crlf////tab////tab////tab//source=__SourceID__\\amp\\//crlf////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\//crlf////tab////tab////tab//Widget=View Factory\\amp\\//crlf////tab////tab////tab//ContainerItemID=830201\\amp\\//crlf////tab////tab////tab//{@replaceSubstring(replaceSubstring(\\quot\\__ViewFactoryParams__\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\\\amp\\\\quot\\)\\comma\\\\quot\\Factory=false\\quot\\\\comma\\\\quot\\Factory=true\\quot\\)}//crlf////tab////tab////tab//\\apos\\>//crlf////crlf////tab////tab//<div style=\\quot\\margin:20px\\quot\\>//crlf////tab////tab////tab//Loading view factory<br>//crlf////tab////tab////tab//<progress />//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Invoice Details (View Factory)//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression; expression:(getElementValue(\\quot\\__ViewFactoryParams__\\quot\\\\comma\\\\quot\\ReportID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)=\\quot\\V48NODbZ\\quot\\)>//crlf////tab//<div //crlf////tab////tab//interval=\\apos\\0\\apos\\ //crlf////tab////tab//style=\\apos\\width:100\\percent\\;\\apos\\ //crlf////tab////tab//url=\\apos\\__RequestServer__/?Network=GreenLight\\amp\\//crlf////tab////tab////tab//ID=getWidget\\amp\\//crlf////tab////tab////tab//source=__SourceID__\\amp\\//crlf////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\//crlf////tab////tab////tab//Widget=View Factory\\amp\\//crlf////tab////tab////tab//ContainerItemID=275763\\amp\\//crlf////tab////tab////tab//{@replaceSubstring(replaceSubstring(\\quot\\__ViewFactoryParams__\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\\\amp\\\\quot\\)\\comma\\\\quot\\Factory=false\\quot\\\\comma\\\\quot\\Factory=true\\quot\\)}//crlf////tab////tab////tab//\\apos\\>//crlf////crlf////tab////tab//<div style=\\quot\\margin:20px\\quot\\>//crlf////tab////tab////tab//Loading view factory<br>//crlf////tab////tab////tab//<progress />//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Labor Detail (View Factory)//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression; expression:(getElementValue(\\quot\\__ViewFactoryParams__\\quot\\\\comma\\\\quot\\ReportID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)=\\quot\\oXyZTX2k\\quot\\)>//crlf////tab//<div //crlf////tab////tab//interval=\\apos\\0\\apos\\ //crlf////tab////tab//style=\\apos\\width:100\\percent\\;\\apos\\ //crlf////tab////tab//url=\\apos\\__RequestServer__/?Network=GreenLight\\amp\\//crlf////tab////tab////tab//ID=getWidget\\amp\\//crlf////tab////tab////tab//source=__SourceID__\\amp\\//crlf////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\//crlf////tab////tab////tab//Widget=View Factory\\amp\\//crlf////tab////tab////tab//ContainerItemID=685734\\amp\\//crlf////tab////tab////tab//{@replaceSubstring(replaceSubstring(\\quot\\__ViewFactoryParams__\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\\\amp\\\\quot\\)\\comma\\\\quot\\Factory=false\\quot\\\\comma\\\\quot\\Factory=true\\quot\\)}//crlf////tab////tab////tab//\\apos\\>//crlf////crlf////tab////tab//<div style=\\quot\\margin:20px\\quot\\>//crlf////tab////tab////tab//Loading view factory<br>//crlf////tab////tab////tab//<progress />//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Sales Mix (View Factory)//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression; expression:(getElementValue(\\quot\\__ViewFactoryParams__\\quot\\\\comma\\\\quot\\ReportID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)=\\quot\\lWwRNKs0\\quot\\)>//crlf////tab//<div //crlf////tab////tab//interval=\\apos\\0\\apos\\ //crlf////tab////tab//style=\\apos\\width:100\\percent\\;\\apos\\ //crlf////tab////tab//url=\\apos\\__RequestServer__/?Network=GreenLight\\amp\\//crlf////tab////tab////tab//ID=getWidget\\amp\\//crlf////tab////tab////tab//source=__SourceID__\\amp\\//crlf////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\//crlf////tab////tab////tab//Widget=View Factory\\amp\\//crlf////tab////tab////tab//ContainerItemID=165614\\amp\\//crlf////tab////tab////tab//{@replaceSubstring(replaceSubstring(\\quot\\__ViewFactoryParams__\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\\\amp\\\\quot\\)\\comma\\\\quot\\Factory=false\\quot\\\\comma\\\\quot\\Factory=true\\quot\\)}//crlf////tab////tab////tab//\\apos\\>//crlf////crlf////tab////tab//<div style=\\quot\\margin:20px\\quot\\>//crlf////tab////tab////tab//Loading view factory<br>//crlf////tab////tab////tab//<progress />//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Legitimate Usages (View Factory)//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression; expression:(getElementValue(\\quot\\__ViewFactoryParams__\\quot\\\\comma\\\\quot\\ReportID\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)=\\quot\\NBTu9w4q\\quot\\)>//crlf////tab//<div //crlf////tab////tab//interval=\\apos\\0\\apos\\ //crlf////tab////tab//style=\\apos\\width:100\\percent\\;\\apos\\ //crlf////tab////tab//url=\\apos\\__RequestServer__/?Network=GreenLight\\amp\\//crlf////tab////tab////tab//ID=getWidget\\amp\\//crlf////tab////tab////tab//source=__SourceID__\\amp\\//crlf////tab////tab////tab//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\amp\\//crlf////tab////tab////tab//Widget=View Factory\\amp\\//crlf////tab////tab////tab//ContainerItemID=777034\\amp\\//crlf////tab////tab////tab//{@replaceSubstring(replaceSubstring(\\quot\\__ViewFactoryParams__\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\\\amp\\\\quot\\)\\comma\\\\quot\\Factory=false\\quot\\\\comma\\\\quot\\Factory=true\\quot\\)}//crlf////tab////tab////tab//\\apos\\>//crlf////crlf////tab////tab//<div style=\\quot\\margin:20px\\quot\\>//crlf////tab////tab////tab//Loading view factory<br>//crlf////tab////tab////tab//<progress />//crlf////tab////tab//</div>//crlf////tab//</div>//crlf//</conditional>//crlf////crlf//^
ID=777034|X=151|Y=33|W=1305|H=830|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!--servertimer=false-->//crlf//<state>//crlf////tab//__ReportID__//crlf////tab//__DisableAddEmbedView__//crlf////tab//__Tag__//crlf////tab//__BaseFilter__//crlf////tab//__Display__//crlf////tab//__TableVisible__//crlf////tab//__TableControls__//crlf////tab//__DateFilter__//crlf////tab//__ChartCanClose__//crlf////tab//__ChartTitle__//crlf////tab//__Title__//crlf////tab//{@gfs(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_S2SrVX9bnCUfDoFnKk3ZWQww_Data Series View Factory.html\\quot\\)}//crlf////tab//{@gfs(\\quot\\C:\Aspect Software\Development\Java\Aspect\src\packages\Investing\supporting_files\dimensional_view_report_params.bin\\quot\\)}//crlf////tab//{@if(formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)=\\quot\\08112020\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@now()}//crlf//</state>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Debugging//crlf//--------------------------------------------------------------------------]//crlf//<_include type:expression; expression:htmlConstant(\\quot\\ReportID\\quot\\\\comma\\\\quot\\__ReportID__\\quot\\\\comma\\\\quot\\NBTu9w4q\\quot\\)>//crlf//<_include type:expression; expression:htmlConstant(\\quot\\StoreID\\quot\\\\comma\\\\quot\\__StoreID__\\quot\\\\comma\\if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\\\comma\\\\quot\\s1bEt480ck37YtOvsg52i8Fw\\quot\\\\comma\\getToken(\\quot\\POSInterface_StoreID\\quot\\)))>//crlf////crlf//<conditional expression:not(defined(\\quot\\__ReportID__\\quot\\))>//crlf////tab//Error: Missing ReportID//crlf//</conditional>//crlf////crlf//<conditional expression:(defined(\\quot\\__ReportID__\\quot\\))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\factory\\quot\\\\comma\\\\quot\\__factory__\\quot\\\\comma\\\\quot\\true\\quot\\)>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Metadata always defaults to the daily report.  This can be overridden in the user input field//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\metadata\\quot\\\\comma\\\\quot\\__metadata__\\quot\\\\comma\\\\quot\\42657n90\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\SaveToName\\quot\\\\comma\\\\quot\\__SaveToName__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\xdim\\quot\\\\comma\\\\quot\\__xdim__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ydim\\quot\\\\comma\\\\quot\\__ydim__\\quot\\\\comma\\\\quot\\Top_Item_ID\\comma\\Date\\comma\\Inventory_Item_ID\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\measure\\quot\\\\comma\\\\quot\\__measure__\\quot\\\\comma\\\\quot\\Top_Item_Primary_Record_Date\\comma\\Calc_Store_ID\\comma\\Standard_Cost\\comma\\Top_Item_Net_Sales\\comma\\Top_Item_Qty\\comma\\Top_Item_Name\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\BaseFilter\\quot\\\\comma\\\\quot\\__BaseFilter__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Display\\quot\\\\comma\\\\quot\\__Display__\\quot\\\\comma\\\\quot\\\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\DateRange\\quot\\\\comma\\\\quot\\__DateRange__\\quot\\\\comma\\\\quot\\LastBusinessDay\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\_DateFrom\\quot\\\\comma\\\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\07-27-2020\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\_DateTo\\quot\\\\comma\\\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\07-27-2020\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartCanClose\\quot\\\\comma\\\\quot\\__ChartCanClose__\\quot\\\\comma\\\\quot\\false\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\ChartTitle\\quot\\\\comma\\\\quot\\__ChartTitle__\\quot\\\\comma\\\\quot\\__Display__\\quot\\)>//crlf////crlf////tab//<conditional expression:defined(\\quot\\__Title__\\quot\\)>//crlf////tab////tab//<h1>__Title__</h1>//crlf////tab//</conditional>//crlf////crlf////tab//<script ID=\\quot\\JS777034A\\quot\\>//crlf////tab////tab//function addEmbeddedView777034(salt\\comma\\s) {//crlf////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////get view name//crlf////tab////tab////tab//var sViewName=document.getElementById(salt+\\quot\\ViewName\\quot\\).value.trim();//crlf////tab////tab////tab//if(sViewName.length==0) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: Missing view name<br><br>//amp//fnOk=Close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////get selected view//crlf////tab////tab////tab//var sViewID=document.getElementById(salt+\\quot\\SelectView\\quot\\).value;//crlf////tab////tab////tab//if(sViewID==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: No view selected.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab////get date range//crlf////tab////tab////tab//var sDateRange=document.getElementById(salt+\\quot\\DateRange\\quot\\).value;//crlf////tab////tab////tab//if(sDateRange==\\quot\\0\\quot\\) {//crlf////tab////tab////tab////tab//showDialog(\\quot\\msg=Error: No date range selected.<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab//return;//crlf////tab////tab////tab//};//crlf////crlf////tab////tab////tab//showDialog(\\quot\\msg=Adding embedded view...//amp//icon=true\\quot\\);//crlf////crlf////tab////tab////tab//var eTable=document.getElementById(salt);//crlf////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////tab//var eDisplay=document.getElementById(\\quot\\SelectDisplay1\\quot\\+salt);//crlf////tab////tab////tab//var sDisplay=eDisplay.options[eDisplay.selectedIndex].text;//crlf////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Local: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Company: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//sDisplay=replaceAllSubstrings(sDisplay\\comma\\\\quot\\Aspect: \\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab//var sParamsActive=eTable.getAttribute(\\quot\\Aspectparamsactive\\quot\\);//crlf////crlf////tab////tab////tab///********************************************************************************************//crlf////tab////tab////tab//Note: The ContainsText field is not used when creating the view.  It only serves as an //crlf////tab////tab////tab//external filter when the report is displayed.//crlf////tab////tab////tab//********************************************************************************************///crlf////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//Widget=View Factory//amp//ContainerItemID=Action_List//amp//Action=addEmbeddedView434618//amp//ActionExec=true\\quot\\;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//ViewID=\\quot\\+sViewID;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//FactoryViewID=AywhWwbG\\quot\\;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//ViewID=\\quot\\+sViewID;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//ReportID=__ReportID__\\quot\\;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//StoreID=\\quot\\+document.getElementById(salt+\\quot\\SelectStore\\quot\\).value;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//Metadata=\\quot\\+eTable.getAttribute(\\quot\\Aspectdisplay_metadata\\quot\\);//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//Display=\\quot\\+sDisplay;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//DateRange=\\quot\\+sDateRange;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//BaseFilter=\\quot\\;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//XDim=\\quot\\+document.getElementById(salt+\\quot\\selected_xdim\\quot\\).value;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//YDim=\\quot\\+document.getElementById(salt+\\quot\\selected_ydim\\quot\\).value;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//Measure=\\quot\\+document.getElementById(salt+\\quot\\selected_measure\\quot\\).value;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//ViewName=\\quot\\+sViewName;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//TableVisible=\\quot\\+document.getElementById(salt+\\quot\\TableVisible\\quot\\).checked;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//TableControls=\\quot\\+document.getElementById(salt+\\quot\\TableControls\\quot\\).checked;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//ChartVisible=\\quot\\+document.getElementById(salt+\\quot\\TableVisible\\quot\\).checked;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//ChartTitle=\\quot\\+document.getElementById(salt+\\quot\\ChartTitle\\quot\\).value;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//SelectDates=\\quot\\+document.getElementById(salt+\\quot\\SelectDates\\quot\\).checked;//crlf////tab////tab////tab//sUrl+=\\quot\\//amp//Factory=false\\quot\\;//crlf////crlf////tab////tab////tab//sFunc=\\quot\\addEmbeddedView777034(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab//function metadataChanged(salt) {//crlf////tab////tab////tab//refreshTable(salt\\comma\\'refresh'\\comma\\''\\comma\\true);//crlf////tab////tab//};//crlf////crlf////tab////tab//function XDimSelected777034(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectFredSeriesXDim\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) {//crlf////tab////tab////tab////tab////tab//var s1=\\quot\\\\comma\\\\quot\\+s+\\quot\\\\comma\\\\quot\\;//crlf////tab////tab////tab////tab////tab//if(s1.toUpperCase().indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value.toUpperCase()+\\quot\\\\comma\\\\quot\\)<0) {//crlf////tab////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_xdim\\quot\\).value=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function YDimSelected777034(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectFredSeriesYDim\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//var s1=\\quot\\\\comma\\\\quot\\+s+\\quot\\\\comma\\\\quot\\;//crlf////tab////tab////tab////tab////tab//if(s1.toUpperCase().indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value.toUpperCase()+\\quot\\\\comma\\\\quot\\)<0) {//crlf////tab////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_ydim\\quot\\).value=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function MeasureSelected777034(salt\\comma\\e) {//crlf////tab////tab////tab//var s=\\quot\\\\quot\\; //crlf////crlf////tab////tab////tab//var e=document.getElementById(salt+\\quot\\SelectFredSeriesMeasure\\quot\\);//crlf////tab////tab////tab//for(var i=0;i<e.options.length;i++) { //crlf////tab////tab////tab////tab//if(e.options[i].selected) { //crlf////tab////tab////tab////tab////tab//var s1=\\quot\\\\comma\\\\quot\\+s+\\quot\\\\comma\\\\quot\\;//crlf////tab////tab////tab////tab////tab//if(s1.toUpperCase().indexOf(\\quot\\\\comma\\\\quot\\+e.options[i].value.toUpperCase()+\\quot\\\\comma\\\\quot\\)<0) {//crlf////tab////tab////tab////tab////tab////tab//if(s.length>0) s+=\\quot\\\\comma\\\\quot\\; //crlf////tab////tab////tab////tab////tab////tab//s+=e.options[i].value; //crlf////tab////tab////tab////tab////tab//};//crlf////tab////tab////tab////tab//};//crlf////tab////tab////tab//}; //crlf////crlf////tab////tab////tab//document.getElementById(salt+\\quot\\selected_measure\\quot\\).value=s;//crlf////tab////tab//};//crlf////crlf////tab////tab//function dateRangeSelected777034(salt\\comma\\s)//crlf////tab////tab//{//crlf////tab////tab////tab////tab//if(s) {//crlf////tab////tab////tab////tab////tab////showDialog(\\quot\\msg=\\quot\\+s+\\quot\\<br><br>//amp//fnOk=close\\quot\\);//crlf////tab////tab////tab////tab////tab//ar=getSubStringArray(s\\comma\\\\quot\\\\comma\\\\quot\\);//crlf////tab////tab////tab////tab////tab//document.getElementById(salt+\\quot\\ParamDateFrom\\quot\\).value=ar[0];//crlf////tab////tab////tab////tab////tab//document.getElementById(salt+\\quot\\ParamDateTo\\quot\\).value=ar[1];//crlf////tab////tab////tab////tab////tab//return;//crlf////tab////tab////tab////tab//};//crlf////crlf////tab////tab////tab////tab//var eTable=document.getElementById(salt);//crlf////tab////tab////tab////tab//var sHashID=eTable.getAttribute(\\quot\\AspectHashID\\quot\\);//crlf////crlf////tab////tab////tab////tab//var sUrl=getServer()+\\quot\\/?Network=GreenLight//amp//ID=getWidget//amp//DocumentID=h0BE4ziTlLytqKxtWLMy5CVY\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Widget=View Factory//amp//ContainerItemID=sensor_list//amp//Sensor=getDefaultBackOfficeDateRange//amp//SensorExec=true\\quot\\;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//Source=\\quot\\+sHashID;//crlf////tab////tab////tab////tab//sUrl+=\\quot\\//amp//DateRange=\\quot\\+document.getElementById(salt+\\quot\\DateRange\\quot\\).value;//crlf////tab////tab////tab////tab//sFunc=\\quot\\dateRangeSelected434618(\\\quot\\\\quot\\+salt+\\quot\\\\\quot\\\\comma\\s)\\quot\\;//crlf////tab////tab////tab////tab//console.log(\\quot\\sUrl=\\quot\\+sUrl);//crlf////tab////tab////tab////tab//asynchInclude(null\\comma\\sUrl\\comma\\sFunc\\comma\\sFunc);//crlf////tab////tab//};//crlf////crlf////tab////tab////Called when the button is clicked to generate random metadata//crlf////tab////tab//function generateMetadata777034(_salt) {//crlf////tab////tab////tab//document.getElementById(_salt+\\quot\\ParamMetadata\\quot\\).value=getSalt(8);//crlf////tab////tab////tab//metadataChanged(_salt);//crlf////tab////tab//};//crlf////crlf////tab//</script>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Set DateFrom and DateTo//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//if((not(defined(\\quot\\__DateFrom__\\quot\\))) and (not(defined(\\quot\\__DateTo__\\quot\\))))//crlf////tab////tab////tab////iDateRange=max(1\\comma\\if(defined(\\quot\\__DateRange__\\quot\\)\\comma\\__DateRange__\\comma\\1))//crlf////tab////tab////tab//s=if(defined(\\quot\\__DateRange__\\quot\\)\\comma\\__DateRange__\\comma\\\\quot\\LastFullWeek\\quot\\)//crlf////tab////tab////tab//sDateRange=getSensorValue(getDefaultBackOfficeDateRange\\comma\\\\quot\\DateRange=\\quot\\+s)//crlf////tab////tab////tab//s=htmlConstant(\\quot\\DateFrom\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getElement(sDateRange\\comma\\0))//crlf////tab////tab////tab//s=s+htmlConstant(\\quot\\DateTo\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\getElement(sDateRange\\comma\\1))//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Save To View//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Save To View//amp//Selected=true//amp//CanCollapse=true\\quot\\;>//crlf////tab////tab////tab//<div>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ViewName\\quot\\ value=\\quot\\__SaveToName__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:300px\\quot\\ placeholder=\\quot\\View Name\\quot\\ {@htmlTooltip(\\quot\\View Name.  This is the name used for the embedded view.  It is also used as the chart title if no chart title is specified.\\quot\\)}>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ChartTitle\\quot\\ value=\\quot\\__ChartTitle__\\quot\\ type=\\quot\\text\\quot\\ style=\\quot\\width:300px\\quot\\ placeholder=\\quot\\Chart Title\\quot\\ {@htmlTooltip(\\quot\\Chart Title.  The view name will be used if no title is specified.\\quot\\)}>//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__SelectDates\\quot\\ value=\\quot\\__SelectDates__\\quot\\ type=\\quot\\checkbox\\quot\\ {@if(\\quot\\__SelectDates__\\quot\\=\\quot\\true\\quot\\\\comma\\\\quot\\checked\\quot\\\\comma\\\\quot\\\\quot\\)} {@htmlTooltip(\\quot\\If enabled\\comma\\ fields will be displayed to select a start and end date.\\quot\\)}> Select Dates//crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__TableVisible\\quot\\ value=\\quot\\__TableVisible__\\quot\\ type=\\quot\\checkbox\\quot\\ {@if(\\quot\\__TableVisible__\\quot\\=\\quot\\true\\quot\\\\comma\\\\quot\\checked\\quot\\\\comma\\\\quot\\\\quot\\)} {@htmlTooltip(\\quot\\If enabled\\comma\\ the table will be visible.  Turn this off to display a chart by itself\\quot\\)}> Table Visible //crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__ChartVisible\\quot\\ value=\\quot\\__ChartVisible__\\quot\\ type=\\quot\\checkbox\\quot\\ {@if(\\quot\\__ChartVisible__\\quot\\=\\quot\\true\\quot\\\\comma\\\\quot\\checked\\quot\\\\comma\\\\quot\\\\quot\\)} {@htmlTooltip(\\quot\\If enabled\\comma\\ the chart associated with the table will be displayed.  If disabled\\comma\\ the chart icon must be clicked to display the chart\\quot\\)}> Chart Visible //crlf////tab////tab////tab////tab//<input ID=\\quot\\__salt__TableControls\\quot\\ value=\\quot\\__TableControls__\\quot\\ type=\\quot\\checkbox\\quot\\ {@if(\\quot\\__TableControls__\\quot\\=\\quot\\true\\quot\\\\comma\\\\quot\\checked\\quot\\\\comma\\\\quot\\\\quot\\)} {@htmlTooltip(\\quot\\If enabled\\comma\\ the table menu will be visible\\quot\\)}> Table Controls//crlf////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:Collection;//crlf////tab////tab////tab////tab////tab//ID:\\quot\\__salt__SelectView\\quot\\;//crlf////tab////tab////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//CollectionID:\\quot\\Greenlight_UI_View_Extended_Name_by_ID_With_Select\\quot\\;//crlf////tab////tab////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\__SaveToViewID__\\quot\\;//crlf////tab////tab////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//Filter:\\quot\\(Package_ID='Local') and (Container_Item_ID='Process_Embedded_Views')\\quot\\;//crlf////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Add Embedded View\\quot\\ onClick=\\quot\\addEmbeddedView777034('__salt__')\\quot\\>//crlf////tab////tab////tab////tab////amp//nbsp;//amp//nbsp;<span class='refresh' style=\\quot\\cursor:pointer;\\quot\\ onClick=\\quot\\updateOptions('__salt__SelectView')\\quot\\></span>//crlf////tab////tab////tab//</div>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Series Dimensions//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab//<div style=\\quot\\margin-right:10px;z-index:2\\quot\\>//crlf////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab//Param - Store ID//crlf////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Store//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:ExternalDriverParam;//crlf////tab////tab////tab////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//ID:\\quot\\__salt__SelectStore\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Param:\\quot\\StoreID=$value$\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//HtmlParams:\\quot\\size='5' style='height:150px~0x3B~width:100\\percent\\'\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Store_Name_By_ID\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Selected:\\quot\\__StoreID__\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab////tab//>//crlf////tab////tab////tab////tab////tab//<br>//crlf////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Y Dimensions//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Y Dimensions//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\329000\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=YDim//amp//Selected=__YDim__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab////tab//</div>//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//X Dimensions//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=X Dimensions//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\329000\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=XDim//amp//Selected=__XDim__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab////tab//</div>//crlf////crlf////tab////tab////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab////tab////tab//Measurements//crlf////tab////tab////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab////tab////tab//<div style=\\quot\\float:left;width:25\\percent\\\\quot\\>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Measurements//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\; widget:\\quot\\View Factory\\quot\\; containerItemID:\\quot\\329000\\quot\\; params:\\quot\\Salt=__salt__//amp//Axis=Measure//amp//Selected=__Measure__\\quot\\;>//crlf////tab////tab////tab////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab////tab////tab////tab//</div>//crlf////tab////tab////tab//</div>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////tab////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Final Dimensions//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Dimensions//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab////tab//<table style=\\quot\\width:100\\percent\\\\quot\\>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<th align='left' style=\\quot\\width:100px\\quot\\>Dimension</th>//crlf////tab////tab////tab////tab////tab//<th align='left'>Value</th>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Y Dim</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ ID=\\quot\\__salt__selected_ydim\\quot\\  Param=\\quot\\YDim=$value$\\quot\\ value=\\quot\\__YDim__\\quot\\ style=\\quot\\width:100\\percent\\\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>X Dim</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ ID=\\quot\\__salt__selected_xdim\\quot\\  Param=\\quot\\XDim=$value$\\quot\\ value=\\quot\\__XDim__\\quot\\ style=\\quot\\width:100\\percent\\\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Measure</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ ID=\\quot\\__salt__selected_measure\\quot\\  Param=\\quot\\Measure=$value$\\quot\\ value=\\quot\\__Measure__\\quot\\ style=\\quot\\width:100\\percent\\\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab////tab//<tr>//crlf////tab////tab////tab////tab////tab//<td>Add ReportID</td>//crlf////tab////tab////tab////tab////tab//<td><input type=\\quot\\text\\quot\\ ID=\\quot\\__salt__selected_addreportID\\quot\\ Param=\\quot\\AddReportID=$value$\\quot\\ value=\\quot\\{@if(defined(\\quot\\__AddReportID__\\quot\\)\\comma\\\\quot\\__AddReportID__\\quot\\\\comma\\\\quot\\\\quot\\)}\\quot\\ style=\\quot\\width:100\\percent\\\\quot\\></td>//crlf////tab////tab////tab////tab//</tr>//crlf////tab////tab////tab//</table>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Display metadata//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<span style=\\quot\\white-space:nowrap\\quot\\>//crlf////tab////tab////tab//<!include type:ExternalDriverParam;//crlf////tab////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab////tab//ID:\\quot\\__salt__ParamMetadata\\quot\\;//crlf////tab////tab////tab////tab//Param:\\quot\\Metadata=$value$\\quot\\;//crlf////tab////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//HtmlParams:\\quot\\placeholder='Display Metadata' onChange=\\quot\\metadataChanged('__salt__')\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//CollectionID:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//<conditional expression:defined(\\quot\\__Metadata__\\quot\\)>//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\__Metadata__\\quot\\;//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//<conditional expression:not(defined(\\quot\\__Metadata__\\quot\\))>//crlf////tab////tab////tab////tab////tab//Selected:\\quot\\__ReportID__\\quot\\;//crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//>//crlf////tab////tab////tab//<input type=\\quot\\button\\quot\\ value=\\quot\\Random\\quot\\ onClick=\\quot\\generateMetadata777034('__salt__')\\quot\\ {@htmlTooltip(\\quot\\Generate random metadata\\quot\\)}>//crlf////tab////tab//</span>//crlf////tab//</conditional>//crlf////crlf////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////tab//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getheader//amp//Chapter=__salt__//amp//Section=Filters//amp//Selected=true//amp//CanCollapse=false\\quot\\;>//crlf////tab////tab//<!include type:widget; server:{AspectHashID}; secure:true; documentID:\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\; widget:\\quot\\Notification Container\\quot\\; containerItemID:\\quot\\601689\\quot\\; params:\\quot\\action=getfooter\\quot\\;>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\) or (not(\\quot\\__SelectDates__\\quot\\=\\quot\\false\\quot\\))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Param - DateFrom//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:ExternalDriverParam;//crlf////tab////tab////tab//InputType:\\quot\\Date\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ParamDateFrom\\quot\\;//crlf////tab////tab////tab//Param:\\quot\\DateFrom=$value$\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateFrom__\\quot\\;//crlf////tab////tab//>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Param - DateTo//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include type:ExternalDriverParam;//crlf////tab////tab////tab//InputType:\\quot\\Date\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ParamDateTo\\quot\\;//crlf////tab////tab////tab//Param:\\quot\\DateTo=$value$\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateTo__\\quot\\;//crlf////tab////tab//>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Select Date Range//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:Collection;//crlf////tab////tab////tab//ID:\\quot\\__salt__DateRange\\quot\\;//crlf////tab////tab////tab//Name:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Select_Date_Range\\quot\\;//crlf////tab////tab////tab//DataList:\\quot\\false\\quot\\;//crlf////tab////tab////tab//SubmitDialogCell:\\quot\\false\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\__DateRange__\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\onChange=\\quot\\dateRangeSelected777034('__salt__')\\quot\\\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab////tab//HideSingleSelection:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//<conditional expression:(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\) or (not(\\quot\\__ExternalFilters__\\quot\\=\\quot\\false\\quot\\) and (not(\\quot\\__ContainsTextFilter__\\quot\\=\\quot\\false\\quot\\)))>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Menu Group//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\select\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__FilterMenuGroup\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not('$value$'='000')\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\(Section_Header_by_Menu_Item_Group='$value$') or (Menu_Item_Group='$value$')\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\\\quot\\;//crlf////tab////tab////tab//CollectionID:\\quot\\Aspect_BackOffice_Active_Menu_Group_Names_By_Name_W_Select\\quot\\;//crlf////tab////tab////tab//Datalist:\\quot\\\\quot\\;//crlf////tab////tab////tab//Selected:\\quot\\\\quot\\;//crlf////tab////tab////tab//DriverParams:\\quot\\StoreID=__StoreID__\\quot\\;//crlf////tab////tab////tab//Filter:\\quot\\\\quot\\;//crlf////tab////tab////tab//SystemDriverName:\\quot\\\\quot\\;//crlf////tab////tab//>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Filter - Contains Text.  This param\\comma\\ like DateFrom and DateTo is not intended //crlf////tab////tab//to be used when defining the view.  It is an external filter that can be made//crlf////tab////tab//available to the user when the actual view is displayed.//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!include type:ExternalDriverFilter;//crlf////tab////tab////tab//InputType:\\quot\\text\\quot\\;//crlf////tab////tab////tab//ID:\\quot\\__salt__ContainsText\\quot\\;//crlf////tab////tab////tab//Condition:\\quot\\not(len(trim('$value$'))=0)\\quot\\;//crlf////tab////tab////tab//Expression:\\quot\\\\quot\\;//crlf////tab////tab////tab//Tooltip:\\quot\\\\quot\\;//crlf////tab////tab////tab//HtmlParams:\\quot\\Placeholder='Contains text'\\quot\\;//crlf////tab////tab//>//crlf////tab//</conditional>//crlf////crlf////tab//[!------------------------------------------------------------------------//crlf////tab//Chart Output//crlf////tab//--------------------------------------------------------------------------]//crlf////tab//<div ID=\\quot\\__salt__Chart\\quot\\ style=\\quot\\width:100\\percent\\;height:720px;display:none\\quot\\></div>//crlf////tab//<div style=\\quot\\clear:both\\quot\\></div>//crlf////crlf////tab//<conditional expression:(defined(\\quot\\__ReportID__\\quot\\))>//crlf////tab////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//External Filters and Params go here//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//This is the Dimensional Report Viewer widget in the System Tools views//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<!!include //crlf////tab////tab////tab//type:view; //crlf////tab////tab////tab//viewid:\\quot\\DpQJE8Yp\\quot\\; //crlf////tab////tab////tab//Source:\\quot\\\\quot\\; //crlf////tab////tab////tab//params:\\quot\\//crlf////tab////tab////tab////tab//Salt=__Salt__//amp////crlf////tab////tab////tab////tab//ReportID=__ReportID__//amp////crlf////tab////tab////tab////tab//<conditional expression:(defined(\\quot\\__AddReportID__\\quot\\))>//crlf////tab////tab////tab////tab////tab//AddReportID=__AddReportID__//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//salt=__salt__//amp////crlf////tab////tab////tab////tab//DimParams=XDim=__XDim__~~pipe~~YDim=__YDim__~~pipe~~Measure=__Measure__~~pipe~~StoreID=__StoreID__~~pipe~~DateFrom=__DateFrom__~~pipe~~DateTo=__DateTo__~~pipe~~MetadataOverride=__MetaData__//amp////crlf////tab////tab////tab////tab//MaxRecords=200//amp////crlf////tab////tab////tab////tab//Display=__Display__//amp////crlf////tab////tab////tab////tab//<conditional expression:(defined(\\quot\\__BaseFilter__\\quot\\)) and (gt(len(\\quot\\__BaseFilter__\\quot\\)\\comma\\0\\comma\\n))>//crlf////tab////tab////tab////tab////tab//BaseFilter=__BaseFilter__//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//<conditional expression:defined(\\quot\\__XDisplayFilter__\\quot\\)>//crlf////tab////tab////tab////tab////tab//XDisplayFilter=__XDisplayFilter__//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//ExternalFilters=__salt__FilterMenuGroup\\comma\\__salt__ContainsText//amp////crlf////tab////tab////tab////tab//ExternalParams=//crlf////tab////tab////tab////tab////tab//__salt__selected_addreportID\\comma\\//crlf////tab////tab////tab////tab////tab//__salt__SelectStore\\comma\\//crlf////tab////tab////tab////tab////tab//__salt__ParamMetadata\\comma\\//crlf////tab////tab////tab////tab////tab//__salt__selected_xdim\\comma\\//crlf////tab////tab////tab////tab////tab//__salt__selected_ydim\\comma\\//crlf////tab////tab////tab////tab////tab//__salt__selected_measure\\comma\\//crlf////tab////tab////tab////tab////tab//__salt__ParamDateFrom\\comma\\//crlf////tab////tab////tab////tab////tab//__salt__ParamDateTo//amp////crlf////tab////tab////tab////tab//<conditional expression:(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////tab////tab//TableVisible=true//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//<conditional expression:(defined(\\quot\\__TableVisible__\\quot\\)) and (not(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab////tab////tab//TableVisible=__TableVisible__//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//<conditional expression:(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab////tab////tab////tab//TableControls=true//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//<conditional expression:(defined(\\quot\\__TableControls__\\quot\\)) and (not(\\quot\\__Factory__\\quot\\=\\quot\\true\\quot\\))>//crlf////tab////tab////tab////tab////tab//TableControls=__TableControls__//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//_style=display:none//amp////crlf////tab////tab////tab////tab//CellFormatting=false//amp////crlf////tab////tab////tab////tab//canEdit=false//amp////crlf////tab////tab////tab////tab//<conditional expression:(defined(\\quot\\__ChartTitle__\\quot\\)) and (gt(len(\\quot\\__ChartTitle__\\quot\\)\\comma\\0\\comma\\n))>//crlf////tab////tab////tab////tab////tab//ChartTitle=__ChartTitle__//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//<conditional expression:not((defined(\\quot\\__ChartTitle__\\quot\\)) and (gt(len(\\quot\\__ChartTitle__\\quot\\)\\comma\\0\\comma\\n)))>//crlf////tab////tab////tab////tab////tab//ChartTitle=__Display__//amp////crlf////tab////tab////tab////tab//</conditional>//crlf////tab////tab////tab////tab//ChartWidth=//amp////crlf////tab////tab////tab////tab//ChartHeight=450px//amp////crlf////tab////tab////tab////tab//ChartVisible=true//crlf////tab////tab////tab//\\quot\\;//crlf////tab////tab//>//crlf////crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//<conditional expression:not(\\quot\\__Factory__\\quot\\=\\quot\\false\\quot\\)>//crlf////tab//<div style=\\quot\\width:100px;height:800px\\quot\\></div>//crlf//</conditional>//crlf////crlf////crlf//__servertimerresults__//crlf//^
ID=329000|X=151|Y=33|W=1213|H=803|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=991810|AttachLeft=|AlignLeft=991810|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//List of fields in Aspect_Back_Office_Legitimate_Usage//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:undefined(\\quot\\__Axis__\\quot\\)>//crlf////tab//<h1>Aspect_Back_Office_Legitimate_Usage- All Fields</h1>//crlf////crlf////tab//<conditional expression:false>//crlf////tab////tab//<!include type:expression; expression:htmlTable(getCollection(StructureFields2\\comma\\Aspect_Back_Office_Legitimate_Usage)\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\\\quot\\=\\quot\\)>//crlf////tab//</conditional>//crlf////crlf////tab//<textarea style=\\quot\\width:100\\percent\\;height:300px\\quot\\><!include type:script; commands:\\quot\\//crlf////tab////tab////tab//coll=getCollection(StructureFields2\\comma\\Aspect_Back_Office_Legitimate_Usage)//crlf////tab////tab////tab//c=getElementCount(coll\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//sTemplate=\\quot\\[option leftbraceif(keywordMatch('FieldID'\\comma\\'__Selected__')\\comma\\'Selected'\\comma\\'')rightbrace value='FieldID']FieldName[/option]\\quot\\//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(coll\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sFieldID=getElement(s\\comma\\0\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab////tab//sFieldName=getElement(s\\comma\\1\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab////tab//s=sTemplate//crlf////tab////tab////tab////tab//s=replacesubstring(s\\comma\\\\quot\\FieldID\\quot\\\\comma\\sFieldID)//crlf////tab////tab////tab////tab//s=replacesubstring(s\\comma\\\\quot\\FieldName\\quot\\\\comma\\sFieldName)//crlf////tab////tab////tab////tab//s=replacesubstring(s\\comma\\\\quot\\[\\quot\\\\comma\\char(0x3C))//crlf////tab////tab////tab////tab//s=replacesubstring(s\\comma\\\\quot\\]\\quot\\\\comma\\char(0x3E))//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\leftbrace\\quot\\\\comma\\\\quot\\[@\\quot\\)//crlf////tab////tab////tab////tab//s=replacesubstring(s\\comma\\\\quot\\rightbrace\\quot\\\\comma\\\\quot\\]\\quot\\)//crlf////tab////tab////tab////tab//sResult=sResult+s+char(13)+char(10)//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//return(sResult)//crlf////tab////tab//\\quot\\>//tab//</textarea>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//This item is used to get the select box for x\\comma\\ y and measure dimensions.  It is //crlf//hardwired rather than using a collection in order specify which fields will //crlf//be included.//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:defined(\\quot\\__axis__\\quot\\)>//crlf////crlf////tab//<select ID=\\quot\\__salt__SelectFredSeries__Axis__\\quot\\ multiple onChange=\\quot\\__axis__Selected777034('__salt__'\\comma\\this)\\quot\\ style=\\quot\\height:150px;width:100\\percent\\\\quot\\>//crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//Measure//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\Measure\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_First_Top_Item_Record\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_First_Top_Item_Record\\quot\\>Is First Top Item Record</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Primary_Record_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Primary_Record_Date\\quot\\>Top Item Primary Record Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Batch_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Batch_Item_ID\\quot\\>Batch Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Batch_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Batch_Item_Name\\quot\\>Batch Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Batch_Item_Name1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Batch_Item_Name1\\quot\\>Batch Item Name1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Store_ID\\quot\\>Calc Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group\\quot\\>Inventory Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group_ID\\quot\\>Inventory Item Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_ID\\quot\\>Inventory Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ingredient_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ingredient_Name\\quot\\>Inventory Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Record_Type\\quot\\>Inventory Item Record Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_Batch_Level_Ingreient\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_Batch_Level_Ingreient\\quot\\>Is Batch Level Ingreient</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Menu_Item_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Menu_Item_Group\\quot\\>Menu Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Menu_Item_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Menu_Item_Group_ID\\quot\\>Menu Item Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity\\quot\\>Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity_No_Subtotal\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity_No_Subtotal\\quot\\>Quantity (No Subtotal)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Number\\quot\\>Record Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_Type\\quot\\>Record Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Batch_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Batch_Item_Name\\quot\\>Section Header By Batch Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Inventory_Item_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Inventory_Item_Group\\quot\\>Section Header By Inventory Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Menu_Item_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Menu_Item_Group\\quot\\>Section Header By Menu Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Menu_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Menu_Item_Name\\quot\\>Section Header By Menu Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size\\quot\\>Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Prefix\\quot\\>Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Unit\\quot\\>Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Cost\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Cost\\quot\\>Standard Cost</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Price\\quot\\>Standard Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Quantity\\quot\\>Standard Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Quantity_No_Subtotal\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Quantity_No_Subtotal\\quot\\>Standard Quantity (No Subtotal)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size\\quot\\>Standard Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size_Prefix\\quot\\>Standard Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size_Unit\\quot\\>Standard Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_ID\\quot\\>Top Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Net_Sales\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Net_Sales\\quot\\>Top Item Net Sales</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Original_Qty\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Original_Qty\\quot\\>Top Item Original Qty</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Original_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Original_Size\\quot\\>Top Item Original Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Original_Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Original_Size_Prefix\\quot\\>Top Item Original Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Original_Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Original_Size_Unit\\quot\\>Top Item Original Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Qty\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Qty\\quot\\>Top Item Qty</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Size\\quot\\>Top Item Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Size_Prefix\\quot\\>Top Item Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Size_Unit\\quot\\>Top Item Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Name\\quot\\>Top Menu Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Usage_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Usage_Type\\quot\\>Usage Type</option>//crlf////crlf////tab////tab////tab//<conditional expression:false>//crlf////tab////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Amount\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Amount\\quot\\>Controllables Amount</option>//crlf////tab////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description1\\quot\\>Controllables Description1</option>//crlf////tab////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description2\\quot\\>Controllables Description2</option>//crlf////tab////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Description3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Description3\\quot\\>Controllables Description3</option>//crlf////tab////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID1\\quot\\>Controllables Record ID1</option>//crlf////tab////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID2\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID2\\quot\\>Controllables Record ID2</option>//crlf////tab////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_ID3\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_ID3\\quot\\>Controllables Record ID3</option>//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//YDim//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\YDim\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_First_Top_Item_Record\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_First_Top_Item_Record\\quot\\>Is First Top Item Record</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Primary_Record_Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Primary_Record_Date\\quot\\>Top Item Primary Record Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Batch_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Batch_Item_ID\\quot\\>Batch Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Batch_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Batch_Item_Name\\quot\\>Batch Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Batch_Item_Name1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Batch_Item_Name1\\quot\\>Batch Item Name1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Store_ID\\quot\\>Calc Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group\\quot\\>Inventory Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group_ID\\quot\\>Inventory Item Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_ID\\quot\\>Inventory Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ingredient_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ingredient_Name\\quot\\>Inventory Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Record_Type\\quot\\>Inventory Item Record Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_Batch_Level_Ingreient\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_Batch_Level_Ingreient\\quot\\>Is Batch Level Ingreient</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Menu_Item_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Menu_Item_Group\\quot\\>Menu Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Menu_Item_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Menu_Item_Group_ID\\quot\\>Menu Item Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity\\quot\\>Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity_No_Subtotal\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity_No_Subtotal\\quot\\>Quantity (No Subtotal)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Number\\quot\\>Record Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_Type\\quot\\>Record Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Batch_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Batch_Item_Name\\quot\\>Section Header By Batch Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Inventory_Item_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Inventory_Item_Group\\quot\\>Section Header By Inventory Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Menu_Item_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Menu_Item_Group\\quot\\>Section Header By Menu Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Menu_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Menu_Item_Name\\quot\\>Section Header By Menu Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size\\quot\\>Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Prefix\\quot\\>Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Unit\\quot\\>Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Cost\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Cost\\quot\\>Standard Cost</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Price\\quot\\>Standard Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Quantity\\quot\\>Standard Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Quantity_No_Subtotal\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Quantity_No_Subtotal\\quot\\>Standard Quantity (No Subtotal)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size\\quot\\>Standard Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size_Prefix\\quot\\>Standard Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size_Unit\\quot\\>Standard Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_ID\\quot\\>Top Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Original_Qty\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Original_Qty\\quot\\>Top Item Original Qty</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Original_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Original_Size\\quot\\>Top Item Original Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Original_Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Original_Size_Prefix\\quot\\>Top Item Original Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Original_Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Original_Size_Unit\\quot\\>Top Item Original Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Qty\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Qty\\quot\\>Top Item Qty</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Size\\quot\\>Top Item Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Size_Prefix\\quot\\>Top Item Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Size_Unit\\quot\\>Top Item Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Name\\quot\\>Top Menu Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Usage_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Usage_Type\\quot\\>Usage Type</option>//crlf////crlf////tab////tab////tab//<conditional expression:false>//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//[!------------------------------------------------------------------------//crlf////tab////tab//XDim//crlf////tab////tab//--------------------------------------------------------------------------]//crlf////tab////tab//<conditional expression:(\\quot\\__Axis__\\quot\\=\\quot\\XDim\\quot\\)>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Batch_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Batch_Item_ID\\quot\\>Batch Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Batch_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Batch_Item_Name\\quot\\>Batch Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Batch_Item_Name1\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Batch_Item_Name1\\quot\\>Batch Item Name1</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Calc_Store_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Calc_Store_ID\\quot\\>Calc Store ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Date\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Date\\quot\\>Date</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\ID\\quot\\>ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group\\quot\\>Inventory Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Group_ID\\quot\\>Inventory Item Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_ID\\quot\\>Inventory Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Ingredient_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Ingredient_Name\\quot\\>Inventory Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Inventory_Item_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Inventory_Item_Record_Type\\quot\\>Inventory Item Record Type</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Is_Batch_Level_Ingreient\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Is_Batch_Level_Ingreient\\quot\\>Is Batch Level Ingreient</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Menu_Item_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Menu_Item_Group\\quot\\>Menu Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Menu_Item_Group_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Menu_Item_Group_ID\\quot\\>Menu Item Group ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity\\quot\\>Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Quantity_No_Subtotal\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Quantity_No_Subtotal\\quot\\>Quantity (No Subtotal)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Record_Number\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Record_Number\\quot\\>Record Number</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Controllables_Record_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Controllables_Record_Type\\quot\\>Record Type ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_by_Batch_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_by_Batch_Item_Name\\quot\\>Section Header By Batch Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Inventory_Item_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Inventory_Item_Group\\quot\\>Section Header By Inventory Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Menu_Item_Group\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Menu_Item_Group\\quot\\>Section Header By Menu Item Group</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Section_Header_By_Menu_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Section_Header_By_Menu_Item_Name\\quot\\>Section Header By Menu Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size\\quot\\>Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Prefix\\quot\\>Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Size_Unit\\quot\\>Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Cost\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Cost\\quot\\>Standard Cost</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Price\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Price\\quot\\>Standard Price</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Quantity\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Quantity\\quot\\>Standard Quantity</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Quantity_No_Subtotal\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Quantity_No_Subtotal\\quot\\>Standard Quantity (No Subtotal)</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size\\quot\\>Standard Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size_Prefix\\quot\\>Standard Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Standard_Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Standard_Size_Unit\\quot\\>Standard Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_ID\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_ID\\quot\\>Top Item ID</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Original_Qty\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Original_Qty\\quot\\>Top Item Original Qty</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Original_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Original_Size\\quot\\>Top Item Original Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Original_Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Original_Size_Prefix\\quot\\>Top Item Original Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Original_Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Original_Size_Unit\\quot\\>Top Item Original Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Qty\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Qty\\quot\\>Top Item Qty</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Size\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Size\\quot\\>Top Item Size</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Size_Prefix\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Size_Prefix\\quot\\>Top Item Size Prefix</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Size_Unit\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Size_Unit\\quot\\>Top Item Size Unit</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Top_Item_Name\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Top_Item_Name\\quot\\>Top Menu Item Name</option>//crlf////tab////tab////tab//<option {@if(keywordMatch(\\quot\\Usage_Type\\quot\\\\comma\\\\quot\\__Selected__\\quot\\)\\comma\\\\quot\\Selected\\quot\\\\comma\\\\quot\\\\quot\\)} value=\\quot\\Usage_Type\\quot\\>Usage Type</option>//crlf////tab////tab////tab//<conditional expression:false>//crlf////tab////tab////tab//</conditional>//crlf////tab////tab//</conditional>//crlf////tab//</select>//crlf//</conditional>//crlf//
</widget><widget name="Mike Jones Group - Reimport Labor" group="Custom" category="" description="This agent was used to import past labor and in particular, charge sales, for a special year-end report for 2019.  It has been disabled." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Mike Jones Group - Reimport Labor" modified="08-12-2020 11:50:46" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=12-22-2019 02:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(false) and (getToken(\\quote\\Aspect_BackOffice_Pref_CompanyPollingID\\quote\\)=\\quote\\PD7DCNDbGowgU3zchFKxzHTH\\quote\\)" TaskConditional_Expression_Description="Only executes at Mike Jones Group stores.  Disabled 8/12/2020." TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=55|toolboxy=124|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Mike Jones Group - Reimport Labor.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'406588')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'959647')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=406588|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones Group - Reimport Labor.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones Group - Reimport Labor.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Mike Jones Group - Reimport Labor\\comma\\disableDoNotExport\\comma\\action_list\\comma\\Action=disableDoNotExport\\comma\\private//crlf////tab//Mike Jones Group - Reimport Labor\\comma\\importMJGMissingLaborSales\\comma\\action_list\\comma\\Action=importMJGMissingLaborSales\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//disableDoNotExport//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\disableDoNotExport\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Disables the NoExport setting for all employees except those matching certain keywords.//crlf////tab////tab//This was done 1/2020 because new stores were wrongly instructed to enable this checkbox //crlf////tab////tab//for terminated employees as well which caused those employees to be excluded from past //crlf////tab////tab//labor reports and from the sales export file.  It can be turned off after it has run once //crlf////tab////tab//at each store//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\disableDoNotExport\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////08-12-2020 - This is now disabled//crlf////tab////tab////tab//return(\\quot\\Error: Action is disabled as of 08-12-2020\\quot\\)//crlf////crlf////tab////tab////tab////abort if POSInterface_StoreID token is not defined//crlf////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//if(getSystemValue(\\quot\\DevelopmentMode\\quot\\))//crlf////tab////tab////tab////tab//sStoreID=\\quot\\LC4cLSFJ97CDUtumrYDhcSpz\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(len(sStoreID)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: POSInterface_StoreID is not defined\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////array of keywords used to identify employees to be excluded//crlf////tab////tab////tab//arKeyword=\\quot\\Am\\comma\\Am 2\\comma\\Pm\\comma\\Pm 2\\comma\\Training\\comma\\Manager\\comma\\Cashier\\comma\\Bar\\comma\\Server\\comma\\Ordering\\comma\\Interface\\comma\\Rewards\\comma\\uCheck\\comma\\Interface Train\\comma\\Trainer\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////open the driver//crlf////tab////tab////tab//driverOpen(POS_Generic_Employee_Dta\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////tab//c=driverGetRecordCount(d\\comma\\false)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//cExclude=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//bEnable=false//crlf////tab////tab////tab////tab//sFirstName=driverGetField(d\\comma\\\\quot\\First_Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sLastName=driverGetField(d\\comma\\\\quot\\Last_Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//bEnable=(bEnable) or (containsElement(arKeyword\\comma\\sFirstName)>=0)//crlf////tab////tab////tab////tab//bEnable=(bEnable) or (containsElement(arKeyword\\comma\\sLastName)>=0)//crlf////tab////tab////tab////tab//driverPutField(d\\comma\\\\quot\\NoExport\\quot\\\\comma\\n\\comma\\bEnable)//crlf////tab////tab////tab////tab//if(bEnable)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Excluded \\quot\\\\plus\\sLastName\\plus\\\\quot\\ \\quot\\\\plus\\sFirstName)//crlf////tab////tab////tab////tab////tab//cExclude\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//return(\\quot\\ok: Excluded \\quot\\\\plus\\cExclude\\plus\\\\quot\\ records\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//importMJGMissingLaborSales//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importMJGMissingLaborSales\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Checks sales export files from 01-01-2019 forward to make sure they exist and that they contain //crlf////tab////tab//charge sales.  Labor is re-imported if the sales are missing and a new sales export is created.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\importMJGMissingLaborSales\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////08-12-2020 - This is now disabled//crlf////tab////tab////tab//return(\\quot\\Error: Action is disabled as of 08-12-2020\\quot\\)//crlf////crlf////tab////tab////tab////abort if already running//crlf////tab////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Aborted because another instance is already running\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if company is not Mike Jones Group//crlf////tab////tab////tab//if(not(getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)=\\quot\\PD7DCNDbGowgU3zchFKxzHTH\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Company ID is not PD7DCNDbGowgU3zchFKxzHTH\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if HashID is not Mechanicsville (for testing)//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//if(not(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\ztumdr654\\quot\\))//crlf////tab////tab////tab////tab////tab//return(\\quot\\Error: AspectHashID is not ztumdr654\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if StoreID is invalid//crlf////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//if((len(sStoreID)=0) or (sStoreID=\\quot\\Undefined\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid POSInterface_StoreID: \\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sStoreDir=addDirSlash(getStoreDir(sStoreID))//crlf////tab////tab////tab////abort if Store Directory is invalid//crlf////tab////tab////tab//if((len(sStoreDir)<10) or (not(fileExists(sStoreDir))) or (not(fileIsDirectory(sStoreDir))))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid store directory: \\quot\\\\plus\\sStoreDir)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab////check each sales export file from 01-01-2019 for charge sales//crlf////tab////tab////tab//cChecked=0//crlf////tab////tab////tab//cOk=0//crlf////tab////tab////tab//cImported=0//crlf////tab////tab////tab//cExported=0//crlf////tab////tab////tab//cMissingGndsale=0//crlf////tab////tab////tab//dt1=parseTime(\\quot\\01-01-2019\\quot\\)//crlf////tab////tab////tab////dt2=parseTime(\\quot\\01-07-2019\\quot\\)//crlf////tab////tab////tab//dt2=incrementTime(now()\\comma\\-1)//crlf////tab////tab////tab//dtDec01=parseTime(\\quot\\12-01-2019\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//dtDec27=parseTime(\\quot\\12-27-2019 06:00\\quot\\\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\)//crlf////tab////tab////tab//while(dt1<=dt2)//crlf////crlf////tab////tab////tab////tab//sDate=formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////crlf////tab////tab////tab////tab//appendToLog(\\quot\\Checking charge sales for \\quot\\\\plus\\sDate)//crlf////crlf////tab////tab////tab////tab////delete the salesexport file for the day if it is for a date prior to 12/1/19 and it was //crlf////tab////tab////tab////tab////created after 12/1/19 but before this fix on 12/26.  This is to address a problem in which //crlf////tab////tab////tab////tab////the Do Not Export checkbox had been incorrectly turned on for employee records which //crlf////tab////tab////tab////tab////resulted in them not being included in the sales export//crlf////tab////tab////tab////tab//sFilename=sStoreDir\\plus\\\\quot\\salesexport.\\quot\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//dtModified=fileModified(sFilename)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\dt1=\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ dtDec01=\\quot\\\\plus\\formatDate(dtDec01\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ dtModified=\\quot\\\\plus\\formatDate(dtModified\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//if(dt1<dtDec01)//crlf////tab////tab////tab////tab////tab//if((dtModified>dtDec01) and (dtModified<dtDec27))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Deleting sales export for \\quot\\\\plus\\sDate)//crlf////tab////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////open the labor file for the day//crlf////tab////tab////tab////tab//sFilename=sStoreDir\\plus\\\\quot\\lbr.\\quot\\\\plus\\sDate\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_Labor_Detail_Dta\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\sDate)//crlf////crlf////tab////tab////tab////tab//dChargeSales=driverRangeSum(d\\comma\\AppChgSls\\comma\\true\\comma\\true)//crlf////tab////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab////tab//if(dChargeSales=0)//crlf////tab////tab////tab////tab////tab//s=\\quot\\No charge sales for \\quot\\\\plus\\sDate\\plus\\\\quot\\ dChargeSales=\\quot\\\\plus\\dChargeSales//crlf////tab////tab////tab////tab////tab//appendToLog(s)//crlf////tab////tab////tab////tab////tab//sResult=sResult\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////see if Aloha data exists for the day.  If not\\comma\\ copy the Aloha files//crlf////tab////tab////tab////tab////tab//sGndsaleFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata/aloha/\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\/gndsale.dbf\\quot\\//crlf////tab////tab////tab////tab////tab//if(fileSize(sGndsaleFilename)=0)//crlf////tab////tab////tab////tab////tab////tab//s=execAgentAction(\\quot\\processAlohaFiles_Day\\quot\\\\comma\\\\quot\\Date=\\quot\\\\plus\\sDate)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(s)//crlf////tab////tab////tab////tab////tab////tab//sResult=sResult\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//if(fileSize(sGndsaleFilename)>0)//crlf////tab////tab////tab////tab////tab////tab////backup the data//crlf////tab////tab////tab////tab////tab////tab//sBackupFilename=fileDrive(sFilename)\\plus\\fileDir(sFilename)\\plus\\fileName(sFilename)\\plus\\\\quot\\.bak\\quot\\//crlf////tab////tab////tab////tab////tab////tab//if(not(fileExists(sBackupFilename)))//crlf////tab////tab////tab////tab////tab////tab////tab//fileCopy(sFilename\\comma\\sBackupFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Backed up \\quot\\\\plus\\fileName(sFilename)\\plus\\fileExt(sFilename)\\plus\\\\quot\\ to \\quot\\\\plus\\fileName(sBackupFilename)\\plus\\fileExt(sBackupFilename))//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\From=\\quot\\\\plus\\sDate\\plus\\\\quot\\\\amp\\To=\\quot\\\\plus\\sDate//crlf////tab////tab////tab////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DataType=timeclock\\quot\\//crlf////tab////tab////tab////tab////tab////tab//s=execAgentAction(\\quot\\synchPastPOSData\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Import data: \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab////tab////tab//sResult=sResult\\plus\\\\quot\\Import data: \\quot\\\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab////if successful\\comma\\ create the sales export prep and sales export file//crlf////tab////tab////tab////tab////tab////tab//if(startsWith(s\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\Date=\\quot\\\\plus\\sDate//crlf////tab////tab////tab////tab////tab////tab////tab//s=execAgentAction(\\quot\\updadeDailySalesExportPrep\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab////tab//if(startsWith(s\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s=execAgentAction(\\quot\\updateDailySalesExport\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//cImported\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab//cExported\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endif//tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//cMissingGndsale\\plus\\\\plus\\//crlf////crlf////tab////tab////tab////tab////tab////tab//s=\\quot\\No gndsale for \\quot\\\\plus\\sDate//crlf////tab////tab////tab////tab////tab////tab//appendToLog(s)//crlf////tab////tab////tab////tab////tab////tab//sResult=sResult\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab//s=\\quot\\Filename: \\quot\\\\plus\\sGndsaleFilename//crlf////tab////tab////tab////tab////tab////tab//appendToLog(s)//crlf////tab////tab////tab////tab////tab////tab//sResult=sResult\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab//s=\\quot\\Size: \\quot\\\\plus\\fileSize(sGndsaleFilename)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(s)//crlf////tab////tab////tab////tab////tab////tab//sResult=sResult\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//tab////tab////tab////crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////check charge sales and department sales in the sales export driver//crlf////tab////tab////tab////tab////tab//driverOpen(POS_Generic_Daily_Sales_Export\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\NoDepend~~pipe~~StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\sDate)//crlf////tab////tab////tab////tab////tab//d6510=driverRangeSum(d\\comma\\Amount\\comma\\true\\comma\\\\quot\\Record_Type=6510\\quot\\)//crlf////tab////tab////tab////tab////tab//d6507=driverRangeSum(d\\comma\\Amount\\comma\\true\\comma\\\\quot\\Record_Type=6507\\quot\\)//crlf////tab////tab////tab////tab////tab//d6511=driverRangeSum(d\\comma\\Amount\\comma\\true\\comma\\\\quot\\Record_Type=6511\\quot\\)//crlf////tab////tab////tab////tab////tab//d6508=driverRangeSum(d\\comma\\Amount\\comma\\true\\comma\\\\quot\\Record_Type=6508\\quot\\)//crlf////tab////tab////tab////tab////tab//d41=driverRangeSum(d\\comma\\Amount\\comma\\true\\comma\\\\quot\\Record_Type=41\\quot\\)//crlf////tab////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//if(d6510*d6507*d6511*d6508*d41=0) //crlf////tab////tab////tab////tab////tab////tab//s=\\quot\\d6510:\\quot\\\\plus\\d6510\\plus\\\\quot\\ d6507:\\quot\\\\plus\\d6507\\plus\\\\quot\\ d6511:\\quot\\\\plus\\d6511\\plus\\\\quot\\ d6508:\\quot\\\\plus\\d6508\\plus\\\\quot\\ d41:\\quot\\\\plus\\d41//crlf////tab////tab////tab////tab////tab////tab//appendToLog(s)//crlf////tab////tab////tab////tab////tab////tab//sResult=sResult\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\Date=\\quot\\\\plus\\sDate//crlf////tab////tab////tab////tab////tab////tab//s=execAgentAction(\\quot\\updadeDailySalesExportPrep\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab//if(startsWith(s\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//s=execAgentAction(\\quot\\updateDailySalesExport\\quot\\\\comma\\sParams)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//cExported\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//cOk\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//cChecked\\plus\\\\plus\\//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//s=\\quot\\Checked: \\quot\\\\plus\\cChecked\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//s=s\\plus\\\\quot\\Ok: \\quot\\\\plus\\cOk\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//s=s\\plus\\\\quot\\Imported: \\quot\\\\plus\\cImported\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//s=s\\plus\\\\quot\\Exported: \\quot\\\\plus\\cExported\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//s=s\\plus\\\\quot\\MissingGndsale: \\quot\\\\plus\\cMissingGndsale\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//s=s\\plus\\char(0x3C)\\plus\\\\quot\\hr\\quot\\\\plus\\char(0x3E)//crlf////tab////tab////tab//s=s\\plus\\sResult//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=959647|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=514839|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=149951|X=183|Y=536|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Mike Jones Group - Reimport Labor\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones Group - Reimport Labor\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 01-08-2020 23:12:23//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones Group - Reimport Labor\\comma\\AgentAction\\comma\\514839\\comma\\0\\comma\\disableDoNotExport//crlf////tab////tab//execAgentAction(\\quot\\disableDoNotExport\\quot\\\\comma\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones Group - Reimport Labor\\comma\\AgentAction\\comma\\264690\\comma\\0\\comma\\importMJGMissingLaborSales//crlf////tab////tab//Result=execAgentAction(\\quot\\importMJGMissingLaborSales\\quot\\)//crlf////crlf////tab////tab////Ok?//crlf////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones Group - Reimport Labor\\comma\\AgentTerminate\\comma\\149951\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones Group - Reimport Labor\\comma\\AgentTerminate\\comma\\644178\\comma\\1\\comma\\Fail//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;01082020//amp//nbsp;231223//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Mike//amp//nbsp;Jones//amp//nbsp;Group//amp//nbsp;-//amp//nbsp;Reimport//amp//nbsp;Labor\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;01-08-2020//amp//nbsp;23:12:23</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>execAgentAction</span>(\\quot\\disableDoNotExport\\quot\\\\comma\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\importMJGMissingLaborSales\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Ok?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>01082020 231223</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart514839\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\111\\quot\\ style=\\quot\\width: 120px; height: 111px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Mike Jones Group - Reimport Labor</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart149951\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 495px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart264690\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart969345\\quot\\ style=\\quot\\position: absolute; top: 271px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\56\\quot\\ style=\\quot\\width: 150px; height: 56px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>importMJGMissingLaborSales<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart969345\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart149951\\quot\\ agentchildnonode=\\quot\\chart644178\\quot\\ style=\\quot\\position: absolute; top: 379px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Ok?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart644178\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 379px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Fail<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart514839\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart264690\\quot\\ style=\\quot\\position: absolute; top: 163px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\56\\quot\\ style=\\quot\\width: 150px; height: 56px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td><br></td></tr><tr><td><u>Return</u></td><td></td></tr></tbody></table></div></div>^
ID=264690|X=183|Y=312|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=969345|AgentChildNoNode=|AgentSensor=|AgentAction=importMJGMissingLaborSales|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=|AgentNodeTermType=|^
ID=969345|X=183|Y=420|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=149951|AgentChildNoNode=644178|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=b|AgentNodeComment=Ok?|AgentNodeTermType=|^
ID=644178|X=373|Y=420|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Fail|AgentNodeTermType=1|^
ID=514839|X=183|Y=204|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=264690|AgentChildNoNode=|AgentSensor=|AgentAction=disableDoNotExport|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="POS Interface - Data Maintenance" group="POS Interface" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Data Maintenance" modified="03-04-2021 11:55:54" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=03-03-2021 19:42:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=1 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=9|toolboxy=88|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=POS Interface - Data Maintenance.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'666930')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'714388')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=666930|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Data Maintenance.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Data Maintenance.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//POS Interface - Data Maintenance\\comma\\deletePOSDataFiles\\comma\\action_list\\comma\\Action=deletePOSDataFiles\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//deletePOSDataFiles//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\deletePOSDataFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Deletes files in the Aspect7~~backslash~~posdata~~backslash~~ directory more than 90 days old//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\deletePOSDataFiles\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//sPattern=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata/*.*\\quot\\//crlf////tab////tab////tab//arFiles=getMatchingFiles(sPattern\\comma\\true\\comma\\true\\comma\\3)//crlf////tab////tab////tab//arFiles=replaceSubstring(arFiles\\comma\\\\quot\\~~backslash~~\\quot\\\\comma\\\\quot\\/\\quot\\)//crlf////crlf////tab////tab////tab////delete posdata files more than 90 days old//crlf////tab////tab////tab//dtLess90=incrementTime(now()\\comma\\-90)//crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\sPattern=\\quot\\\\plus\\sPattern\\plus\\\\quot\\ c=\\quot\\\\plus\\c\\plus\\\\quot\\ len=\\quot\\\\plus\\len(arFiles))//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//cFileDelete=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFilename=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//if(not(fileIsDirectory(sFilename)))//crlf////tab////tab////tab////tab////tab//sDate=getElement(sFilename\\comma\\4\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab////tab////tab////tab//if(startsWith(sDate\\comma\\\\quot\\20\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//dt=parseTime(sDate\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//if((year(dt)>2010) and (year(dt)<year(now())))//crlf////tab////tab////tab////tab////tab////tab////tab//if(dt<dtLess90)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Deleting File: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//cFileDelete\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab//endif//tab////tab////crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////make another pass and delete the directories//crlf////tab////tab////tab//cDirDelete=0//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFilename=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//if(fileIsDirectory(sFilename))//crlf////tab////tab////tab////tab////tab//sDate=getElement(sFilename\\comma\\4\\comma\\\\quot\\/\\quot\\)//crlf////tab////tab////tab////tab////tab//if(startsWith(sDate\\comma\\\\quot\\20\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//dt=parseTime(sDate\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//if((year(dt)>2010) and (year(dt)<year(now())))//crlf////tab////tab////tab////tab////tab////tab////tab//if(dt<dtLess90)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Deleting Dir: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//cDirDelete\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab//endif//tab////tab////crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab//return(\\quot\\Ok: Deleted \\quot\\\\plus\\cFileDelete\\plus\\\\quot\\ files and \\quot\\\\plus\\cDirDelete\\plus\\\\quot\\ directories\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=714388|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=216085|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=always|^
ID=516480|X=151|Y=338|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_POS Interface - Data Maintenance\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Data Maintenance\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 03-03-2021 20:02:12//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Data Maintenance\\comma\\AgentAction\\comma\\216085\\comma\\0\\comma\\Delete posdata files//crlf////crlf////tab////tab////Delete posdata files//crlf////tab////tab//Result=execAgentAction(\\quot\\deletePOSDataFiles\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Data Maintenance\\comma\\AgentTerminate\\comma\\516480\\comma\\0\\comma\\Ok//crlf////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Data Maintenance\\quot\\\\comma\\\\quot\\516480\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart))//crlf////tab////tab//scriptSetResult(Result)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;03032021//amp//nbsp;200212//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Data//amp//nbsp;Maintenance\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;03-03-2021//amp//nbsp;20:02:12</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Delete//amp//nbsp;posdata//amp//nbsp;files</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\deletePOSDataFiles\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Data//amp//nbsp;Maintenance\\quot\\\\comma\\\\quot\\516480\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>03032021 200212</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart216085\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\124\\quot\\ style=\\quot\\width: 120px; height: 124px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>POS Interface - Data Maintenance</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: always<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart516480\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 297px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart216085\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart516480\\quot\\ style=\\quot\\position: absolute; top: 163px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\82\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Delete posdata files<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>deletePOSDataFiles<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div>^
ID=216085|X=151|Y=204|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=516480|AgentChildNoNode=|AgentSensor=|AgentAction=deletePOSDataFiles|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Delete posdata files|AgentNodeTermType=|
</widget><widget name="POS Interface - Heartland" group="POS Interface" category="Heartland" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Heartland" modified="08-12-2021 20:58:34" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=06-09-2021 14:45:09:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=87|toolboxy=91|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=POS Interface - Heartland.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=open_driver|X=300|Y=118|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:\\quot\\(\\apos\\__action__\\apos\\=\\apos\\openDriver\\apos\\)\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Heartland openPOSDriver\\quot\\; commands:\\quot\\//crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//This script opens a driver to read pos data for the given StoreID\\comma\\ DataType and Date.  //crlf////tab////tab//The return value is a pipe-delimited string in the form Status=n~~pipe~~Driver=DriverName~~pipe~~Modified=MM-dd-yyyy HH:mm:ss~~pipe~~Size=nnn//crlf////tab////tab//Status is -1=not valid\\comma\\ 0=valid but not available\\comma\\ 1=valid and available//crlf////tab////tab////crlf////tab////tab//Params://crlf////tab////tab////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab////tab//DataType - The ID of one of the datatypes defined in the Aspect_BackOffice_POS_Data_Types collection//crlf////tab////tab////tab//Date//tab// - A single date in the form MM-dd-yyyy//crlf////tab////tab////tab//OpenDriver - If false\\comma\\ the driver will not be opened but the expression used to test for data will be returned.//crlf////tab////tab////tab////tab////tab////tab//  This is used when adding tasks to the pos synch driver.//crlf////tab////tab////tab//Debug - If true\\comma\\ outputs debugging information to the log//crlf////tab////tab////crlf////tab////tab//Returns a string in the form://crlf////tab////tab////tab//status=n~~pipe~~Driver=drivername~~pipe~~modified=mm-dd-yyyy HH:mm:ss~~pipe~~size=nnn~~pipe~~DataAvailable=Expression~~pipe~~DataState=expression//crlf////tab////tab////crlf////tab////tab//Status is 1 on success or 0 if the data is not available.  Status is -1 if the datatype is not supported for the POS.//crlf////tab////tab//Modified is the date/time the data was last modified//crlf////tab////tab//Size is the number of records available (NOT the file size)//crlf////tab////tab////crlf////tab////tab//DataAvailable is an expression returned to test whether pos data is available or not.  It is used when//crlf////tab////tab//processing the synch tasks to avoid making calls to synchronize data when the pos data is not available.//crlf////tab////tab////crlf////tab////tab//DataState is an expression used to create a state value for the pos data.  It is generally a getFileSpecState//crlf////tab////tab//function.  This is used to determine when a synch task needs to be run because the pos data has been//crlf////tab////tab//modified//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//bDebug=(true) or (\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////crlf////tab////tab//bOpenDriver=if(startsWith(\\quot\\__OpenDriver__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\false\\comma\\boolean(\\quot\\__OpenDriver__\\quot\\))//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Heartland - OpenDriver __datatype__ __date__ __StoreID__ OpenDriver=\\quot\\\\plus\\bOpenDriver)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////get driver ID.  This is the driver used to import data into Aspect.  It may be a driver that uses a //crlf////tab////tab////processed file.//crlf////tab////tab//sDriverID=lookup(POS_Heartland_Processed_Driver_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//if(sDriverID=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Heartland returns \\quot\\\\plus\\s\\plus\\\\quot\\ because driver for datatype (__datatype__) is not defined\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get POS type//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////get business date//crlf////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////get the POSData directory//crlf////tab////tab//sPOSDataDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata/Heartland/\\quot\\\\plus\\formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\/\\quot\\//crlf////crlf////tab////tab////get name of the POS Export file.  This is the filename of the file produced by the POS system.//crlf////tab////tab//sPOSExportFilename=sPOSDataDir\\plus\\lookup(POS_Heartland_POS_Export_FileName_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//sPOSExportFilename=replaceSubstring(sPOSExportFilename\\comma\\\\quot\\[MMyy]\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\MMyy\\quot\\))//crlf////tab////tab//sPOSExportFilename=replaceSubstring(sPOSExportFilename\\comma\\\\quot\\[yy]\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\yy\\quot\\))//crlf////crlf////tab////tab////abort if the POS export file is undefined//crlf////tab////tab//if((len(sPOSExportFilename)=0) or (pos(\\quot\\undefined\\quot\\\\comma\\sPOSExportFilename)>=0))//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Error: POS Interface - Heartland returns \\quot\\\\plus\\s\\plus\\\\quot\\ because pos export file not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////get name of the driver for the POS Export file.  This is the driver used to open the POS export file//crlf////tab////tab//sPOSExportDriverName=lookup(POS_Heartland_POS_Export_Driver_Name_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////abort if the POS export driver name is undefined//crlf////tab////tab//if((len(sPOSExportDriverName)=0) or (sPOSExportDriverName=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Error: POS Interface - Heartland returns \\quot\\\\plus\\s\\plus\\\\quot\\ because pos export driver not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////get name of the processed file.  This is the name of the processed file created from the POS export file//crlf////tab////tab//sProcessedFilename=sPOSDataDir\\plus\\lookup(POS_Heartland_Processed_Filename_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//sProcessedFilename=replaceSubstring(sProcessedFilename\\comma\\\\quot\\[MMyy]\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\MMyy\\quot\\))//crlf////tab////tab//sProcessedFilename=replaceSubstring(sProcessedFilename\\comma\\\\quot\\[yy]\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\yy\\quot\\))//crlf////crlf////tab////tab////The data available expression also checks for the existence of processed.txt.  This file//crlf////tab////tab////is created when the original exports are processed\\comma\\ after all processing is complete.//crlf////tab////tab////This is used to ensure that the pos synch task does not start while files are still//crlf////tab////tab////being processed.  The processed.txt file is deleted at the start of processing if it//crlf////tab////tab////exists and created at the end.//crlf////tab////tab//sProcessingCompleteFilename=sPOSDataDir\\plus\\\\quot\\processed.txt\\quot\\//crlf////crlf////tab////tab//sDataAvailableFilename=sPOSExportFilename//crlf////tab////tab//sDataAvailableExpression=\\quot\\(fileSize(\\quot\\\\plus\\quote(sProcessingCompleteFilename)\\plus\\\\quot\\)\\quot\\\\plus\\char(0x3E)\\plus\\\\quot\\0) and (fileExists(\\quot\\\\plus\\quote(sDataAvailableFilename)\\plus\\\\quot\\))\\quot\\//crlf////tab////tab//sDataStateExpression=\\quot\\getFilespecState(\\quot\\\\plus\\quote(sDataAvailableFilename)\\plus\\\\quot\\)\\quot\\//crlf////crlf////tab////tab////Debugging Output//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Heartland - POS DriverID=\\quot\\\\plus\\sPOSExportDriverName)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Heartland - POS Filename=\\quot\\\\plus\\sPOSExportFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Heartland - Processed DriverID=\\quot\\\\plus\\sDriverID)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Heartland - Processed Filename=\\quot\\\\plus\\sProcessedFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Heartland - DataAvailableFilename=\\quot\\\\plus\\sDataAvailableFilename)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////abort if the POS export file does not exist//crlf////tab////tab//if(not(fileExists(sPOSExportFilename)))//crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\\\plus\\sDataAvailableExpression\\plus\\\\quot\\~~pipe~~DataState=\\quot\\\\plus\\sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Heartland - abort openDriver because \\quot\\\\plus\\sPOSExportFilename\\plus\\\\quot\\ not found\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////crlf////tab////tab////just return the DataAvailable and DataState expressions if OpenDriver is false//crlf////tab////tab//if(not(bOpenDriver))//crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\\\plus\\sDataAvailableExpression\\plus\\\\quot\\~~pipe~~DataState=\\quot\\\\plus\\sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Heartland - openDriver returns \\quot\\\\plus\\s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////crlf////tab////tab////get name of the system driver that will be returned and params to pass to the driver//crlf////tab////tab//sDriverName=\\quot\\__datatype___\\quot\\\\plus\\getSalt(8)//crlf////tab////tab//sDriverParams=\\quot\\Filename=\\quot\\\\plus\\sProcessedFilename\\plus\\\\quot\\~~pipe~~DataType=__DataType__~~pipe~~StoreID=__StoreID__~~pipe~~date=__date__~~pipe~~POS=\\quot\\\\plus\\sPOSType//crlf////crlf////tab////tab////open the driver//crlf////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Heartland - Opening \\quot\\\\plus\\sDriverID\\plus\\\\quot\\ Params=\\quot\\\\plus\\sDriverParams)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//driverOpen(sDriverID\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\sDriverParams)//crlf////tab////tab//driverSetFilter(sDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////crlf////tab////tab////set the result//crlf////tab////tab//s=\\quot\\status=1~~pipe~~Driver=\\quot\\\\plus\\sDriverName\\plus\\\\quot\\~~pipe~~modified=\\quot\\\\plus\\formatDate(fileModified(sProcessedFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)\\plus\\\\quot\\~~pipe~~size=\\quot\\\\plus\\driverGetRecordCount(sDriverName\\comma\\true)//crlf////tab////tab//s=s\\plus\\\\quot\\~~pipe~~DataAvailable=\\quot\\\\plus\\sDataAvailableExpression\\plus\\\\quot\\~~pipe~~DataState=\\quot\\\\plus\\sDataStateExpression//crlf////tab////tab//appendToLog(\\quot\\POS Interface - Heartland openDriver returns \\quot\\\\plus\\s\\plus\\\\quot\\ (\\quot\\\\plus\\driverGetRecordCount(sDriverName)\\plus\\\\quot\\ records)\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//^
ID=code|X=300|Y=100|W=1200|H=765|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<select onChange=\\quot\\showTab(this)\\quot\\>//crlf////tab//<option value='743416'>Javascript</option>//crlf////tab//<option value='AspectScript'>Aspect</option>//crlf////tab//<option value='sensor_list'>Sensors</option>//crlf////tab//<option value='action_list'>Actions</option>//crlf////tab//<option value='open_driver'>Open Driver</option>//crlf////tab//<option value='783232'>Current POS Data Driver</option>//crlf////tab//<option value='760488'>Notes</option>//crlf//</select>//crlf////crlf//^
ID=743416|X=300|Y=118|W=834|H=764|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=760488|X=300|Y=118|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=Notes^
ID=AspectScript|X=300|Y=118|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=847275|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=onchange|^
ID=307902|X=183|Y=514|W=119|H=47|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=setHeartlandFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_POS Interface - Heartland\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Heartland\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 04-15-2017 15:21:14//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Heartland\\comma\\AgentAction\\comma\\847275\\comma\\0\\comma\\Set tokens defining filespecs for pos export files and posdata files//crlf////crlf////tab////tab////Set tokens defining filespecs for pos export files and posdata files//crlf////tab////tab//Result=execAgentAction(\\quot\\setHeartlandFilespecs\\quot\\)//crlf////crlf////tab////tab////Success?//crlf////tab////tab//if(startsWith(\\quot\\result\\quot\\\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Heartland\\comma\\AgentTerminate\\comma\\307902\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Heartland\\quot\\\\comma\\\\quot\\307902\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Heartland\\comma\\AgentTerminate\\comma\\407292\\comma\\1\\comma\\Error//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Heartland\\quot\\\\comma\\\\quot\\407292\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;04152017//amp//nbsp;152114//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Heartland\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;04-15-2017//amp//nbsp;15:21:14</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Set//amp//nbsp;tokens//amp//nbsp;defining//amp//nbsp;filespecs//amp//nbsp;for//amp//nbsp;pos//amp//nbsp;export//amp//nbsp;files//amp//nbsp;and//amp//nbsp;posdata//amp//nbsp;files</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\setHeartlandFilespecs\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(\\quot\\result\\quot\\\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Heartland\\quot\\\\comma\\\\quot\\307902\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Heartland\\quot\\\\comma\\\\quot\\407292\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>04152017 152114</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart847275\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\137\\quot\\ style=\\quot\\width: 120px; height: 137px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>POS Interface - Heartland</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: onchange<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart307902\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 469px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart847275\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart131743\\quot\\ style=\\quot\\position: absolute; top: 193px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\121\\quot\\ style=\\quot\\width: 150px; height: 108px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Set tokens defining filespecs for pos export files and posdata files<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>setHeartlandFilespecs<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart131743\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart307902\\quot\\ agentchildnonode=\\quot\\chart407292\\quot\\ style=\\quot\\position: absolute; top: 353px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart407292\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 353px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=sensor_list|X=300|Y=118|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Heartland.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=118|W=834|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__Action__//crlf////tab//__Action_list__//crlf////tab//__ActionDescription__//crlf////tab//__ActionParams__//crlf////tab//__ActionReturns__//crlf////tab//__ActionExec__//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Heartland.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//1.02//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=847275|X=183|Y=238|W=149|H=107|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=131743|AgentChildNoNode=|AgentSensor=0|AgentAction=setHeartlandFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Set tokens defining filespecs for pos export files and posdata files|AgentNodeTermType=0|^
ID=131743|X=183|Y=398|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=307902|AgentChildNoNode=407292|AgentSensor=1|AgentAction=setHeartlandFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~result~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=0|^
ID=407292|X=373|Y=398|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=setHeartlandFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=783232|X=300|Y=118|W=1180|H=654|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional Expression:defined(\\quot\\__DriverID__\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Dir\\quot\\\\comma\\\\quot\\__Dir__\\quot\\\\comma\\getToken(\\quot\\HomeDir\\quot\\)+\\quot\\posdata/Heartland/current\\quot\\)>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Date\\quot\\\\comma\\\\quot\\__Date__\\quot\\\\comma\\\\quot\\12-27-2018\\quot\\)>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\__DriverID__\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Dir=__Dir__~~pipe~~Date=__Date__~~pipe~~Metadata=__DriverID__\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\POS_RM_PMT_DBF_CURRENTDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\true\\quot\\;//crlf////tab//>//crlf//</conditional>//tab//
</widget><widget name="Download Heartland Data" group="POS Interface" category="Heartland" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Download Heartland Data" modified="08-13-2024 15:22:02" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=06-09-2021 15:12:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=1 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\heartland\\quote\\) and (hour(now())\\gt\\=5) and (isPackageLoaded(\\quote\\POS_Heartland\\quote\\)) and (not(fileExists(getToken(\\quote\\homedir\\quote\\)+\\quote\\posdata/Heartland/\\quote\\+formatDate(LastBusinessDay(),\\quote\\yyyyMMdd\\quote\\)+\\quote\\/items.csv\\quote\\)))" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=67|toolboxy=245|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Download Heartland Data.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=1147|H=660|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'522071')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'922206')\\quot\\>Items</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'809618')\\quot\\>Execute Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'533249')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=522071|X=1500|Y=26|W=1147|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=26|W=1147|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=26|W=1147|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Download Heartland Data.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=1500|Y=26|W=1147|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Download Heartland Data.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Download Heartland Data\\comma\\updatePOSHeartlandXMLFile\\comma\\action_list\\comma\\Action=updatePOSHeartlandXMLFile\\comma\\private//crlf////tab//Download Heartland Data\\comma\\downloadAllDaysFromHeartland\\comma\\action_list\\comma\\Action=downloadAllDaysFromHeartland\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updatePOSHeartlandXMLFile//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updatePOSHeartlandXMLFile\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Processes a heartland xml file//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Filename - Name of csv file (not the xml file)//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updatePOSHeartlandXMLFile\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if neither date or filename are defined//crlf////tab////tab////tab//if(not(defined(\\quot\\__Filename__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing filename\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the pos export filename//crlf////tab////tab////tab//sSrcFilename=fileDrive(\\quot\\__Filename__\\quot\\)+fileDir(\\quot\\__Filename__\\quot\\)+fileName(\\quot\\__Filename__\\quot\\)+\\quot\\.xml\\quot\\//crlf////tab////tab////tab//sDestFilename=\\quot\\__Filename__\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\sSrcFilename=\\quot\\+sSrcFilename)//crlf////tab////tab////tab//appendToLog(\\quot\\sDestFilename=\\quot\\+sDestFilename)//crlf////tab////tab////tab//s=fileGetContent(sSrcFilename)//crlf////crlf////tab////tab////tab////handle breaks in punch file//crlf////tab////tab////tab//if(pos(\\quot\\punches\\quot\\\\comma\\\\quot\\__filename__\\quot\\)>=0)//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\quote(\\quot\\breaks\\quot\\)+\\quot\\:[\\quot\\+char(0x7B)+quote(\\quot\\id\\quot\\)\\comma\\quote(\\quot\\ID1\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////remove leading and trailing bracket and brace//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\[\\quot\\+char(0x7B)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x7D)+\\quot\\]\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////add line breaks before the id field and add a quote to the start of the line//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\quote(\\quot\\id\\quot\\)+\\quot\\:\\quot\\\\comma\\char(13)+char(10)+char(0x22)+quote(\\quot\\id\\quot\\)+\\quot\\:\\quot\\)//crlf////crlf////tab////tab////tab////remove the leading empty line//crlf////tab////tab////tab//s=mid(s\\comma\\2)//crlf////tab////tab////tab////crlf////tab////tab////tab////add a quote at the end of the line//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(13)\\comma\\char(0x22)+char(13))//crlf////crlf////tab////tab////tab////remove braces//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x7B)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x7D)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////change the colon separator to an equals sign//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\quote(\\quot\\:\\quot\\)\\comma\\quote(\\quot\\=\\quot\\))//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(0x22)+\\quot\\:\\quot\\\\comma\\char(0x22)+\\quot\\=\\quot\\)//crlf////crlf////tab////tab////tab////replace escaped quotes with a single quote//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\\\\quot\\+char(0x22)\\comma\\char(0x27))//crlf////crlf////tab////tab////tab////add an undefined report category for items that are not assigned to a category//crlf////tab////tab////tab//if(pos(\\quot\\ReportCategories\\quot\\\\comma\\\\quot\\__Filename__\\quot\\)>=0)//crlf////tab////tab////tab////tab//s=s+char(0x22)+char(13)+char(10)+char(0x22)+quote(replaceSubstring(\\quot\\'id'='Undef'\\comma\\'name'='Undefined'\\quot\\\\comma\\char(0x27)\\comma\\char(0x22)))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//fileWriteContent(sDestFilename\\comma\\s)//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//downloadAllDaysFromHeartland//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\downloadAllDaysFromHeartland\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Downloads files from Heartland POS//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//DateFrom - Optional datefrom//crlf////tab////tab//DateTo - Optional dateto//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\downloadAllDaysFromHeartland\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\downloadAllDaysFromHeartland started\\quot\\)//crlf////crlf////tab////tab////tab////abort for testing//crlf////tab////tab////tab////if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\)//crlf////tab////tab////tab//////tab//return(\\quot\\Aborted for testing\\quot\\)//crlf////tab////tab////tab////endif//crlf////crlf////tab////tab////tab////open Aspect7 stores and filter to Heartland stores//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Store\\comma\\drvStore\\comma\\READ)//crlf////tab////tab////tab//driverSetFilter(drvStore\\comma\\\\quot\\(POS_Type=\\quot\\+quote(\\quot\\Heartland\\quot\\)+\\quot\\) and (Enable_POS_Import)\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//cStore=driverGetRecordCount(drvStore)//crlf////crlf////tab////tab////tab////abort if there are no stores defined using Heartland POS//crlf////tab////tab////tab//if(cStore=0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: No stores defined using Heartland POS with import enabled\\quot\\)//crlf////tab////tab////tab////tab//driverClose(drvStore)//crlf////crlf////tab////tab////tab////tab////execute script to disable unused POS packages//crlf////tab////tab////tab////tab//scriptExec(Aspect_BackOffice_enablePOSPackages\\comma\\false)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if there is more than one store defined using Heartland POS//crlf////tab////tab////tab//if(cStore>1)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Multiple stores defined and importing from Heartland POS\\quot\\)//crlf////tab////tab////tab////tab//driverClose(drvStore)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get collection of files available from aws//crlf////tab////tab////tab//arFiles=getCollection(\\quot\\POS_Heartland_export_files\\quot\\)//crlf////crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//cDownload=0//crlf////crlf////tab////tab////tab//nStore=0//crlf////tab////tab////tab//while(nStore<cStore)//crlf////tab////tab////tab////tab//sStoreName=driverGetField(drvStore\\comma\\\\quot\\Store_Name\\quot\\\\comma\\nStore)//crlf////crlf////tab////tab////tab////tab////get the apikey.  This is entered in the POS Directory field in the store settings.//crlf////tab////tab////tab////tab//sAPIKey=trim(driverGetField(drvStore\\comma\\\\quot\\POS_Directory\\quot\\\\comma\\nStore))//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//if(len(sAPIKey)>0)//crlf////tab////tab////tab////tab////tab////get posdata directory//crlf////tab////tab////tab////tab////tab//sExportDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/Heartland/\\quot\\//crlf////crlf////tab////tab////tab////tab////tab////get set of dates to check//crlf////tab////tab////tab////tab////tab//dtLastBusiness=LastBusinessDay(\\quot\\05:00\\quot\\)//crlf////tab////tab////tab////tab////tab//DaysToImport=value(driverGetField(drvStore\\comma\\\\quot\\Synch_Data_Days\\quot\\\\comma\\nStore))//crlf////tab////tab////tab////tab////tab//dtFrom=if(defined(\\quot\\__DateFrom__\\quot\\)\\comma\\parseTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\incrementTime(dtLastBusiness\\comma\\-(DaysToImport-1)))//crlf////tab////tab////tab////tab////tab//dtTo=if(defined(\\quot\\__DateTo__\\quot\\)\\comma\\parseTime(\\quot\\__DateTo__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\dtLastBusiness)//crlf////tab////tab////tab////tab////tab//arDate=getSetTime(dtFrom\\comma\\dtTo\\comma\\1440*60\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab////tab////arDate=getSetTime(incrementTime(dtLastBusiness\\comma\\-(DaysToImport-1))\\comma\\dtLastBusiness\\comma\\1440*60\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\DaysToImport=\\quot\\+DaysToImport)//crlf////crlf////tab////tab////tab////tab////tab//cDate=getElementCount(arDate)//crlf////tab////tab////tab////tab////tab//nDate=0//crlf////tab////tab////tab////tab////tab//while(nDate<cDate)//crlf////tab////tab////tab////tab////tab////tab//sDate=getElement(arDate\\comma\\nDate)//crlf////tab////tab////tab////tab////tab////tab//dt=parseTime(sDate\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Checking for files in \\quot\\+sExportDir+sDate)//crlf////crlf////tab////tab////tab////tab////tab////tab////delete the processed.txt file//crlf////tab////tab////tab////tab////tab////tab//fileDelete(sExportDir+sDate+\\quot\\\processed.txt\\quot\\)//crlf////crlf////tab////tab////tab////tab////tab////tab//cFile=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//nFile=0//crlf////tab////tab////tab////tab////tab////tab//bAbortDay=false//crlf////tab////tab////tab////tab////tab////tab//while((not(bAbortDay)) and (nFile<cFile))//crlf////tab////tab////tab////tab////tab////tab////tab//s=getElement(arFiles\\comma\\nFile\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sPosFilename=getElement(s\\comma\\0\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//sLocalFilename=sExportDir+sDate+\\quot\\/\\quot\\+getElement(s\\comma\\1\\comma\\\\quot\\=\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\fileExists \\quot\\+sLocalFilename+\\quot\\: \\quot\\+fileExists(sLocalFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//if(not(fileExists(sLocalFilename)))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sHost=\\quot\\api.hrpos.heartland.us\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab////sPage=\\quot\\/v2/menu/\\quot\\+sPosFilename//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sPage=\\quot\\/v2/\\quot\\+sPosFilename//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////add date from/to if getting punches.xml//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(pos(\\quot\\punches.xml\\quot\\\\comma\\s)>=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sPage=sPage+\\quot\\/\\quot\\+formatDate(dt\\comma\\\\quot\\yyyy-MM-dd\\quot\\)+\\quot\\/\\quot\\+formatDate(dt\\comma\\\\quot\\yyyy-MM-dd\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////tab////tab////tab////tab////tab////add date if getting ticket info or cash info//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if((pos(\\quot\\tickets\\quot\\\\comma\\sPosFilename)>=0) or (pos(\\quot\\cash\\quot\\\\comma\\sPosFilename)>=0))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sPage=sPage+\\quot\\/\\quot\\+formatDate(dt\\comma\\\\quot\\yyyy-MM-dd\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab////add argument for ticket info//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(pos(\\quot\\tickets_info.xml\\quot\\\\comma\\s)>=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//sPage=sPage+\\quot\\?includeOpenTickets=no\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\sPage=\\quot\\+sPage)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//s=heartlandGet(sHost\\comma\\sPage\\comma\\sArgs\\comma\\sAPIKey)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sLocalFilename\\comma\\s)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//cDownload++//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\File already exists: \\quot\\+sLocalFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//cExist=cExist+1//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//nFile=nFile+1//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//nDate=nDate+1//crlf////tab////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////tab////write the processed.txt file to indicate that processing is complete//crlf////tab////tab////tab////tab////tab//fileWriteContent(sExportDir+sDate+\\quot\\\processed.txt\\quot\\\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//sResult=sResult+appendToLog(\\quot\\Error: Store: \\quot\\+sStoreName+\\quot\\ Missing API Key (POS directory) for \\quot\\+sStoreName)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nStore=nStore+1//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(len(sResult)=0)//crlf////tab////tab////tab////tab//sResult=\\quot\\Ok: Downloaded:\\quot\\+cDownload//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverClose(drvStore)//crlf////tab////tab////tab//scriptSetResult(sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=533249|X=1500|Y=26|W=1147|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=321629|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=always|AgentReportTo=getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~AspectServerHashID~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|^
ID=727051|X=183|Y=352|W=119|H=111|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: Aborted because agent is alerady running~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Aborted because agent is alerady running|AgentNodeTermType=1|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Download Heartland Data\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Heartland Data\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 02-25-2022 16:15:49//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////crlf////tab////tab////Is the agent already running?//crlf////tab////tab//if(scriptCount(this)>1)//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Heartland Data\\comma\\AgentTerminate\\comma\\727051\\comma\\1\\comma\\Aborted because agent is alerady running//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download Heartland Data\\quot\\\\comma\\\\quot\\727051\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Aborted because agent is alerady running\\quot\\\\comma\\\\quot\\Error: Aborted because agent is alerady running\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: Aborted because agent is alerady running\\quot\\)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Heartland Data\\comma\\AgentAction\\comma\\644431\\comma\\0\\comma\\Download the data//crlf////crlf////tab////tab////tab////Download the data//crlf////tab////tab////tab//Result=execAgentAction(\\quot\\downloadAllDaysFromHeartland\\quot\\)//crlf////crlf////tab////tab////tab////Successful?//crlf////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Heartland Data\\comma\\AgentTerminate\\comma\\81165\\comma\\0\\comma\\Ok//crlf////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download Heartland Data\\quot\\\\comma\\\\quot\\81165\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Heartland Data\\comma\\AgentTerminate\\comma\\861592\\comma\\1\\comma\\Error//crlf////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download Heartland Data\\quot\\\\comma\\\\quot\\861592\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;02252022//amp//nbsp;161549//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Download//amp//nbsp;Heartland//amp//nbsp;Data\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;02-25-2022//amp//nbsp;16:15:49</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;already//amp//nbsp;running?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>scriptCount</span>(this)//amp//gt;1)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;Heartland//amp//nbsp;Data\\quot\\\\comma\\\\quot\\727051\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Aborted//amp//nbsp;because//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;alerady//amp//nbsp;running\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Aborted//amp//nbsp;because//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;alerady//amp//nbsp;running\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Aborted//amp//nbsp;because//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;alerady//amp//nbsp;running\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Download//amp//nbsp;the//amp//nbsp;data</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\downloadAllDaysFromHeartland\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Successful?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;Heartland//amp//nbsp;Data\\quot\\\\comma\\\\quot\\81165\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;Heartland//amp//nbsp;Data\\quot\\\\comma\\\\quot\\861592\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\heartland\\quot\\)={@(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\heartland\\quot\\)}<br>//crlf//<br>//crlf//(hour(now())>=5)={@(hour(now())>=5)}<br>//crlf//<br>//crlf//(isPackageLoaded(\\quot\\POS_Heartland\\quot\\))={@(isPackageLoaded(\\quot\\POS_Heartland\\quot\\))}<br>//crlf//<br>//crlf//(not(fileExists(getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/Heartland/\\quot\\+formatDate(LastBusinessDay()\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/items.csv\\quot\\)))={@(not(fileExists(getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/Heartland/\\quot\\+formatDate(LastBusinessDay()\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/items.csv\\quot\\)))}<br>//crlf//<br>//crlf//All conditions: {@(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\heartland\\quot\\) and (hour(now())>=5) and (isPackageLoaded(\\quot\\POS_Heartland\\quot\\)) and (not(fileExists(getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/Heartland/\\quot\\+formatDate(LastBusinessDay()\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/items.csv\\quot\\)))}<br>//crlf//<br>^
ID=AgentChart|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>02252022 161549</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart321629\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\124\\quot\\ style=\\quot\\width: 120px; height: 124px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Download Heartland Data</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: always<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart727051\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 312px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\109\\quot\\ style=\\quot\\width: 120px; height: 109px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Aborted because agent is alerady running<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart321629\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart727051\\quot\\ agentchildnonode=\\quot\\chart644431\\quot\\ style=\\quot\\position: absolute; top: 177px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\75\\quot\\ style=\\quot\\width: 150px; height: 75px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the agent already running?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart644431\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart117720\\quot\\ style=\\quot\\position: absolute; top: 177px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\81\\quot\\ style=\\quot\\width: 150px; height: 81px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Download the data\\comma\\  <hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>downloadAllDaysFromHeartland<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart117720\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart81165\\quot\\ agentchildnonode=\\quot\\chart861592\\quot\\ style=\\quot\\position: absolute; top: 350px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\63\\quot\\ style=\\quot\\width: 150px; height: 63px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Successful?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart81165\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 466px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\83\\quot\\ style=\\quot\\width: 120px; height: 83px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart861592\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 350px; left: 380px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=922206|X=1500|Y=26|W=1147|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\) or (\\quot\\{@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}\\quot\\=\\quot\\07312021\\quot\\)>//crlf////crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////tab//<include type:expression; expression:htmlConstant(\\quot\\Filename\\quot\\\\comma\\\\quot\\__Filename__\\quot\\\\comma\\\\quot\\C:\aspect7\posdata\Heartland\20210717\items.csv\\quot\\)>//crlf////crlf////tab//<!include type:driver;//crlf////tab////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab////tab//title: \\quot\\\\quot\\;//crlf////tab////tab//ID: \\quot\\\\quot\\;//crlf////tab////tab//HashID: \\quot\\\\quot\\;//crlf////tab////tab//driver: \\quot\\POS_HEARTLAND_ITEMS\\quot\\;//crlf////tab////tab//name: \\quot\\\\quot\\;//crlf////tab////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab////tab//dispose: \\quot\\false\\quot\\;//crlf////tab////tab//state: \\quot\\\\quot\\;//crlf////tab////tab//params: \\quot\\keyexpression=ID~~pipe~~CacheTtl=0~~pipe~~Filename=__Filename__~~pipe~~Metadata=POS_HEARTLAND_ITEMS\\quot\\;//crlf////tab////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab////tab//display: \\quot\\\\quot\\;//crlf////tab////tab//fields: \\quot\\\\quot\\;//crlf////tab////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab////tab//sort: \\quot\\ID\\quot\\;//crlf////tab////tab//filter: \\quot\\true\\quot\\;//crlf////tab////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab////tab//class: \\quot\\basic1\\quot\\;//crlf////tab////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab////tab//height:\\quot\\auto\\quot\\;//crlf////tab////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab////tab//EditDialogID: \\quot\\POS_HEARTLAND_ITEMSDialog\\quot\\;//crlf////tab////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab////tab//Menu: \\quot\\\\quot\\;//crlf////tab////tab//faq: \\quot\\\\quot\\;//crlf////tab////tab//procedure: \\quot\\\\quot\\;//crlf////tab////tab//video: \\quot\\\\quot\\;//crlf////tab////tab//Messages: \\quot\\true\\quot\\;//crlf////tab////tab//ChartType: \\quot\\\\quot\\;//crlf////tab////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab////tab//debug: \\quot\\false\\quot\\;//crlf////tab//></conditional>//crlf////crlf//^
ID=321629|X=183|Y=219|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=727051|AgentChildNoNode=644431|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=scriptCount(this)>1|AgentNodeActionReturnValue=|AgentNodeComment=Is the agent already running?|AgentNodeTermType=|^
ID=644431|X=373|Y=219|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=117720|AgentChildNoNode=|AgentSensor=|AgentAction=downloadAllDaysFromHeartland|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Download the data|AgentNodeTermType=|^
ID=117720|X=373|Y=390|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=81165|AgentChildNoNode=861592|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Successful?|AgentNodeTermType=|^
ID=81165|X=373|Y=506|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=861592|X=563|Y=390|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=809618|X=1500|Y=26|W=1147|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=[!------------------------------------------------------------------------//crlf//This item is used to provide a way to execute the agent using a view//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__getContent__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//s=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Download Heartland Data\\quot\\\\comma\\\\quot\\getcontent=true\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//return(s)//crlf////tab//\\quot\\>//crlf//</conditional>
</widget><widget name="Download Toast Files - Aspect Server" group="POS Interface" category="Toast" description="Downloads toast files for all stores from the amazon server.  The stores then request the files from the Aspect server." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Download Toast Files - Aspect Server" modified="04-27-2024 23:30:30" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=09-17-2022 00:19:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=1 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(isServer()) and (((hour(now())\\gt\\=3) and (hour(now())\\lt\\=6)) or (hour(now())=10))" TaskConditional_Expression_Description="Downloads between 3 and 6 and again at 10 for Tikis" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=74|toolboxy=501|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Download Toast Files - Aspect Server.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=105|H=15|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=16|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'986155')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'366533')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=986155|X=300|Y=127|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=127|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=127|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Download Toast Files - Aspect Server.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=127|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Download Toast Files - Aspect Server.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Download Toast Files - Aspect Server\\comma\\downloadToastExportFiles\\comma\\action_list\\comma\\Action=downloadToastExportFiles\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//downloadToastExportFiles//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\downloadToastExportFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\downloadToastExportFiles\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//launchApplication(\\quot\\c:\aspect7\toast\synch.bat\\quot\\\\comma\\\\quot\\c:\aspect7\toast\\quot\\\\comma\\false)//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=300|Y=127|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=366533|X=300|Y=127|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=43|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=169364|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=341549|X=183|Y=346|W=119|H=46|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentTabs|X=183|Y=16|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=43|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Download Toast Files - Aspect Server\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Toast Files - Aspect Server\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 09-17-2022 00:52:39//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Toast Files - Aspect Server\\comma\\AgentAction\\comma\\169364\\comma\\0\\comma\\downloadToastExportFiles//crlf////tab////tab//Result=execAgentAction(\\quot\\downloadToastExportFiles\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Toast Files - Aspect Server\\comma\\AgentTerminate\\comma\\341549\\comma\\2\\comma\\//crlf////tab////tab//scriptSetResult(2)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=43|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;09172022//amp//nbsp;005239//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Download//amp//nbsp;Toast//amp//nbsp;Files//amp//nbsp;-//amp//nbsp;Aspect//amp//nbsp;Server\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;09-17-2022//amp//nbsp;00:52:39</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\downloadToastExportFiles\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(2)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=43|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=43|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=43|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>09172022 005239</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart169364\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\129\\quot\\ style=\\quot\\width: 120px; height: 129px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Download Toast Files - Aspect Server</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart341549\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 303px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\47\\quot\\ style=\\quot\\width: 120px; height: 47px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div><div id=\\quot\\chart169364\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart341549\\quot\\ style=\\quot\\position: absolute; top: 194px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\57\\quot\\ style=\\quot\\width: 150px; height: 57px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td><br></td></tr><tr><td><u>Return</u></td><td></td></tr></tbody></table></div></div>^
ID=169364|X=183|Y=237|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=341549|AgentChildNoNode=|AgentSensor=0|AgentAction=downloadToastExportFiles|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="Download Toast Files - Store" group="POS Interface" category="Toast" description="Executes at the store to download Toast files from the Aspect server" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Download Toast Files - Store" modified="07-31-2025 20:48:52" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=09-17-2022 22:35:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=1 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(hour(now())\\gt\\3) and (getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\Toast\\quote\\) and (getToken(SynchToastFiles)\\lt\\\\gt\\formatDate(now(),\\quote\\MM-dd-yyyy\\quote\\))" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=63|toolboxy=107|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Download Toast Files - Store.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'519055')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'830710')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=519055|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Download Toast Files - Store.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Download Toast Files - Store.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Download Toast Files - Store\\comma\\downloadToastExportFilesFromAspectServer\\comma\\action_list\\comma\\Action=downloadToastExportFilesFromAspectServer\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//downloadToastExportFilesFromAspectServer//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\downloadToastExportFilesFromAspectServer\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Downloads Toast export files from the Aspect server//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\downloadToastExportFilesFromAspectServer\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Store\\comma\\drvStore\\comma\\READ)//crlf////tab////tab////tab//driverSetFilter(drvStore\\comma\\\\quot\\(POS_Type=\\quot\\\\plus\\quote(\\quot\\Toast\\quot\\)\\plus\\\\quot\\) and (Enable_POS_Import)\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//cStore=driverGetRecordCount(drvStore)//crlf////crlf////tab////tab////tab////abort if there are no stores defined using Toast POS//crlf////tab////tab////tab//if(cStore=0)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: No stores defined using Toast POS with import enabled\\quot\\)//crlf////tab////tab////tab////tab//driverClose(drvStore)//crlf////crlf////tab////tab////tab////tab////execute script to disable unused POS packages//crlf////tab////tab////tab////tab//scriptExec(Aspect_BackOffice_enablePOSPackages\\comma\\false)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if there is more than one store defined using Toast POS//crlf////tab////tab////tab//if(cStore>1)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Multiple stores defined and importing from Toast POS\\quot\\)//crlf////tab////tab////tab////tab//driverClose(drvStore)//crlf////tab////tab////tab////tab//exit//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the pos directory.  This provides the Toast customer number.  It is the last element if //crlf////tab////tab////tab////the posdir is in the form s3://restaurant-exports/UPick6ExportUser/65364///crlf////tab////tab////tab////It is also possible to enter just the customer number.  It will still be the last element//crlf////tab////tab////tab//sPOSDir=trim(driverGetField(drvStore\\comma\\\\quot\\POS_Directory\\quot\\\\comma\\nStore))//crlf////tab////tab////tab//sPosDir=replaceSubstring(sPosDir\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab//if(endsWith(sPosDir\\comma\\\\quot\\\\\quot\\))//crlf////tab////tab////tab////tab//sPosDir=mid(sPosDir\\comma\\0\\comma\\len(sPosDir)-1)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//sToastCustNo=getElement(sPosDir\\comma\\getElementCount(sPosDir\\comma\\\\quot\\\\\quot\\)-1\\comma\\\\quot\\\\\quot\\)//crlf////crlf////tab////tab////tab////abort if the customer number is no valie//crlf////tab////tab////tab//if(value(sToastCustNo)=0)//crlf////tab////tab////tab////tab//driverClose(drvStore)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid Toast customer number: \\quot\\\\plus\\sToastCustNo\\plus\\\\quot\\ in \\quot\\\\plus\\sPosDir)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get collection of files available from aws//crlf////tab////tab////tab//arFiles=getToken(\\quot\\POS_Toast_aws_export_files\\quot\\)//crlf////crlf////tab////tab////tab////get set of dates to check//crlf////tab////tab////tab//DaysToImport=30//crlf////tab////tab////tab//dtLastBusiness=LastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab//arDate=getSetTime(incrementTime(dtLastBusiness\\comma\\-(DaysToImport-1))\\comma\\dtLastBusiness\\comma\\1440*60\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////crlf////tab////tab////tab//sHashID=getToken(\\quot\\AspectServerHashID\\quot\\)//crlf////tab////tab////tab//sLocalDirBase=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata\toast\\\quot\\//crlf////tab////tab////tab//sRemoteDirBase=\\quot\\C:\aspect7\toast\\\quot\\\\plus\\sToastCustNo\\plus\\\\quot\\\\\quot\\//crlf////tab////tab////tab//sServerIP=getToken(\\quot\\aspectserverip1a\\quot\\)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\sHashID: \\quot\\\\plus\\sHashID)//crlf////tab////tab////tab//appendToLog(\\quot\\sLocalDir: \\quot\\\\plus\\sLocalDir)//crlf////tab////tab////tab//appendToLog(\\quot\\sRemoteDir: \\quot\\\\plus\\sRemoteDir)//crlf////crlf////tab////tab////tab//cSynchCalls=0//crlf////tab////tab////tab//c=getElementCount(arDate)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sDate=getElement(arDate\\comma\\n)//crlf////tab////tab////tab////tab//sLocalDir=sLocalDirBase\\plus\\sDate//crlf////tab////tab////tab////tab//sRemoteDir=sRemoteDirBase\\plus\\sDate//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Checking toast export files for \\quot\\\\plus\\sDate)//crlf////crlf////tab////tab////tab////tab////see if any files are missing//crlf////tab////tab////tab////tab//cFile=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//nFile=0//crlf////tab////tab////tab////tab//cMissing=0//crlf////tab////tab////tab////tab//while(nFile<cFile)//crlf////tab////tab////tab////tab////tab//sFilename=sLocalDir\\plus\\\\quot\\\\\quot\\\\plus\\getElement(arFiles\\comma\\nFile\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//if(fileSize(sFilename)>0)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Ok: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//sHostFilename=sToastCustNo\\plus\\\\quot\\\\\quot\\\\plus\\sDate\\plus\\\\quot\\\\\quot\\\\plus\\getElement(arFiles\\comma\\nFile\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Downloading: \\quot\\\\plus\\sHostFilename)//crlf////tab////tab////tab////tab////tab////tab//sUrl=\\quot\\http://\\quot\\\\plus\\sServerIP\\plus\\\\quot\\:4446/?Network=Aspect_Support\\amp\\ID=getToastExport\\amp\\Filename=\\quot\\\\plus\\sHostFilename//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Requesting \\quot\\\\plus\\sUrl)//crlf////tab////tab////tab////tab////tab////tab//sContent=fileGetContent(sUrl)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Got \\quot\\\\plus\\len(sContent)\\plus\\\\quot\\ bytes.\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//if(len(sContent)>1)//crlf////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sFilename\\comma\\sContent)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//cMissing\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//cSynchCalls\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//nFile\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab////synch if any files are missing//tab////crlf////tab////tab////tab////tab////This was replaced by making a call for each individual file above//crlf////tab////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab////tab//if(cMissing>0)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Synch \\quot\\\\plus\\sRemoteDir\\plus\\\\quot\\ - \\quot\\\\plus\\char(0x3E)\\plus\\sLocalDir)//crlf////tab////tab////tab////tab////tab////tab//s=synchFiles(sHashID\\comma\\sLocalDir\\comma\\sRemoteDir\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//cSynchCalls\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\All files are up to date for \\quot\\\\plus\\sDate)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(drvStore)//crlf////crlf////tab////tab////tab////if no calls were made to synch then all files are present.  Set a token used by the //crlf////tab////tab////tab////agent\\apos\\s conditional expression//crlf////tab////tab////tab//if(cSynchCalls=0)//crlf////tab////tab////tab////tab//setToken(\\quot\\SynchToastFiles\\quot\\\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//else //crlf////tab////tab////tab////tab//setToken(\\quot\\SynchToastFiles\\quot\\\\comma\\\\quot\\Incomplete\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////check the result//crlf////tab////tab////tab//if(fileExists(sLocalDir\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\\OrderDetails.csv\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Synch calls: \\quot\\\\plus\\cSynchCalls)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=830710|X=300|Y=126|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=205941|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=always|^
ID=128131|X=183|Y=450|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Download Toast Files - Store\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Toast Files - Store\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 09-17-2022 23:49:04//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Toast Files - Store\\comma\\AgentAction\\comma\\205941\\comma\\0\\comma\\downloadToastExportFilesFromAspectServer//crlf////tab////tab//Result=execAgentAction(\\quot\\downloadToastExportFilesFromAspectServer\\quot\\)//crlf////crlf////tab////tab////Ok?//crlf////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Toast Files - Store\\comma\\AgentTerminate\\comma\\128131\\comma\\0\\comma\\//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download Toast Files - Store\\quot\\\\comma\\\\quot\\128131\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Toast Files - Store\\comma\\AgentTerminate\\comma\\720936\\comma\\1\\comma\\//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download Toast Files - Store\\quot\\\\comma\\\\quot\\720936\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;09172022//amp//nbsp;234904//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Download//amp//nbsp;Toast//amp//nbsp;Files//amp//nbsp;-//amp//nbsp;Store\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;09-17-2022//amp//nbsp;23:49:04</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\downloadToastExportFilesFromAspectServer\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Ok?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;Toast//amp//nbsp;Files//amp//nbsp;-//amp//nbsp;Store\\quot\\\\comma\\\\quot\\128131\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Download//amp//nbsp;Toast//amp//nbsp;Files//amp//nbsp;-//amp//nbsp;Store\\quot\\\\comma\\\\quot\\720936\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=Hour>3: {@(hour(now())>3)}<br>//crlf//POSInterface_PosType Token: {POSInterface_PosType}<br>//crlf//SynchToastFiles Token: {SynchToastFiles}<br>//crlf//Conditional expression value: {@(hour(now())>3) and (getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Toast\\quot\\) and (getToken(SynchToastFiles)<>formatDate(now()\\comma\\\\quot\\MM-dd-yyyy\\quot\\))}<br>//crlf//<br>//crlf//^
ID=AgentChart|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>09172022 234904</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart205941\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\129\\quot\\ style=\\quot\\width: 120px; height: 129px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Download Toast Files - Store</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: always<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart128131\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 407px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\47\\quot\\ style=\\quot\\width: 120px; height: 47px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart205941\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart528994\\quot\\ style=\\quot\\position: absolute; top: 181px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\57\\quot\\ style=\\quot\\width: 150px; height: 57px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>downloadToastExportFilesFromAspectServer<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart528994\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart128131\\quot\\ agentchildnonode=\\quot\\chart720936\\quot\\ style=\\quot\\position: absolute; top: 290px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\65\\quot\\ style=\\quot\\width: 150px; height: 65px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Ok?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart720936\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 290px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\47\\quot\\ style=\\quot\\width: 120px; height: 47px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div>^
ID=205941|X=183|Y=224|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=528994|AgentChildNoNode=|AgentSensor=|AgentAction=downloadToastExportFilesFromAspectServer|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=|AgentNodeTermType=|^
ID=528994|X=183|Y=333|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=128131|AgentChildNoNode=720936|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//\\quot\\ok\\quot\\)|AgentNodeActionReturnValue=|AgentNodeComment=Ok?|AgentNodeTermType=|^
ID=720936|X=373|Y=333|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=1|
</widget><widget name="Download Simphony Data" group="POS Interface" category="Simphony" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Download Simphony Data" modified="04-27-2024 23:27:24" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=03-17-2024 07:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=1 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\simphony\\quote\\) and (hour(now())\\gt\\=5) and (isPackageLoaded(\\quote\\POS_Simphony\\quote\\)) and (not(fileExists(getToken(\\quote\\homedir\\quote\\)+\\quote\\posdata/Simphony/\\quote\\+formatDate(LastBusinessDay(),\\quote\\yyyyMMdd\\quote\\)+\\quote\\/pay.txt\\quote\\)))" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=109|toolboxy=252|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Download Simphony Data.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=102|H=28|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=14|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'119036')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'113000')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=119036|X=300|Y=125|W=1116|H=732|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=125|W=1116|H=732|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=125|W=1116|H=732|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Download Simphony Data.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=125|W=1116|H=732|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Download Simphony Data.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Download Simphony Data\\comma\\downloadjsch\\comma\\action_list\\comma\\Action=downloadjsch\\comma\\private//crlf////tab//Download Simphony Data\\comma\\downloadSimphonyData\\comma\\action_list\\comma\\Action=downloadSimphonyData\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//downloadjsch//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\downloadjsch\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Downloads jsch library from earthlink//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//none//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//ok or error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\downloadjsch\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////get java home directory and extensions directory//crlf////tab////tab////tab//sJavaHome=getProperty(\\quot\\java.home\\quot\\)//crlf////tab////tab////tab//sExtDir=addDirSlash(sJavaHome)\\plus\\\\quot\\lib/ext/\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Library directory: \\quot\\\\plus\\sExtDir)//crlf////crlf////tab////tab////tab//sFilename=sExtDir\\plus\\\\quot\\jsch-0.1.55.jar\\quot\\//crlf////tab////tab////tab//sFilename=replaceSubstring(sFilename\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\~~backslash~~\\quot\\)//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Library already exists\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sFtpFilename=\\quot\\http://www.aspect-software.net/Aspect7/libraries/jsch/jsch-0.1.55.jar\\quot\\//crlf////tab////tab////tab//s=fileGetContent(sFtpFilename)//crlf////tab////tab////tab//if(len(s)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Could not download library: jsch-0.1.55.jar\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//appendToLog(\\quot\\Writing: \\quot\\\\plus\\sFilename)//crlf////crlf////tab////tab////tab////save the file in aspect7 so it can be copied manually if needed//crlf////tab////tab////tab//sTempFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\jsch-0.1.55.jar\\quot\\//crlf////tab////tab////tab//s1=fileWriteContent(sTempFilename\\comma\\s)//crlf////tab////tab////tab//s2=fileCopy(sTempFilename\\comma\\sFilename)//crlf////tab////tab////tab//appendToLog(\\quot\\s1: \\quot\\\\plus\\s1)//crlf////tab////tab////tab//appendToLog(\\quot\\s2: \\quot\\\\plus\\s2)//crlf////crlf////tab////tab////tab//if(pos(\\quot\\denied\\quot\\\\comma\\s2)>0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: \\quot\\\\plus\\s2)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//downloadSimphonyData//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\downloadSimphonyData\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Downloads data from Oracle ftp site//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Days - Optional.  Number of days to download//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\downloadSimphonyData\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////return if POS type is not Simphony//crlf////tab////tab////tab//bDevelopment=boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\))//crlf////tab////tab////tab//if(bDevelopment)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_PosType\\quot\\\\comma\\\\quot\\Simphony\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_StoreDir\\quot\\\\comma\\\\quot\\C:~~backslash~~aspect7~~backslash~~stores~~backslash~~graniite_links_simphony~~backslash~~\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_TimeclockAdjustDays\\quot\\\\comma\\7)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if(getToken(\\quot\\POSInterface_PosType\\quot\\)<>\\quot\\Simphony\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: POS type is not Simphony: \\quot\\\\plus\\getToken(\\quot\\POSInterface_PosType\\quot\\))//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sStoreDir=getToken(\\quot\\POSInterface_StoreDir\\quot\\)//crlf////crlf////tab////tab////tab////credentials are hardwired for Granite Links.//crlf////tab////tab////tab////NOTE:  Password has extra exclamation added at the beginning because Aspect interprets//crlf////tab////tab////tab////the exclamation specially and removes the first one.//crlf////tab////tab////tab//sFtpHost=\\quot\\mtu9-omra-sftp.oracleindustry.com\\quot\\//crlf////tab////tab////tab//sFtpUser=\\quot\\SFTP_MBM\\quot\\//crlf////tab////tab////tab//sFtpPass=\\quot\\!!mZenK1L9LIuFA\\quot\\//crlf////tab////tab////tab//sFilePrefix=\\quot\\Standard.Payroll_Granite_\\quot\\//crlf////crlf////tab////tab////tab////get file list//crlf////tab////tab////tab//arFiles=sftpListFiles(sFtpHost\\comma\\sFtpUser\\comma\\sFtpPass\\comma\\\\quot\\/SFTP_MBM\\quot\\)//crlf////crlf////tab////tab////tab////get the number of timeclock days to synch//crlf////tab////tab////tab//iTimeclockSynchDays=value(getToken(\\quot\\POSInterface_TimeclockAdjustDays\\quot\\))//crlf////tab////tab////tab//dtTimeclockSynchStart=incrementTime(now()\\comma\\-iTimeclockSynchDays)//crlf////crlf////tab////tab////tab////get starting date//crlf////tab////tab////tab//iDays=if(defined(\\quot\\__Days__\\quot\\)\\comma\\value(\\quot\\__Days__\\quot\\)\\comma\\7)//crlf////tab////tab////tab//dt2=LastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab//dt1=incrementTime(dt2\\comma\\-iDays)//crlf////tab////tab////tab//appendToLog(\\quot\\Downloading files for \\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ to \\quot\\\\plus\\formatDate(dt2\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//cDownload=0//crlf////tab////tab////tab//while(dt1<=dt2)//crlf////crlf////tab////tab////tab////tab////make sure the posdata directory exists//crlf////tab////tab////tab////tab//sLocalDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata~~backslash~~simphony~~backslash~~\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\~~backslash~~\\quot\\//crlf////tab////tab////tab////tab//fileMakeDirectory(sLocalDir)//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////download any files belonging to the given date//crlf////tab////tab////tab////tab//sDate=formatDate(dt1\\comma\\\\quot\\MMddyy\\quot\\)//crlf////tab////tab////tab////tab//cFile=getElementCount(arFiles\\comma\\char(0x3B))//crlf////tab////tab////tab////tab//nFile=0//crlf////tab////tab////tab////tab//while(nFile<cFile)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Download Simphony data for: \\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//sFtpFilename=getElement(arFiles\\comma\\nFile\\comma\\char(0x3B))//crlf////tab////tab////tab////tab////tab//if(pos(sDate\\comma\\sFtpFilename)>=0)//crlf////tab////tab////tab////tab////tab////tab//sLocalFilename=sLocalDir\\plus\\sFtpFilename//crlf////tab////tab////tab////tab////tab////tab//if((fileSize(sLocalFilename)=0) or (dt1>dtTimeclockSynchStart))//crlf////tab////tab////tab////tab////tab////tab////tab//b=sFtpGetFile(sFtpHost\\comma\\sFtpUser\\comma\\sFtpPass\\comma\\\\quot\\/SFTP_MBM\\quot\\\\comma\\sFtpFilename\\comma\\sLocalFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\RETR: \\quot\\\\plus\\sFtpFilename\\plus\\\\quot\\: [\\quot\\\\plus\\b\\plus\\\\quot\\]\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//cDownload\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////unzip the file.  Each file contains only one entry.//crlf////tab////tab////tab////tab////tab////tab//if(fileSize(sLocalFilename)>0)//crlf////tab////tab////tab////tab////tab////tab////tab//sZipEntry=getZipContents(sLocalFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//sLocalZipEntry=sLocalDir\\plus\\getElement(sZipEntry\\comma\\0\\comma\\\\quot\\_\\quot\\)\\plus\\\\quot\\.txt\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//if((fileSize(sLocalZipEntry)=0) or (dt1>dtTimeclockSynchStart))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//fileCopy(sLocalFilename\\plus\\\\quot\\~~backslash~~\\quot\\\\plus\\sZipEntry\\comma\\sLocalZipEntry)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////fileCopy(sLocalFilename\\plus\\\\quot\\~~backslash~~\\quot\\\\plus\\sZipEntry\\comma\\sLocalDir)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Extract: \\quot\\\\plus\\sLocalZipEntry)//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////rename the daily labor file so it will be imported again//crlf////tab////tab////tab////tab////tab////tab////tab//if(dt1>dtTimeclockSynchStart)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLbrFilename=sStoreDir\\plus\\\\quot\\lbr.\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//sLbrFilenameBak=sStoreDir\\plus\\\\quot\\lbr.\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bak\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab////tab//if(fileExists(sLbrFilename))//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//if(fileSize(sLbrFilenameBak)=0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//fileCopy(sLbrFilename\\comma\\sLbrFilenameBak)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\filecopy: \\quot\\\\plus\\sLbrFilename\\plus\\\\quot\\ to \\quot\\\\plus\\sLbrFilenameBak)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//fileSetLength(sLbrFilename\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//fileDelete(sLbrFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Del \\quot\\\\plus\\sLbrFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Not exist: \\quot\\\\plus\\sLbrFilename)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//nFile\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab//return(\\quot\\Ok: Downloaded \\quot\\\\plus\\cDownload\\plus\\\\quot\\ files\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=300|Y=125|W=1116|H=732|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=113000|X=300|Y=125|W=1116|H=732|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=39|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=196405|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=539688|X=183|Y=719|W=119|H=47|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=|^
ID=AgentTabs|X=183|Y=14|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=39|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Download Simphony Data\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Simphony Data\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 04-05-2024 22:43:46//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////crlf////tab////tab////Is POSType Simphony?//crlf////tab////tab//if((getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Simphony\\quot\\))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Simphony Data\\comma\\AgentAction\\comma\\506449\\comma\\0\\comma\\Download jsch library//crlf////crlf////tab////tab////tab////Download jsch library//crlf////tab////tab////tab//Result=execAgentAction(\\quot\\downloadjsch\\quot\\)//crlf////crlf////tab////tab////tab////Does hsch library exist?//crlf////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Simphony Data\\comma\\AgentAction\\comma\\217913\\comma\\0\\comma\\Download Simphony data//crlf////crlf////tab////tab////tab////tab////Download Simphony data//crlf////tab////tab////tab////tab//Result=execAgentAction(\\quot\\downloadSimphonyData\\quot\\)//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Simphony Data\\comma\\AgentTerminate\\comma\\539688\\comma\\2\\comma\\Ok//crlf////tab////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Simphony Data\\comma\\AgentTerminate\\comma\\677450\\comma\\1\\comma\\Library does not exist//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Unable to download jsch lirary\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Download Simphony Data\\comma\\AgentTerminate\\comma\\922298\\comma\\1\\comma\\Not a Simphony system//crlf////tab////tab////tab//scriptSetResult(\\quot\\Not a Simphony system\\quot\\)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=39|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;04052024//amp//nbsp;224346//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Download//amp//nbsp;Simphony//amp//nbsp;Data\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;04-05-2024//amp//nbsp;22:43:46</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;POSType//amp//nbsp;Simphony?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>getToken</span>(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Simphony\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Download//amp//nbsp;jsch//amp//nbsp;library</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\downloadjsch\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Does//amp//nbsp;hsch//amp//nbsp;library//amp//nbsp;exist?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\ok\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Download//amp//nbsp;Simphony//amp//nbsp;data</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\downloadSimphonyData\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Unable//amp//nbsp;to//amp//nbsp;download//amp//nbsp;jsch//amp//nbsp;lirary\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Not//amp//nbsp;a//amp//nbsp;Simphony//amp//nbsp;system\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=39|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=39|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=39|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>04052024 224346</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart196405\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\113\\quot\\ style=\\quot\\width: 120px; height: 113px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Download Simphony Data</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart539688\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 678px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\46\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div><div id=\\quot\\chart196405\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart506449\\quot\\ agentchildnonode=\\quot\\chart922298\\quot\\ style=\\quot\\position: absolute; top: 178px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is POSType Simphony?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart922298\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 178px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Not a Simphony system<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart506449\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart803154\\quot\\ style=\\quot\\position: absolute; top: 294px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Download jsch library<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>downloadjsch<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart217913\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart539688\\quot\\ style=\\quot\\position: absolute; top: 544px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Download Simphony data<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>downloadSimphonyData<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart803154\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart217913\\quot\\ agentchildnonode=\\quot\\chart677450\\quot\\ style=\\quot\\position: absolute; top: 428px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Does hsch library exist?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart677450\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 428px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Library does not exist<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=196405|X=183|Y=219|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=506449|AgentChildNoNode=922298|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~POSInterface_PosType~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)~~backslash~~equals~~backslash~~~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Simphony~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Is POSType Simphony?|AgentNodeTermType=|^
ID=922298|X=373|Y=219|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Not a Simphony system~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Not a Simphony system|AgentNodeTermType=1|^
ID=506449|X=183|Y=335|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=803154|AgentChildNoNode=|AgentSensor=|AgentAction=downloadjsch|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Download jsch library|AgentNodeTermType=|^
ID=217913|X=183|Y=585|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=539688|AgentChildNoNode=|AgentSensor=|AgentAction=downloadSimphonyData|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Download Simphony data|AgentNodeTermType=|^
ID=803154|X=183|Y=469|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=217913|AgentChildNoNode=677450|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Does hsch library exist?|AgentNodeTermType=|^
ID=677450|X=373|Y=469|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: Unable to download jsch lirary~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Library does not exist|AgentNodeTermType=1|^
ID=667410|X=688|Y=20|W=691|H=373|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<br>//crlf//<include type:script; commands:\\quot\\//crlf////tab////sFilename=\\quot\\C:~~backslash~~temp~~backslash~~2024-03~~backslash~~granitelinks~~backslash~~Standard.Payroll_Granite_030524.zip\\quot\\//crlf////tab////s=getZipContents(sFilename)//crlf////tab////fileCopy(sFilename\\plus\\\\quot\\~~backslash~~\\quot\\\\plus\\s\\comma\\C:~~backslash~~temp~~backslash~~2024-03~~backslash~~granitelinks)//crlf////crlf////tab//s=execAgentAction(\\quot\\downloadSimphonyData\\quot\\)//crlf////tab//return(\\quot\\s=\\quot\\\\plus\\s)//crlf//\\quot\\>//crlf////crlf//^
ID=62592|X=742|Y=399|W=624|H=251|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<br>//crlf//<include type:script; commands:\\quot\\//crlf////tab//s=\\quot\\(DiskIndex<\\quot\\\\plus\\DiskIndex)\\plus\\\\quot\\) and (Employee_Pay_ID=\\quot\\\\plus\\Employee_Pay_ID\\plus\\\\quot\\)\\quot\\//crlf////tab//return(s)//crlf//\\quot\\>
</widget><widget name="POS Interface - Simphony" group="POS Interface" category="Simphony" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Pos Interface - Simphony" modified="04-27-2024 23:28:11" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=11-22-2023 14:42:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=1 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(not(isServer())) and (isPackageLoaded(\\quote\\POS_Simphony\\quote\\)) and (getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\Simphony\\quote\\)" TaskConditional_Expression_Description="" TaskState_Function="if(len(getToken(\\quote\\POSExportDirs\\quote\\))*len(getToken(\\quote\\RequiredPOSExportFiles\\quote\\))=0,now(),formatDate(now(),\\quote\\MMddyyyy\\quote\\)+gfs(getToken(\\quote\\homedir\\quote\\)+\\quote\\\Aspect_BackOffice\store_list.dta\\quote\\))" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=24|toolboxy=312|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=true|aspectfuncVisible=false|PublishFtpFilename=POS Interface - Simphony.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=open_driver|X=300|Y=118|W=1200|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:\\quot\\('__action__'='openDriver')\\quot\\>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Simphony openPOSDriver\\quot\\; commands:\\quot\\//crlf////tab////tab//<conditional expression:false>//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//This script opens a driver to read pos data for the given StoreID\\comma\\ DataType and Date.  //crlf////tab////tab//The return value is a pipe-delimited string in the form Status=n~~pipe~~Driver=DriverName~~pipe~~Modified=MM-dd-yyyy HH:mm:ss~~pipe~~Size=nnn//crlf////tab////tab//Status is -1=not valid\\comma\\ 0=valid but not available\\comma\\ 1=valid and available//crlf////tab////tab////crlf////tab////tab//Params://crlf////tab////tab////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab////tab//DataType - The ID of one of the datatypes defined in the Aspect_BackOffice_POS_Data_Types collection//crlf////tab////tab////tab//Date//tab// - A single date in the form MM-dd-yyyy//crlf////tab////tab////tab//OpenDriver - If false\\comma\\ the driver will not be opened but the expression used to test for data will be returned.//crlf////tab////tab////tab////tab////tab////tab//  This is used when adding tasks to the pos synch driver.//crlf////tab////tab////tab//Debug - If true\\comma\\ outputs debugging information to the log//crlf////tab////tab////crlf////tab////tab//Returns a string in the form://crlf////tab////tab////tab//status=n~~pipe~~Driver=drivername~~pipe~~modified=mm-dd-yyyy HH:mm:ss~~pipe~~size=nnn~~pipe~~DataAvailable=Expression~~pipe~~DataState=expression//crlf////tab////tab////crlf////tab////tab//Status is 1 on success or 0 if the data is not available.  Status is -1 if the datatype is not supported for the POS.//crlf////tab////tab//Modified is the date/time the data was last modified//crlf////tab////tab//Size is the number of records available (NOT the file size)//crlf////tab////tab////crlf////tab////tab//DataAvailable is an expression returned to test whether pos data is available or not.  It is used when//crlf////tab////tab//processing the synch tasks to avoid making calls to synchronize data when the pos data is not available.//crlf////tab////tab////crlf////tab////tab//DataState is an expression used to create a state value for the pos data.  It is generally a getFileSpecState//crlf////tab////tab//function.  This is used to determine when a synch task needs to be run because the pos data has been//crlf////tab////tab//modified//crlf////tab////tab//======================================================================================//tab////crlf////tab////tab//</conditional>//crlf////crlf////tab////tab//bDebug=(true) or (\\quot\\__Debug__\\quot\\=\\quot\\true\\quot\\)//crlf////tab////crlf////tab////tab//bOpenDriver=if(startsWith(\\quot\\__OpenDriver__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\false\\comma\\boolean(\\quot\\__OpenDriver__\\quot\\))//crlf////crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Simphony - OpenDriver __datatype__ __date__ __StoreID__ OpenDriver=\\quot\\+bOpenDriver)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////get driver ID.  This is the driver used to import data into Aspect.  It may be a driver that uses a //crlf////tab////tab////processed file.//crlf////tab////tab//sDriverID=lookup(POS_Simphony_Processed_Driver_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//if(sDriverID=\\quot\\undefined\\quot\\)//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Simphony returns \\quot\\+s+\\quot\\ because driver for datatype (__datatype__) is not defined\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(s)//crlf////tab////tab////tab//exit//crlf////tab////tab//endif//crlf////crlf////tab////tab////get POS type//crlf////tab////tab//sPOSType=lookup(Aspect_BackOffice_POS_Type_By_Store_ID\\comma\\\\quot\\__StoreID__\\quot\\)//crlf////crlf////tab////tab////get business date//crlf////tab////tab//dtBusiness=if(startsWith(\\quot\\__date__\\quot\\\\comma\\\\quot\\__\\quot\\)\\comma\\date(now()\\comma\\true)\\comma\\parseTime(\\quot\\__date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////get the POSData directory//crlf////tab////tab//sPOSDataDir=getToken(\\quot\\homedir\\quot\\)+\\quot\\posdata/Simphony/\\quot\\+formatDate(dtBusiness\\comma\\\\quot\\yyyyMMdd\\quot\\)+\\quot\\/\\quot\\//crlf////crlf////tab////tab////get name of the POS Export file.  This is the filename of the file produced by the POS system.//crlf////tab////tab//sPOSExportFilename=sPOSDataDir+lookup(POS_Simphony_POS_Export_FileName_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//sPOSExportFilename=replaceSubstring(sPOSExportFilename\\comma\\\\quot\\[MMyy]\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\MMyy\\quot\\))//crlf////tab////tab//sPOSExportFilename=replaceSubstring(sPOSExportFilename\\comma\\\\quot\\[yy]\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\yy\\quot\\))//crlf////crlf////tab////tab////abort if the POS export file is undefined//crlf////tab////tab//if((len(sPOSExportFilename)=0) or (pos(\\quot\\undefined\\quot\\\\comma\\sPOSExportFilename)>=0))//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Error: POS Interface - Simphony returns \\quot\\+s+\\quot\\ because pos export file not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////get name of the driver for the POS Export file.  This is the driver used to open the POS export file//crlf////tab////tab//sPOSExportDriverName=lookup(POS_Simphony_POS_Export_Driver_Name_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////crlf////tab////tab////abort if the POS export driver name is undefined//crlf////tab////tab//if((len(sPOSExportDriverName)=0) or (sPOSExportDriverName=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab//s=\\quot\\status=-1~~pipe~~Driver=~~pipe~~DataAvailable=false\\quot\\//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\Error: POS Interface - Simphony returns \\quot\\+s+\\quot\\ because pos export driver not defined for __datatype__ data type\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////get name of the processed file.  This is the name of the processed file created from the POS export file//crlf////tab////tab//sProcessedFilename=sPOSDataDir+lookup(POS_Simphony_Processed_Filename_By_Data_Type\\comma\\\\quot\\__datatype__\\quot\\)//crlf////tab////tab//sProcessedFilename=replaceSubstring(sProcessedFilename\\comma\\\\quot\\[MMyy]\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\MMyy\\quot\\))//crlf////tab////tab//sProcessedFilename=replaceSubstring(sProcessedFilename\\comma\\\\quot\\[yy]\\quot\\\\comma\\formatDate(dtBusiness\\comma\\\\quot\\yy\\quot\\))//crlf////crlf////tab////tab////The data available expression also checks for the existence of processed.txt.  This file//crlf////tab////tab////is created when the original exports are processed\\comma\\ after all processing is complete.//crlf////tab////tab////This is used to ensure that the pos synch task does not start while files are still//crlf////tab////tab////being processed.  The processed.txt file is deleted at the start of processing if it//crlf////tab////tab////exists and created at the end.//crlf////tab////tab//sProcessingCompleteFilename=sPOSDataDir+\\quot\\processed.txt\\quot\\//crlf////crlf////tab////tab//sDataAvailableFilename=sPOSExportFilename//crlf////tab////tab////sDataAvailableExpression=\\quot\\(fileSize(\\quot\\+quote(sProcessingCompleteFilename)+\\quot\\)\\quot\\+char(0x3E)+\\quot\\0) and (fileExists(\\quot\\+quote(sDataAvailableFilename)+\\quot\\))\\quot\\//crlf////tab////tab//sDataAvailableExpression=\\quot\\(fileExists(\\quot\\+quote(sDataAvailableFilename)+\\quot\\))\\quot\\//crlf////tab////tab//sDataStateExpression=\\quot\\getFilespecState(\\quot\\+quote(sDataAvailableFilename)+\\quot\\)\\quot\\//crlf////crlf////tab////tab////Debugging Output//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Simphony - POS DriverID=\\quot\\+sPOSExportDriverName)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Simphony - POS Filename=\\quot\\+sPOSExportFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Simphony - Processed DriverID=\\quot\\+sDriverID)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Simphony - Processed Filename=\\quot\\+sProcessedFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Simphony - DataAvailableFilename=\\quot\\+sDataAvailableFilename)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////abort if the POS export file does not exist//crlf////tab////tab//if(not(fileExists(sPOSExportFilename)))//crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Simphony - abort openDriver because \\quot\\+sPOSExportFilename+\\quot\\ not found\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////crlf////tab////tab////see if the file needs to be processed.  Processing is only done when the processed filename does not //crlf////tab////tab////match the pos export filename//crlf////tab////tab//if(sPOSExportFilename<>sProcessedFilename)//crlf////tab////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Simphony - Check processing of \\quot\\+sProcessedFilename).\\quot\\\\quot\\)//crlf////tab////tab////tab//if((not(fileExists(sProcessedFilename))) or (fileSize(sProcessedFilename)=0) or (fileModified(sPOSExportFilename)>fileModified(sProcessedFilename)))//crlf////tab////tab////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Simphony - Processing driver\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//sArgs=\\quot\\DocumentID=h0BE4ziTlLytqKxtWLMy5CVY//amp//Widget=POS Interface - Simphony\\quot\\//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ContainerItemID=open_driver\\quot\\//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Action=processSimphonyExportFile\\quot\\//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//POSExportDriverName=\\quot\\+sPOSExportDriverName//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//POSExportFilename=\\quot\\+sPOSExportFilename//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//AssociatedDriverName=\\quot\\+sDriverID//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//ProcessedFilename=\\quot\\+sProcessedFilename//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//StoreID=__StoreID__\\quot\\//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//Date=__date__\\quot\\//crlf////tab////tab////tab////tab//sArgs=sArgs + \\quot\\//amp//DataType=__DataType__\\quot\\//crlf////tab////tab////tab////tab//s=getWidget(sArgs)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Simphony - File is already processed\\quot\\)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//s=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Simphony - No processing required for \\quot\\+sProcessedFilename)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////just return the DataAvailable and DataState expressions if OpenDriver is false//crlf////tab////tab//if(not(bOpenDriver))//crlf////tab////tab////tab//s=\\quot\\status=1~~pipe~~Driver=~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Simphony - openDriver returns \\quot\\+s)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//endif//crlf////crlf////tab////tab////get name of the system driver that will be returned and params to pass to the driver//crlf////tab////tab//sDriverName=\\quot\\__datatype___\\quot\\+getSalt(8)//crlf////tab////tab//sDriverParams=\\quot\\Filename=\\quot\\+sProcessedFilename+\\quot\\~~pipe~~DataType=__DataType__~~pipe~~StoreID=__StoreID__~~pipe~~date=__date__~~pipe~~POS=\\quot\\+sPOSType//crlf////crlf////tab////tab////open the driver//crlf////tab////tab//sDebug=if(bDebug\\comma\\appendToLog(\\quot\\POS Interface - Simphony - Opening \\quot\\+sDriverID+\\quot\\ Params=\\quot\\+sDriverParams)\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//driverOpen(sDriverID\\comma\\sDriverName\\comma\\WRITE\\comma\\true\\comma\\sDriverParams)//crlf////tab////tab//driverSetFilter(sDriverName\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab////crlf////tab////tab////set the result//crlf////tab////tab//s=\\quot\\status=1~~pipe~~Driver=\\quot\\+sDriverName+\\quot\\~~pipe~~modified=\\quot\\+formatDate(fileModified(sProcessedFilename)\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\)+\\quot\\~~pipe~~size=\\quot\\+driverGetRecordCount(sDriverName\\comma\\true)//crlf////tab////tab//s=s+\\quot\\~~pipe~~DataAvailable=\\quot\\+sDataAvailableExpression+\\quot\\~~pipe~~DataState=\\quot\\+sDataStateExpression//crlf////tab////tab//appendToLog(\\quot\\POS Interface - Simphony openDriver returns \\quot\\+s+\\quot\\ (\\quot\\+driverGetRecordCount(sDriverName)+\\quot\\ records)\\quot\\)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>//crlf////crlf//<conditional expression:(\\quot\\__action__\\quot\\=\\quot\\processSimphonyExportFile\\quot\\)>//crlf////tab//<conditional expression:false>//crlf////tab//===================================================================================//crlf////tab//processSimphonyExportFile//crlf////tab//===================================================================================//crlf////tab//</conditional>//crlf////tab//<!include type:script; name:\\quot\\POS Interface - Simphony - processSimphonyExportFile\\quot\\; commands:\\quot\\//crlf////tab////tab////Creates a processed file from a Simphony export file //crlf////tab////tab//////crlf////tab////tab////Params://crlf////tab////tab//////tab//POSExportDriverName - ID of driver used to open the POS export file//crlf////tab////tab//////tab//POSExportFilename - Full filename of the pos export file//crlf////tab////tab//////tab//AssociatedDriverName - ID of driver used to open the processed file//crlf////tab////tab//////tab//ProcessedFilename - Full filename of the processed file//crlf////tab////tab//////tab//StoreID - The Aspect7 store ID from a record in the Aspect_BackOffice_Store driver//crlf////tab////tab//////tab//Date - Date in mm-dd-yyyy format//crlf////tab////tab//////tab//DataType - The data type being processed//crlf////tab////tab//////crlf////tab////tab////Returns://crlf////tab////tab//////tab//OK or ERROR//crlf////crlf////tab////tab////open the Simphony export file//crlf////tab////tab//if((false) and (\\quot\\__DataType__\\quot\\=\\quot\\sales_mix\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\Opening Simphony export file: __POSExportDriverName__ Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\__POSExportDriverName__\\quot\\\\comma\\drvSimphonyExport\\comma\\READ\\comma\\false\\comma\\\\quot\\Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//else//crlf////tab////tab////tab//appendToLog(\\quot\\Opening Simphony export file: __POSExportDriverName__ Filename=__POSExportFilename__\\quot\\)//crlf////tab////tab////tab//driverOpen(\\quot\\__POSExportDriverName__\\quot\\\\comma\\drvSimphonyExport\\comma\\READ\\comma\\false\\comma\\\\quot\\filename=__POSExportFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//endif//crlf////crlf////tab////tab//if(\\quot\\__DataType__\\quot\\=\\quot\\check_details\\quot\\)//crlf////tab////tab////tab////NOTE:  Both the gndsale and gnditem files contain sales records.  Menu item sales come //crlf////tab////tab////tab////from gnditem.  The records in dndsale are ignored by setting the rectype to -1.  //crlf////tab////tab////tab////This filter is used to avoid adding those records into the processed check details.//crlf////tab////tab////tab//driverSetFilter(drvSimphonyExport\\comma\\\\quot\\(not(abs(Quantity)+abs(Amount)=0)) and (RecType\\quot\\+char(0x3E)+\\quot\\=0)\\quot\\\\comma\\true)//crlf////tab////tab//else//crlf////tab////tab////tab//driverSetFilter(drvSimphonyExport\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////tab////tab//endif//crlf////crlf////tab////tab////open the processed file.  Delete it first if it exists//crlf////tab////tab//if(fileExists(\\quot\\__ProcessedFilename__\\quot\\))//crlf////tab////tab////tab//fileDelete(\\quot\\__ProcessedFilename__\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//driverOpen(\\quot\\__AssociatedDriverName__\\quot\\\\comma\\drvProcessed\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=__ProcessedFilename__~~pipe~~Date=__Date__~~pipe~~StoreID=__StoreID\\quot\\)//crlf////tab////tab//driverSetFilter(drvProcessed\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////get fields to merge//crlf////tab////tab//arFieldID=driverGetFieldIDs(drvProcessed\\comma\\-2\\comma\\true\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////merge the drivers//crlf////tab////tab//appendToLog(\\quot\\Merging driver.  Fields=\\quot\\+arFieldID)//crlf////tab////tab//appendToLog(\\quot\\Records in source driver=\\quot\\+driverGetRecordCount(drvSimphonyExport))//crlf////tab////tab//s=driverMerge(true\\comma\\drvProcessed\\comma\\drvSimphonyExport\\comma\\\\quot\\ID\\quot\\\\comma\\arFieldID\\comma\\\\quot\\\\quot\\\\comma\\false)//crlf////tab////tab////crlf////tab////tab//driverClose(drvSimphonyExport)//crlf////tab////tab//driverClose(drvProcessed)//crlf////crlf////tab////tab//appendToLog(\\quot\\Process __DataType__: \\quot\\+s)//crlf////tab////tab//scriptSetResult(s)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=code|X=300|Y=100|W=1200|H=18|AutoHeight=true|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<select onChange=\\quot\\showTab(this)\\quot\\ style=\\quot\\width:300px\\quot\\>//crlf////tab//<option value='743416'>Javascript</option>//crlf////tab//<option value='AspectScript'>Aspect</option>//crlf////tab//<option value='sensor_list'>Sensors</option>//crlf////tab//<option value='action_list'>Actions</option>//crlf////tab//<option value='open_driver'>Open Driver</option>//crlf////tab//<option value='997431'>PAY</option>//crlf////tab//<option value='760488'>Notes</option>//crlf//</select>//crlf////crlf//^
ID=743416|X=300|Y=118|W=1200|H=764|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=760488|X=300|Y=118|W=1200|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=Notes^
ID=AspectScript|X=300|Y=118|W=1200|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=151|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=847275|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=onchange|^
ID=307902|X=151|Y=514|W=119|H=47|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=setRestaurant_ManagerFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=151|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_POS Interface - Simphony\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Simphony\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 03-17-2024 20:23:10//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Simphony\\comma\\AgentAction\\comma\\847275\\comma\\0\\comma\\Set tokens defining filespecs for pos export files and posdata files//crlf////crlf////tab////tab////Set tokens defining filespecs for pos export files and posdata files//crlf////tab////tab//Result=execAgentAction(\\quot\\setSimphonyFilespecs\\quot\\)//crlf////crlf////tab////tab////Success?//crlf////tab////tab//if(startsWith(\\quot\\result\\quot\\\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Simphony\\comma\\AgentTerminate\\comma\\307902\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Simphony\\quot\\\\comma\\\\quot\\307902\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Simphony\\comma\\AgentTerminate\\comma\\407292\\comma\\1\\comma\\Error//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Simphony\\quot\\\\comma\\\\quot\\407292\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;03172024//amp//nbsp;202310//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Simphony\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;03-17-2024//amp//nbsp;20:23:10</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Set//amp//nbsp;tokens//amp//nbsp;defining//amp//nbsp;filespecs//amp//nbsp;for//amp//nbsp;pos//amp//nbsp;export//amp//nbsp;files//amp//nbsp;and//amp//nbsp;posdata//amp//nbsp;files</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\setSimphonyFilespecs\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(\\quot\\result\\quot\\\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Simphony\\quot\\\\comma\\\\quot\\307902\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_POS//amp//nbsp;Interface//amp//nbsp;-//amp//nbsp;Simphony\\quot\\\\comma\\\\quot\\407292\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>03172024 202310</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart847275\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\126\\quot\\ style=\\quot\\width: 120px; height: 126px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>POS Interface - Simphony</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: onchange<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart307902\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 473px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart847275\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart131743\\quot\\ style=\\quot\\position: absolute; top: 197px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\121\\quot\\ style=\\quot\\width: 150px; height: 108px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Set tokens defining filespecs for pos export files and posdata files<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>setRestaurant_ManagerFilespecs<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart131743\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart307902\\quot\\ agentchildnonode=\\quot\\chart407292\\quot\\ style=\\quot\\position: absolute; top: 357px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart407292\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 357px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=sensor_list|X=300|Y=118|W=1200|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Simphony.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=118|W=1200|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//__Action__//crlf////tab//__Action_list__//crlf////tab//__ActionDescription__//crlf////tab//__ActionParams__//crlf////tab//__ActionReturns__//crlf////tab//__ActionExec__//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_POS Interface - Simphony.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf////tab//1.02//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//POS Interface - Simphony\\comma\\setSimphonyFilespecs\\comma\\action_list\\comma\\Action=setSimphonyFilespecs\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//setSimphonyFilespecs//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\setSimphonyFilespecs\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Sets tokens containing filespecs pointing to pos export files and //crlf////tab////tab//data in the homedir~~backslash~~posdata directories.  Tokens are://crlf////tab////tab//-------------------------------------------------------------------------------------//crlf////tab////tab//POSExportDirs - A list of directories containing pos export files to all days in //crlf////tab////tab////tab//the synch period. (e.g. [dir]~~backslash~~*.*;[dir]~~backslash~~*.*...//crlf////tab////tab//RequiredPOSExportFiles - A list of all pos export files required in the synch period//crlf////tab////tab//POSDataDirs - List of directories under [homedir]~~backslash~~posdata//crlf////tab////tab//RequiredPOSDataFiles - List of all files under [homedir]~~backslash~~posdata for the synch period//crlf////tab////tab//-------------------------------------------------------------------------------------//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\setSimphonyFilespecs\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////This script requires that tokens have been set by the POS Interface agent//crlf////tab////tab////tab////indicating the pos type\\comma\\ pos directory and number of synch days//crlf////tab////tab////tab//appendToLog(\\quot\\setSimphonyFilespecs started\\quot\\)//crlf////crlf////tab////tab////tab////abort if pos type is not Simphony//crlf////tab////tab////tab//if(getToken(\\quot\\POSInterface_PosType\\quot\\)<>\\quot\\Simphony\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: POS type is not Simphony\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if pos directory is invalid.  Don\\apos\\t allow a single character like ~~backslash~~ or ///crlf////tab////tab////tab//sPosDir=getToken(\\quot\\POSInterface_PosDir\\quot\\)//crlf//            //crlf////tab////tab////tab////abort if synch days is not valid//crlf////tab////tab////tab//iSynchDays=value(getToken(\\quot\\POSInterface_SynchDays\\quot\\))//crlf////tab////tab////tab//if(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))//crlf////tab////tab////tab////tab////for testing.  The POS Interface agent is disabled on the development computer//crlf////tab////tab////tab////tab//iSynchDays=7//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//appendToLog(\\quot\\setSimphonyFilespecs iSynchDays=\\quot\\\\plus\\iSynchDays)//crlf////tab////tab////tab//if(iSynchDays=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Number of days to synch is invalid: \\quot\\\\plus\\iSynchDays)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get start/end dates//crlf////tab////tab////tab//dt2=LastBusinessDay(\\quot\\00:00\\quot\\)//crlf////tab////tab////tab//dt1=incrementTime(dt2\\comma\\-(iSynchDays-1))//crlf////tab////crlf////tab////tab////tab////get set of Simphony export directories.//crlf////tab////tab////tab////This has no meaning since files are downloaded from an ftp site//crlf////tab////tab////tab//setToken(\\quot\\POSExportDirs\\quot\\\\comma\\\\quot\\N/A\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\setSimphonyFilespecs POSExportDirs=\\quot\\\\plus\\getToken(\\quot\\POSExportDirs\\quot\\))//crlf////crlf////tab////tab////tab////get set of directories under [homedir]posdata//crlf////tab////tab////tab//arDir=getSetFor(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata~~backslash~~Simphony~~backslash~~\\quot\\\\comma\\arDate)//crlf////tab////tab////tab//arDir=replaceSubstring(replaceSubstring(arDir\\comma\\char(0x2C)\\comma\\char(0x3B))\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\~~backslash~~\\quot\\)//crlf////tab////tab////tab//setToken(\\quot\\POSDataDirs\\quot\\\\comma\\arDir)//crlf////tab////tab////tab//appendToLog(\\quot\\setSimphonyFilespecs POSDataDirs=\\quot\\\\plus\\getToken(\\quot\\POSDataDirs\\quot\\))//crlf////crlf////tab////tab////tab////get set of Simphony export files//crlf////tab////tab////tab//arDate=getSetTime(dt1\\comma\\dt2\\comma\\1440*60\\comma\\\\quot\\yyyyMMdd\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\$e$~~backslash~~\\quot\\\\comma\\char(0x2C))//crlf////tab////tab////tab//arRequiredPOSExportFiles=\\quot\\Pay.txt\\quot\\//crlf////tab////tab////tab//arRequiredPOSDataFiles=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arDate)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sDate=getElement(arDate\\comma\\n)//crlf////tab////tab////tab////tab//arRequiredPOSDataFiles=addElement(arRequiredPOSDataFiles\\comma\\getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata/Simphony/\\quot\\\\plus\\sDate\\plus\\\\quot\\pay.txt\\quot\\)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//arRequiredPOSExportFiles=replaceSubstring(arRequiredPOSExportFiles\\comma\\char(0x2C)\\comma\\char(0x3B))//crlf////tab////tab////tab//arRequiredPOSDataFiles=replaceSubstring(arRequiredPOSDataFiles\\comma\\char(0x2C)\\comma\\char(0x3B))//crlf////crlf////tab////tab////tab//setToken(\\quot\\RequiredPOSExportFiles\\quot\\\\comma\\arRequiredPOSExportFiles)//crlf////tab////tab////tab//setToken(\\quot\\RequiredPOSDataFiles\\quot\\\\comma\\arRequiredPOSDataFiles)//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=847275|X=151|Y=238|W=149|H=107|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=131743|AgentChildNoNode=|AgentSensor=0|AgentAction=setSimphonyFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Set tokens defining filespecs for pos export files and posdata files|AgentNodeTermType=0|^
ID=131743|X=151|Y=398|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=307902|AgentChildNoNode=407292|AgentSensor=1|AgentAction=setRestaurant_ManagerFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~result~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=0|^
ID=407292|X=341|Y=398|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=1|AgentAction=setRestaurant_ManagerFilespecs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=997431|X=300|Y=118|W=1199|H=706|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf//<include type:expression; expression:htmlConstant(\\quot\\Filename\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\C:\aspect7\posdata\simphony\20240312\PAY_Granite_031224.txt\\quot\\)>//crlf////crlf//<!include type:driver;//crlf////tab//ver: \\quot\\1.0\\quot\\;//crlf////tab//title: \\quot\\\\quot\\;//crlf////tab//ID: \\quot\\\\quot\\;//crlf////tab//HashID: \\quot\\\\quot\\;//crlf////tab//driver: \\quot\\POS_SIMPHONY_PAY\\quot\\;//crlf////tab//name: \\quot\\\\quot\\;//crlf////tab//systemdriver: \\quot\\false\\quot\\;//crlf////tab//dispose: \\quot\\false\\quot\\;//crlf////tab//state: \\quot\\\\quot\\;//crlf////tab//params: \\quot\\keyexpression=ID~~pipe~~Filename=__Filename__~~pipe~~CacheTtl=0~~pipe~~Metadata=POS_SIMPHONY_PAY\\quot\\;//crlf////tab//keyDescription: \\quot\\\\quot\\;//crlf////tab//display: \\quot\\\\quot\\;//crlf////tab//fields: \\quot\\\\quot\\;//crlf////tab//IncludeFields: \\quot\\\\quot\\;//crlf////tab//ExcludeFields: \\quot\\\\quot\\;//crlf////tab//sort: \\quot\\ID\\quot\\;//crlf////tab//filter: \\quot\\true\\quot\\;//crlf////tab//BaseFilter: \\quot\\\\quot\\;//crlf////tab//class: \\quot\\basic1\\quot\\;//crlf////tab//maxrecords: \\quot\\250\\quot\\;//crlf////tab//startrecord: \\quot\\0\\quot\\;//crlf////tab//style: \\quot\\width:auto\\quot\\;//crlf////tab//_style: \\quot\\float:left;width:100\\percent\\\\quot\\;//crlf////tab//height:\\quot\\auto\\quot\\;//crlf////tab//_maxheight:\\quot\\300px\\quot\\;//crlf////tab//canSelect: \\quot\\false\\quot\\;//crlf////tab//readOnly: \\quot\\false\\quot\\;//crlf////tab//canEdit: \\quot\\false\\quot\\;//crlf////tab//canAdd: \\quot\\false\\quot\\;//crlf////tab//canDelete: \\quot\\false\\quot\\;//crlf////tab//inspectMenu: \\quot\\\\quot\\;//crlf////tab//EmbedValues: \\quot\\\\quot\\;//crlf////tab//EditDialogID: \\quot\\POS_SIMPHONY_PAYDialog\\quot\\;//crlf////tab//DialogHeader: \\quot\\false\\quot\\;//crlf////tab//canCloseDialog: \\quot\\true\\quot\\;//crlf////tab//ExternalParams: \\quot\\\\quot\\;//crlf////tab//ExternalFilters: \\quot\\\\quot\\;//crlf////tab//TableControls: \\quot\\true\\quot\\;//crlf////tab//TableHeader: \\quot\\true\\quot\\;//crlf////tab//TableBorder: \\quot\\true\\quot\\;//crlf////tab//RecordCount: \\quot\\true\\quot\\;//crlf////tab//Timestamp: \\quot\\true\\quot\\;//crlf////tab//SelectDisplay: \\quot\\true\\quot\\;//crlf////tab//EditDisplay: \\quot\\true\\quot\\;//crlf////tab//Menu: \\quot\\\\quot\\;//crlf////tab//faq: \\quot\\\\quot\\;//crlf////tab//procedure: \\quot\\\\quot\\;//crlf////tab//video: \\quot\\\\quot\\;//crlf////tab//Messages: \\quot\\true\\quot\\;//crlf////tab//ChartType: \\quot\\\\quot\\;//crlf////tab//ChartWidth: \\quot\\640\\quot\\;//crlf////tab//ChartHeight: \\quot\\480\\quot\\;//crlf////tab//ChartLabels: \\quot\\Down_45\\quot\\;//crlf////tab//ChartTitle: \\quot\\\\quot\\;//crlf////tab//ChartStyle: \\quot\\display:none\\quot\\;//crlf////tab//RefreshInterval: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHidden: \\quot\\true\\quot\\;//crlf////tab//RefreshIntervalRemote: \\quot\\0\\quot\\;//crlf////tab//RefreshWhenHiddenRemote: \\quot\\true\\quot\\;//crlf////tab//_Javascript: \\quot\\DocumentID~~pipe~~Widget~~pipe~~ContainerItemID~~pipe~~Params\\quot\\;//crlf////tab//debug: \\quot\\true\\quot\\;//crlf//>//crlf////crlf//<div style=\\quot\\width:800px;height:300px\\quot\\></div>
</widget><widget name="Customer Support Items" group="Customer Support" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Customer Support Items" modified="02-14-2024 15:42:47" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=02-13-2024 21:53:50:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=61|toolboxy=250|aspectfuncx=50|aspectfuncy=50|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=null|aspectfuncVisible=false|PublishFtpFilename=Customer Support Items.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=14|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class=\\apos\\tabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\487285\\apos\\)\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\AspectScript\\apos\\)\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\sensor_list\\apos\\)\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\action_list\\apos\\)\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\debug_console\\apos\\)\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\123496\\apos\\)\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=487285|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Customer Support Items.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Customer Support Items.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Customer Support Items\\comma\\clearCachedDocuments\\comma\\action_list\\comma\\Action=clearCachedDocuments\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//clearCachedDocuments//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\clearCachedDocuments\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\clearCachedDocuments\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//s=clearHashedDocuments(0)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=123496|X=300|Y=125|W=740|H=660|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=674270|X=183|Y=14|W=84|H=16|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<select onChange=\\quot\\showTab(this)\\quot\\ style=\\quot\\min-width:200px\\quot\\>//crlf////tab//<option value=\\apos\\127300\\apos\\>Clear Cache</option>//crlf////tab//<option value=\\apos\\339005\\apos\\>Unused1</option>//crlf////tab//<option value=\\apos\\920135\\apos\\>Unused2</option>//crlf////tab//<option value=\\apos\\975069\\apos\\>Unused3</option>//crlf////tab//<option value=\\apos\\497524\\apos\\>Unused4</option>//crlf////tab//<option value=\\apos\\747897\\apos\\>Unused5</option>//crlf//</select>//crlf//^
ID=127300|X=183|Y=31|W=1097|H=712|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=674270|AttachLeft=|AlignLeft=674270|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<!-- servertimer=false-->//crlf//<include type:expression; expression:htmlConstant(\\quot\\salt\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\lowercase(getSalt(4)))>//crlf////crlf//<_include type:script; commands:\\quot\\//crlf////tab//s=execAgentAction(\\quot\\clearCachedDocuments\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\__SelectComputer__\\quot\\)//crlf////tab//return(htmlConstant(\\quot\\Result\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\s))//crlf//\\quot\\>//crlf////crlf//<conditional expression; expression:(\\quot\\__result__\\quot\\=\\quot\\ok\\quot\\)>//crlf////tab//<h1>Result: __Result__.  Cached documents cleared for {@lookup(Aspect_BackOffice_Computer_Names_By_ID\\comma\\\\quot\\__SelectComputer__\\quot\\)} [__SelectComputer__]</h1>//crlf//</conditional>//crlf////crlf//<conditional expression; expression:not(\\quot\\__result__\\quot\\=\\quot\\ok\\quot\\)>//crlf////tab//<h1>Result: __Result__ Unable to clear cashed documents for {@lookup(Aspect_BackOffice_Computer_Names_By_ID\\comma\\\\quot\\__SelectComputer__\\quot\\)} [__SelectComputer__]</h1>//crlf//</conditional>//crlf////crlf//__servertimerresults__//crlf//^
ID=339005|X=183|Y=31|W=400|H=200|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=674270|AttachLeft=|AlignLeft=674270|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=920135|X=183|Y=31|W=400|H=200|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=674270|AttachLeft=|AlignLeft=674270|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=975069|X=183|Y=31|W=400|H=200|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=674270|AttachLeft=|AlignLeft=674270|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=497524|X=183|Y=31|W=400|H=200|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=674270|AttachLeft=|AlignLeft=674270|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=747897|X=183|Y=31|W=400|H=200|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=674270|AttachLeft=|AlignLeft=674270|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="Customer Support - Import POS Data" group="Customer Support" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Customer Support - Import Pos Data" modified="02-13-2025 20:33:44" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=02-17-2024 09:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=1 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(boolean(getToken(\\quote\\POSInterface_EnableSynch\\quote\\))) and (value(getToken(\\quote\\POSInterface_SynchDays\\quote\\))\\gt\\0) and (len(getToken(\\quote\\POSInterface_StoreDir\\quote\\))\\gt\\0)" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=53|toolboxy=176|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Customer Support - Import POS Data.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=8|Y=17|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=8|Y=32|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=300|Y=100|W=1132|H=874|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'483114')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'117062')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=483114|X=300|Y=126|W=1132|H=874|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=1132|H=874|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=126|W=1132|H=874|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Import POS Data.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Customer Support - Import POS Data\\comma\\areSalesImported\\comma\\sensor_list\\comma\\Sensor=areSalesImported\\comma\\private\\comma\\text//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//areSalesImported//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\areSalesImported\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Checks whether ckd files exist for a range of dates//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//DateFrom - MM-dd-yyyy//crlf////tab////tab//DateTo - MM-dd-yyyy//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\areSalesImported\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//sStoreDir=addDirSlash(getToken(\\quot\\POSInterface_StoreDir\\quot\\))//crlf////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//sStoreName=lookup(Aspect_BackOffice_Company_List\\comma\\gettoken(\\quot\\aspecthashid\\quot\\))//crlf////crlf////tab////tab////tab//if(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))//crlf////tab////tab////tab////tab//sStoreDir=\\quot\\c:\aspect7\store1\\\quot\\//crlf////tab////tab////tab////tab//sStoreID=\\quot\\x4YrJJ72EVNZixMrwsI86iwn\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if StoreID is invalid//crlf////tab////tab////tab//if((len(sStoreID)=0) or (sStoreID=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid StoreID: \\quot\\+sStoreID)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if missing DateTo//crlf////tab////tab////tab//if(not(defined(\\quot\\__DateTo__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing DateTo: __DateTo__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//dtFrom=parseTime(\\quot\\__DateFrom__\\quot\\)//crlf////tab////tab////tab//dtTo=parseTime(\\quot\\__DateTo__\\quot\\)//crlf////tab////tab////tab//cCount=0//crlf////tab////tab////tab//cCkd=0//crlf////tab////tab////tab//cSalesExport=0//crlf////tab////tab////tab//dt=dtFrom//crlf////tab////tab////tab//while(dt<=dtTo)//crlf////tab////tab////tab////tab//sFilename=sStoreDir+\\quot\\ckd.\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if(fileSize(sFilename)>0)//crlf////tab////tab////tab////tab////tab//cCkd++//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//sFilename=sStoreDir+\\quot\\salesexport.\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if(fileSize(sFilename)>0)//crlf////tab////tab////tab////tab////tab//cSalesExport++//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//cCount++//crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if((cCkd<cCount) or (cSalesExport<cCount))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Ckd: \\quot\\+cCkd+\\quot\\ SalesExport: \\quot\\+cSalesExport+\\quot\\ for \\quot\\+cCount+\\quot\\ days in __DateFrom__-__DateTo__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Ckd: \\quot\\+cCkd+\\quot\\ SalesExport: \\quot\\+cSalesExport+\\quot\\ for \\quot\\+cCount+\\quot\\ days in __DateFrom__-__DateTo__\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=action_list|X=300|Y=126|W=1132|H=874|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Import POS Data.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Customer Support - Import POS Data\\comma\\MarkPOSDataChecked\\comma\\action_list\\comma\\Action=MarkPOSDataChecked\\comma\\private//crlf////tab//Customer Support - Import POS Data\\comma\\checkForMissingPosData\\comma\\action_list\\comma\\Action=checkForMissingPosData\\comma\\private//crlf////tab//Customer Support - Import POS Data\\comma\\getNewPOSDataFiles\\comma\\action_list\\comma\\Action=getNewPOSDataFiles\\comma\\private//crlf////tab//Customer Support - Import POS Data\\comma\\restoreBackupPosDataFiles\\comma\\action_list\\comma\\Action=restoreBackupPosDataFiles\\comma\\private//crlf////tab//Customer Support - Import POS Data\\comma\\backupPosDataFiles\\comma\\action_list\\comma\\Action=backupPosDataFiles\\comma\\private//crlf////tab//Customer Support - Import POS Data\\comma\\importMissingPosDataForDay\\comma\\action_list\\comma\\Action=importMissingPosDataForDay\\comma\\private//crlf////tab//Customer Support - Import POS Data\\comma\\importMissingPosData\\comma\\action_list\\comma\\Action=importMissingPosData\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//MarkPOSDataChecked//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\MarkPOSDataChecked\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Creates a file named checked.MM-dd-yyyy.txt in the store directory.  This is used to indicate the //crlf////tab////tab//data has been manually checked so it will not appear again as an error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - MM-dd-yyyy//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\MarkPOSDataChecked\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if date is invalid//crlf////tab////tab////tab//if(not(defined(\\quot\\__Date__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////For development//crlf////tab////tab////tab//if((boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\))) and (getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\))//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_PosType\\quot\\\\comma\\\\quot\\Aloha\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_StoreID\\quot\\\\comma\\\\quot\\jMyUEiRuadQbaRFsylp72Bol\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_StoreDir\\quot\\\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~stores~~backslash~~aloha_steakhouse\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if POSInterface_PosType is undefined//crlf////tab////tab////tab//sPosType=getToken(\\quot\\POSInterface_PosType\\quot\\)//crlf////tab////tab////tab//if(sPosType=\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: POS type is undefined\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sStoreDir=getToken(\\quot\\POSInterface_StoreDir\\quot\\)//crlf////tab////tab////tab//sFilename=addDirSlash(sStoreDir)\\plus\\\\quot\\checked.__Date__.txt\\quot\\//crlf////tab////tab////tab//fileWriteContent(sFilename\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab////tab//return(\\quot\\ok: \\quot\\\\plus\\sFilename)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//[!------------------------------------------------------------------------//crlf//checkForMissingPosData//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\checkForMissingPosData\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Checks for net sales\\comma\\ total tenders and labor on a given date//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - The date to be acted on as MM-dd-yyyy//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\checkForMissingPosData\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////abort if date is invalid//crlf////tab////tab////tab//if(not(defined(\\quot\\__Date__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////For development//crlf////tab////tab////tab//if((boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\))) and (getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\4idczse69\\quot\\))//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_PosType\\quot\\\\comma\\\\quot\\Aloha\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_StoreID\\quot\\\\comma\\\\quot\\jMyUEiRuadQbaRFsylp72Bol\\quot\\)//crlf////tab////tab////tab////tab//setToken(\\quot\\POSInterface_StoreDir\\quot\\\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~stores~~backslash~~aloha_steakhouse\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if POSInterface_PosType is undefined//crlf////tab////tab////tab//sPosType=getToken(\\quot\\POSInterface_PosType\\quot\\)//crlf////tab////tab////tab//if(sPosType=\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: POS type is undefined\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////initialize results//crlf////tab////tab////tab//bNetSales=false//crlf////tab////tab////tab//bTenders=false//crlf////tab////tab////tab//bLabor=false//crlf////crlf////tab////tab////tab//dt=parseTime(\\quot\\__Date__\\quot\\)//crlf////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//sStoreDir=getToken(\\quot\\POSInterface_StoreDir\\quot\\)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\StoreID: \\quot\\\\plus\\sStoreID\\plus\\\\quot\\ StoreDir: \\quot\\\\plus\\sStoreDir)//crlf////crlf////tab////tab////tab////check for net sales and total tenders//crlf////tab////tab////tab//sFilename=sStoreDir\\plus\\\\quot\\sales.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//tab////tab////tab////crlf////tab////tab////tab//driverOpen(POS_Generic_Daily_Sales\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab//dNetSales=0//crlf////tab////tab////tab//dTenders=0//crlf////tab////tab////tab//dTotalAllSales=0//crlf////tab////tab////tab//dTotalDepartmentTotalSales=0//crlf////tab////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFieldName=driverGetFieldAbsolute(d\\comma\\\\quot\\Field_Description\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//iRecordType=driverGetFieldAbsolute(d\\comma\\\\quot\\Record_Type\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dAmount=driverGetFieldAbsolute(d\\comma\\\\quot\\Amount\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(sFieldName=\\quot\\Net Sales\\quot\\)//crlf////tab////tab////tab////tab////tab//bNetSales=(dAmount<>0)//crlf////tab////tab////tab////tab////tab//dNetSales=dAmount//crlf////tab////tab////tab////tab//elseif(sFieldName=\\quot\\Total Tender\\quot\\)//crlf////tab////tab////tab////tab////tab//bTenders=(dAmount<>0)//crlf////tab////tab////tab////tab////tab//dTenders=dAmount//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////In the Cash Reconciliation\\comma\\ department sales will not be displayed if the sum of all //crlf////tab////tab////tab////tab////departments does not match the total sales amount.  For some reason\\comma\\ this is an issue //crlf////tab////tab////tab////tab////at some BWWs (Coventry 3/27/24) and importing again corrects the problem.//crlf////tab////tab////tab////tab//if(iRecordType=17)//crlf////tab////tab////tab////tab////tab//dTotalAllSales=dAmount//crlf////tab////tab////tab////tab//elseif(iRecordType=41)//crlf////tab////tab////tab////tab////tab//dTotalDepartmentTotalSales=dAmount//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab////crlf////tab////tab////tab////It appears that tenders are not always imported from Toast.  Le Moo is an example//crlf////tab////tab////tab//if(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Toast\\quot\\)//crlf////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////look for partial sales.  The 0.5 is just a starting guesss.  This is for BWW Newcastle and //crlf////tab////tab////tab////a couple of others that import only several hundred dollars in sales now and then.//crlf////tab////tab////tab////Skip Fibber NcGees and Molly McGees and Le Margot//crlf////tab////tab////tab////Gladstone has house accounts that bump tenders.//crlf////tab////tab////tab//if(pos(getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\lwm2op4qc~~pipe~~gl6dcxos0~~pipe~~y5ru727hr~~pipe~~xdjf1thxd~~pipe~~h5z9bz0zy~~pipe~~96qb4n6y7~~pipe~~qwxcy778i\\quot\\)<0)//crlf////tab////tab////tab////tab//if(dNetSales<dTenders*0.5)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Net sales is less than total tenders\\quot\\)//crlf////tab////tab////tab////tab////tab//bNetSales=false//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////look for Total All Sales that does not match sum of department sales//crlf////tab////tab////tab////This appears to be a problem with Aloha at some BWW stores//crlf////tab////tab////tab//appendToLog(\\quot\\dTotalAllSales: \\quot\\\\plus\\dTotalAllSales\\plus\\\\quot\\ dTotalDepartmentTotalSales: \\quot\\\\plus\\dTotalDepartmentTotalSales)//crlf////tab////tab////tab//if(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Aloha\\quot\\)//crlf////tab////tab////tab////tab//if(dTotalAllSales<>dTotalDepartmentTotalSales)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Total All Sales !=Total Department Total Sales\\quot\\)//crlf////tab////tab////tab////tab////tab//bNetSales=false//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////check for labor//crlf////tab////tab////tab//sFilename=sStoreDir\\plus\\\\quot\\lbr.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab//bLabor=(fileSize(sFilename)>0)//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\AspectHashID: \\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\plus\\\\quot\\ DOfW: \\quot\\\\plus\\dayOfWeek(dt))//crlf////crlf////tab////tab////tab//arException=\\quot\\\\quot\\//crlf////tab////tab////tab//arException=addElement(arException\\comma\\\\quot\\Development~~pipe~~4idczse69~~pipe~~20240423~~pipe~~20240423\\quot\\)//crlf////tab////tab////tab//arException=addElement(arException\\comma\\\\quot\\BWW Vincennes 3353~~pipe~~t4yo2o4m9~~pipe~~20240414~~pipe~~20240420\\quot\\)//crlf////tab////tab////tab//arException=addElement(arException\\comma\\\\quot\\BWW Dupont 3161~~pipe~~v43xrx9j5~~pipe~~20240421~~pipe~~20240427\\quot\\)//crlf////tab////tab////tab//arException=addElement(arException\\comma\\\\quot\\BWW Auburn 3365~~pipe~~402nhkseu~~pipe~~20240428~~pipe~~20240504\\quot\\)//crlf////tab////tab////tab//arException=addElement(arException\\comma\\\\quot\\BWW Coldwater 3437~~pipe~~u2mxdypnw~~pipe~~202400505~~pipe~~20240511\\quot\\)//crlf////tab////tab////tab//arException=addElement(arException\\comma\\\\quot\\Thirsty Moose - Dover~~pipe~~bepoo95s9~~pipe~~202400506~~pipe~~20240507\\quot\\)//crlf////crlf////tab////tab////tab//cException=getElementCount(arException)//crlf////tab////tab////tab//nException=0//crlf////tab////tab////tab//while(nException<cException)//crlf////tab////tab////tab////tab//sException=getElement(arException\\comma\\nException)//crlf////tab////tab////tab////tab//sExceptionHashID=getElement(sException\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=sExceptionHashID)//crlf////tab////tab////tab////tab////tab//sExceptionDate1=parseTime(getElement(sException\\comma\\2\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab////tab//sExceptionDate2=parseTime(getElement(sException\\comma\\3\\comma\\\\quot\\~~pipe~~\\quot\\)\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab////tab////tab//if((dt>=sExceptionDate1) and (dt<=sExceptionDate2))//crlf////tab////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//nException\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////don\\apos\\t check for labor at Tudors//crlf////tab////tab////tab//if(getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)=\\quot\\VhGFwJcWHG2CnERns1zILedS\\quot\\)//crlf////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////granite links does not import sales for some reason//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\m1skppjhy\\quot\\)//crlf////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////granite links - simphony does not import sales//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\k1smy5g3h\\quot\\)//crlf////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////quality inn only does payroll//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\30eipk32k\\quot\\)//crlf////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Fannies is closed on Tuesdays//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\rj4d9ope2\\quot\\)//crlf////tab////tab////tab////tab//if(dayOfWeek(dt)=3)//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Tudors - Harper Road [kelahlf1s] appears to not be using the timeclock//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\kelahlf1s\\quot\\)//crlf////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Tudors - Ansted [zromlpi7u] is closed on Tuesdays (beginning 4/2023)//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\zromlpi7u\\quot\\)//crlf////tab////tab////tab////tab//if(dayOfWeek(dt)=3)//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Ginos - East Washington [3ysvyzfpk] is closed for the foreseeable future (9/16/2024)//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\3ysvyzfpk\\quot\\)//crlf////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////The Chapel is closed on Tuesdays and Wednesdays//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\qwxcy778i\\quot\\)//crlf////tab////tab////tab////tab//if((dayOfWeek(dt)=3) or (dayOfWeek(dt)=4))//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Rattlesnake club is closed Sun and Mon//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\xdjf1thxd\\quot\\)//crlf////tab////tab////tab////tab//if((dayOfWeek(dt)=1) or (dayOfWeek(dt)=2))//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Hob nob is closed Sun for the summer//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\iibe844hz\\quot\\)//crlf////tab////tab////tab////tab//if(dayOfWeek(dt)=1)//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Tennessee Pizza is closed Sun and Mon//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\d7xvf3trj\\quot\\)//crlf////tab////tab////tab////tab//if((dayOfWeek(dt)=1) or (dayOfWeek(dt)=2))//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Frankies International Bistro is closed Mon and Tue//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\dj0dbvpo8\\quot\\)//crlf////tab////tab////tab////tab//if((dayOfWeek(dt)=2) or (dayOfWeek(dt)=3))//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Wine Celler is closed Mon//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\nojunv28n\\quot\\)//crlf////tab////tab////tab////tab//if(dayOfWeek(dt)=2)//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Pyramid Scheme is closed Mon//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\s0lpc4ej2\\quot\\)//crlf////tab////tab////tab////tab//if(dayOfWeek(dt)=2)//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Tennessee Jacks is closed Mon//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\6hg2dvg0m\\quot\\)//crlf////tab////tab////tab////tab//if(dayOfWeek(dt)=2)//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Flying Rhino is closed Mon and Tue//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\2p6miq2st\\quot\\)//crlf////tab////tab////tab////tab//if((dayOfWeek(dt)=2) or (dayOfWeek(dt)=3))//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Halls On The River is closed Mon and Tue//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\730irmwqf\\quot\\)//crlf////tab////tab////tab////tab//if((dayOfWeek(dt)=2) or (dayOfWeek(dt)=3))//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Ginos Gauley Bridge is closed Sun//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\fzahqgrj5\\quot\\)//crlf////tab////tab////tab////tab//if(dayOfWeek(dt)=1)//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Ginos - Athens [tn8i7yfos] is closed Sun//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\tn8i7yfos\\quot\\)//crlf////tab////tab////tab////tab//if(dayOfWeek(dt)=1)//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Ginos Ansted is closed Mon//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\hwqnjh044\\quot\\)//crlf////tab////tab////tab////tab//if(dayOfWeek(dt)=2)//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Ginos Mt Hope is closed Mon//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\yrsv9lf8q\\quot\\)//crlf////tab////tab////tab////tab//if(dayOfWeek(dt)=2)//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Ginos Harper Road is closed Wed//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\ri4ctgzgp\\quot\\)//crlf////tab////tab////tab////tab//if(dayOfWeek(dt)=4)//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////U Pick 6 Brew House is closed Mon//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\0lf0ucnzy\\quot\\)//crlf////tab////tab////tab////tab//if(dayOfWeek(dt)=2)//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Le Moo is closed Mon//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\kmou9zvcq\\quot\\)//crlf////tab////tab////tab////tab//if(dayOfWeek(dt)=2)//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////crlf////tab////tab////tab////tab////Le Moo does not appear to import tenders//crlf////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Johnnys Harborside is closed Mon//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\31j065lh6\\quot\\)//crlf////tab////tab////tab////tab//if(dayOfWeek(dt)=2)//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Kamps 1910 - New is closed Sun//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\g6lpqnc71\\quot\\)//crlf////tab////tab////tab////tab//if(dayOfWeek(dt)=1)//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Rocky Hill is closed Sun//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\d39w76qbh\\quot\\)//crlf////tab////tab////tab////tab//if(dayOfWeek(dt)=1)//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////if appears U Pick 6 - Pier 6 no longer imports from Toast and may not be using the program//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\pvs5kbfvy\\quot\\)//crlf////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Tudors - New Boston [fq6t76kpu] is closed for good//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\fq6t76kpu\\quot\\)//crlf////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Heirloom [1s2nsbtr0] appears to not be importing from Positouch any longer//crlf////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)=\\quot\\1s2nsbtr0\\quot\\)//crlf////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////closed Easter//crlf////tab////tab////tab//if((\\quot\\__Date__\\quot\\=\\quot\\03-31-2024\\quot\\) and (pos(getToken(\\quot\\AspectHashID\\quot\\)\\comma\\\\quot\\bq7c62jgu~~pipe~~mwrghk5v1~~pipe~~lv56m83rh~~pipe~~dj0dbvpo8~~pipe~~ts1apxxu8~~pipe~~8grnred3w~~pipe~~tn8i7yfos~~pipe~~yrsv9lf8q\\quot\\)>=0))//crlf////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////closed Thanksgiving//crlf////tab////tab////tab//if(\\quot\\__Date__\\quot\\=\\quot\\11-28-2024\\quot\\)//crlf////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////closed Christmas//crlf////tab////tab////tab//if(\\quot\\__Date__\\quot\\=\\quot\\12-25-2024\\quot\\)//crlf////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////closed New Years//crlf////tab////tab////tab////Don\\apos\\t do this because it results in sales not being imported at Mike Jones//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//if((\\quot\\__Date__\\quot\\=\\quot\\12-31-2024\\quot\\) or (\\quot\\__Date__\\quot\\=\\quot\\01-01-2025\\quot\\))//crlf////tab////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////look for a file named checked.MM-dd-yyyy.$$$.  This indicates a manual check has been done to //crlf////tab////tab////tab////confirm there is no data available//crlf////tab////tab////tab//sFilename=sStoreDir\\plus\\\\quot\\checked.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.txt\\quot\\//crlf////tab////tab////tab//appendToLog(\\quot\\Check for: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//bNetSales=true//crlf////tab////tab////tab////tab//bTenders=true//crlf////tab////tab////tab////tab//bLabor=true//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Checked exists\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Checked does not exist\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//if((bNetSales) and (bTenders) and (bLabor))//crlf////tab////tab////tab////tab//return(\\quot\\Ok\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Error: NetSales: \\quot\\\\plus\\bNetSales\\plus\\\\quot\\ Tenders: \\quot\\\\plus\\bTenders\\plus\\\\quot\\ Labor: \\quot\\\\plus\\bLabor)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//[!------------------------------------------------------------------------//crlf//getNewPOSDataFiles//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\getNewPOSDataFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Updates files in the posdata directory for a given date//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - The date to be acted on as MM-dd-yyyy//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getNewPOSDataFiles\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if date is invalid//crlf////tab////tab////tab//if(not(defined(\\quot\\__Date__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if POSInterface_PosType is undefined//crlf////tab////tab////tab//sPosType=getToken(\\quot\\POSInterface_PosType\\quot\\)//crlf////tab////tab////tab//if(sPosType=\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: POS type is undefined\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//dt=parseTime(\\quot\\__Date__\\quot\\)//crlf////crlf////tab////tab////tab////get a list of the required posdata files//crlf////tab////tab////tab//s=getToken(\\quot\\RequiredPOSDataFiles\\quot\\)//crlf////tab////tab////tab//s1=formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)//crlf////tab////tab////tab//arRequiredFiles=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(s\\comma\\char(\\quot\\0x3B\\quot\\))//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s2=getElement(s\\comma\\n\\comma\\char(\\quot\\0x3B\\quot\\))//crlf////tab////tab////tab////tab//if(pos(s1\\comma\\s2)>=0)//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Required file: \\quot\\\\plus\\s1)//crlf////tab////tab////tab////tab////tab//arRequiredFiles=addElement(arRequiredFiles\\comma\\s2)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////see if the required files exist//crlf////tab////tab////tab//cRequired=getElementCount(arRequiredFiles)//crlf////tab////tab////tab//cExist=0//crlf////tab////tab////tab//cMissing=0//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<cRequired)//crlf////tab////tab////tab////tab//sFilename=getElement(arRequiredFiles\\comma\\n)//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//cExist\\plus\\\\plus\\//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//cMissing\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////return if the required files already exist//crlf////tab////tab////tab////Note: Heartland currently doesn\\apos\\t return a list of required posdata files//crlf////tab////tab////tab//if(sPosType<>\\quot\\Heartland\\quot\\)//crlf////tab////tab////tab////tab//if(cExist=cRequired)//crlf////tab////tab////tab////tab////tab//return(\\quot\\Ok: Already exist: \\quot\\\\plus\\cExist\\plus\\\\quot\\ of \\quot\\\\plus\\cRequired\\plus\\\\quot\\ files\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////update the posdata files and get the directory containing the files//crlf////tab////tab////tab//sDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata~~backslash~~\\quot\\//crlf////tab////tab////tab//if(sPosType=\\quot\\Aloha\\quot\\)//crlf////tab////tab////tab////tab//s=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Process Aloha Grind Files - 2015\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Execute Process Aloha Grind Files - 2015: [\\quot\\\\plus\\s\\plus\\\\quot\\]\\quot\\)//crlf////tab////tab////tab////tab//sDir=sDir\\plus\\\\quot\\aloha~~backslash~~\\quot\\//crlf////tab////tab////tab//elseif(sPosType=\\quot\\Restaurant_Manager\\quot\\)//crlf////tab////tab////tab////tab//s=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Convert Restaurant Manager Export Files\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Execute Convert Restaurant Manager Export Files: [\\quot\\\\plus\\s\\plus\\\\quot\\]\\quot\\)//crlf////tab////tab////tab////tab//sDir=sDir\\plus\\\\quot\\Restaurant_Manager~~backslash~~\\quot\\//crlf////tab////tab////tab//elseif(sPosType=\\quot\\Softtouch\\quot\\)//crlf////tab////tab////tab////tab//s=scriptExec(POS_SoftTouch_DBF_convertCsvToDbf\\comma\\false\\comma\\\\quot\\PosDir=\\quot\\\\plus\\getToken(\\quot\\POSInterface_PosDir\\quot\\))//crlf////tab////tab////tab////tab//sDir=sDir\\plus\\\\quot\\Softtouch~~backslash~~\\quot\\//crlf////tab////tab////tab//elseif(sPosType=\\quot\\Heartland\\quot\\)//crlf////tab////tab////tab////tab//s=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Download Heartland Data\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Execute Download Heartland Data: [\\quot\\\\plus\\s\\plus\\\\quot\\]\\quot\\)//crlf////tab////tab////tab////tab//sDir=sDir\\plus\\\\quot\\Heartland~~backslash~~\\quot\\//crlf////tab////tab////tab//elseif(sPosType=\\quot\\Toast\\quot\\)//crlf////tab////tab////tab////tab//s=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Download Toast Files - Store\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Download Toast Files - Store: [\\quot\\\\plus\\s\\plus\\\\quot\\]\\quot\\)//crlf////tab////tab////tab////tab//sDir=sDir\\plus\\\\quot\\Toast~~backslash~~\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//return(\\quot\\Error: Unrecognized POS type: [\\quot\\\\plus\\sPosType\\plus\\\\quot\\]\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sDir=sDir\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\~~backslash~~\\quot\\//crlf////crlf////tab////tab////tab////see if the required files exist//crlf////tab////tab////tab//cRequired=getElementCount(arRequiredFiles)//crlf////tab////tab////tab//cExist=0//crlf////tab////tab////tab//cMissing=0//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<cRequired)//crlf////tab////tab////tab////tab//sFilename=getElement(arRequiredFiles\\comma\\n)//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//cExist\\plus\\\\plus\\//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//cMissing\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(cMissing>0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing \\quot\\\\plus\\cMissing\\plus\\\\quot\\ of \\quot\\_cRequired\\plus\\\\quot\\ files\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Found \\quot\\\\plus\\cExist\\plus\\\\quot\\ of \\quot\\\\plus\\cRequired\\plus\\\\quot\\ files\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//restoreBackupPosDataFiles//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\restoreBackupPosDataFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Restores any files in the posdata directory that were backed up for which a new //crlf////tab////tab//file was not gotten from the POS.  //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - The date to be acted on as MM-dd-yyyy//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\restoreBackupPosDataFiles\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if date is invalid//crlf////tab////tab////tab//if(not(defined(\\quot\\__Date__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if POSInterface_PosType is undefined//crlf////tab////tab////tab//sPosType=getToken(\\quot\\POSInterface_PosType\\quot\\)//crlf////tab////tab////tab//if(sPosType=\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: POS type is undefined\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the directory//crlf////tab////tab////tab//dt=parseTime(\\quot\\__Date__\\quot\\)//crlf////tab////tab////tab//sDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata~~backslash~~\\quot\\//crlf////tab////tab////tab//if(sPosType=\\quot\\Aloha\\quot\\)//crlf////tab////tab////tab////tab//sDir=sDir\\plus\\\\quot\\aloha~~backslash~~\\quot\\//crlf////tab////tab////tab//elseif(sPosType=\\quot\\Restaurant_Manager\\quot\\)//crlf////tab////tab////tab////tab//sDir=sDir\\plus\\\\quot\\Restaurant_Manager~~backslash~~\\quot\\//crlf////tab////tab////tab//elseif(sPosType=\\quot\\Softtouch\\quot\\)//crlf////tab////tab////tab////tab//sDir=sDir\\plus\\\\quot\\Softtouch~~backslash~~\\quot\\//crlf////tab////tab////tab//elseif(sPosType=\\quot\\Heartland\\quot\\)//crlf////tab////tab////tab////tab//sDir=sDir\\plus\\\\quot\\Heartland~~backslash~~\\quot\\//crlf////tab////tab////tab//elseif(sPosType=\\quot\\Toast\\quot\\)//crlf////tab////tab////tab////tab//sDir=sDir\\plus\\\\quot\\Toast~~backslash~~\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//return(\\quot\\Error: Unrecognized POS type: [\\quot\\\\plus\\sPosType\\plus\\\\quot\\]\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sDir=sDir\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\~~backslash~~\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////get list of files in the directory//crlf////tab////tab////tab//arFiles=getMatchingFiles(sDir\\plus\\\\quot\\_*.*\\quot\\\\comma\\false\\comma\\false)//crlf////crlf////tab////tab////tab////abort if no files exist//crlf////tab////tab////tab//if(len(arFiles)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: No files in \\quot\\\\plus\\sDir)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//cCount=0//crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sBackupFilename=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sOriginalFilename=fileDrive(sBackupFilename)\\plus\\fileDir(sBackupFilename)\\plus\\substring(fileName(sBackupFilename)\\comma\\1)\\plus\\fileExt(sBackupFilename)//crlf////tab////tab////tab////tab//if(fileSize(sOriginalFilename)=0)//crlf////tab////tab////tab////tab////tab//if(pos(\\quot\\processed\\quot\\\\comma\\sOriginalFilename)<0)//crlf////tab////tab////tab////tab////tab////tab//fileCopy(sBackupFilename\\comma\\sOriginalFilename)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Restored:\\quot\\\\plus\\sBackupFilename)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Did not restore: \\quot\\\\plus\\sBackupFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//cCount\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Restores \\quot\\\\plus\\cCount\\plus\\\\quot\\ files\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//backupPosDataFiles//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\backupPosDataFiles\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Renames files in the posdata directory for a given date.  This is used to clear the files //crlf////tab////tab//to prepare for getting a new set of files from the POS.  This is done to make sure that new //crlf////tab////tab//files are copied and to work around any files that might be locked//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - The date to be acted on as MM-dd-yyyy//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\backupPosDataFiles\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if date is invalid//crlf////tab////tab////tab//if(not(defined(\\quot\\__Date__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if POSInterface_PosType is undefined//crlf////tab////tab////tab//sPosType=getToken(\\quot\\POSInterface_PosType\\quot\\)//crlf////tab////tab////tab//if(sPosType=\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: POS type is undefined\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the directory//crlf////tab////tab////tab//dt=parseTime(\\quot\\__Date__\\quot\\)//crlf////tab////tab////tab//sDir=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\posdata~~backslash~~\\quot\\//crlf////tab////tab////tab//if(sPosType=\\quot\\Aloha\\quot\\)//crlf////tab////tab////tab////tab//sDir=sDir\\plus\\\\quot\\aloha~~backslash~~\\quot\\//crlf////tab////tab////tab//elseif(sPosType=\\quot\\Restaurant_Manager\\quot\\)//crlf////tab////tab////tab////tab//sDir=sDir\\plus\\\\quot\\Restaurant_Manager~~backslash~~\\quot\\//crlf////tab////tab////tab//elseif(sPosType=\\quot\\Softtouch\\quot\\)//crlf////tab////tab////tab////tab//sDir=sDir\\plus\\\\quot\\Softtouch~~backslash~~\\quot\\//crlf////tab////tab////tab//elseif(sPosType=\\quot\\Heartland\\quot\\)//crlf////tab////tab////tab////tab//sDir=sDir\\plus\\\\quot\\Heartland~~backslash~~\\quot\\//crlf////tab////tab////tab//elseif(sPosType=\\quot\\Toast\\quot\\)//crlf////tab////tab////tab////tab//sDir=sDir\\plus\\\\quot\\Toast~~backslash~~\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//return(\\quot\\Error: Unrecognized POS type: [\\quot\\\\plus\\sPosType\\plus\\\\quot\\]\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sDir=sDir\\plus\\formatDate(dt\\comma\\\\quot\\yyyyMMdd\\quot\\)\\plus\\\\quot\\~~backslash~~\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////get list of files in the directory//crlf////tab////tab////tab//arFiles=getMatchingFiles(sDir\\plus\\\\quot\\*.*\\quot\\\\comma\\false\\comma\\false)//crlf////crlf////tab////tab////tab////abort if no files exist//crlf////tab////tab////tab//if(len(arFiles)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: No files in \\quot\\\\plus\\sDir)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//cCount=0//crlf////tab////tab////tab//cRename=0//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFilename=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab////tab////don\\apos\\t process files that have already been renamed.  Files are renamed with an underscore//crlf////tab////tab////tab////tab////preceeding the filename//crlf////tab////tab////tab////tab//if(not(startsWith(fileName(sFilename)\\comma\\\\quot\\_\\quot\\)))//crlf////tab////tab////tab////tab////tab//sBackupName=fileDrive(sFilename)\\plus\\fileDir(sFilename)\\plus\\\\quot\\_\\quot\\\\plus\\fileName(sFilename)\\plus\\fileExt(sFilename)//crlf////tab////tab////tab////tab////tab//if(not(fileExists(sBackupName)))//crlf////tab////tab////tab////tab////tab////tab////rename the file//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\ren \\quot\\\\plus\\sFilename\\plus\\\\quot\\-\\quot\\\\plus\\char(0x3E)\\plus\\sBackupName)//crlf////tab////tab////tab////tab////tab////tab//fileRename(sFilename\\comma\\sBackupName)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////delete the file because a backup already exists//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\del \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab////make sure the file has been renamed or deleted//crlf////tab////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Unable to remove: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab////tab////tab//cError\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////crlf////tab////tab////tab////tab////tab//cCount\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(cError>0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Could not remove \\quot\\\\plus\\cError\\plus\\\\quot\\ of \\quot\\\\plus\\cCount\\plus\\\\quot\\ files\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Removed \\quot\\\\plus\\cCount\\plus\\\\quot\\ files\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//importMissingPosDataForDay//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importMissingPosDataForDay\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Imports missing POS Data for a day.  The existing posdata files are backed up\\comma\\ a new set of //crlf////tab////tab//files are gotten from the POS and the day is imported//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - The date to be acted on as MM-dd-yyyy//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\importMissingPosDataForDay\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////abort if date is invalid//crlf////tab////tab////tab//if(not(defined(\\quot\\__Date__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if POSInterface_PosType is undefined//crlf////tab////tab////tab//sPosType=getToken(\\quot\\POSInterface_PosType\\quot\\)//crlf////tab////tab////tab//if(sPosType=\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: POS type is undefined\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////backup the existing posdata files//crlf////tab////tab////tab//s1=execAgentAction(\\quot\\backupPosDataFiles\\quot\\\\comma\\\\quot\\Date=__Date__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Backup existing posdata files: \\quot\\\\plus\\s1)//crlf////crlf////tab////tab////tab////get new posdata files//crlf////tab////tab////tab//s2=execAgentAction(\\quot\\getNewPOSDataFiles\\quot\\\\comma\\\\quot\\Date=__Date__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Get new posdata files: \\quot\\\\plus\\s2)//crlf////crlf////tab////tab////tab////restore any files that were not gotten from the POS system//crlf////tab////tab////tab//s3=execAgentAction(\\quot\\restoreBackupPosDataFiles\\quot\\\\comma\\\\quot\\Date=__Date__\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Restore Backup posdata files: \\quot\\\\plus\\s3)//crlf////tab////tab////tab////crlf////tab////tab////tab////import the data//crlf////tab////tab////tab//if(getSystemValue(IsDevelopmentMode))//crlf////tab////tab////tab////tab//sParams=\\quot\\StoreID=I52er8xCRPNyDHNvSZc3iCvc\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\From=__Date__\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\To=__Date__\\quot\\//crlf////tab////tab////tab//sParams=sParams\\plus\\\\quot\\\\amp\\DataType=check_details\\comma\\check_headers\\comma\\sales_mix\\comma\\paidinout\\comma\\othertotals\\comma\\id_menu_categories\\comma\\id_menu_items\\comma\\id_discount\\comma\\id_comps\\comma\\id_departments\\comma\\id_gift_certificates\\comma\\id_paid_in\\comma\\id_paid_out\\comma\\id_revenue_centers\\comma\\id_tax\\comma\\id_tender\\comma\\id_void\\comma\\id_menu_categories\\comma\\id_menu_items\\comma\\id_employee_records\\comma\\id_job_codes\\comma\\id_discount\\comma\\id_comps\\comma\\id_departments\\comma\\id_gift_certificates\\comma\\id_paid_in\\comma\\id_paid_out\\comma\\id_revenue_centers\\comma\\id_tax\\comma\\id_tender\\comma\\id_void\\comma\\All Data\\comma\\timeclock\\comma\\\\comma\\id_employee_records\\comma\\id_job_codes\\quot\\//crlf////tab////tab////tab//s3=execAgentAction(\\quot\\synchPastPOSData\\quot\\\\comma\\sParams)//crlf////tab////tab////tab//appendToLog(\\quot\\Import pos data: \\quot\\\\plus\\s3)//crlf////crlf////tab////tab////tab//return(s3)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//importMissingPosData//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\importMissingPosData\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Checks for missing net sales\\comma\\ tenders and labor.  If data is missing for a day\\comma\\ the posdata files //crlf////tab////tab//are backed up\\comma\\ new files are gotten from the POS and the data is imported//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//DateFrom - Starting date in MM-dd-yyyy format//crlf////tab////tab//DateTo - Ending date in MM-dd-yyyy format.  Optional.  Default is last business day.//crlf////tab////tab//Days - Number of days back to check from the last business date.  Can be used in lieu of DateFrom and DateTo//crlf////tab////tab//ForceImport - Optional.  If true\\comma\\ data will be imported even if it already exists//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\importMissingPosData\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab//if(defined(\\quot\\__DateFrom__\\quot\\)) //crlf////tab////tab////tab////tab//dtFrom=parseTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//if(defined(\\quot\\__DateTo__\\quot\\))//crlf////tab////tab////tab////tab////tab//dtTo=parseTime(\\quot\\__DateFrom__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//dtTo=LastBusinessDay(\\quot\\09:00\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//iDays=value(\\quot\\__Days__\\quot\\)//crlf////tab////tab////tab////tab//if(iDays=0)//crlf////tab////tab////tab////tab////tab//iDays=6//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//dtTo=LastBusinessDay(\\quot\\05:00\\quot\\)//crlf////tab////tab////tab////tab//dtFrom=incrementTime(dtTo\\comma\\-iDays)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\dtFrom: \\quot\\\\plus\\formatDate(dtFrom)\\plus\\\\quot\\ dtTo: \\quot\\\\plus\\formatDate(dtTo))//crlf////crlf////tab////tab////tab////abort if POSInterface_PosType is undefined//crlf////tab////tab////tab////Note: The POS Interface agent does not run on the development computer and must be //crlf////tab////tab////tab////executed manually to initialize the POS Interface tokens//crlf////tab////tab////tab//sPosType=getToken(\\quot\\POSInterface_PosType\\quot\\)//crlf////tab////tab////tab//if(sPosType=\\quot\\Undefined\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\POS type is undefined.  If in development mode\\comma\\ run POS Interface manually\\quot\\)//crlf////tab////tab////tab////tab//return(\\quot\\Error: POS type is undefined\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//bForceImport=if(defined(\\quot\\__ForeceImport__\\quot\\)\\comma\\boolean(\\quot\\__ForceImport__\\quot\\)\\comma\\false)//crlf////tab////tab////tab//appendToLog(\\quot\\ForceImport=\\quot\\\\plus\\bForceImport)//crlf////crlf////tab////tab////tab//dt=dtFrom//crlf////tab////tab////tab//cCount=0//crlf////tab////tab////tab//cOk=0//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//cImport=0//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(dt<=dtTo)//crlf////crlf////tab////tab////tab////tab////check for data//crlf////tab////tab////tab////tab//s=execAgentAction(checkForMissingPosData\\comma\\\\quot\\Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Check1 \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\: \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Startwith: \\quot\\\\plus\\startsWith(s\\comma\\\\quot\\Error\\quot\\))//crlf////crlf////tab////tab////tab////tab////import the data if it doesn\\apos\\t exist//crlf////tab////tab////tab////tab//if((startsWith(s\\comma\\\\quot\\Error\\quot\\)) or (bForceImport))//crlf////tab////tab////tab////tab////tab////import the day//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Importing data for \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//s=execAgentAction(\\quot\\importMissingPosDataForDay\\quot\\\\comma\\\\quot\\Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////crlf////tab////tab////tab////tab////tab////check the data again//crlf////tab////tab////tab////tab////tab//s=execAgentAction(checkForMissingPosData\\comma\\\\quot\\Date=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Check2 \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\: \\quot\\\\plus\\s)//crlf////tab////tab////tab////tab////tab//if(startsWith(s\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//cOk\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//cError\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//cImport\\plus\\\\plus\\//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//cOk\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//dt=incrementTime(dt\\comma\\1)//crlf////tab////tab////tab////tab//cCount\\plus\\\\plus\\//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab//if(cError>0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Imported \\quot\\\\plus\\cImport\\plus\\\\quot\\ days.  Missing data for \\quot\\\\plus\\cError\\plus\\\\quot\\ of \\quot\\\\plus\\cCount\\plus\\\\quot\\ days\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Imported \\quot\\\\plus\\cImport\\plus\\\\quot\\ days and verified data for \\quot\\\\plus\\cCount\\plus\\\\quot\\ days\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=300|Y=126|W=1132|H=874|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=117062|X=300|Y=126|W=1132|H=874|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=159|Y=58|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=51872|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=always|AgentReportTo=getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~AspectServerHashID~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|^
ID=396780|X=191|Y=767|W=119|H=46|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ImportPosDataResult|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=159|Y=32|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=159|Y=58|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Customer Support - Import POS Data\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Import POS Data\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 03-10-2024 21:35:20//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////crlf////tab////tab////Is POSInterface_PosType defined//crlf////tab////tab//if(not(getToken(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Undefined\\quot\\))//crlf////crlf////tab////tab////tab////Is POS system ok//crlf////tab////tab////tab//if((getToken(\\quot\\POSInterface_PosType\\quot\\)<>\\quot\\_Softtouch\\quot\\) and (getToken(\\quot\\POSInterface_PosType\\quot\\)<>\\quot\\_Toast\\quot\\) and (getToken(\\quot\\POSInterface_PosType\\quot\\)<>\\quot\\_Heartland\\quot\\) and (getToken(\\quot\\POSInterface_PosType\\quot\\)<>\\quot\\Emagine\\quot\\) and (getToken(\\quot\\POSInterface_PosType\\quot\\)<>\\quot\\onepos\\quot\\))//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Import POS Data\\comma\\AgentAction\\comma\\572828\\comma\\0\\comma\\Import missing POS data//crlf////crlf////tab////tab////tab////tab////Import missing POS data//crlf////tab////tab////tab////tab//ImportPosDataResult=execAgentAction(\\quot\\importMissingPosData\\quot\\\\comma\\\\quot\\Days=7\\quot\\)//crlf////crlf////tab////tab////tab////tab////Success?//crlf////tab////tab////tab////tab//if(startsWith(ImportPosDataResult\\comma\\\\quot\\ok\\quot\\))//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Import POS Data\\comma\\AgentTerminate\\comma\\396780\\comma\\0\\comma\\Ok//crlf////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Import POS Data\\quot\\\\comma\\\\quot\\396780\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\ImportPosDataResult\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//scriptSetResult(ImportPosDataResult)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Import POS Data\\comma\\AgentTerminate\\comma\\10112\\comma\\1\\comma\\Error//crlf////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Import POS Data\\quot\\\\comma\\\\quot\\10112\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\ImportPosDataResult\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//scriptSetResult(ImportPosDataResult)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Import POS Data\\comma\\AgentTerminate\\comma\\908538\\comma\\0\\comma\\POS type not supported//crlf////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Import POS Data\\quot\\\\comma\\\\quot\\908538\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\POS type not supported\\quot\\\\comma\\\\quot\\POSType Not Supported: \\quot\\+getToken(\\quot\\POSInterface_PosType\\quot\\)\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\POSType Not Supported: \\quot\\+getToken(\\quot\\POSInterface_PosType\\quot\\))//crlf////tab////tab////tab//endif//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Import POS Data\\comma\\AgentTerminate\\comma\\842711\\comma\\1\\comma\\Error//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Import POS Data\\quot\\\\comma\\\\quot\\842711\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\\\quot\\Error: POSInterface_PosType is undefined\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(\\quot\\Error: POSInterface_PosType is undefined\\quot\\)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=159|Y=58|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;03102024//amp//nbsp;213520//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Import//amp//nbsp;POS//amp//nbsp;Data\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;03-10-2024//amp//nbsp;21:35:20</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;POSInterface_PosType//amp//nbsp;defined</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>not</span>(<span class='keyword'>getToken</span>(\\quot\\POSInterface_PosType\\quot\\)=\\quot\\Undefined\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;POS//amp//nbsp;system//amp//nbsp;ok</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>getToken</span>(\\quot\\POSInterface_PosType\\quot\\)//amp//lt;//amp//gt;\\quot\\_Softtouch\\quot\\)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>getToken</span>(\\quot\\POSInterface_PosType\\quot\\)//amp//lt;//amp//gt;\\quot\\_Toast\\quot\\)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>getToken</span>(\\quot\\POSInterface_PosType\\quot\\)//amp//lt;//amp//gt;\\quot\\_Heartland\\quot\\)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>getToken</span>(\\quot\\POSInterface_PosType\\quot\\)//amp//lt;//amp//gt;\\quot\\Emagine\\quot\\)//amp//nbsp;and//amp//nbsp;(<span class='keyword'>getToken</span>(\\quot\\POSInterface_PosType\\quot\\)//amp//lt;//amp//gt;\\quot\\onepos\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Import//amp//nbsp;missing//amp//nbsp;POS//amp//nbsp;data</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;ImportPosDataResult=<span class='keyword'>execAgentAction</span>(\\quot\\importMissingPosData\\quot\\\\comma\\\\quot\\Days=7\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(ImportPosDataResult\\comma\\\\quot\\ok\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Import//amp//nbsp;POS//amp//nbsp;Data\\quot\\\\comma\\\\quot\\396780\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\ImportPosDataResult\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(ImportPosDataResult)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Import//amp//nbsp;POS//amp//nbsp;Data\\quot\\\\comma\\\\quot\\10112\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\ImportPosDataResult\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(ImportPosDataResult)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Import//amp//nbsp;POS//amp//nbsp;Data\\quot\\\\comma\\\\quot\\908538\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\POS//amp//nbsp;type//amp//nbsp;not//amp//nbsp;supported\\quot\\\\comma\\\\quot\\POSType//amp//nbsp;Not//amp//nbsp;Supported://amp//nbsp;\\quot\\+<span class='keyword'>getToken</span>(\\quot\\POSInterface_PosType\\quot\\)\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\POSType//amp//nbsp;Not//amp//nbsp;Supported://amp//nbsp;\\quot\\+<span class='keyword'>getToken</span>(\\quot\\POSInterface_PosType\\quot\\))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Import//amp//nbsp;POS//amp//nbsp;Data\\quot\\\\comma\\\\quot\\842711\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\\\quot\\Error://amp//nbsp;POSInterface_PosType//amp//nbsp;is//amp//nbsp;undefined\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;POSInterface_PosType//amp//nbsp;is//amp//nbsp;undefined\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=159|Y=58|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=159|Y=58|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=159|Y=58|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>03102024 213520</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart51872\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\150\\quot\\ style=\\quot\\width: 120px; height: 150px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Customer Support - Import POS Data</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: always<br>Report To: getToken(\\quot\\AspectServerHashID\\quot\\)<br>Name Params: </div></div><div id=\\quot\\chart396780\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 707px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\83\\quot\\ style=\\quot\\width: 120px; height: 83px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart51872\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart69555\\quot\\ agentchildnonode=\\quot\\chart842711\\quot\\ style=\\quot\\position: absolute; top: 208px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\88\\quot\\ style=\\quot\\width: 150px; height: 76px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is POSInterface_PosType defined<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart842711\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 208px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart572828\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart17680\\quot\\ style=\\quot\\position: absolute; top: 455px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\93\\quot\\ style=\\quot\\width: 150px; height: 81px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Import missing POS data<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>importMissingPosData<br></td></tr><tr><td><u>Return</u></td><td>ImportPosDataResult</td></tr></tbody></table></div></div><div id=\\quot\\chart17680\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart396780\\quot\\ agentchildnonode=\\quot\\chart10112\\quot\\ style=\\quot\\position: absolute; top: 590px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\63\\quot\\ style=\\quot\\width: 150px; height: 63px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart10112\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 590px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\83\\quot\\ style=\\quot\\width: 120px; height: 83px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart69555\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart572828\\quot\\ agentchildnonode=\\quot\\chart908538\\quot\\ style=\\quot\\position: absolute; top: 338px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\63\\quot\\ style=\\quot\\width: 150px; height: 63px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is POS system ok<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart908538\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 338px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\96\\quot\\ style=\\quot\\width: 120px; height: 96px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>POS type not supported<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div>^
ID=51872|X=191|Y=268|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=69555|AgentChildNoNode=842711|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=not(getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~POSInterface_PosType~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)~~backslash~~equals~~backslash~~~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Undefined~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Is POSInterface_PosType defined|AgentNodeTermType=|^
ID=842711|X=381|Y=268|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: POSInterface_PosType is undefined~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=572828|X=191|Y=515|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=17680|AgentChildNoNode=|AgentSensor=|AgentAction=importMissingPosData|AgentNodeNotes=|AgentNodeParams=~~backslash~~equals~~backslash~~\\quot\\Days~~backslash~~equals~~backslash~~7\\quot\\|AgentNodeExpression=|AgentNodeActionReturnValue=ImportPosDataResult|AgentNodeComment=Import missing POS data|AgentNodeTermType=|^
ID=17680|X=191|Y=650|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=396780|AgentChildNoNode=10112|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(ImportPosDataResult//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=|^
ID=10112|X=381|Y=650|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ImportPosDataResult|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=69555|X=191|Y=398|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=572828|AgentChildNoNode=908538|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~POSInterface_PosType~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)<>~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~_Softtouch~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~) and (getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~POSInterface_PosType~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)<>~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~_Toast~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~) and (getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~POSInterface_PosType~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)<>~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~_Heartland~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~) and (getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~POSInterface_PosType~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)<>~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Emagine~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~) and (getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~POSInterface_PosType~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)<>~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~onepos~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Is POS system ok|AgentNodeTermType=|^
ID=908538|X=381|Y=398|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~POSType Not Supported: ~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//plus//getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~POSInterface_PosType~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=POS type not supported|AgentNodeTermType=0|^
ID=10736|X=635|Y=108|W=598|H=281|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<br>//crlf//<include type:script; commands:\\quot\\//crlf////tab//s=getSensorValue(\\quot\\areSalesImported\\quot\\\\comma\\\\quot\\DateFrom=07-01-2024//amp//DateTo=07-31-2024\\quot\\)//crlf////tab//return(\\quot\\s=\\quot\\+s)//crlf//\\quot\\>
</widget><widget name="Customer Support - Restart Aspect" group="Customer Support" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Customer Support - Restart Aspect" modified="10-16-2024 20:34:39" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=02-18-2024 03:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=1 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(pos(getToken(\\quote\\AspectHashID\\quote\\),\\quote\\g6lpqnc71\\quote\\)\\gt\\=0) or (pos(getToken(\\quote\\Aspect_BackOffice_Pref_CompanyPollingID\\quote\\),\\quote\\YZFlschIIsSqEy5dJjjXitbk|gALyDzULcjFQ6OvpmlPQbFl5|jRkisygzVSPHO8B0BFRnkgLg|JnNg7N1iUXigauKloRjCEeNP\\quote\\)\\gt\\=0)" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=59|toolboxy=293|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Customer Support - Restart Aspect.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=101|H=14|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=1182|H=775|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'271760')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'54259')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=271760|X=1500|Y=26|W=1182|H=775|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=26|W=1182|H=775|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=26|W=1182|H=775|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Customer Support - Restart Aspect\\comma\\RestartAspectComputerNotAvailable\\comma\\sensor_list\\comma\\Sensor=RestartAspectComputerNotAvailable\\comma\\private\\comma\\text//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//RestartAspectComputerNotAvailable//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\RestartAspectComputerNotAvailable\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Formats a message to be returned when the computer to be restarted is not available//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//CustomerID - HashID of computer that was to be restarted//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Html message//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\RestartAspectComputerNotAvailable\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////lookup the computer name//crlf////tab////tab////tab//sCustomerName=lookup(Aspect_BackOffice_Computer_Names_By_ID\\comma\\\\quot\\__CustomerID__\\quot\\)//crlf////tab////tab////tab//if(len(sCustomerName)=0)//crlf////tab////tab////tab////tab//sCustomerName=\\quot\\__CustomerID__\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Error: Cannot restart Aspect because \\quot\\+sCustomerName+\\quot\\ is not available\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=action_list|X=1500|Y=26|W=1182|H=775|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Customer Support - Restart Aspect\\comma\\restartAspectWithDelay\\comma\\action_list\\comma\\Action=restartAspectWithDelay\\comma\\private//crlf////tab//Customer Support - Restart Aspect\\comma\\clearCachedDocumentsWithRestart\\comma\\action_list\\comma\\Action=clearCachedDocumentsWithRestart\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//restartAspectWithDelay//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\restartAspectWithDelay\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Restarts Aspect with a delay.  This is used to allow for returning a result before Aspect restarts.//crlf////tab////tab//This action must be executed on the computer that will be restarted\\comma\\ not the calling computer.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\restartAspectWithDelay\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Customer Support - Restart Aspect  Sub\\quot\\\\comma\\\\quot\\Delay=10\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\false)//crlf////tab////tab////tab//return(\\quot\\Ok.  Aspect is restarting.  Allow one to two minutes for the restart to complete.\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//clearCachedDocumentsWithRestart//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\clearCachedDocumentsWithRestart\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Calls clearHashedDocuments() and deletes files in the temporary_files directory.//crlf////tab////tab//A check is made to see if there are any files left that could not be deleted.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\clearCachedDocumentsWithRestart\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////clear cache//crlf////tab////tab////tab//clearHashedDocuments()//crlf////crlf////tab////tab////tab////make a sub directory under the temporary files directory.  An attempt is made to move //crlf////tab////tab////tab////files that can't be deleted to this directory//crlf////tab////tab////tab//sSubDir=getToken(\\quot\\Homedir\\quot\\)+\\quot\\temporary_files\sub\\\quot\\//crlf////tab////tab////tab//if(not(fileExists(sSubDir)))//crlf////tab////tab////tab////tab//fileMakeDirectory(sSubDir)//tab////tab////tab////tab////crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//cCount=0//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//cDelete=0//crlf////tab////tab////tab//cMove=0//crlf////crlf////tab////tab////tab////delete all files in the temporary_files\sub directory//crlf////tab////tab////tab//arFiles=getMatchingFiles(sSubDir+\\quot\\*.*\\quot\\\\comma\\false\\comma\\false)//crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFilename=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//cCount++//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////delete files in the cachdata directory (there shouldn't be any)//crlf////tab////tab////tab//sFilespec=getToken(\\quot\\homedir\\quot\\)+\\quot\\cachedata\*.*\\quot\\//crlf////tab////tab////tab//arFiles=getMatchingFiles(sFilespec\\comma\\false\\comma\\false)//crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFilename=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//fileDelete(sFilename)//crlf////crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Delete: \\quot\\+sFilename+\\quot\\ [ERROR]\\quot\\)//crlf////tab////tab////tab////tab////tab////try moving the file to the temporary_files\sub directory//crlf////tab////tab////tab////tab////tab//fileMove(sFilename\\comma\\sSubDir+fileName(sFilename)+fileExt(sFilename))//crlf////crlf////tab////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Move: \\quot\\+sFilename+\\quot\\ [ERROR]\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//cError++//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//cMove++//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//cDelete++//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//cCount++//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////delete files in the temporary_files directory//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//sFilespec=getToken(\\quot\\homedir\\quot\\)+\\quot\\temporary_files\*.*\\quot\\//crlf////tab////tab////tab//arFiles=getMatchingFiles(sFilespec\\comma\\false\\comma\\false)//crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFilename=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//fileDelete(sFilename)//crlf////crlf////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Delete: \\quot\\+sFilename+\\quot\\ [ERROR]\\quot\\)//crlf////tab////tab////tab////tab////tab////try moving the file to the temporary_files\sub directory//crlf////tab////tab////tab////tab////tab//fileMove(sFilename\\comma\\sSubDir+fileName(sFilename)+fileExt(sFilename))//crlf////crlf////tab////tab////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Move: \\quot\\+sFilename+\\quot\\ [ERROR]\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//cError++//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//cMove++//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//cDelete++//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//cCount++//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//if(cError=0)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Deleted \\quot\\+cDelete+\\quot\\ files and moved \\quot\\+cMove+\\quot\\ files\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Error: Could not delete \\quot\\+cError+\\quot\\ of \\quot\\+cCount+\\quot\\ files\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=debug_console|X=1500|Y=26|W=1182|H=775|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=54259|X=1500|Y=26|W=1182|H=775|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=151|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=574611|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=true|AgentReport=always|AgentReportTo=getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~AspectServerHashID~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|^
ID=AgentTabs|X=151|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Customer Support - Restart Aspect\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 10-16-2024 20:33:42//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////crlf////tab////tab////Does the resume_clear_cache.txt file exist?//crlf////tab////tab//appendToLog(\\quot\\(fileExists(getToken(\\apos\\temporary_files\\apos\\)\\plus\\\\apos\\resume_clear_cache.txt\\apos\\))=\\quot\\\\plus\\(fileExists(getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\resume_clear_cache.txt\\quot\\)))//crlf////tab////tab//if(fileExists(getToken(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\resume_clear_cache.txt\\quot\\))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect\\comma\\AgentAction\\comma\\727520\\comma\\0\\comma\\Delete remaining documents//crlf////crlf////tab////tab////tab////Delete remaining documents//crlf////tab////tab////tab//Result=execAgentAction(clearCachedDocumentsWithRestart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Expression (execAgentAction(clearCachedDocumentsWithRestart\\comma\\\\apos\\\\apos\\))=\\quot\\\\plus\\left(Result\\comma\\128))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect\\comma\\AgentTerminate\\comma\\831277\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect\\quot\\\\comma\\\\quot\\831277\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\\\quot\\Restarted and cleared remaining cache documents\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart))//crlf////tab////tab////tab//scriptSetResult(\\quot\\Restarted and cleared remaining cache documents\\quot\\)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect\\comma\\AgentAction\\comma\\165857\\comma\\0\\comma\\Clear cached documents//crlf////crlf////tab////tab////tab////Clear cached documents//crlf////tab////tab////tab//Result=execAgentAction(\\quot\\clearCachedDocumentsWithRestart\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\clearCachedDocumentsWithRestart ()=\\quot\\\\plus\\left(Result\\comma\\128))//crlf////crlf////tab////tab////tab////All documents cleared?//crlf////tab////tab////tab//appendToLog(\\quot\\(startsWith(Result\\comma\\\\apos\\Ok\\apos\\))=\\quot\\\\plus\\(startsWith(Result\\comma\\\\quot\\Ok\\quot\\)))//crlf////tab////tab////tab//if(startsWith(Result\\comma\\\\quot\\Ok\\quot\\))//crlf////crlf////tab////tab////tab////tab////Is ForceRestart set to true?//crlf////tab////tab////tab////tab//appendToLog(\\quot\\((boolean(\\apos\\__ForceRestart__\\apos\\)) or (pos(getToken(\\apos\\Aspect_BackOffice_Pref_CompanyPollingID\\apos\\)\\comma\\\\apos\\JnNg7N1iUXigauKloRjCEeNP\\apos\\)\\apos\\\\plus\\char(0x3e)\\plus\\\\apos\\=0))=\\quot\\\\plus\\((boolean(\\quot\\__ForceRestart__\\quot\\)) or (pos(getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)\\comma\\\\quot\\JnNg7N1iUXigauKloRjCEeNP\\quot\\)>=0)))//crlf////tab////tab////tab////tab//if((boolean(\\quot\\__ForceRestart__\\quot\\)) or (pos(getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)\\comma\\\\quot\\JnNg7N1iUXigauKloRjCEeNP\\quot\\)>=0))//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect\\comma\\AgentAction\\comma\\80802\\comma\\0\\comma\\Execute the agent to restart Aspect (Note the widget has 2 spaces before Sub)//crlf////crlf////tab////tab////tab////tab////tab////Execute the agent to restart Aspect (Note the widget has 2 spaces before Sub)//crlf////tab////tab////tab////tab////tab//Result=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Customer Support - Restart Aspect  Sub\\quot\\\\comma\\\\quot\\Delay=10\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\false)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Expression (execAgent(\\apos\\h0BE4ziTlLytqKxtWLMy5CVY\\apos\\\\comma\\\\apos\\Customer Support - Restart Aspect  Sub\\apos\\\\comma\\\\apos\\Delay=10\\apos\\\\comma\\getToken(\\apos\\AspectHashID\\apos\\)\\comma\\false))=\\quot\\\\plus\\left(Result\\comma\\128))//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect\\comma\\AgentTerminate\\comma\\537883\\comma\\2\\comma\\Success//crlf////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect\\quot\\\\comma\\\\quot\\537883\\quot\\\\comma\\2\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Success\\quot\\\\comma\\\\quot\\Ok: Cached documents have been cleared and Aspect has been restarted: \\quot\\\\plus\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart))//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: Cached documents have been cleared and Aspect has been restarted: \\quot\\\\plus\\Result)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect\\comma\\AgentTerminate\\comma\\476231\\comma\\0\\comma\\Success//crlf////tab////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect\\quot\\\\comma\\\\quot\\476231\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Success\\quot\\\\comma\\\\quot\\Ok: Cached documents have been cleared\\quot\\\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab//scriptSetResult(\\quot\\Ok: Cached documents have been cleared\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect\\comma\\AgentAction\\comma\\38044\\comma\\0\\comma\\Create file named resume_clear_cache.txt//crlf////crlf////tab////tab////tab////tab////Create file named resume_clear_cache.txt//crlf////tab////tab////tab////tab//fileWriteContent(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files~~backslash~~resume_clear_cache.txt\\quot\\\\comma\\\\quot\\true\\quot\\)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Expression (fileWriteContent(getToken(\\apos\\homedir\\apos\\)\\plus\\\\apos\\temporary_files~~backslash~~resume_clear_cache.txt\\apos\\\\comma\\\\apos\\true\\apos\\))\\quot\\)//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect\\comma\\AgentAction\\comma\\733122\\comma\\0\\comma\\Execute the agent to restart Aspect (Note the widget has 2 spaces before Sub)//crlf////crlf////tab////tab////tab////tab////Execute the agent to restart Aspect (Note the widget has 2 spaces before Sub)//crlf////tab////tab////tab////tab//Result=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Customer Support - Restart Aspect  Sub\\quot\\\\comma\\\\quot\\Delay=10\\quot\\\\comma\\getToken(\\quot\\AspectHashID\\quot\\)\\comma\\false)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Expression (execAgent(\\apos\\h0BE4ziTlLytqKxtWLMy5CVY\\apos\\\\comma\\\\apos\\Customer Support - Restart Aspect  Sub\\apos\\\\comma\\\\apos\\Delay=10\\apos\\\\comma\\getToken(\\apos\\AspectHashID\\apos\\)\\comma\\false))=\\quot\\\\plus\\left(Result\\comma\\128))//crlf////tab////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect\\comma\\AgentTerminate\\comma\\341299\\comma\\0\\comma\\Success//crlf////tab////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect\\quot\\\\comma\\\\quot\\341299\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Success\\quot\\\\comma\\\\quot\\Error: Could not clear all documents.  Aspect is restarting to clear the remaining documents: \\quot\\\\plus\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart))//crlf////tab////tab////tab////tab//scriptSetResult(\\quot\\Error: Could not clear all documents.  Aspect is restarting to clear the remaining documents: \\quot\\\\plus\\Result)//crlf////tab////tab////tab//endif//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;10162024//amp//nbsp;203342//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Restart//amp//nbsp;Aspect\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;10-16-2024//amp//nbsp;20:33:42</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Does//amp//nbsp;the//amp//nbsp;resume_clear_cache.txt//amp//nbsp;file//amp//nbsp;exist?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>fileExists</span>(<span class='keyword'>getToken</span>(\\apos\\temporary_files\\apos\\)\\plus\\\\apos\\resume_clear_cache.txt\\apos\\))=\\quot\\\\plus\\(<span class='keyword'>fileExists</span>(<span class='keyword'>getToken</span>(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\resume_clear_cache.txt\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>fileExists</span>(<span class='keyword'>getToken</span>(\\quot\\temporary_files\\quot\\)\\plus\\\\quot\\resume_clear_cache.txt\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Delete//amp//nbsp;remaining//amp//nbsp;documents</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(clearCachedDocumentsWithRestart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Expression//amp//nbsp;(<span class='keyword'>execAgentAction</span>(clearCachedDocumentsWithRestart\\comma\\\\apos\\\\apos\\))=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Restart//amp//nbsp;Aspect\\quot\\\\comma\\\\quot\\831277\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\\\quot\\Restarted//amp//nbsp;and//amp//nbsp;cleared//amp//nbsp;remaining//amp//nbsp;cache//amp//nbsp;documents\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Restarted//amp//nbsp;and//amp//nbsp;cleared//amp//nbsp;remaining//amp//nbsp;cache//amp//nbsp;documents\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Clear//amp//nbsp;cached//amp//nbsp;documents</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\clearCachedDocumentsWithRestart\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\clearCachedDocumentsWithRestart//amp//nbsp;()=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\128))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//All//amp//nbsp;documents//amp//nbsp;cleared?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\(<span class='keyword'>startsWith</span>(Result\\comma\\\\apos\\Ok\\apos\\))=\\quot\\\\plus\\(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\Ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\Ok\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Is//amp//nbsp;ForceRestart//amp//nbsp;set//amp//nbsp;to//amp//nbsp;true?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\((<span class='keyword'>boolean</span>(\\apos\\__ForceRestart__\\apos\\))//amp//nbsp;or//amp//nbsp;(<span class='keyword'>pos</span>(<span class='keyword'>getToken</span>(\\apos\\Aspect_BackOffice_Pref_CompanyPollingID\\apos\\)\\comma\\\\apos\\JnNg7N1iUXigauKloRjCEeNP\\apos\\)\\apos\\\\plus\\<span class='keyword'>char</span>(0x3e)\\plus\\\\apos\\=0))=\\quot\\\\plus\\((<span class='keyword'>boolean</span>(\\quot\\__ForceRestart__\\quot\\))//amp//nbsp;or//amp//nbsp;(<span class='keyword'>pos</span>(<span class='keyword'>getToken</span>(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)\\comma\\\\quot\\JnNg7N1iUXigauKloRjCEeNP\\quot\\)//amp//gt;=0)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>boolean</span>(\\quot\\__ForceRestart__\\quot\\))//amp//nbsp;or//amp//nbsp;(<span class='keyword'>pos</span>(<span class='keyword'>getToken</span>(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)\\comma\\\\quot\\JnNg7N1iUXigauKloRjCEeNP\\quot\\)//amp//gt;=0))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Execute//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;to//amp//nbsp;restart//amp//nbsp;Aspect//amp//nbsp;(Note//amp//nbsp;the//amp//nbsp;widget//amp//nbsp;has//amp//nbsp;2//amp//nbsp;spaces//amp//nbsp;before//amp//nbsp;Sub)</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgent</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Restart//amp//nbsp;Aspect//amp//nbsp;//amp//nbsp;Sub\\quot\\\\comma\\\\quot\\Delay=10\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\false)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Expression//amp//nbsp;(<span class='keyword'>execAgent</span>(\\apos\\h0BE4ziTlLytqKxtWLMy5CVY\\apos\\\\comma\\\\apos\\Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Restart//amp//nbsp;Aspect//amp//nbsp;//amp//nbsp;Sub\\apos\\\\comma\\\\apos\\Delay=10\\apos\\\\comma\\<span class='keyword'>getToken</span>(\\apos\\AspectHashID\\apos\\)\\comma\\false))=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Restart//amp//nbsp;Aspect\\quot\\\\comma\\\\quot\\537883\\quot\\\\comma\\2\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Success\\quot\\\\comma\\\\quot\\Ok://amp//nbsp;Cached//amp//nbsp;documents//amp//nbsp;have//amp//nbsp;been//amp//nbsp;cleared//amp//nbsp;and//amp//nbsp;Aspect//amp//nbsp;has//amp//nbsp;been//amp//nbsp;restarted://amp//nbsp;\\quot\\\\plus\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok://amp//nbsp;Cached//amp//nbsp;documents//amp//nbsp;have//amp//nbsp;been//amp//nbsp;cleared//amp//nbsp;and//amp//nbsp;Aspect//amp//nbsp;has//amp//nbsp;been//amp//nbsp;restarted://amp//nbsp;\\quot\\\\plus\\Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Restart//amp//nbsp;Aspect\\quot\\\\comma\\\\quot\\476231\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Success\\quot\\\\comma\\\\quot\\Ok://amp//nbsp;Cached//amp//nbsp;documents//amp//nbsp;have//amp//nbsp;been//amp//nbsp;cleared\\quot\\\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Ok://amp//nbsp;Cached//amp//nbsp;documents//amp//nbsp;have//amp//nbsp;been//amp//nbsp;cleared\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Create//amp//nbsp;file//amp//nbsp;named//amp//nbsp;resume_clear_cache.txt</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>fileWriteContent</span>(<span class='keyword'>getToken</span>(\\quot\\homedir\\quot\\)\\plus\\\\quot\\temporary_files~~backslash~~resume_clear_cache.txt\\quot\\\\comma\\\\quot\\true\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Expression//amp//nbsp;(<span class='keyword'>fileWriteContent</span>(<span class='keyword'>getToken</span>(\\apos\\homedir\\apos\\)\\plus\\\\apos\\temporary_files~~backslash~~resume_clear_cache.txt\\apos\\\\comma\\\\apos\\true\\apos\\))\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Execute//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;to//amp//nbsp;restart//amp//nbsp;Aspect//amp//nbsp;(Note//amp//nbsp;the//amp//nbsp;widget//amp//nbsp;has//amp//nbsp;2//amp//nbsp;spaces//amp//nbsp;before//amp//nbsp;Sub)</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgent</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Restart//amp//nbsp;Aspect//amp//nbsp;//amp//nbsp;Sub\\quot\\\\comma\\\\quot\\Delay=10\\quot\\\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectHashID\\quot\\)\\comma\\false)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>appendToLog</span>(\\quot\\Expression//amp//nbsp;(<span class='keyword'>execAgent</span>(\\apos\\h0BE4ziTlLytqKxtWLMy5CVY\\apos\\\\comma\\\\apos\\Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Restart//amp//nbsp;Aspect//amp//nbsp;//amp//nbsp;Sub\\apos\\\\comma\\\\apos\\Delay=10\\apos\\\\comma\\<span class='keyword'>getToken</span>(\\apos\\AspectHashID\\apos\\)\\comma\\false))=\\quot\\\\plus\\<span class='keyword'>left</span>(Result\\comma\\128))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Restart//amp//nbsp;Aspect\\quot\\\\comma\\\\quot\\341299\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Success\\quot\\\\comma\\\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;clear//amp//nbsp;all//amp//nbsp;documents.//amp//nbsp;//amp//nbsp;Aspect//amp//nbsp;is//amp//nbsp;restarting//amp//nbsp;to//amp//nbsp;clear//amp//nbsp;the//amp//nbsp;remaining//amp//nbsp;documents://amp//nbsp;\\quot\\\\plus\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;clear//amp//nbsp;all//amp//nbsp;documents.//amp//nbsp;//amp//nbsp;Aspect//amp//nbsp;is//amp//nbsp;restarting//amp//nbsp;to//amp//nbsp;clear//amp//nbsp;the//amp//nbsp;remaining//amp//nbsp;documents://amp//nbsp;\\quot\\\\plus\\Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>10162024 203342</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart574611\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\139\\quot\\ style=\\quot\\width: 120px; height: 139px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Customer Support - Restart Aspect</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is On</span><br>Report Status: always<br>Report To: getToken(\\quot\\AspectServerHashID\\quot\\)<br>Name Params: </div></div><div id=\\quot\\chart96843\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart303259\\quot\\ agentchildnonode=\\quot\\chart76420\\quot\\ style=\\quot\\position: absolute; top: 213px; left: 883px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is CustomerID defined?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart76420\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 213px; left: 1073px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart67055\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart661741\\quot\\ agentchildnonode=\\quot\\chart255500\\quot\\ style=\\quot\\position: absolute; top: 441px; left: 894px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is the computer available<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart255500\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 441px; left: 1084px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\97\\quot\\ style=\\quot\\width: 120px; height: 97px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Computer not available<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart727520\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart831277\\quot\\ style=\\quot\\position: absolute; top: 346px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Delete remaining documents<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart574611\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart727520\\quot\\ agentchildnonode=\\quot\\chart165857\\quot\\ style=\\quot\\position: absolute; top: 204px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\90\\quot\\ style=\\quot\\width: 150px; height: 90px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Does the resume_clear_cache.txt file exist?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart165857\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart381401\\quot\\ style=\\quot\\position: absolute; top: 204px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Clear cached documents<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>clearCachedDocumentsWithRestart<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart537883\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 756px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Success<hr><span style=\\quot\\color:black\\quot\\>Other</span></div></div><div id=\\quot\\chart381401\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart781536\\quot\\ agentchildnonode=\\quot\\chart38044\\quot\\ style=\\quot\\position: absolute; top: 338px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>All documents cleared?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart341299\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 658px; left: 540px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Success<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart781536\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart80802\\quot\\ agentchildnonode=\\quot\\chart476231\\quot\\ style=\\quot\\position: absolute; top: 454px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Is ForceRestart set to true?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart476231\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 454px; left: 380px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Success<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart80802\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart537883\\quot\\ style=\\quot\\position: absolute; top: 583px; left: 190px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\121\\quot\\ style=\\quot\\width: 150px; height: 121px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Execute the agent to restart Aspect (Note the widget has 2 spaces before Sub)<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart733122\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart341299\\quot\\ style=\\quot\\position: absolute; top: 485px; left: 540px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\121\\quot\\ style=\\quot\\width: 150px; height: 121px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Execute the agent to restart Aspect (Note the widget has 2 spaces before Sub)<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart38044\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart733122\\quot\\ style=\\quot\\position: absolute; top: 338px; left: 540px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Create file named resume_clear_cache.txt<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td></td></tr></tbody></table></div></div><div id=\\quot\\chart303259\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 329px; left: 883px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\46\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div><div id=\\quot\\chart831277\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 493px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart661741\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 557px; left: 894px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\46\\quot\\ style=\\quot\\width: 120px; height: 46px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><span style=\\quot\\color:black\\quot\\>Other</span></div></div>^
ID=96843|X=1034|Y=254|W=149|H=63|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=303259|AgentChildNoNode=76420|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=defined(\\quot\\__CustomerID__\\quot\\)|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Is CustomerID defined?|AgentNodeTermType=|^
ID=76420|X=1224|Y=254|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~equals~~backslash~~~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: Missing CustomerID~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=67055|X=1045|Y=482|W=149|H=63|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=661741|AgentChildNoNode=255500|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~equals~~backslash~~startsWith(fileGetContent(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~http://192.169.215.186:4446/?Network~~backslash~~equals~~backslash~~Aspect_Support~~backslash~~~~backslash~~amp~~backslash~~~~backslash~~ID~~backslash~~equals~~backslash~~isDirectSocketConnected2~~backslash~~~~backslash~~amp~~backslash~~~~backslash~~CustomerID~~backslash~~equals~~backslash~~__CustomerID__~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Opened~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Is the computer available|AgentNodeTermType=|^
ID=255500|X=1235|Y=482|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~equals~~backslash~~getSensorValue(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~RestartAspectComputerNotAvailable~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~CustomerID~~backslash~~equals~~backslash~~__CustomerID__~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Computer not available|AgentNodeTermType=1|^
ID=727520|X=151|Y=387|W=149|H=94|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=831277|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=execAgentAction(clearCachedDocumentsWithRestart//comma//\\quot\\\\quot\\)|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Delete remaining documents|AgentNodeTermType=|^
ID=574611|X=151|Y=245|W=149|H=89|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=727520|AgentChildNoNode=165857|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=fileExists(getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~temporary_files~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//plus//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~resume_clear_cache.txt~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Does the resume_clear_cache.txt file exist?|AgentNodeTermType=|^
ID=165857|X=341|Y=245|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=381401|AgentChildNoNode=|AgentSensor=|AgentAction=clearCachedDocumentsWithRestart|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Clear cached documents|AgentNodeTermType=|^
ID=537883|X=341|Y=797|W=119|H=47|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Ok: Cached documents have been cleared and Aspect has been restarted: ~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//plus//Result|AgentNodeActionReturnValue=|AgentNodeComment=Success|AgentNodeTermType=|^
ID=381401|X=341|Y=379|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=781536|AgentChildNoNode=38044|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=startsWith(Result//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=All documents cleared?|AgentNodeTermType=|^
ID=341299|X=691|Y=699|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: Could not clear all documents.  Aspect is restarting to clear the remaining documents: ~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//plus//Result|AgentNodeActionReturnValue=|AgentNodeComment=Success|AgentNodeTermType=0|^
ID=781536|X=341|Y=495|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=80802|AgentChildNoNode=476231|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(boolean(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~__ForceRestart__~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)) or (pos(getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Aspect_BackOffice_Pref_CompanyPollingID~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~JnNg7N1iUXigauKloRjCEeNP~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)>~~backslash~~equals~~backslash~~0)|AgentNodeActionReturnValue=|AgentNodeComment=Is ForceRestart set to true?|AgentNodeTermType=|^
ID=476231|X=531|Y=495|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Ok: Cached documents have been cleared~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Success|AgentNodeTermType=0|^
ID=80802|X=341|Y=624|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=537883|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\//comma//\\quot\\Customer Support - Restart Aspect  Sub\\quot\\//comma//\\quot\\Delay~~backslash~~equals~~backslash~~10\\quot\\//comma//getToken(\\quot\\AspectHashID\\quot\\)//comma//false)|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Execute the agent to restart Aspect (Note the widget has 2 spaces before Sub)|AgentNodeTermType=|^
ID=733122|X=691|Y=526|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=341299|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\//comma//\\quot\\Customer Support - Restart Aspect  Sub\\quot\\//comma//\\quot\\Delay~~backslash~~equals~~backslash~~10\\quot\\//comma//getToken(\\quot\\AspectHashID\\quot\\)//comma//false)|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Execute the agent to restart Aspect (Note the widget has 2 spaces before Sub)|AgentNodeTermType=|^
ID=38044|X=691|Y=379|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=733122|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=fileWriteContent(getToken(\\quot\\homedir\\quot\\)//plus//\\quot\\temporary_files~~backslash~~resume_clear_cache.txt\\quot\\//comma//\\quot\\true\\quot\\)|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Create file named resume_clear_cache.txt|AgentNodeTermType=|^
ID=303259|X=1034|Y=370|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=831277|X=151|Y=534|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Restarted and cleared remaining cache documents~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=661741|X=1045|Y=598|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|
</widget><widget name="Customer Support - Restart Aspect  Sub" group="Customer Support" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Customer Support - Restart Aspect  Sub" modified="04-27-2024 22:53:24" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=true ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=04-21-2024 02:18:30:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=53|toolboxy=310|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Customer Support - Restart Aspect  Sub.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'656310')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'716555')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=656310|X=1500|Y=26|W=949|H=773|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=26|W=949|H=773|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=26|W=949|H=773|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect  Sub.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=1500|Y=26|W=949|H=773|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect  Sub.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=1500|Y=26|W=949|H=773|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=716555|X=1500|Y=26|W=949|H=773|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=979018|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=always|AgentReportTo=getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~AspectServerHashID~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|^
ID=839827|X=183|Y=616|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~equals~~backslash~~Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Customer Support - Restart Aspect  Sub\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect  Sub\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 02-21-2024 19:40:26//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect  Sub\\comma\\AgentAction\\comma\\979018\\comma\\0\\comma\\Delay//crlf////crlf////tab////tab////Delay//crlf////tab////tab//scriptSleep(value(\\quot\\__Delay__\\quot\\)*1000)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect  Sub\\comma\\AgentAction\\comma\\749776\\comma\\0\\comma\\Restart//crlf////crlf////tab////tab////Restart//crlf////tab////tab//Result=execAgentAction(\\quot\\hardRestart\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////Success?//crlf////tab////tab//if((boolean(Result)) or (startsWith(Result\\comma\\\\quot\\Ok\\quot\\)))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect  Sub\\comma\\AgentTerminate\\comma\\839827\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect  Sub\\quot\\\\comma\\\\quot\\839827\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\=Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(=Result)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect  Sub\\comma\\AgentTerminate\\comma\\162644\\comma\\1\\comma\\Error//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect  Sub\\quot\\\\comma\\\\quot\\162644\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\=\\quot\\Error: Could not restart: \\quot\\\\plus\\Result\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(=\\quot\\Error: Could not restart: \\quot\\\\plus\\Result)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;02212024//amp//nbsp;194026//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Restart//amp//nbsp;Aspect//amp//nbsp;//amp//nbsp;Sub\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;02-21-2024//amp//nbsp;19:40:26</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Delay</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSleep</span>(<span class='keyword'>value</span>(\\quot\\__Delay__\\quot\\)*1000)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Restart</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\hardRestart\\quot\\\\comma\\\\quot\\\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Success?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span>(<span class='keyword'>boolean</span>(Result))//amp//nbsp;or//amp//nbsp;(<span class='keyword'>startsWith</span>(Result\\comma\\\\quot\\Ok\\quot\\)))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Restart//amp//nbsp;Aspect//amp//nbsp;//amp//nbsp;Sub\\quot\\\\comma\\\\quot\\839827\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\=Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(=Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Restart//amp//nbsp;Aspect//amp//nbsp;//amp//nbsp;Sub\\quot\\\\comma\\\\quot\\162644\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\=\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;restart://amp//nbsp;\\quot\\\\plus\\Result\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(=\\quot\\Error://amp//nbsp;Could//amp//nbsp;not//amp//nbsp;restart://amp//nbsp;\\quot\\\\plus\\Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>02212024 194026</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart979018\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\152\\quot\\ style=\\quot\\width: 120px; height: 152px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Customer Support - Restart Aspect  Sub</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: always<br>Report To: getToken(\\quot\\AspectServerHashID\\quot\\)<br>Name Params: </div></div><div id=\\quot\\chart839827\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 575px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart979018\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart749776\\quot\\ style=\\quot\\position: absolute; top: 191px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\82\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Delay<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td></td></tr></tbody></table></div></div><div id=\\quot\\chart749776\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart708507\\quot\\ style=\\quot\\position: absolute; top: 325px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\82\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Restart<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart708507\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart839827\\quot\\ agentchildnonode=\\quot\\chart162644\\quot\\ style=\\quot\\position: absolute; top: 459px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Success?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart162644\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 459px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=979018|X=183|Y=232|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=749776|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=scriptSleep(value(\\quot\\__Delay__\\quot\\)*1000)|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Delay|AgentNodeTermType=|^
ID=749776|X=183|Y=366|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=708507|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=execAgentAction(\\quot\\hardRestart\\quot\\//comma//\\quot\\\\quot\\)|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Restart|AgentNodeTermType=|^
ID=708507|X=183|Y=500|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=839827|AgentChildNoNode=162644|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=(boolean(Result)) or (startsWith(Result//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Ok~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~))|AgentNodeActionReturnValue=|AgentNodeComment=Success?|AgentNodeTermType=|^
ID=162644|X=373|Y=500|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=~~backslash~~equals~~backslash~~~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error: Could not restart: ~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//plus//Result|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|
</widget><widget name="Customer Support - Restart Aspect Resume" group="Customer Support" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Customer Support - Restart Aspect Resume" modified="04-27-2024 22:54:47" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=false ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=02-21-2024 22:15:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=1 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(not(getToken(\\quote\\AspectRestartComplete\\quote\\)=true)) and (fileExists(getToken(\\quote\\temporary_files\\quote\\)+\\quote\\resume_clear_cache\\quote\\)) and (getToken(\\quote\\AspectHashID\\quote\\)=\\quote\\z6p4izlyg\\quote\\)" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=54|toolboxy=332|aspectfuncx=50|aspectfuncy=50|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=null|aspectfuncVisible=false|PublishFtpFilename=Customer Support - Restart Aspect Resume.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=894|H=764|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class=\\apos\\tabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\376638\\apos\\)\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\AspectScript\\apos\\)\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\sensor_list\\apos\\)\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\action_list\\apos\\)\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\debug_console\\apos\\)\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\593357\\apos\\)\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=376638|X=1500|Y=26|W=894|H=764|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=26|W=894|H=764|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=26|W=894|H=764|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect Resume.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=1500|Y=26|W=894|H=764|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect Resume.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=1500|Y=26|W=894|H=764|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=593357|X=1500|Y=26|W=894|H=764|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=89453|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=never|^
ID=413073|X=183|Y=526|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Customer Support - Restart Aspect Resume\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect Resume\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 02-21-2024 22:24:38//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (false))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect Resume\\comma\\AgentAction\\comma\\89453\\comma\\0\\comma\\Clear leftover cached documents//crlf////crlf////tab////tab////Clear leftover cached documents//crlf////tab////tab//Result=execAgentAction(\\quot\\clearCachedDocumentsWithRestart\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect Resume\\comma\\AgentAction\\comma\\196447\\comma\\0\\comma\\Set a token indicating the restart is complete.//crlf////crlf////tab////tab////Set a token indicating the restart is complete.//crlf////tab////tab//setToken(\\quot\\AspectRestartComplete\\quot\\\\comma\\true)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Restart Aspect Resume\\comma\\AgentTerminate\\comma\\413073\\comma\\0\\comma\\Ok//crlf////tab////tab//scriptSetResult(Result)//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;02212024//amp//nbsp;222438//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Restart//amp//nbsp;Aspect//amp//nbsp;Resume\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;02-21-2024//amp//nbsp;22:24:38</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(false))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Clear//amp//nbsp;leftover//amp//nbsp;cached//amp//nbsp;documents</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\clearCachedDocumentsWithRestart\\quot\\\\comma\\\\quot\\\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Set//amp//nbsp;a//amp//nbsp;token//amp//nbsp;indicating//amp//nbsp;the//amp//nbsp;restart//amp//nbsp;is//amp//nbsp;complete.</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>setToken</span>(\\quot\\AspectRestartComplete\\quot\\\\comma\\true)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>02212024 222438</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart89453\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\126\\quot\\ style=\\quot\\width: 120px; height: 126px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Customer Support - Restart Aspect Resume</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: never<br>Report To: <br>Name Params: </div></div><div id=\\quot\\chart413073\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 485px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart89453\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart196447\\quot\\ style=\\quot\\position: absolute; top: 191px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Clear leftover cached documents<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart196447\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart413073\\quot\\ style=\\quot\\position: absolute; top: 338px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\108\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Set a token indicating the restart is complete.<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td></td></tr></tbody></table></div></div>^
ID=89453|X=183|Y=232|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=196447|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=execAgentAction(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~clearCachedDocumentsWithRestart~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Clear leftover cached documents|AgentNodeTermType=|^
ID=308767|X=691|Y=127|W=392|H=155|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<p>This agent is called after Aspect restarts to delete any documents that could not be deleted before //crlf//the restart.</p>//crlf////crlf//<p>The AspectRestartComplete is set to true as a double-check to make sure the agent is not called //crlf//again if for some reason the resume_clear_cache.txt file cannot be deleted.<o>^
ID=196447|X=183|Y=379|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=413073|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=setToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~AspectRestartComplete~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma//true)|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=Set a token indicating the restart is complete.|AgentNodeTermType=|
</widget><widget name="Mike Jones - Local" group="Customer Support" category="" description="Ensures that salesexport files for month end are updated to include any adjustments to the physical inventory count." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Mike Jones - Local" modified="04-06-2025 20:12:40" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=02-22-2024 23:30:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=1 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(hour(now())\\gt\\4) and (getToken(\\quote\\Aspect_BackOffice_Pref_CompanyPollingID\\quote\\)=\\quote\\PD7DCNDbGowgU3zchFKxzHTH\\quote\\) and (len(getToken(\\quote\\POSInterface_PosType\\quote\\))\\gt\\0) and (getToken(\\quote\\POSInterface_PosType\\quote\\)\\lt\\\\gt\\\\quote\\Undefined\\quote\\)" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=56|toolboxy=413|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Mike Jones - Local.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=25|H=24|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=550716|X=342|Y=459|W=625|H=227|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<p>9/29/2024 - Added the identifyNonCashTendersMJ action which identifies selected tenders ad //crlf////tab//non-cash tenders which affects their placement on the cash reconciliation.</p>//crlf////crlf//<p>This agent runs at the store to make sure that SalesExport files for month end are updated to //crlf//include any adjustments to the physical inventory count.</p>//crlf////crlf//<p>The updateEndOfMonthSalesExport action was created initially to //crlf//make sure the salesexport file was up to date.  It was modified 8/28/24 //crlf//to also check for changes to an invoice_detail* file.  This routine is //crlf//now followed by the validateEndingInventoryReporting which does some of the same //crlf//work but the updateEndOfMonthSalesExport action also checks for changes in //crlf//invoices which can affect the ending inventory due to a price change.</p>//crlf////crlf//<p>The validateEndingInventoryReporting checks the ending inventory value in the //crlf//month end inventory_summary file against the value in the salesexport file.  If //crlf//these values match\\comma\\ it checks them against the value in the salesexport file //crlf//at the office.</p>^
ID=code|X=300|Y=100|W=1198|H=775|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'598732')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'290595')\\quot\\>B2B Thread</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'608924')\\quot\\>Shortcut</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'466264')\\quot\\>Validate EndInv</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'457372')\\quot\\>Master - Jesse Aug 2024</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=598732|X=300|Y=126|W=1198|H=775|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=300|Y=126|W=1198|H=775|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=300|Y=126|W=1198|H=775|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones - Local.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Mike Jones - Local\\comma\\getEndingDollarsFromSalesExport\\comma\\sensor_list\\comma\\Sensor=getEndingDollarsFromSalesExport\\comma\\private\\comma\\text//crlf////tab//Mike Jones - Local\\comma\\getEndingDollarsFromDailyInventorySummary\\comma\\sensor_list\\comma\\Sensor=getEndingDollarsFromDailyInventorySummary\\comma\\private\\comma\\text//crlf////tab//Mike Jones - Local\\comma\\getConversionStatusAug2024\\comma\\sensor_list\\comma\\Sensor=getConversionStatusAug2024\\comma\\private\\comma\\text//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//getEndingDollarsFromSalesExport//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getEndingDollarsFromSalesExport\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Gets the ending dollars on hand for food and bar from the daily sales export//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - MM-dd-yyyy//crlf////tab////tab//Filename - Optional.  If defined\\comma\\ overrides date.  This is used to read from c:\aspect7\data\...//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Comma-delimited array in the form \\quot\\Ok or Error\\comma\\Food Ending Dollars\\comma\\Bar Ending Dollars\\quot\\//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getEndingDollarsFromSalesExport\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////open the daily sales export driver.//crlf////tab////tab////tab//if(defined(\\quot\\__Filename__\\quot\\))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Filename=__Filename__\\quot\\)//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_Daily_Sales_Export_by_Filename_No_Depend\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\FileName=__Filename__\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab////get the StoreID//crlf////tab////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab////tab//if(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))//crlf////tab////tab////tab////tab////tab//sStoreID=\\quot\\OYhiZzyqhibh9rG7DS7OMYDy\\quot\\//crlf////tab////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////tab//driverOpen(POS_Generic_Daily_Sales_Export\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\Date=__Date__~~pipe~~StoreID=\\quot\\+sStoreID)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////filter the driver//crlf////tab////tab////tab////driverSetFilter(d\\comma\\\\quot\\(Category1=\\quot\\+quote(\\quot\\Ttl Food\\quot\\)+\\quot\\) or (Category1=\\quot\\+quote(\\quot\\Ttl Bar\\quot\\)+\\quot\\)\\quot\\\\comma\\true)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\(Record_Type=\\quot\\+quote(\\quot\\6537\\quot\\)+\\quot\\)\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//dFood=0//crlf////tab////tab////tab//dBar=0//crlf////tab////tab////tab//c=driverGetRecordCount(d)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sName=driverGetField(d\\comma\\\\quot\\Category1\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dEndingDollars=driverGetField(d\\comma\\\\quot\\Amount\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(sName=\\quot\\Ttl Food\\quot\\)//crlf////tab////tab////tab////tab////tab//dFood=dFood+dEndingDollars//crlf////tab////tab////tab////tab//elseif(sName=\\quot\\Ttl Bar\\quot\\)//crlf////tab////tab////tab////tab////tab//dBar=dBar+dEndingDollars//crlf////tab////tab////tab////tab//elseif(sName=\\quot\\Total Beer\\quot\\)//crlf////tab////tab////tab////tab////tab//dBar=dBar+dEndingDollars//crlf////tab////tab////tab////tab//elseif(sName=\\quot\\Total Beverages\\quot\\)//crlf////tab////tab////tab////tab////tab//dBar=dBar+dEndingDollars//crlf////tab////tab////tab////tab//elseif(sName=\\quot\\Total Liquor\\quot\\)//crlf////tab////tab////tab////tab////tab//dBar=dBar+dEndingDollars//crlf////tab////tab////tab////tab//elseif(sName=\\quot\\Total Wine\\quot\\)//crlf////tab////tab////tab////tab////tab//dBar=dBar+dEndingDollars//crlf////tab////tab////tab////tab//elseif(sName=\\quot\\TOTAL FOOD\\quot\\)//crlf////tab////tab////tab////tab////tab//dFood=dFood+dEndingDollars//crlf////tab////tab////tab////tab//elseif(sName=\\quot\\BAR\\quot\\)//crlf////tab////tab////tab////tab////tab//dBar=dBar+dEndingDollars//crlf////tab////tab////tab////tab//elseif(sName=\\quot\\FOOD\\quot\\)//crlf////tab////tab////tab////tab////tab//dFood=dFood+dEndingDollars//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\comma\\\\quot\\+round(dFood*100)/100+\\quot\\\\comma\\\\quot\\+round(dBar*100)/100)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//[!------------------------------------------------------------------------//crlf//getEndingDollarsFromDailyInventorySummary//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getEndingDollarsFromDailyInventorySummary\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Gets the ending dollars on hand for food and bar from the daily inventory summary//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - MM-dd-yyyy//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Comma-delimited array in the form \\quot\\Ok or Error\\comma\\Food Ending Dollars\\comma\\Bar Ending Dollars\\quot\\//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getEndingDollarsFromDailyInventorySummary\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////crlf////tab////tab////tab////get the StoreID//crlf////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//if(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))//crlf////tab////tab////tab////tab//sStoreID=\\quot\\OYhiZzyqhibh9rG7DS7OMYDy\\quot\\//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////open the daily inventory summary driver.//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Daily_Inventory_Summary\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\Date=__Date__~~pipe~~StoreID=\\quot\\+sStoreID)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\true\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//dFood=0//crlf////tab////tab////tab//dBar=0//crlf////tab////tab////tab//c=driverGetRecordCount(d)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sName=driverGetField(d\\comma\\\\quot\\Inventory_Item_Top_Group_Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//dEndingDollars=driverGetField(d\\comma\\\\quot\\Ending_Dollars_On_Hand\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(sName=\\quot\\Ttl Food\\quot\\)//crlf////tab////tab////tab////tab////tab//dFood=dFood+dEndingDollars//crlf////tab////tab////tab////tab//elseif(sName=\\quot\\Ttl Bar\\quot\\)//crlf////tab////tab////tab////tab////tab//dBar=dBar+dEndingDollars//crlf////tab////tab////tab////tab//elseif(sName=\\quot\\Total Beer\\quot\\)//crlf////tab////tab////tab////tab////tab//dBar=dBar+dEndingDollars//crlf////tab////tab////tab////tab//elseif(sName=\\quot\\Total Beverages\\quot\\)//crlf////tab////tab////tab////tab////tab//dBar=dBar+dEndingDollars//crlf////tab////tab////tab////tab//elseif(sName=\\quot\\Total Liquor\\quot\\)//crlf////tab////tab////tab////tab////tab//dBar=dBar+dEndingDollars//crlf////tab////tab////tab////tab//elseif(sName=\\quot\\Total Wine\\quot\\)//crlf////tab////tab////tab////tab////tab//dBar=dBar+dEndingDollars//crlf////tab////tab////tab////tab//elseif(sName=\\quot\\TOTAL FOOD\\quot\\)//crlf////tab////tab////tab////tab////tab//dFood=dFood+dEndingDollars//crlf////tab////tab////tab////tab//elseif(sName=\\quot\\BAR\\quot\\)//crlf////tab////tab////tab////tab////tab//dBar=dBar+dEndingDollars//crlf////tab////tab////tab////tab//elseif(sName=\\quot\\FOOD\\quot\\)//crlf////tab////tab////tab////tab////tab//dFood=dFood+dEndingDollars//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////crlf////tab////tab////tab//return(\\quot\\ok\\comma\\\\quot\\+round(dFood*100)/100+\\quot\\\\comma\\\\quot\\+round(dBar*100)/100)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//getConversionStatusAug2024//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getConversionStatusAug2024\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//This sensor was created Aug 2024 to track the conversion of Jesse's stores to a new master //crlf////tab////tab//inventory.  It checks on various states of progress.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Information about the status//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getConversionStatusAug2024\\quot\\; commands:\\quot\\//crlf////tab////crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////crlf////tab////tab////tab//sStoreDir=addDirSlash(getToken(\\quot\\POSInterface_StoreDir\\quot\\))//crlf////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//sStoreName=lookup(Aspect_BackOffice_Company_List\\comma\\gettoken(\\quot\\aspecthashid\\quot\\))//crlf////crlf////tab////tab////tab//if(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))//crlf////tab////tab////tab////tab//sStoreDir=\\quot\\c:\aspect7\store1\\\quot\\//crlf////tab////tab////tab////tab//sStoreID=\\quot\\x4YrJJ72EVNZixMrwsI86iwn\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if StoreID is invalid//crlf////tab////tab////tab//if((len(sStoreID)=0) or (sStoreID=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid StoreID: \\quot\\+sStoreID)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////has inventory count been exported//crlf////tab////tab////tab//if(fileSize(sStoreDir+\\quot\\month_end_count_07312024.csv\\quot\\)>0)//crlf////tab////tab////tab////tab//sResult=addElement(sResult\\comma\\\\quot\\Export Count:true\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=addElement(sResult\\comma\\\\quot\\Export Count:false\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////has EDI info been exported//crlf////tab////tab////tab//if(fileSize(sStoreDir+\\quot\\vendor_edi_info.csv\\quot\\)>0)//crlf////tab////tab////tab////tab//sResult=addElement(sResult\\comma\\\\quot\\Backup EDI:true\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=addElement(sResult\\comma\\\\quot\\Backup EDI:false\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////have inventory files been backed up//crlf////tab////tab////tab//if(fileSize(sStoreDir+\\quot\\Inventory2024\item.bin\\quot\\)>0)//crlf////tab////tab////tab////tab//sResult=addElement(sResult\\comma\\\\quot\\Inventory Backup:true\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=addElement(sResult\\comma\\\\quot\\Inventory Backup:false\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////has the inventory synch been enabled//crlf////tab////tab////tab//driverOpen(Aspect_File_Set_Synch\\comma\\dFileSetSynch\\comma\\READ)//crlf////tab////tab////tab//r=driverFindRecordAbsolute(dFileSetSynch\\comma\\0\\comma\\\\quot\\File_Set_Name=\\quot\\+quote(\\quot\\Inventory Synch\\quot\\))//crlf////tab////tab////tab//driverClose(dFileSetSynch)//crlf////tab////tab////tab//if(r>=0)//crlf////tab////tab////tab////tab//sResult=addElement(sResult\\comma\\\\quot\\SynchEnabled:true\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=addElement(sResult\\comma\\\\quot\\SynchEnabled:false\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////have files been retrieved from the master//crlf////tab////tab////tab//if(fileExists(\\quot\\c:\aspect7\inventory_synch\item.bin\\quot\\))//crlf////tab////tab////tab////tab//sResult=addElement(sResult\\comma\\\\quot\\Synch Files Exist:true\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=addElement(sResult\\comma\\\\quot\\Synch Files Exist:false\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=action_list|X=300|Y=126|W=1198|H=775|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones - Local.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Mike Jones - Local\\comma\\adjustForECommDeliveryFees\\comma\\action_list\\comma\\Action=adjustForECommDeliveryFees\\comma\\private//crlf////tab//Mike Jones - Local\\comma\\restoreSalesStructure092024\\comma\\action_list\\comma\\Action=restoreSalesStructure092024\\comma\\private//crlf////tab//Mike Jones - Local\\comma\\adjustForATODelvDriverFees\\comma\\action_list\\comma\\Action=adjustForATODelvDriverFees\\comma\\private//crlf////tab//Mike Jones - Local\\comma\\identifyNonCashTendersMJ\\comma\\action_list\\comma\\Action=identifyNonCashTendersMJ\\comma\\private//crlf////tab//Mike Jones - Local\\comma\\createDesktopShortcutMJ\\comma\\action_list\\comma\\Action=createDesktopShortcutMJ\\comma\\private//crlf////tab//Mike Jones - Local\\comma\\validateEndingInventoryReporting\\comma\\action_list\\comma\\Action=validateEndingInventoryReporting\\comma\\private//crlf////tab//Mike Jones - Local\\comma\\enableInventorySynchMJ\\comma\\action_list\\comma\\Action=enableInventorySynchMJ\\comma\\private//crlf////tab//Mike Jones - Local\\comma\\clearExistingInventoryFilesMJ\\comma\\action_list\\comma\\Action=clearExistingInventoryFilesMJ\\comma\\private//crlf////tab//Mike Jones - Local\\comma\\restoreVendorEDIInfoMJ\\comma\\action_list\\comma\\Action=restoreVendorEDIInfoMJ\\comma\\private//crlf////tab//Mike Jones - Local\\comma\\exportVendorEDIInfoMJ\\comma\\action_list\\comma\\Action=exportVendorEDIInfoMJ\\comma\\private//crlf////tab//Mike Jones - Local\\comma\\exportInventoryCountMJ\\comma\\action_list\\comma\\Action=exportInventoryCountMJ\\comma\\private//crlf////tab//Mike Jones - Local\\comma\\updateEndOfMonthSalesExport\\comma\\action_list\\comma\\Action=updateEndOfMonthSalesExport\\comma\\private//crlf////tab//Mike Jones - Local\\comma\\enableSalesRecordSubtotals\\comma\\action_list\\comma\\Action=enableSalesRecordSubtotals\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//adjustForECommDeliveryFees//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\adjustForECommDeliveryFees\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//4/4/25 - Adds cash adjust field for new EComm Loyalty Delivery Fee//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\adjustForECommDeliveryFees\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if not test store//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)<>\\quot\\wmz2zkvtl\\quot\\)//crlf////tab////tab////tab////tab////tab//return(\\quot\\Error: HashID is not the test store\\quot\\) //crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if customsalesfields.bin doesn\\apos\\t exist//crlf////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\store1~~backslash~~customsalesfields.bin\\quot\\//crlf////tab////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: File does not exist: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the date is past 04/15/2025.  This is done so that future edits to the sales //crlf////tab////tab////tab////structure are no overwritten//crlf////tab////tab////tab//if(true)//crlf////tab////tab////tab////tab//dt=parseTime(\\quot\\04-15-2025\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//if(now()>dt)//crlf////tab////tab////tab////tab////tab//return(\\quot\\Ok: Aborted because date is past \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////backup the file //crlf////tab////tab////tab//sBackup=fileDrive(sFilename)\\plus\\fileDir(sFilename)\\plus\\fileName(sFilename)\\plus\\\\quot\\.20250405\\quot\\//crlf////tab////tab////tab//if(not(fileExists(sBackup)))//crlf////tab////tab////tab////tab//fileCopy(sFilename\\comma\\sBackup)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Created backup: \\quot\\\\plus\\sBackup)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Backup already exists\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverOpen(POS_Generic_User_Defined_Daily_Sales_Struct\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sFilename)//crlf////crlf////tab////tab////tab////add the loyalty field in cash adjust//crlf////tab////tab////tab//bAddLoyalty=false//crlf////tab////tab////tab//r=driverFindRecordAbsolute(d\\comma\\0\\comma\\\\quot\\FieldID=\\quot\\\\plus\\quote(\\quot\\Loyalty\\quot\\))//crlf////tab////tab////tab//if(r<0)//crlf////tab////tab////tab////tab//r=driverAddNewRecord(d)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Description\\quot\\\\comma\\r\\comma\\\\quot\\- Loyalty\\quot\\)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\FieldID\\quot\\\\comma\\r\\comma\\\\quot\\Loyalty\\quot\\)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Sort_Order\\quot\\\\comma\\r\\comma\\2)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Tags\\quot\\\\comma\\r\\comma\\\\quot\\Cash Adjust\\quot\\)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\IsCalculated\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab////tab//s=\\quot\\-lookup(POS_Aloha_GndSale_Amount_by_TypeID\\comma\\798\\comma\\16\\comma\\~~pipe~~dir=c:~~backslash~~aspect7~~backslash~~posdata~~backslash~~aloha~~backslash~~~~pipe~~_plus_formatDate(date(DateNumber)\\comma\\~~pipe~~yyyyMMdd~~pipe~~)_plus_~~pipe~~~~backslash~~~~pipe~~)\\quot\\//crlf////tab////tab////tab////tab//s=replaceSubstring(replaceSubstring(s\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\char(0x22))\\comma\\\\quot\\_plus_\\quot\\\\comma\\char(0x2B))//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Aspect_Structures_IsFormula\\quot\\\\comma\\r\\comma\\s\\comma\\\\quot\\AddEquals\\quot\\)//crlf////tab////tab////tab////tab//bAddLoyalty=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//bUpdateCashAdjust=false//crlf////tab////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFieldID=driverGetFieldAbsolute(d\\comma\\\\quot\\FieldID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sFormula=driverGetFieldAbsolute(d\\comma\\\\quot\\Aspect_Structures_IsFormula\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//if(sFieldID=\\quot\\TotalCashAdjust\\quot\\)//crlf////tab////tab////tab////tab////tab//s=\\quot\\~~pipe~~Paid In~~pipe~~-~~pipe~~Paid Out~~pipe~~-~~pipe~~Field38_0~~pipe~~_plus_~~pipe~~Field37_0~~pipe~~_plus_Loyalty\\quot\\//crlf////tab////tab////tab////tab////tab//s=replaceSubstring(replaceSubstring(s\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\char(0x22))\\comma\\\\quot\\_plus_\\quot\\\\comma\\char(0x2B))//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Aspect_Structures_IsFormula\\quot\\\\comma\\n\\comma\\s\\comma\\\\quot\\AddEquals\\quot\\)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Sort_Order\\quot\\\\comma\\n\\comma\\3)//crlf////tab////tab////tab////tab////tab//bUpdateCashAdjust=true//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//return(\\quot\\Ok: Updated Loyalty: \\quot\\\\plus\\bAddLoyalty\\plus\\\\quot\\ CashAdjust: \\quot\\\\plus\\bUpdateCashAdjust)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//restoreSalesStructure092024//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\restoreSalesStructure092024\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Restores the custom sales structure backed up by adjustForATODelvDriverFees.  This is in case //crlf////tab////tab//it\\apos\\s necessary to undo the changes//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\restoreSalesStructure092024\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\store1~~backslash~~customsalesfields.bin\\quot\\//crlf////tab////tab////tab//sBackup=fileDrive(sFilename)\\plus\\fileDir(sFilename)\\plus\\fileName(sFilename)\\plus\\\\quot\\.20240929\\quot\\//crlf////crlf////tab////tab////tab////abort if the backup doesn\\apos\\t exist//crlf////tab////tab////tab//if(not(fileExists(sBackup)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Backup does not exist: \\quot\\\\plus\\sBackup)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//fileCopy(sBackup\\comma\\sFilename)//crlf////tab////tab////tab//return(\\quot\\Ok: Backup restored: \\quot\\\\plus\\sBackup)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//adjustForATODelvDriverFees//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\adjustForATODelvDriverFees\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Modifies calculations for DepositDue and DeliveryFees in the sales structure.//crlf////tab////tab//This was done 9/2024 when ATODelvDriverFees was removed as a sales category.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\adjustForATODelvDriverFees\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////abort if not test store//crlf////tab////tab////tab//if(false)//crlf////tab////tab////tab////tab//if(getToken(\\quot\\AspectHashID\\quot\\)<>\\quot\\wmz2zkvtl\\quot\\)//crlf////tab////tab////tab////tab////tab//return(\\quot\\Error: HashID is not the test store\\quot\\) //crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if customsalesfields.bin doesn\\apos\\t exist//crlf////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\store1~~backslash~~customsalesfields.bin\\quot\\//crlf////tab////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: File does not exist: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the date is past 10/15/2024.  This is done so that future edits to the sales //crlf////tab////tab////tab////structure are no overwritten//crlf////tab////tab////tab//if(true)//crlf////tab////tab////tab////tab//dt=parseTime(\\quot\\10-15-2024\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab////tab//if(now()>dt)//crlf////tab////tab////tab////tab////tab//return(\\quot\\Ok: Aborted because date is past \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////backup the file //crlf////tab////tab////tab//sBackup=fileDrive(sFilename)\\plus\\fileDir(sFilename)\\plus\\fileName(sFilename)\\plus\\\\quot\\.20240929\\quot\\//crlf////tab////tab////tab//if(not(fileExists(sBackup)))//crlf////tab////tab////tab////tab//fileCopy(sFilename\\comma\\sBackup)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Created backup: \\quot\\\\plus\\sBackup)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Backup already exists\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//bUpdateDepositDue=false//crlf////tab////tab////tab//bUpdateDeliveryFees=false//crlf////tab////tab////tab//driverOpen(POS_Generic_User_Defined_Daily_Sales_Struct\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sFieldID=driverGetFieldAbsolute(d\\comma\\\\quot\\FieldID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sFormula=driverGetFieldAbsolute(d\\comma\\\\quot\\Aspect_Structures_IsFormula\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab//sNotes=trim(driverGetFieldAbsolute(d\\comma\\\\quot\\Aspect_Structures_DeveloperNotes\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//if(sFieldID=\\quot\\DepositDue\\quot\\)//crlf////tab////tab////tab////tab////tab////save the original formula//crlf////tab////tab////tab////tab////tab//if(len(sNotes)=0)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Aspect_Structures_DeveloperNotes\\quot\\\\comma\\n\\comma\\right(sFormula\\comma\\len(sFormula)-1))//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//s=\\quot\\~~pipe~~Cash Due~~pipe~~_plus_~~pipe~~TotalCashAdjust~~pipe~~_plus_~~pipe~~TakeOutFees~~pipe~~\\quot\\//crlf////tab////tab////tab////tab////tab//s=replaceSubstring(replaceSubstring(s\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\char(0x22))\\comma\\\\quot\\_plus_\\quot\\\\comma\\char(0x2B))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\s=\\quot\\\\plus\\s)//crlf////crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Aspect_Structures_IsFormula\\quot\\\\comma\\n\\comma\\s\\comma\\\\quot\\AddEquals\\quot\\)//crlf////tab////tab////tab////tab////tab//bUpdateDepositDue=true//crlf////tab////tab////tab////tab//elseif(sFieldID=\\quot\\DeliveryFees\\quot\\)//crlf////tab////tab////tab////tab////tab////save the original formula//crlf////tab////tab////tab////tab////tab//if(len(sNotes)=0)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Aspect_Structures_DeveloperNotes\\quot\\\\comma\\n\\comma\\sFormula)//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//s=\\quot\\value(~~pipe~~Total Sales by Department ATO Delv_DriverFees~~pipe~~)-(~~pipe~~RevenueItemComp~~pipe~~)\\plus\\lookup(POS_Aloha_GndItem_Amount_by_Category_Name\\comma\\~~pipe~~ATO Delv_DriverFees~~pipe~~\\comma\\16\\comma\\~~pipe~~dir=c:~~backslash~~aspect7~~backslash~~posdata~~backslash~~aloha~~backslash~~~~pipe~~\\plus\\formatDate(date(DateNumber)\\comma\\~~pipe~~yyyyMMdd~~pipe~~)\\plus\\~~pipe~~~~backslash~~~~pipe~~)\\quot\\//crlf////tab////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\char(0x22))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\s=\\quot\\\\plus\\s)//crlf////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Aspect_Structures_IsFormula\\quot\\\\comma\\n\\comma\\s\\comma\\\\quot\\AddEquals\\quot\\)//crlf////tab////tab////tab////tab////tab//bUpdateDeliveryFees=true//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//return(\\quot\\Ok: Updated DepositDue: \\quot\\\\plus\\bUpdateDepositDue\\plus\\\\quot\\ DeliveryFees: \\quot\\\\plus\\bUpdateDeliveryFees)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//identifyNonCashTendersMJ//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\identifyNonCashTendersMJ\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Sets selected tenders to Non-Cash//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Cancel//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\identifyNonCashTendersMJ\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////abort if tender.bin doesn\\apos\\t exist//crlf////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\store1~~backslash~~tender.bin\\quot\\//crlf////tab////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: File does not exist: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////backup the file //crlf////tab////tab////tab//sBackup=fileDrive(sFilename)\\plus\\fileDir(sFilename)\\plus\\fileName(sFilename)\\plus\\\\quot\\.20240929\\quot\\//crlf////tab////tab////tab//if(not(fileExists(sBackup)))//crlf////tab////tab////tab////tab//fileCopy(sFilename\\comma\\sBackup)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Created backup: \\quot\\\\plus\\sBackup)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Backup already exists\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverOpen(POS_Generic_POS_IDs_Tender\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\filename=\\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//sSearch=\\quot\\uber eats~~pipe~~ubereats~~pipe~~grub hub~~pipe~~grubhub~~pipe~~door dash~~pipe~~doordash~~pipe~~DOORSTEP~~pipe~~DOOR STEP\\quot\\//crlf////crlf////tab////tab////tab//cCount=0//crlf////tab////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sName=driverGetFieldAbsolute(d\\comma\\\\quot\\Name\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////appendToLog(\\quot\\n=\\quot\\\\plus\\n\\plus\\\\quot\\ Name=\\quot\\\\plus\\sName)//crlf////tab////tab////tab////tab//if((len(sName)>0) and (pos(sName\\comma\\sSearch)>=0))//crlf////tab////tab////tab////tab////tab//iTenderType=driverGetFieldAbsolute(d\\comma\\\\quot\\Tender_Type\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//if(iTenderType=5)//crlf////tab////tab////tab////tab////tab////tab//bPlaceholder=false//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Already non-cash tender: \\quot\\\\plus\\sName)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Tender_Type\\quot\\\\comma\\n\\comma\\5)//crlf////tab////tab////tab////tab////tab////tab////appendToLog(\\quot\\Set non-cash tender: \\quot\\\\plus\\sName)//crlf////tab////tab////tab////tab////tab////tab//cCount\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//bPlaceholder=false//crlf////tab////tab////tab////tab////tab////appendToLog(\\quot\\Skipped \\quot\\\\plus\\sName)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//return(\\quot\\Ok: Set \\quot\\\\plus\\cCount\\plus\\\\quot\\ of \\quot\\\\plus\\c\\plus\\\\quot\\ tenders to non-cash\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//[!------------------------------------------------------------------------//crlf//createDesktopShortcutMJ//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\createDesktopShortcutMJ\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Copies the Start Aspect shortcut from Aspect7 to selected desktop directories.  These directories //crlf////tab////tab//were determined using the script in the Shortcut tab.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\createDesktopShortcutMJ\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//arDesktopDir=\\quot\\C:~~backslash~~USERS~~backslash~~MANAGER~~backslash~~DESKTOP\\quot\\//crlf////crlf////tab////tab////tab//cExists=0//crlf////tab////tab////tab//cCreate=0//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//c=getElementCount(arDesktopDir)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sDesktopDir=addDirSlash(getElement(arDesktopDir\\comma\\n))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\DesktopDir=\\quot\\\\plus\\sDesktopDir)//crlf////tab////tab////tab////tab//if(fileExists(sDesktopDir))//crlf////tab////tab////tab////tab////tab//if(fileIsDirectory(sDesktopDir))//crlf////tab////tab////tab////tab////tab////tab//if(fileExists(sDesktopDir\\plus\\\\quot\\Start Aspect.lnk\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Shortcut already exists: \\quot\\\\plus\\sDesktopDir\\plus\\\\quot\\Start Aspect.lnk\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//cExists\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//fileCopy(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\Start Aspect.lnk\\quot\\\\comma\\sDesktopDir)//crlf////tab////tab////tab////tab////tab////tab////tab//if(fileExists(sDesktopDir\\plus\\\\quot\\Start Aspect.lnk\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Created shortcut: \\quot\\\\plus\\sDesktopDir\\plus\\\\quot\\Start Aspect.lnk\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//cCreate\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Could not create shortcut: \\quot\\\\plus\\sDesktopDir\\plus\\\\quot\\Start Aspect.lnk\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab////tab//cError\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//sResult=\\quot\\Ok: \\quot\\//crlf////tab////tab////tab//if(cError>0)//crlf////tab////tab////tab////tab//sResult=\\quot\\Error: \\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//sResult=sResult\\plus\\\\quot\\ Exists: \\quot\\\\plus\\cExists\\plus\\\\quot\\ Create: \\quot\\\\plus\\cCreate\\plus\\\\quot\\ Error: \\quot\\\\plus\\cError//crlf////tab////tab////tab//return(sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//[!------------------------------------------------------------------------//crlf//validateEndingInventoryReporting//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\validateEndingInventoryReporting\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//This action runs at the store and confirms that current ending inventory values have been //crlf////tab////tab//reported to the office.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - Optional MM-dd-yyyy.  If omitted the ending date of the last month will be used//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\validateEndingInventoryReporting\\quot\\; commands:\\quot\\//crlf////tab////tab////crlf////tab////tab////tab////The file ending_inventory_confirmation_MMddyyyy.txt contains information about the status//crlf////tab////tab////tab////of the ending inventory reporting.  The fields are://crlf////tab////tab////tab//////crlf////tab////tab////tab////Date and Time - Date and time of the log entry//crlf////tab////tab////tab////Physical Count CRC - CRC of the physical_inventory_count file//crlf////tab////tab////tab////Daily Inventory Summary CRC - CRC of the daily_inventory_summmary file//crlf////tab////tab////tab////SalesExport CRC - CRC of the SalesExport file//crlf////tab////tab////tab////Daily Inventory Summary EndInv Value - Value of food and bar ending inventory in the daily inventory summary//crlf////tab////tab////tab////SalesExport Ending Value - Value of food and bar ending inventory in the salesexport file at the store//crlf////tab////tab////tab////Office SalesExport Ending Value - Value of food and bar ending inventory in the salesexport file at the office//crlf////crlf////tab////tab////tab////abort if day of month is greater than 7.  This routine is intended to run the first few //crlf////tab////tab////tab////days after the end of the month to make sure that the ending inventory values in the salesexport//crlf////tab////tab////tab////are updated at the office//crlf////tab////tab////tab//if(not(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\))))//crlf////tab////tab////tab////tab//if(day(now())>=7)//crlf////tab////tab////tab////tab////tab//return(\\quot\\Ok: Aborting because day of month is past 7\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the store directory//crlf////tab////tab////tab//sStoreDir=addDirSlash(getToken(\\quot\\POSInterface_StoreDir\\quot\\))//crlf////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//sStoreName=lookup(Aspect_BackOffice_Company_List\\comma\\gettoken(\\quot\\aspecthashid\\quot\\))//crlf////crlf////tab////tab////tab//if(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))//crlf////tab////tab////tab////tab//sStoreDir=\\quot\\C:~~backslash~~aspect7~~backslash~~stores~~backslash~~BWW_Warsaw~~backslash~~\\quot\\//crlf////tab////tab////tab////tab//sStoreID=\\quot\\OYhiZzyqhibh9rG7DS7OMYDy\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\StoreDir: \\quot\\\\plus\\sStoreDir\\plus\\\\quot\\ StoreID: \\quot\\\\plus\\sStoreID)//crlf////crlf////tab////tab////tab////abort if StoreID is invalid//crlf////tab////tab////tab//if((len(sStoreID)=0) or (sStoreID=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid StoreID: \\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the date//crlf////tab////tab////tab//if(defined(\\quot\\__Date__\\quot\\))//crlf////tab////tab////tab////tab//dtMonthEnd=parseTime(\\quot\\__Date__\\quot\\\\comma\\\\quot\\MM-dd-yyyy\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//dtMonthEnd=getMonthEnd(-1\\comma\\now())//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\MonthEnd: \\quot\\\\plus\\dtMonthEnd)//crlf////crlf////tab////tab////tab////get the current file CRC values//crlf////tab////tab////tab//sPhysicalCountCurrentCRC=gfs(sStoreDir\\plus\\\\quot\\physical_count.\\quot\\\\plus\\formatDate(dtMonthEnd\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\)//crlf////tab////tab////tab//sDailyInvSummaryCurrentCRC=gfs(sStoreDir\\plus\\\\quot\\inventory_summary.\\quot\\\\plus\\formatDate(dtMonthEnd\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\)//crlf////tab////tab////tab//sSalesExportCurrentCRC=gfs(sStoreDir\\plus\\\\quot\\salesexport.\\quot\\\\plus\\formatDate(dtMonthEnd\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\)//crlf////crlf////tab////tab////tab////initialize the current ending inventory values//crlf////tab////tab////tab//dDailyInvSummaryCurrentEndInv=0//crlf////tab////tab////tab//dSalesExportCurrentEndInv=0//crlf////tab////tab////tab//dOfficeCurrentEndInv=0//crlf////crlf////tab////tab////tab////read the file to get the last recorded values.  The most recent entry is in the first line//crlf////tab////tab////tab//sResultsFilename=sStoreDir\\plus\\\\quot\\endinvlog.csv\\quot\\//crlf////tab////tab////tab//sContent=trim(fileGetContent(sResultsFilename))//crlf////tab////tab////tab//if(len(sContent)>0)//crlf////tab////tab////tab////tab//sLine=getElement(sContent\\comma\\0\\comma\\char(13))//crlf////tab////tab////tab////tab//sPhysicalCountPrevCRC=getElement(sLine\\comma\\1)//crlf////tab////tab////tab////tab//sDailyInvSummaryPrevCRC=getElement(sLine\\comma\\2)//crlf////tab////tab////tab////tab//sSalesExportPrevCRC=getElement(sLine\\comma\\3)//crlf////tab////tab////tab////tab//dDailyInvSummaryPrevEndInv=value(getElement(sLine\\comma\\4))//crlf////tab////tab////tab////tab//dSalesExportPrevEndInv=value(getElement(sLine\\comma\\5))//crlf////tab////tab////tab////tab//dOfficePrevEndInv=value(getElement(sLine\\comma\\6))//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sPhysicalCountPrevCRC=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//sDailyInvSummaryPrevCRC=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//sSalesExportPrevCRC=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//dDailyInvSummaryPrevEndInv=0//crlf////tab////tab////tab////tab//dSalesExportPrevEndInv=0//crlf////tab////tab////tab////tab//dOfficePrevEndInv=0//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab//appendToLog(\\quot\\Prev CRC: \\quot\\\\plus\\sPhysicalCountPrevCRC\\plus\\\\quot\\ ~~pipe~~ \\quot\\\\plus\\sDailyInvSummaryPrevCRC\\plus\\\\quot\\ ~~pipe~~ \\quot\\\\plus\\sSalesExportPrevCRC)//crlf////tab////tab////tab//appendToLog(\\quot\\Current CRC: \\quot\\\\plus\\sPhysicalCountCurrentCRC\\plus\\\\quot\\ ~~pipe~~ \\quot\\\\plus\\sDailyInvSummaryCurrentCRC\\plus\\\\quot\\ ~~pipe~~ \\quot\\\\plus\\sSalesExportCurrentCRC)//crlf////crlf////tab////tab////tab////if the CRC values have not changed for the physical count\\comma\\ inventory summary and salesexport//crlf////tab////tab////tab////then nothing has changed so set the current values//crlf////tab////tab////tab//if(sPhysicalCountCurrentCRC=sPhysicalCountPrevCRC)//crlf////tab////tab////tab////tab//if(sDailyInvSummaryCurrentCRC=sDailyInvSummaryPrevCRC)//crlf////tab////tab////tab////tab////tab//if(sSalesExportCurrentCRC=sSalesExportPrevCRC)//crlf////tab////tab////tab////tab////tab////tab//dDailyInvSummaryCurrentEndInv=dDailyInvSummaryPrevEndInv//crlf////tab////tab////tab////tab////tab////tab//dSalesExportCurrentEndInv=dSalesExportPrevEndInv//crlf////tab////tab////tab////tab////tab////tab//dOfficeCurrentEndInv=dOfficePrevEndInv//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\No change in CRC\\quot\\)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\PrevEndInv: \\quot\\\\plus\\dDailyInvSummaryPrevEndInv\\plus\\\\quot\\ ~~pipe~~ \\quot\\\\plus\\dSalesExportPrevEndInv\\plus\\\\quot\\ ~~pipe~~ \\quot\\\\plus\\dOfficePrevEndInv)//crlf////tab////tab////tab//appendToLog(\\quot\\Current EndInv: \\quot\\\\plus\\dDailyInvSummaryCurrentEndInv\\plus\\\\quot\\ ~~pipe~~ \\quot\\\\plus\\dSalesExportCurrentEndInv\\plus\\\\quot\\ ~~pipe~~ \\quot\\\\plus\\dOfficeCurrentEndInv)//crlf////crlf////tab////tab////tab////if the three ending inventory values are all equal and non-zero then there is nothing to do//crlf////tab////tab////tab////This means the CRCs haven\\apos\\t changed and the ending numbers calculated last time are still //crlf////tab////tab////tab////up to date.  If the CRCs have changed\\comma\\ the current endinv will be zero since it was not //crlf////tab////tab////tab////initialized from the previous values//crlf////tab////tab////tab//if(dDailyInvSummaryCurrentEndInv=dDailyInvSummaryPrevEndInv)//crlf////tab////tab////tab////tab//if(dSalesExportCurrentEndInv=dSalesExportCurrentEndInv)//crlf////tab////tab////tab////tab////tab//if(dOfficeCurrentEndInv=dOfficePrevEndInv)//crlf////tab////tab////tab////tab////tab////tab//if(dDailyInvSummaryCurrentEndInv * dSalesExportCurrentEndInv * dOfficeCurrentEndInv > 0)//crlf////tab////tab////tab////tab////tab////tab////tab////add to the log//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=\\quot\\\\quot\\//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\sPhysicalCountCurrentCRC)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\sDailyInvSummaryCurrentCRC)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\sSalesExportCurrentCRC)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\dDailyInvSummaryCurrentEndInv)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\dSalesExportCurrentEndInv)//crlf////tab////tab////tab////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\dOfficeCurrentEndInv)//crlf////tab////tab////tab////tab////tab////tab////tab//sContent=sLine\\plus\\char(13)\\plus\\char(10)\\plus\\sContent//crlf////tab////tab////tab////tab////tab////tab////tab//fileWriteContent(sResultsFilename\\comma\\sContent)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Up to date.  Nothing to do\\quot\\)//crlf////tab////tab////tab////tab////tab////tab////tab//return(\\quot\\Ok: Up to date.  Nothing to do\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////if end ending inventory values from the inventory summary and salesexport do not match or if //crlf////tab////tab////tab////either of them is zero\\comma\\ then update them both.  If the CRCs have changed\\comma\\ the current endinv //crlf////tab////tab////tab////will be zero since it was not initialized from the previous values//crlf////tab////tab////tab//if((dDailyInvSummaryCurrentEndInv<>dSalesExportCurrentEndInv) or (dDailyInvSummaryCurrentEndInv*dSalesExportCurrentEndInv=0))//crlf////crlf////tab////tab////tab////tab//appendToLog(\\quot\\Getting local ending inventory values\\quot\\)//crlf////crlf////tab////tab////tab////tab////get the current ending inventory values for the inventory summary//crlf////tab////tab////tab////tab//s1=getSensorValue(\\quot\\getEndingDollarsFromDailyInventorySummary\\quot\\\\comma\\\\quot\\Date=\\quot\\\\plus\\formatDate(dtMonthEnd\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//dDailyInvSummaryCurrentEndInv=value(getElement(s1\\comma\\1))\\plus\\value(getElement(s1\\comma\\2))//crlf////crlf////tab////tab////tab////tab////get the current ending inventory values for the salesexport//crlf////tab////tab////tab////tab//s2=getSensorValue(\\quot\\getEndingDollarsFromSalesExport\\quot\\\\comma\\\\quot\\Date=\\quot\\\\plus\\formatDate(dtMonthEnd\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//dSalesExportCurrentEndInv=value(getElement(s2\\comma\\1))\\plus\\value(getElement(s2\\comma\\2))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Current EndInv (Updated1): \\quot\\\\plus\\dDailyInvSummaryCurrentEndInv\\plus\\\\quot\\ ~~pipe~~ \\quot\\\\plus\\dSalesExportCurrentEndInv\\plus\\\\quot\\ ~~pipe~~ \\quot\\\\plus\\dOfficeCurrentEndInv)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Local ending inventory values are up to date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////if the ending value for the inventory summary and salesexport do not match\\comma\\ then create the //crlf////tab////tab////tab////salesexport again//crlf////tab////tab////tab//if(dDailyInvSummaryCurrentEndInv<>dDailyInvSummaryCurrentEndInv)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Updating SalesExport\\quot\\)//crlf////tab////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\DateFrom=\\quot\\\\plus\\formatDate(dtMonthEnd)\\plus\\\\quot\\\\amp\\Overwrite=true\\quot\\//crlf////tab////tab////tab////tab//s=execAgentAction(\\quot\\updateDailySalesExportForStore\\quot\\\\comma\\sParams)//crlf////crlf////tab////tab////tab////tab////get the ending inventory value from the updated salesexport//crlf////tab////tab////tab////tab//s2=getSensorValue(\\quot\\getEndingDollarsFromSalesExport\\quot\\\\comma\\\\quot\\Date=\\quot\\\\plus\\formatDate(dtMonthEnd\\comma\\\\quot\\MM-dd-yyyy\\quot\\))//crlf////tab////tab////tab////tab//dSalesExportCurrentEndInv=value(getElement(s2\\comma\\1))\\plus\\value(getElement(s2\\comma\\2))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Current EndInv (Updated2): \\quot\\\\plus\\dDailyInvSummaryCurrentEndInv\\plus\\\\quot\\ ~~pipe~~ \\quot\\\\plus\\dSalesExportCurrentEndInv\\plus\\\\quot\\ ~~pipe~~ \\quot\\\\plus\\dOfficeCurrentEndInv)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the updated file CRC values//crlf////tab////tab////tab//sPhysicalCountCurrentCRC=gfs(sStoreDir\\plus\\\\quot\\physical_count.\\quot\\\\plus\\formatDate(dtMonthEnd\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\)//crlf////tab////tab////tab//sDailyInvSummaryCurrentCRC=gfs(sStoreDir\\plus\\\\quot\\inventory_summary.\\quot\\\\plus\\formatDate(dtMonthEnd\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\)//crlf////tab////tab////tab//sSalesExportCurrentCRC=gfs(sStoreDir\\plus\\\\quot\\salesexport.\\quot\\\\plus\\formatDate(dtMonthEnd\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\)//crlf////tab////tab////crlf////tab////tab////tab////get numbers currently in the salesexport at the office//crlf////tab////tab////tab//if(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))//crlf////tab////tab////tab////tab////in development mode get values for warsaw//crlf////tab////tab////tab////tab//sParams=\\quot\\Filename=c:~~backslash~~aspect7~~backslash~~data~~backslash~~tilo5pyoi~~backslash~~salesexport.\\quot\\\\plus\\formatDate(dtMonthEnd\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sParams=\\quot\\Filename=c:~~backslash~~aspect7~~backslash~~data~~backslash~~\\quot\\\\plus\\getToken(\\quot\\AspectHashID\\quot\\)\\plus\\\\quot\\~~backslash~~salesexport.\\quot\\\\plus\\formatDate(dtMonthEnd\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//s3=getSensorValue(\\quot\\getEndingDollarsFromSalesExport\\quot\\\\comma\\sParams\\comma\\\\quot\\yvg7mz3dx\\quot\\)//crlf////tab////tab////tab//dOfficeCurrentEndInv=value(getElement(s3\\comma\\1))\\plus\\value(getElement(s3\\comma\\2))//crlf////tab////tab////tab//appendToLog(\\quot\\Ending inventory from office: \\quot\\\\plus\\dOfficeCurrentEndInv\\plus\\\\quot\\ [\\quot\\\\plus\\s3\\plus\\\\quot\\]\\quot\\)//crlf////crlf////tab////tab////tab////record an error if the ending inventories are not up to date//crlf////tab////tab////tab//bError=false//crlf////tab////tab////tab//if((dSalesExportCurrentEndInv<>dDailyInvSummaryCurrentEndInv) or (dOfficeCurrentEndInv<>dSalesExportCurrentEndInv))//crlf////tab////tab////tab////tab//bError=true//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Error: \\quot\\\\plus\\dDailyInvSummaryCurrentEndInv\\plus\\\\quot\\ ~~pipe~~ \\quot\\\\plus\\dSalesExportCurrentEndInv\\plus\\\\quot\\ ~~pipe~~ \\quot\\\\plus\\dOfficeCurrentEndInv)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////add to the log//crlf////tab////tab////tab//sLine=\\quot\\\\quot\\//crlf////tab////tab////tab//sLine=addElement(sLine\\comma\\formatDate(now()\\comma\\\\quot\\MM-dd-yyyy HH:mm:ss\\quot\\))//crlf////tab////tab////tab//sLine=addElement(sLine\\comma\\sPhysicalCountCurrentCRC)//crlf////tab////tab////tab//sLine=addElement(sLine\\comma\\sDailyInvSummaryCurrentCRC)//crlf////tab////tab////tab//sLine=addElement(sLine\\comma\\sSalesExportCurrentCRC)//crlf////tab////tab////tab//sLine=addElement(sLine\\comma\\dDailyInvSummaryCurrentEndInv)//crlf////tab////tab////tab//sLine=addElement(sLine\\comma\\dSalesExportCurrentEndInv)//crlf////tab////tab////tab//sLine=addElement(sLine\\comma\\dOfficeCurrentEndInv)//crlf////tab////tab////tab//sContent=sLine\\plus\\char(13)\\plus\\char(10)\\plus\\sContent//crlf////tab////tab////tab//fileWriteContent(sResultsFilename\\comma\\sContent)//crlf////crlf////tab////tab////tab//if(bError)//crlf////tab////tab////tab////tab//return(\\quot\\Error: \\quot\\\\plus\\dDailyInvSummaryCurrentEndInv\\plus\\\\quot\\ ~~pipe~~ \\quot\\\\plus\\dSalesExportCurrentEndInv\\plus\\\\quot\\ ~~pipe~~ \\quot\\\\plus\\dOfficeCurrentEndInv)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//enableInventorySynchMJ//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\enableInventorySynchMJ\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Enables inventory synch //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//MasterHashID - HashID of computer containing the master data//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\enableInventorySynchMJ\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if MasterHashID is not defined//crlf////tab////tab////tab//if(not(defined(\\quot\\__MasterHashID__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing MasterHashID: __MasterHashID__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sStoreDir=addDirSlash(getToken(\\quot\\POSInterface_StoreDir\\quot\\))//crlf////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//sStoreName=lookup(Aspect_BackOffice_Company_List\\comma\\gettoken(\\quot\\aspecthashid\\quot\\))//crlf////crlf////tab////tab////tab//if(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))//crlf////tab////tab////tab////tab//sStoreDir=\\quot\\c:~~backslash~~aspect7~~backslash~~store1~~backslash~~\\quot\\//crlf////tab////tab////tab////tab//sStoreID=\\quot\\x4YrJJ72EVNZixMrwsI86iwn\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if StoreID is invalid//crlf////tab////tab////tab//if((len(sStoreID)=0) or (sStoreID=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid StoreID: \\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab////open the store driver//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Store\\comma\\d\\comma\\WRITE)//crlf////tab////tab////tab////crlf////tab////tab////tab//r=driverFindRecordAbsolute(d\\comma\\0\\comma\\\\quot\\ID=\\quot\\\\plus\\quote(sStoreID))//crlf////crlf////tab////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab////tab//if(r>=0)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Enable_Master_Inventory_Merge\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Synchronize_Count_Size\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Synchronize_Vendor_Selection\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Enable_As_Master_Inventory_Store\\quot\\\\comma\\r\\comma\\false)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Synchronize_Inventory_Item_InActive_Status\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab////tab//sResult=\\quot\\Ok\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=\\quot\\Error: StoreID not found: \\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////create the fileset synch task//crlf////tab////tab////tab//s=execAgentAction(\\quot\\createInventorySynchFilesetSynchTask\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////set the hashid and enable the task//crlf////tab////tab////tab//driverOpen(Aspect_File_Set_Synch\\comma\\dFileSetSynch\\comma\\WRITE)//crlf////tab////tab////tab//r=driverFindRecordAbsolute(dFileSetSynch\\comma\\0\\comma\\\\quot\\File_Set_Name=\\quot\\\\plus\\quote(\\quot\\Inventory Synch\\quot\\))//crlf////tab////tab////tab//if(r>=0)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dFileSetSynch\\comma\\\\quot\\HashID\\quot\\\\comma\\r\\comma\\\\quot\\__MasterHashID__\\quot\\)//crlf////tab////tab////tab////tab//driverPutFieldAbsolute(dFileSetSynch\\comma\\\\quot\\TaskEnabled\\quot\\\\comma\\r\\comma\\true)//crlf////tab////tab////tab////tab//sResult=sResult\\plus\\\\quot\\ Enabled synch task\\quot\\//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//sResult=sResult\\plus\\\\quot\\ Error enabling synch task\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//return(sResult)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//clearExistingInventoryFilesMJ//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\clearExistingInventoryFilesMJ\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Copies existing inventory files to Inventory2024 underneath the store directory//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Move - Optional.  If true\\comma\\ files will be removed from the Store1 directory after copying//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\clearExistingInventoryFilesMJ\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//bMove=if(defined(\\quot\\__Move__\\quot\\)\\comma\\boolean(\\quot\\__Move__\\quot\\)\\comma\\false)//crlf////crlf////tab////tab////tab//sStoreDir=addDirSlash(getToken(\\quot\\POSInterface_StoreDir\\quot\\))//crlf////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//sStoreName=lookup(Aspect_BackOffice_Company_List\\comma\\gettoken(\\quot\\aspecthashid\\quot\\))//crlf////crlf////tab////tab////tab//if(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))//crlf////tab////tab////tab////tab//sStoreDir=\\quot\\c:~~backslash~~aspect7~~backslash~~store1~~backslash~~\\quot\\//crlf////tab////tab////tab////tab//sStoreID=\\quot\\x4YrJJ72EVNZixMrwsI86iwn\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if StoreID is invalid//crlf////tab////tab////tab//if((len(sStoreID)=0) or (sStoreID=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid StoreID: \\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//endif//crlf////tab////crlf////tab////tab////tab//appendToLog(\\quot\\Copy files StoreDir: \\quot\\\\plus\\sStoreDir)//crlf////crlf////tab////tab////tab//arFiles=\\quot\\\\quot\\//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\sStoreDir\\plus\\\\quot\\conversions.bin\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\sStoreDir\\plus\\\\quot\\countgroup.bin\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\sStoreDir\\plus\\\\quot\\countlist.bin\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\sStoreDir\\plus\\\\quot\\invoice.bin\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\sStoreDir\\plus\\\\quot\\vendor.bin\\quot\\\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getMatchingFiles(sStoreDir\\plus\\\\quot\\inventory*.*\\quot\\\\comma\\false\\comma\\false)\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getMatchingFiles(sStoreDir\\plus\\\\quot\\invoice*.*\\quot\\\\comma\\false\\comma\\false)\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getMatchingFiles(sStoreDir\\plus\\\\quot\\item*.*\\quot\\\\comma\\false\\comma\\false)\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getMatchingFiles(sStoreDir\\plus\\\\quot\\menu*.*\\quot\\\\comma\\false\\comma\\false)\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getMatchingFiles(sStoreDir\\plus\\\\quot\\mix*.*\\quot\\\\comma\\false\\comma\\false)\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getMatchingFiles(sStoreDir\\plus\\\\quot\\physical*.*\\quot\\\\comma\\false\\comma\\false)\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getMatchingFiles(sStoreDir\\plus\\\\quot\\size*.*\\quot\\\\comma\\false\\comma\\false)\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//arFiles=addElement(arFiles\\comma\\getMatchingFiles(sStoreDir\\plus\\\\quot\\usage*.*\\quot\\\\comma\\false\\comma\\false)\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//appendToLog(\\quot\\Backing up \\quot\\\\plus\\c\\plus\\\\quot\\ files\\quot\\)//crlf////tab////tab////tab//cCopied=0//crlf////tab////tab////tab//cSkip=0//crlf////tab////tab////tab//cDelete=0//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sSourceFilename=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sDestFilename=sStoreDir\\plus\\\\quot\\Inventory2024~~backslash~~\\quot\\\\plus\\fileName(sSourceFilename)\\plus\\fileExt(sSourceFilename)//crlf////crlf////tab////tab////tab////tab////only copy the file if it doesn\\apos\\t already exist//crlf////tab////tab////tab////tab//if(fileSize(sDestFilename)=0)//crlf////tab////tab////tab////tab////tab//fileCopy(sSourceFilename\\comma\\sDestFilename)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Copy \\quot\\\\plus\\sSourceFilename)//crlf////tab////tab////tab////tab////tab//cCopied\\plus\\\\plus\\//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Did not copy \\quot\\\\plus\\sSourceFilename)//crlf////tab////tab////tab////tab////tab//cSkip\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//if(bMove)//crlf////tab////tab////tab////tab////tab////give special handling to physical_count.07-31-2024.bin to avoid the possibility of //crlf////tab////tab////tab////tab////tab////deleting the new file//crlf////tab////tab////tab////tab////tab//if(fileName(sSourceFilename)=\\quot\\physical_count.07-31-2024.bin\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//sDestFilename=sStoreDir\\plus\\\\quot\\physical_count.07-31-2024.\\quot\\\\plus\\formatDate(now()\\comma\\\\quot\\MMddyyyy_HHmm\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//fileCopy(sSourceFilename\\comma\\sDestFilename)//crlf////tab////tab////tab////tab////tab////tab//if(fileSize(sDestFilename)=fileSize(sSourceFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//fileDelete(sSourceFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Renamed count to \\quot\\\\plus\\sDestFilename)//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Could not copy count\\quot\\)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//if(fileSize(sDestFilename)>0)//crlf////tab////tab////tab////tab////tab////tab////tab//fileDelete(sSourceFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Deleted \\quot\\\\plus\\sSourceFilename)//crlf////tab////tab////tab////tab////tab////tab////tab//cDelete\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Did not delete \\quot\\\\plus\\sSourceFilename)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////crlf////tab////tab////tab//return(\\quot\\Ok: Copied: \\quot\\\\plus\\cCopied\\plus\\\\quot\\ Skipped: \\quot\\\\plus\\cSkip\\plus\\\\quot\\ Deleted: \\quot\\\\plus\\cDelete)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//restoreVendorEDIInfoMJ//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\restoreVendorEDIInfoMJ\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Reads exported vendor EDI information and adds them to the vendor list.  A vendor must //crlf////tab////tab//already exist for an EDI vendor to be updated.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\restoreVendorEDIInfoMJ\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//sStoreDir=getToken(\\quot\\POSInterface_StoreDir\\quot\\)//crlf////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//sStoreName=lookup(Aspect_BackOffice_Company_List\\comma\\gettoken(\\quot\\aspecthashid\\quot\\))//crlf////crlf////tab////tab////tab//if(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))//crlf////tab////tab////tab////tab//sStoreDir=\\quot\\c:~~backslash~~aspect7~~backslash~~store1~~backslash~~\\quot\\//crlf////tab////tab////tab////tab//sStoreID=\\quot\\x4YrJJ72EVNZixMrwsI86iwn\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if StoreID is invalid//crlf////tab////tab////tab//if((len(sStoreID)=0) or (sStoreID=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid StoreID: \\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get export filename//crlf////tab////tab////tab//sFilename=addDirSlash(sStoreDir)\\plus\\\\quot\\vendor_edi_info\\quot\\\\plus\\\\quot\\.csv\\quot\\//crlf////crlf////tab////tab////tab////abort if export file does not exist//tab////tab////crlf////tab////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: File does not exist: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the content//crlf////tab////tab////tab//sContent=fileGetContent(sFilename)//crlf////tab////tab////tab//sContent=replaceSubstring(sContent\\comma\\char(13)\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////tab////tab////open the vendor file//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Vendor_No_External_Struct\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID)//crlf////crlf////tab////tab////tab//cOk=0//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//c=getElementCount(sContent\\comma\\char(10))//crlf////tab////tab////tab//n=1//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sLine=getElement(sContent\\comma\\n\\comma\\char(10))//crlf////tab////tab////tab////tab//sEDI_Vendor=trim(getElement(sLine\\comma\\0))//crlf////tab////tab////tab////tab//if(len(sEDI_Vendor)>0)//crlf////tab////tab////tab////tab////tab//r=driverFindRecordAbsolute(d\\comma\\0\\comma\\\\quot\\EDI_Vendor=\\quot\\\\plus\\quote(sEDI_Vendor))//crlf////tab////tab////tab////tab////tab//if(r>=0)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\EDI_Customer_Number\\quot\\\\comma\\r\\comma\\getElement(sLine\\comma\\1))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\EDI_Ftp_Site\\quot\\\\comma\\r\\comma\\getElement(sLine\\comma\\2))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\EDI_UserName\\quot\\\\comma\\r\\comma\\getElement(sLine\\comma\\3))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\EDI_Password\\quot\\\\comma\\r\\comma\\getElement(sLine\\comma\\4))//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\EDI_Delete_After_Download\\quot\\\\comma\\r\\comma\\getElement(sLine\\comma\\5))//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Restored EDI vendor: \\quot\\\\plus\\sEDI_Vendor)//crlf////tab////tab////tab////tab////tab////tab//cOk\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Cannot locate EDI vendor: \\quot\\\\plus\\sEDI_Vendor)//crlf////tab////tab////tab////tab////tab////tab//cError\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab////crlf////tab////tab////tab//if(cError>0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Ok: \\quot\\\\plus\\cOk\\plus\\\\quot\\ Error: \\quot\\\\plus\\cError)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//return(\\quot\\Ok: Ok: \\quot\\\\plus\\cOk\\plus\\\\quot\\ Error: \\quot\\\\plus\\cError)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//exportVendorEDIInfoMJ//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\exportVendorEDIInfoMJ\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\exportVendorEDIInfoMJ\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//sStoreDir=getToken(\\quot\\POSInterface_StoreDir\\quot\\)//crlf////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//sStoreName=lookup(Aspect_BackOffice_Company_List\\comma\\gettoken(\\quot\\aspecthashid\\quot\\))//crlf////crlf////tab////tab////tab//if(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))//crlf////tab////tab////tab////tab//sStoreDir=\\quot\\c:~~backslash~~aspect7~~backslash~~store1~~backslash~~\\quot\\//crlf////tab////tab////tab////tab//sStoreID=\\quot\\x4YrJJ72EVNZixMrwsI86iwn\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if StoreID is invalid//crlf////tab////tab////tab//if((len(sStoreID)=0) or (sStoreID=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid StoreID: \\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get output filename//crlf////tab////tab////tab//sFilename=addDirSlash(sStoreDir)\\plus\\\\quot\\vendor_edi_info\\quot\\\\plus\\\\quot\\.csv\\quot\\//crlf////crlf////tab////tab////tab////abort if the file already exists//crlf////tab////tab////tab//if(fileSize(sFilename)>0)//crlf////tab////tab////tab////tab//s=fileGetContent(sFilename)//crlf////tab////tab////tab////tab//return(s)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the inventory summary//crlf////tab////tab////tab//appendToLog(\\quot\\StoreID: \\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//driverOpen(Aspect_BackOffice_Vendor_No_External_Struct\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\gt(len(EDI_Vendor)\\comma\\1\\comma\\n)\\quot\\\\comma\\true)//crlf////tab////crlf////tab////tab////tab//sOutput=\\quot\\EDI_Vendor\\comma\\EDI_Customer_Number\\comma\\EDI_Ftp_Site\\comma\\EDI_UserName\\comma\\EDI_Password\\comma\\EDI_Delete_After_Download\\quot\\\\plus\\char(13)\\plus\\char(10)//crlf////crlf////tab////tab////tab//c=driverGetRecordCount(d)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sLine=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\driverGetField(d\\comma\\\\quot\\EDI_Vendor\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\driverGetField(d\\comma\\\\quot\\EDI_Customer_Number\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\driverGetField(d\\comma\\\\quot\\EDI_Ftp_Site\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\driverGetField(d\\comma\\\\quot\\EDI_UserName\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\driverGetField(d\\comma\\\\quot\\EDI_Password\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//sLine=addElement(sLine\\comma\\driverGetField(d\\comma\\\\quot\\EDI_Delete_After_Download\\quot\\\\comma\\n))//crlf////tab////tab////tab////tab//SOutput=sOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//fileWriteContent(sFilename\\comma\\sOutput)//crlf////tab////tab////tab//return(sOutput)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//exportInventoryCountMJ//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\exportInventoryCountMJ\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Exports the ending inventory count and dollars on hand for a given date//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Date - MM-dd-yyyy//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\exportInventoryCountMJ\\quot\\; commands:\\quot\\//crlf////tab////tab////tab////abort if date is missing//crlf////tab////tab////tab//if(not(defined(\\quot\\__Date__\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing Date: __Date__\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sStoreDir=getToken(\\quot\\POSInterface_StoreDir\\quot\\)//crlf////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////tab////tab////tab//sStoreName=lookup(Aspect_BackOffice_Company_List\\comma\\gettoken(\\quot\\aspecthashid\\quot\\))//crlf////crlf////tab////tab////tab//if(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))//crlf////tab////tab////tab////tab//sStoreDir=\\quot\\c:~~backslash~~aspect7~~backslash~~store1~~backslash~~\\quot\\//crlf////tab////tab////tab////tab//sStoreID=\\quot\\x4YrJJ72EVNZixMrwsI86iwn\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if StoreID is invalid//crlf////tab////tab////tab//if((len(sStoreID)=0) or (sStoreID=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid StoreID: \\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get output filename//crlf////tab////tab////tab//sFilename=addDirSlash(sStoreDir)\\plus\\\\quot\\month_end_count_07312024\\quot\\\\plus\\\\quot\\.csv\\quot\\//crlf////crlf////tab////tab////tab////just return the content if the file already exists//crlf////tab////tab////tab//if(fileSize(sFilename)>0)//crlf////tab////tab////tab////tab//sOutput=fileGetContent(sFilename)//crlf////tab////tab////tab////tab//return(sOutput)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////open the inventory summary//crlf////tab////tab////tab//appendToLog(\\quot\\StoreID: \\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//driverOpen(Aspect_Back_Office_Daily_Inventory_Summary\\comma\\d\\comma\\READ\\comma\\false\\comma\\\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\~~pipe~~Date=__Date__\\quot\\)//crlf////tab////tab////tab//driverSetSort(d\\comma\\\\quot\\Inventory_Item_Top_Group_Name\\comma\\Inventory_Item_Group\\comma\\Inventory_Item_Name\\quot\\\\comma\\false)//crlf////tab////tab////tab//driverSetFilter(d\\comma\\\\quot\\not(Ending_Physical_Count=0)\\quot\\\\comma\\true)//crlf////crlf////tab////tab////tab//sOutput=\\quot\\Inventory_Item_Top_Group_Name\\comma\\Inventory_Item_Group\\comma\\Inventory_Item_Name\\comma\\Standard_Size\\comma\\Ending_Physical_Count\\comma\\Ending_Price\\comma\\Ending_Dollars_On_Hand\\quot\\\\plus\\char(13)\\plus\\char(10)//crlf////crlf////tab////tab////tab//c=driverGetRecordCount(d)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sLine=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//sLine=sLine\\plus\\driverGetField(d\\comma\\\\quot\\Inventory_Item_Top_Group_Name\\quot\\\\comma\\n)\\plus\\char(0x2C)//crlf////tab////tab////tab////tab//sLine=sLine\\plus\\driverGetField(d\\comma\\\\quot\\Inventory_Item_Group\\quot\\\\comma\\n)\\plus\\char(0x2C)//crlf////tab////tab////tab////tab//sLine=sLine\\plus\\driverGetField(d\\comma\\\\quot\\Inventory_Item_Name\\quot\\\\comma\\n)\\plus\\char(0x2C)//crlf////tab////tab////tab////tab//sLine=sLine\\plus\\driverGetField(d\\comma\\\\quot\\Standard_Size\\quot\\\\comma\\n)\\plus\\char(0x2C)//crlf////tab////tab////tab////tab//sLine=sLine\\plus\\formatNumber(driverGetField(d\\comma\\\\quot\\Ending_Physical_Count\\quot\\\\comma\\n)\\comma\\\\quot\\0.00\\quot\\)\\plus\\char(0x2C)//crlf////tab////tab////tab////tab//sLine=sLine\\plus\\formatNumber(driverGetField(d\\comma\\\\quot\\Ending_Price\\quot\\\\comma\\n)\\comma\\\\quot\\0.00\\quot\\)\\plus\\char(0x2C)//crlf////tab////tab////tab////tab//sLine=sLine\\plus\\formatNumber(driverGetField(d\\comma\\\\quot\\Ending_Dollars_On_Hand\\quot\\\\comma\\n)\\comma\\\\quot\\0.00\\quot\\)\\plus\\char(0x2C)//crlf////tab////tab////tab////tab//SOutput=sOutput\\plus\\sLine\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab//driverClose(d)//crlf////tab////tab////crlf////tab////tab////tab//fileWriteContent(sFilename\\comma\\sOutput)//crlf////tab////tab////tab//return(sOutput)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//updateEndOfMonthSalesExport//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\updateEndOfMonthSalesExport\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ensures that the month-end salesexport is updated to reflect changes made to the physical count.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//none//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\updateEndOfMonthSalesExport\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////abort if day of month is greater than 7.  This routine is intended to run the first few //crlf////tab////tab////tab////days after the end of the month to make sure that the ending inventory values in the salesexport//crlf////tab////tab////tab////are updated if the end-of-month physical count is updated.//crlf////tab////tab////tab//if(not(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\))))//crlf////tab////tab////tab////tab//if(day(now())>=7)//crlf////tab////tab////tab////tab////tab//return(\\quot\\Ok: Aborting because day of month is past 7\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sStoreDir=getToken(\\quot\\POSInterface_StoreDir\\quot\\)//crlf////tab////tab////tab//sStoreID=getToken(\\quot\\POSInterface_StoreID\\quot\\)//crlf////crlf////tab////tab////tab//if(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))//crlf////tab////tab////tab////tab//sStoreDir=\\quot\\C:~~backslash~~aspect7~~backslash~~stores~~backslash~~BWW_Warsaw~~backslash~~\\quot\\//crlf////tab////tab////tab////tab//sStoreID=\\quot\\OYhiZzyqhibh9rG7DS7OMYDy\\quot\\//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if StoreID is invalid//crlf////tab////tab////tab//if((len(sStoreID)=0) or (sStoreID=\\quot\\undefined\\quot\\))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Invalid StoreID: \\quot\\\\plus\\sStoreID)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////Get month end date//crlf////tab////tab////tab//dt=getMonthEnd(-1\\comma\\now())//crlf////tab////tab////tab//appendToLog(\\quot\\Checking salesexport for \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ in \\quot\\\\plus\\sStoreDir)//crlf////crlf////tab////tab////tab//bCountExists=false//crlf////tab////tab////tab//bOverwrite=false//crlf////tab////tab////tab//bUpdate=false//crlf////tab////tab////tab//sPhysicalCountFileName=sStoreDir\\plus\\\\quot\\physical_count.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab//if(fileExists(sPhysicalCountFileName))//crlf////tab////tab////tab////tab//dtPhysicalCount=fileModified(sPhysicalCountFileName)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Found count for \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ Timestamp: \\quot\\\\plus\\formatDate(dtPhysicalCount\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////crlf////tab////tab////tab////tab//sSalesExportFileName=sStoreDir\\plus\\\\quot\\salesexport.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//sSalesExportPrepFileName=sStoreDir\\plus\\\\quot\\salesexportprep.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//if(fileExists(sSalesExportFileName))//crlf////tab////tab////tab////tab////tab//dtSalesExport=fileModified(sSalesExportFileName)//crlf////tab////tab////tab////tab////tab//dtSalesExportPrep=fileModified(sSalesExportPrepFileName)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Found salesexport for \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ Timestamp: \\quot\\\\plus\\formatDate(dtSalesExport\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Found salesexportprep for \\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\ Timestamp: \\quot\\\\plus\\formatDate(dtSalesExportPrep\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////tab////tab////tab////tab////tab//if((dtPhysicalCount>dtSalesExport) or (dtPhysicalCount>dtSalesExportPrep))//crlf////tab////tab////tab////tab////tab////tab//fileDelete(sSalesExportFileName)//crlf////tab////tab////tab////tab////tab////tab//if(fileExists(sSalesExportFileName))//crlf////tab////tab////tab////tab////tab////tab////tab//bOverwrite=true//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\delete salesexport.  Size: \\quot\\\\plus\\fileSize(sSalesExportFileName))//crlf////crlf////tab////tab////tab////tab////tab////tab////also delete the salesexportprep file//crlf////tab////tab////tab////tab////tab////tab//fileDelete(sSalesExportPrepFileName)//crlf////tab////tab////tab////tab////tab////tab//if(fileExists(sSalesExportPrepFileName))//crlf////tab////tab////tab////tab////tab////tab////tab//fileSetSize(sSalesExportPrepFileName\\comma\\0)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\delete salesexportprep.  Size: \\quot\\\\plus\\fileSize(sSalesExportPrepFileName))//crlf////crlf////tab////tab////tab////tab////tab////tab//bUpdate=true//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\SalesExport not found: \\quot\\\\plus\\sSalesExportFileName)//crlf////tab////tab////tab////tab////tab//bUpdate=true//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//bCountExists=true//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Count not found: \\quot\\\\plus\\sPhysicalCountFileName)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab////get the latest date that an invoice has been modified//crlf////tab////tab////tab//dt1=getMonthStart(-1\\comma\\now())//crlf////tab////tab////tab//dt2=getMonthEnd(-1\\comma\\now())//crlf////tab////tab////tab//dtInvoiceModified=parseTime(\\quot\\12-31-1969\\quot\\)//crlf////tab////tab////tab//while(dt1<=dt2)//crlf////tab////tab////tab////tab//sFilename=sStoreDir\\plus\\\\quot\\invoice_detail\\quot\\\\plus\\formatDate(dt1\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab////tab//dtFileModified=fileModified(sFilename)//crlf////tab////tab////tab////tab//if(dtFileModified>dtInvoiceModified)//crlf////tab////tab////tab////tab////tab//dtInvoiceModified=dtFileModified//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//dt1=incrementTime(dt1\\comma\\1)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////set update to true if an invoice has been modified since the sales export was created//crlf////tab////tab////tab//sSalesExportFileName=sStoreDir\\plus\\\\quot\\salesexport.\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\.bin\\quot\\//crlf////tab////tab////tab//dtSalesExport=fileModified(sSalesExportFileName)//crlf////tab////tab////tab//appendToLog(\\quot\\Last invoice modified: \\quot\\\\plus\\formatDate(dtInvoiceModified\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////tab////tab////tab//appendToLog(\\quot\\SalesExport modified: \\quot\\\\plus\\formatDate(dtSalesExport\\comma\\\\quot\\MM-dd-yyyy HH:mm\\quot\\))//crlf////tab////tab////tab//if(dtInvoiceModified>dtSalesExport)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Updating SalesExport because invoice has been modified\\quot\\)//crlf////tab////tab////tab////tab//bUpdate=true//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////return an error if the count file doesn\\apos\\t exist//crlf////tab////tab////tab//if(not(bCountExists))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Missing: \\quot\\\\plus\\sPhysicalCountFileName)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////return ok if the count file exists and the sales export is up to date//crlf////tab////tab////tab//if((bCountExists) and (not(bUpdate)))//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Count exists and salesexport is up to date\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////update the sales export file//crlf////tab////tab////tab//sParams=\\quot\\StoreID=\\quot\\\\plus\\sStoreID\\plus\\\\quot\\\\amp\\DateFrom=\\quot\\\\plus\\formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\plus\\\\quot\\\\amp\\Overwrite=\\quot\\\\plus\\bUpdate//crlf////tab////tab////tab//appendToLog(\\quot\\update SalesExport: \\quot\\\\plus\\sParams)//crlf////tab////tab////tab//s=execAgentAction(\\quot\\updateDailySalesExportForStore\\quot\\\\comma\\sParams)//crlf////tab////tab////tab//appendToLog(\\quot\\updateDailySalesExportForStore: \\quot\\\\plus\\s)//crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//enableSalesRecordSubtotals//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\enableSalesRecordSubtotals\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//This is a one-time routine used to enable subtotals for FundsfromSafe and //crlf////tab////tab//FundsReplenishedtoSafe in the user-defined sales structure.//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\enableSalesRecordSubtotals\\quot\\; commands:\\quot\\//crlf////tab////crlf////tab////tab////tab////abort if on development computer//tab////crlf////tab////tab////tab//if(boolean(getSystemValue(\\quot\\DevelopmentMode\\quot\\)))//crlf////tab////tab////tab////tab//return(\\quot\\ok: Aborted because in development mode\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\store1~~backslash~~customsalesfields.bin\\quot\\//crlf////tab////tab////tab//if(fileExists(sFilename))//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Setting subtotals in \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab//driverOpen(POS_Generic_User_Defined_Daily_Sales_Struct\\comma\\d\\comma\\WRITE\\comma\\false\\comma\\\\quot\\Filename=\\quot\\\\plus\\sFilename)//crlf////tab////tab////tab////tab//cEnabled=0//crlf////tab////tab////tab////tab//c=driverGetRecordCount(d\\comma\\true)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//sFieldID=driverGetFieldAbsolute(d\\comma\\\\quot\\FieldID\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab//if((sFieldID=\\quot\\FundsfromSafe\\quot\\) or (sFieldID=\\quot\\FundsReplenishedtoSafe\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//b=driverGetFieldAbsolute(d\\comma\\\\quot\\Aspect_Structures_CalcSubtotal\\quot\\\\comma\\n)//crlf////tab////tab////tab////tab////tab////tab//driverPutFieldAbsolute(d\\comma\\\\quot\\Aspect_Structures_CalcSubtotal\\quot\\\\comma\\n\\comma\\true)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Enabled subtotal for \\quot\\\\plus\\sFieldID\\plus\\\\quot\\ Previous value was: \\quot\\\\plus\\b)//crlf////tab////tab////tab////tab////tab////tab//cEnabled\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab//driverClose(d)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//return(\\quot\\Error: File does not exist: \\quot\\\\plus\\sFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Ok: Enabled \\quot\\\\plus\\cEnabled\\plus\\\\quot\\ subtotals\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//^
ID=AgentStart|X=151|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=924439|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=always|AgentReportTo=getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~AspectServerHashID~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|^
ID=599076|X=183|Y=1204|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ResultimportMissingPosData//plus//getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//plus//ActionResult1//plus//getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//plus//ActionResult2|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=151|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Mike Jones - Local\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones - Local\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 10-13-2024 00:52:58//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones - Local\\comma\\AgentAction\\comma\\924439\\comma\\0\\comma\\Enable subtotals in user-defined sales struct//crlf////crlf////tab////tab////Enable subtotals in user-defined sales struct//crlf////tab////tab//Result=execAgentAction(\\quot\\enableSalesRecordSubtotals\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones - Local\\comma\\AgentAction\\comma\\724952\\comma\\0\\comma\\Identify non-cash tenders//crlf////crlf////tab////tab////Identify non-cash tenders//crlf////tab////tab//ResultNonCash=execAgentAction(\\quot\\identifyNonCashTendersMJ\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones - Local\\comma\\AgentAction\\comma\\32691\\comma\\0\\comma\\Import missing POS data//crlf////crlf////tab////tab////Import missing POS data//crlf////tab////tab//ResultimportMissingPosData=execAgentAction(\\quot\\importMissingPosData\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones - Local\\comma\\AgentAction\\comma\\213410\\comma\\0\\comma\\Update SalesExport filespec//crlf////crlf////tab////tab////Update SalesExport filespec//crlf////tab////tab//Result=execAgentAction(\\quot\\createSalesExportFileset\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones - Local\\comma\\AgentAction\\comma\\228624\\comma\\0\\comma\\Update end-of-month SalesExport//crlf////crlf////tab////tab////Update end-of-month SalesExport//crlf////tab////tab//ActionResult1=execAgentAction(\\quot\\updateEndOfMonthSalesExport\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones - Local\\comma\\AgentAction\\comma\\512171\\comma\\0\\comma\\Validate ending inventory reporting to office//crlf////crlf////tab////tab////Validate ending inventory reporting to office//crlf////tab////tab//ActionResult2=execAgentAction(\\quot\\validateEndingInventoryReporting\\quot\\)//crlf////crlf////tab////tab////Ok?//crlf////tab////tab//if(pos(\\quot\\Error\\quot\\\\comma\\ResultimportMissingPosData+ActionResult1+ActionResult2)<0)//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones - Local\\comma\\AgentTerminate\\comma\\599076\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones - Local\\quot\\\\comma\\\\quot\\599076\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\ResultimportMissingPosData+getToken(\\quot\\br\\quot\\)+ActionResult1+getToken(\\quot\\br\\quot\\)+ActionResult2\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(ResultimportMissingPosData+getToken(\\quot\\br\\quot\\)+ActionResult1+getToken(\\quot\\br\\quot\\)+ActionResult2)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones - Local\\comma\\AgentTerminate\\comma\\759230\\comma\\1\\comma\\Error//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Mike Jones - Local\\quot\\\\comma\\\\quot\\759230\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\ResultimportMissingPosData+getToken(\\quot\\br\\quot\\)+ActionResult1+getToken(\\quot\\br\\quot\\)+ActionResult2\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(ResultimportMissingPosData+getToken(\\quot\\br\\quot\\)+ActionResult1+getToken(\\quot\\br\\quot\\)+ActionResult2)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;10132024//amp//nbsp;005258//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Mike//amp//nbsp;Jones//amp//nbsp;-//amp//nbsp;Local\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;10-13-2024//amp//nbsp;00:52:58</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Enable//amp//nbsp;subtotals//amp//nbsp;in//amp//nbsp;user-defined//amp//nbsp;sales//amp//nbsp;struct</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\enableSalesRecordSubtotals\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Identify//amp//nbsp;non-cash//amp//nbsp;tenders</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;ResultNonCash=<span class='keyword'>execAgentAction</span>(\\quot\\identifyNonCashTendersMJ\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Import//amp//nbsp;missing//amp//nbsp;POS//amp//nbsp;data</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;ResultimportMissingPosData=<span class='keyword'>execAgentAction</span>(\\quot\\importMissingPosData\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Update//amp//nbsp;SalesExport//amp//nbsp;filespec</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result=<span class='keyword'>execAgentAction</span>(\\quot\\createSalesExportFileset\\quot\\\\comma\\\\quot\\\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Update//amp//nbsp;end-of-month//amp//nbsp;SalesExport</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;ActionResult1=<span class='keyword'>execAgentAction</span>(\\quot\\updateEndOfMonthSalesExport\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Validate//amp//nbsp;ending//amp//nbsp;inventory//amp//nbsp;reporting//amp//nbsp;to//amp//nbsp;office</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;ActionResult2=<span class='keyword'>execAgentAction</span>(\\quot\\validateEndingInventoryReporting\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Ok?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>pos</span>(\\quot\\Error\\quot\\\\comma\\ResultimportMissingPosData+ActionResult1+ActionResult2)//amp//lt;0)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Mike//amp//nbsp;Jones//amp//nbsp;-//amp//nbsp;Local\\quot\\\\comma\\\\quot\\599076\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\ResultimportMissingPosData+<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)+ActionResult1+<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)+ActionResult2\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(ResultimportMissingPosData+<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)+ActionResult1+<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)+ActionResult2)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Mike//amp//nbsp;Jones//amp//nbsp;-//amp//nbsp;Local\\quot\\\\comma\\\\quot\\759230\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\ResultimportMissingPosData+<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)+ActionResult1+<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)+ActionResult2\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(ResultimportMissingPosData+<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)+ActionResult1+<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)+ActionResult2)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=151|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>10132024 005258</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart924439\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\126\\quot\\ style=\\quot\\width: 120px; height: 126px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Mike Jones - Local</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: always<br>Report To: getToken(\\quot\\AspectServerHashID\\quot\\)<br>Name Params: </div></div><div id=\\quot\\chart599076\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1163px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart924439\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart724952\\quot\\ style=\\quot\\position: absolute; top: 191px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\108\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Enable subtotals in user-defined sales struct<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>enableSalesRecordSubtotals<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart228624\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart512171\\quot\\ style=\\quot\\position: absolute; top: 753px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Update end-of-month SalesExport<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>updateEndOfMonthSalesExport<br></td></tr><tr><td><u>Return</u></td><td>ActionResult1</td></tr></tbody></table></div></div><div id=\\quot\\chart661292\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart599076\\quot\\ agentchildnonode=\\quot\\chart759230\\quot\\ style=\\quot\\position: absolute; top: 1047px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\64\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Ok?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart759230\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1047px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div><div id=\\quot\\chart213410\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart228624\\quot\\ style=\\quot\\position: absolute; top: 606px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Update SalesExport filespec<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td>Result</td></tr></tbody></table></div></div><div id=\\quot\\chart512171\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart661292\\quot\\ style=\\quot\\position: absolute; top: 900px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\108\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Validate ending inventory reporting to office<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>validateEndingInventoryReporting<br></td></tr><tr><td><u>Return</u></td><td>ActionResult2</td></tr></tbody></table></div></div><div id=\\quot\\chart724952\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart32691\\quot\\ style=\\quot\\position: absolute; top: 338px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Identify non-cash tenders<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>identifyNonCashTendersMJ<br></td></tr><tr><td><u>Return</u></td><td>ResultNonCash</td></tr></tbody></table></div></div><div id=\\quot\\chart32691\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart213410\\quot\\ style=\\quot\\position: absolute; top: 472px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Import missing POS data<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td>ResultimportMissingPosData</td></tr></tbody></table></div></div>^
ID=924439|X=183|Y=232|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=724952|AgentChildNoNode=|AgentSensor=|AgentAction=enableSalesRecordSubtotals|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Enable subtotals in user-defined sales struct|AgentNodeTermType=|^
ID=228624|X=183|Y=794|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=512171|AgentChildNoNode=|AgentSensor=|AgentAction=updateEndOfMonthSalesExport|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=ActionResult1|AgentNodeComment=Update end-of-month SalesExport|AgentNodeTermType=|^
ID=661292|X=183|Y=1088|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=599076|AgentChildNoNode=759230|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=pos(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~Error~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~//comma//ResultimportMissingPosData//plus//ActionResult1//plus//ActionResult2)<0|AgentNodeActionReturnValue=|AgentNodeComment=Ok?|AgentNodeTermType=|^
ID=759230|X=373|Y=1088|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ResultimportMissingPosData//plus//getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//plus//ActionResult1//plus//getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//plus//ActionResult2|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|^
ID=213410|X=183|Y=647|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=228624|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=execAgentAction(\\quot\\createSalesExportFileset\\quot\\//comma//\\quot\\\\quot\\)|AgentNodeExpression=|AgentNodeActionReturnValue=Result|AgentNodeComment=Update SalesExport filespec|AgentNodeTermType=|^
ID=457372|X=300|Y=126|W=1198|H=775|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=//crlf//<!-- Development -->//crlf//<_include type:expression; expression:htmlConstant(\\quot\\_HashIDs\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\4idczse69\\quot\\)>//crlf////crlf//<!-- Warsaw -->//crlf//<_include type:expression; expression:htmlConstant(\\quot\\_HashIDs\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\tilo5pyoi\\quot\\)>//crlf////crlf//<!-- All Others -->//crlf//<_include type:expression; expression:htmlConstant(\\quot\\HashIDs\\quot\\\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\402nhkseu\\comma\\5wt9r3vpg\\comma\\zum97mvco\\comma\\v43xrx9j5\\comma\\a2mt3692r\\comma\\p5f4ps3ci\\comma\\8w4ev9xxp\\comma\\wmz2zkvtl\\comma\\yyrpa1utd\\comma\\apfo9g9gi\\comma\\u2mxdypnw\\quot\\)>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Steps//crlf//--------------------------------------------------------------------------]//crlf//<h2>Steps</h2>//crlf//<ol>//crlf////tab//<li>Backup inventory count to my PC</li>//crlf////tab//<li>Backup EDI settings to my PC</li>//crlf////tab//<li>Backup inventory files</li>//crlf////tab//<li>Add vendors to master for each EDI vendor</li>//crlf////tab//<li>-- Done with above --</li>//crlf////tab//<li>Clear inventory</li>//crlf////tab//<li>Enable synch task</li>//crlf////tab//<li>Confirm that files are received and merged from the master</li>//crlf////tab//<li>Restore EDI settings</li>//crlf////tab//<li>Set up method to update menu items from POS at master store</li>//crlf//</ol>//crlf//<br>//crlf//<hr>//crlf////tab//<h2>Prior to switch</h2>//crlf//<hr>//crlf//[!------------------------------------------------------------------------//crlf//Backup Inventory Count//crlf//--------------------------------------------------------------------------]//crlf//<h2>Backup Inventory Count</h2>//crlf//<!include type:script; commands:\\quot\\//crlf////tab//if(false)//crlf////tab////tab//arHashID=\\quot\\__HashIDs__\\quot\\//crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//c=getElementCount(arHashID)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////tab////tab////tab//sStoreName=replaceSubstring(lookup(Aspect_BackOffice_Company_List\\comma\\sHashID)\\comma\\\\quot\\ \\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab////tab//s=execAgentAction(\\quot\\exportInventoryCountMJ\\quot\\\\comma\\\\quot\\Date=07-31-2024\\quot\\\\comma\\sHashID)//crlf////tab////tab////tab//if(startsWith(s\\comma\\\\quot\\Error\\quot\\))//crlf////tab////tab////tab////tab//sResult=sResult+\\quot\\Backup Inventory: \\quot\\+sHashID+\\quot\\ \\quot\\+sStoreName+\\quot\\: \\quot\\+s+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//fileWriteContent(\\quot\\C:\temp\2024-08\Mike_Jones_Inv\Inventory_Count_\\quot\\+sHashID+\\quot\\_\\quot\\+sStoreName+\\quot\\.csv\\quot\\\\comma\\s)//crlf////tab////tab////tab////tab//sResult=sResult+\\quot\\Backup Inventory: \\quot\\+sHashID+\\quot\\ \\quot\\+sStoreName+\\quot\\: Ok\\quot\\+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n++//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//return(\\quot\\Ok: \\quot\\+cOk+\\quot\\ Error: \\quot\\+cError)//crlf////tab//else//crlf////tab////tab//return(\\quot\\Disabled\\quot\\)//crlf////tab//endif//crlf//\\quot\\>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Backup vendor EDI info//crlf//--------------------------------------------------------------------------]//crlf//<h2>Backup vendor EDI info</h2>//crlf//<!include type:script; commands:\\quot\\//crlf////tab//if(false)//crlf////tab////tab//arHashID=\\quot\\__HashIDs__\\quot\\//crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//c=getElementCount(arHashID)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////tab////tab////tab//sStoreName=replaceSubstring(lookup(Aspect_BackOffice_Company_List\\comma\\sHashID)\\comma\\\\quot\\ \\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab////tab//s=execAgentAction(\\quot\\exportVendorEDIInfoMJ\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sHashID)//crlf////tab////tab////tab//if(startsWith(s\\comma\\\\quot\\Error\\quot\\))//crlf////tab////tab////tab////tab//sResult=sResult+\\quot\\Backup EDI: \\quot\\+sHashID+\\quot\\ \\quot\\+sStoreName+\\quot\\: \\quot\\+s+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//fileWriteContent(\\quot\\C:\temp\2024-08\Mike_Jones_Inv\Vendor_EDI_\\quot\\+sHashID+\\quot\\_\\quot\\+sStoreName+\\quot\\.csv\\quot\\\\comma\\s)//crlf////tab////tab////tab////tab//sResult=sResult+\\quot\\Backup EDI: \\quot\\+sHashID+\\quot\\ \\quot\\+sStoreName+\\quot\\: Ok\\quot\\+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n++//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//return(sResult)//crlf////tab//else//crlf////tab////tab//return(\\quot\\Disabled\\quot\\)//crlf////tab//endif//crlf//\\quot\\>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Backup inventory files//crlf//--------------------------------------------------------------------------]//crlf//<h2>Backup inventory files</h2>//crlf//<!include type:script; commands:\\quot\\//crlf////tab//if(false)//crlf////tab////tab//arHashID=\\quot\\__HashIDs__\\quot\\//crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//c=getElementCount(arHashID)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////tab////tab////tab//sStoreName=replaceSubstring(lookup(Aspect_BackOffice_Company_List\\comma\\sHashID)\\comma\\\\quot\\ \\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab////tab//s=execAgentAction(\\quot\\clearExistingInventoryFilesMJ\\quot\\\\comma\\\\quot\\Move=false\\quot\\\\comma\\sHashID)//crlf////tab////tab////tab//sResult=sResult+\\quot\\Backup Inventory Files: \\quot\\+sHashID+\\quot\\ \\quot\\+sStoreName+\\quot\\: \\quot\\+s+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//n++//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//return(sResult)//crlf////tab//else//crlf////tab////tab//return(\\quot\\Disabled\\quot\\)//crlf////tab//endif//crlf//\\quot\\>//crlf////crlf//<hr>//crlf////tab//<h2>Upon switch</h2>//crlf//<hr>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Clear inventory files//crlf//--------------------------------------------------------------------------]//crlf//<h2>Clear inventory files</h2>//crlf//<!include type:script; commands:\\quot\\//crlf////tab//if(false)//crlf////tab////tab//arHashID=\\quot\\__HashIDs__\\quot\\//crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//c=getElementCount(arHashID)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////tab////tab////tab//if(sHashID<>\\quot\\tilo5pyoi\\quot\\)//crlf////tab////tab////tab////tab//sStoreName=replaceSubstring(lookup(Aspect_BackOffice_Company_List\\comma\\sHashID)\\comma\\\\quot\\ \\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab////tab////tab//s=execAgentAction(\\quot\\clearExistingInventoryFilesMJ\\quot\\\\comma\\\\quot\\Move=true\\quot\\\\comma\\sHashID)//crlf////tab////tab////tab////tab//sResult=sResult+\\quot\\Clear Inventory Files: \\quot\\+sHashID+\\quot\\ \\quot\\+sStoreName+\\quot\\: \\quot\\+s+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//n++//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//return(sResult)//crlf////tab//else//crlf////tab////tab//return(\\quot\\Disabled\\quot\\)//crlf////tab//endif//crlf//\\quot\\>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Enable inventory synch//crlf//--------------------------------------------------------------------------]//crlf//<h2>Enable inventory synch</h2>//crlf//<!include type:script; commands:\\quot\\//crlf////tab//if(false)//crlf////tab////tab//arHashID=\\quot\\__HashIDs__\\quot\\//crlf////crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//c=getElementCount(arHashID)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////tab////tab////tab//sStoreName=replaceSubstring(lookup(Aspect_BackOffice_Company_List\\comma\\sHashID)\\comma\\\\quot\\ \\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab////tab//s=execAgentAction(\\quot\\enableInventorySynchMJ\\quot\\\\comma\\\\quot\\MasterHashID=tilo5pyoi\\quot\\\\comma\\sHashID)//crlf////tab////tab////tab//sResult=sResult+\\quot\\Enable synch: \\quot\\+sHashID+\\quot\\ \\quot\\+sStoreName+\\quot\\: \\quot\\+s+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//n++//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//return(sResult)//crlf////tab//else//crlf////tab////tab//return(\\quot\\Disabled\\quot\\)//crlf////tab//endif//crlf//\\quot\\>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Restore vendor EDI info//crlf//--------------------------------------------------------------------------]//crlf//<h2>Restore vendor EDI info</h2>//crlf//<!include type:script; commands:\\quot\\//crlf////tab//if(false)//crlf////tab////tab//arHashID=\\quot\\__HashIDs__\\quot\\//crlf////tab////tab//arHashID=\\quot\\__HashIDs__\\quot\\//crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//c=getElementCount(arHashID)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////tab////tab////tab//sStoreName=replaceSubstring(lookup(Aspect_BackOffice_Company_List\\comma\\sHashID)\\comma\\\\quot\\ \\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab////tab//s=execAgentAction(\\quot\\restoreVendorEDIInfoMJ\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sHashID)//crlf////tab////tab////tab//sResult=sResult+\\quot\\Restore EDI: \\quot\\+sHashID+\\quot\\ \\quot\\+sStoreName+\\quot\\: \\quot\\+s+getToken(\\quot\\br\\quot\\)//crlf////tab////tab////tab//n++//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//return(sResult)//crlf////tab//else//crlf////tab////tab//return(\\quot\\Disabled\\quot\\)//crlf////tab//endif//crlf//\\quot\\>//crlf////crlf//<hr>//crlf////tab//<h2>Check Status</h2>//crlf//<hr>//crlf////crlf//[!------------------------------------------------------------------------//crlf//Check status//crlf//--------------------------------------------------------------------------]//crlf//<h2>Status</h2>//crlf//<!include type:script; commands:\\quot\\//crlf////tab//if(false)//crlf////tab////tab//arHashID=\\quot\\__HashIDs__\\quot\\//crlf////crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//c=getElementCount(arHashID)//crlf////tab////tab//n=0//crlf////tab////tab//while(n<c)//crlf////tab////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////tab////tab////tab//sStoreName=replaceSubstring(lookup(Aspect_BackOffice_Company_List\\comma\\sHashID)\\comma\\\\quot\\ \\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab////tab//s=getSensorValue(\\quot\\getConversionStatusAug2024\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sHashID)//crlf////tab////tab////tab//sLine=sHashID+char(0x2C)+sStoreName+char(0x2C)+s//crlf////tab////tab////tab//sResult=addElement(sResult\\comma\\sLine\\comma\\char(10))//crlf////tab////tab////tab//n++//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//sResult=htmlTable(sResult\\comma\\char(10)\\comma\\char(0x2C))//crlf////tab////tab//return(sResult)//crlf////tab//else//crlf////tab////tab//return(\\quot\\Disabled\\quot\\)//crlf////tab//endif//crlf//\\quot\\>//crlf//^
ID=734229|X=662|Y=22|W=475|H=105|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h1>Test functions</h1>//crlf//<br>//crlf//<include type:script; commands:\\quot\\//crlf////tab//s=execAgentAction(\\quot\\adjustForECommDeliveryFees\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab//return(s)//crlf//\\quot\\>//crlf////crlf//<include type:script; commands:\\quot\\//crlf////tab//return(\\quot\\\\quot\\)//crlf////crlf////tab//sHashID=getToken(\\quot\\AspectHashID\\quot\\)//crlf////tab//sHashID=\\quot\\8w4ev9xxp\\quot\\//crlf////tab//sCompanyHashID=\\quot\\yvg7mz3dx\\quot\\//crlf////tab//s1=getSensorValue(\\quot\\getEndingDollarsFromDailyInventorySummary\\quot\\\\comma\\\\quot\\Date=07-31-2024\\quot\\\\comma\\sHashID)//crlf////tab//s2=getSensorValue(\\quot\\getEndingDollarsFromSalesExport\\quot\\\\comma\\\\quot\\Date=07-31-2024\\quot\\\\comma\\sHashID)//crlf////tab//s3=getSensorValue(\\quot\\getEndingDollarsFromSalesExport\\quot\\\\comma\\\\quot\\Filename=C:~~backslash~~aspect7~~backslash~~data~~backslash~~\\quot\\\\plus\\sHashID\\plus\\\\quot\\~~backslash~~salesexport.07-31-2024.bin\\quot\\\\comma\\sCompanyHashID)//crlf////tab//return(\\quot\\s1=\\quot\\\\plus\\s1\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\\\quot\\s2=\\quot\\\\plus\\s2\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\\\quot\\s3=\\quot\\\\plus\\s3)//crlf////crlf////tab////s=execAgentAction(\\quot\\validateEndingInventoryReporting\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////s=execAgentAction(\\quot\\createDesktopShortcutMJ\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\a2mt3692r\\quot\\)//crlf////crlf////tab////sHashID=getToken(\\quot\\AspectHashID\\quot\\)//crlf////tab////s=execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Mike Jones - Local\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sHashID\\comma\\true)//crlf////tab////return(\\quot\\s=\\quot\\\\plus\\s)//crlf//\\quot\\>//crlf////crlf//<include type:script; commands:\\quot\\//crlf////tab//return()//crlf////tab//arHashID=\\quot\\626tpgpq8\\comma\\hccldm83k\\comma\\5wt9r3vpg\\comma\\402nhkseu\\comma\\zyg52drfp\\comma\\vgdk5lse8\\comma\\u2mxdypnw\\comma\\cehkylxyv\\comma\\gkuuhvnry\\comma\\rmh297uf3\\comma\\knoc5rn2i\\comma\\oco56wmov\\comma\\o7f313uos\\comma\\8w4ev9xxp\\comma\\5jvydfggx\\comma\\ci1xy5k7m\\comma\\ztumdr654\\comma\\wmz2zkvtl\\comma\\tn3b51501\\comma\\hnag8mnga\\comma\\rmuu83xhn\\comma\\whdfz2csj\\comma\\p5f4ps3ci\\comma\\4zd8tv4tx\\comma\\aa2p0fpld\\comma\\tsomgggmo\\comma\\t4yo2o4m9\\comma\\tilo5pyoi\\quot\\//crlf////tab//sResult=\\quot\\\\quot\\//crlf////tab//c=getElementCount(arHashID)//crlf////tab//n=0//crlf////tab//while(n<c)//crlf////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////tab////tab//s=execAgentAction(\\quot\\adjustForATODelvDriverFees\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sHashID)//crlf////tab////tab//sResult=sResult\\plus\\sHashID\\plus\\\\quot\\: \\quot\\\\plus\\s\\plus\\char(13)\\plus\\char(10)//crlf////tab////tab//n\\plus\\\\plus\\//crlf////tab//endwhile//crlf////crlf////tab//fileWriteContent(\\quot\\c:~~backslash~~temp~~backslash~~2024-10~~backslash~~mikejones~~backslash~~adjust_\\quot\\\\plus\\formatdate(now()\\comma\\\\quot\\MMddyyyy_HHmmss\\quot\\)\\plus\\\\quot\\.txt\\quot\\\\comma\\sResult)//crlf////tab//return(replaceSubstring(sResult\\comma\\char(13)\\plus\\char(10)\\comma\\getToken(\\quot\\br\\quot\\)))//crlf//\\quot\\>//crlf////crlf//<include type:script; commands:\\quot\\//crlf////tab//return(\\quot\\\\quot\\)//crlf////tab//execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Mike Jones - Local\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\vgdk5lse8\\quot\\\\comma\\false)//crlf////tab//execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Mike Jones - Local\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\a2mt3692r\\quot\\\\comma\\false)//crlf////tab//execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Mike Jones - Local\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\p5f4ps3ci\\quot\\\\comma\\false)//crlf////tab//execAgent(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Mike Jones - Local\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\apfo9g9gi\\quot\\\\comma\\false)//crlf////tab//return(\\quot\\Ok: Executed agents\\quot\\)//crlf//\\quot\\>//crlf////crlf////crlf//^
ID=512171|X=183|Y=941|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=661292|AgentChildNoNode=|AgentSensor=|AgentAction=validateEndingInventoryReporting|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=ActionResult2|AgentNodeComment=Validate ending inventory reporting to office|AgentNodeTermType=|^
ID=290595|X=300|Y=126|W=1198|H=775|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<br>//crlf//<h1>Check for multiple b2b threads</h1>//crlf////crlf//<p>This script gets a list of running threads from each Mike Jones store and counts the number of //crlf////tab//b2b.sysco.com threads running.  The count should be zero.  A bug in the SFTP routine was leaving //crlf////tab//these threads running previously.  This was corrected with an update to Aspect7.jar on 8/31/24.  The //crlf////tab//size of the jar file is 2\\comma\\264\\comma\\505 bytes.  Enable the conditional and reload this item to execute //crlf////tab//the script.</p>//crlf////crlf//<p>These were all tested 9/12/24 and showed zero duplicate threads</p>//crlf////crlf//<conditional expression:false>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//arHashID=\\quot\\626tpgpq8\\comma\\hccldm83k\\comma\\5wt9r3vpg\\comma\\402nhkseu\\comma\\zyg52drfp\\comma\\fgsfmx3ef\\comma\\vgdk5lse8\\comma\\u2mxdypnw\\comma\\cehkylxyv\\comma\\zum97mvco\\comma\\gkuuhvnry\\comma\\rmh297uf3\\comma\\v43xrx9j5\\comma\\knoc5rn2i\\comma\\y564wnrnl\\comma\\o7f313uos\\comma\\8w4ev9xxp\\comma\\5jvydfggx\\comma\\ci1xy5k7m\\comma\\a2mt3692r\\comma\\ztumdr654\\comma\\wmz2zkvtl\\comma\\tn3b51501\\comma\\hnag8mnga\\comma\\rmuu83xhn\\comma\\whdfz2csj\\comma\\p5f4ps3ci\\comma\\4zd8tv4tx\\comma\\aa2p0fpld\\comma\\tsomgggmo\\comma\\apfo9g9gi\\comma\\yyrpa1utd\\comma\\t4yo2o4m9\\comma\\tilo5pyoi\\comma\\\\quot\\//crlf////tab////tab////arHashID=getToken(\\quot\\AspectHashID\\quot\\)//crlf////tab////tab//cHashID=getElementCount(arHashID)//crlf////tab////tab//nHashID=0//crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//sOccurrences=\\quot\\\\quot\\//crlf////tab////tab//while(nHashID<cHashID)//crlf////tab////tab////tab//t1=now()//crlf////tab////tab////tab//sHashID=trim(getElement(arHashID\\comma\\nHashID))//crlf////tab////tab////tab//if(len(sHashID)>0)//crlf////tab////tab////tab////tab////s=gw(\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\\\comma\\\\quot\\Notification Queries\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\query=get_windows_processes\\quot\\\\comma\\sHashID)//crlf////tab////tab////tab////tab////s=gw(\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\\\comma\\\\quot\\Notification Container\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\action=getServerStats\\quot\\\\comma\\sHashID)//crlf////crlf////tab////tab////tab////tab//sParams=\\quot\\query=fileGetContent//amp//Filename=http://127.0.0.1:6601/?Network=greenlight\\percent\\26ID=eval\\percent\\26expression=getThreads(true)\\quot\\//crlf////tab////tab////tab////tab//s=gw(\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\\\comma\\\\quot\\Notification queries\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sParams\\comma\\sHashID)//crlf////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\~~pipe~~\\quot\\\\comma\\char(10))//crlf////crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\char(10))//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//cCount=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//sLine=getElement(s\\comma\\n\\comma\\char(10))//crlf////tab////tab////tab////tab////tab//if(pos(\\quot\\b2b.sysco.com\\quot\\\\comma\\sLine)>=0)//crlf////tab////tab////tab////tab////tab////tab//sOccurrences=sOccurrences+sLine+char(13)+char(10)//crlf////tab////tab////tab////tab////tab////tab//cCount++//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n++//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//t2=now()//crlf////tab////tab////tab////tab//appendToLog(nHashID+\\quot\\/\\quot\\+cHashID+\\quot\\ HashID: \\quot\\+sHashID+\\quot\\ Count: \\quot\\+cCount+\\quot\\ Elapsed Seconds: \\quot\\+(t2-t1)/1000)//crlf////tab////tab////tab////tab//sResult=sResult+sHashID+\\quot\\\\comma\\\\quot\\+cCount+char(13)+char(10)//crlf////tab////tab////tab////tab//fileWriteContent(\\quot\\c:\temp\2024-08\processes.txt\\quot\\\\comma\\sResult+char(13)+char(10)+sOccurrences)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//nHashID++//crlf////tab////tab//endwhile//crlf////tab////tab//fileWriteContent(\\quot\\c:\temp\2024-08\processes.txt\\quot\\\\comma\\sResult+char(13)+char(10)+sOccurrences)//crlf////tab////tab//return(replaceSubstring(sResult\\comma\\char(13)\\comma\\getToken(\\quot\\br\\quot\\)))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf//^
ID=608924|X=300|Y=126|W=1198|H=775|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<br>//crlf//<h1>Get list of desktop directories</h1>//crlf////crlf//<p>This script gets a list of desktop directories from each Mike Jones store.  //crlf//  Enable the conditional and reload this item to execute the script.</p>//crlf////crlf//<conditional expression:false>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//arHashID=\\quot\\626tpgpq8\\comma\\hccldm83k\\comma\\5wt9r3vpg\\comma\\402nhkseu\\comma\\zyg52drfp\\comma\\fgsfmx3ef\\comma\\vgdk5lse8\\comma\\u2mxdypnw\\comma\\cehkylxyv\\comma\\zum97mvco\\comma\\gkuuhvnry\\comma\\rmh297uf3\\comma\\v43xrx9j5\\comma\\knoc5rn2i\\comma\\y564wnrnl\\comma\\o7f313uos\\comma\\8w4ev9xxp\\comma\\5jvydfggx\\comma\\ci1xy5k7m\\comma\\a2mt3692r\\comma\\ztumdr654\\comma\\wmz2zkvtl\\comma\\tn3b51501\\comma\\hnag8mnga\\comma\\rmuu83xhn\\comma\\whdfz2csj\\comma\\p5f4ps3ci\\comma\\4zd8tv4tx\\comma\\aa2p0fpld\\comma\\tsomgggmo\\comma\\apfo9g9gi\\comma\\yyrpa1utd\\comma\\t4yo2o4m9\\comma\\tilo5pyoi\\comma\\\\quot\\//crlf////tab////tab////arHashID=getToken(\\quot\\AspectHashID\\quot\\)//crlf////tab////tab//cHashID=getElementCount(arHashID)//crlf////tab////tab//nHashID=0//crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//hashCreate(hDir)//crlf////tab////tab//hashCreate(hAllDir)//crlf////tab////tab//while(nHashID<cHashID)//crlf////tab////tab////tab//sHashID=trim(getElement(arHashID\\comma\\nHashID))//crlf////tab////tab////tab//if(len(sHashID)>0)//crlf////tab////tab////tab////tab////get list of all .lnk files//crlf////tab////tab////tab////tab//sParams=\\quot\\query=fileGetContent//amp//Filename=http://127.0.0.1:6601/?Network=greenlight\\percent\\26ID=eval\\percent\\26expression=getMatchingFiles(c:\users\*.lnk\\comma\\true\\comma\\true\\comma\\3)\\quot\\//crlf////tab////tab////tab////tab//s=gw(\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\\\comma\\\\quot\\Notification queries\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sParams\\comma\\sHashID)//crlf////crlf////tab////tab////tab////tab////make a hashtable of all desktop directories//crlf////tab////tab////tab////tab//hashClear(hDir)//crlf////tab////tab////tab////tab//c=getElementCount(s\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//n=0//crlf////tab////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab////tab//sFilename=getElement(s\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab////tab//if((pos(\\quot\\desktop\\quot\\\\comma\\sFilename)>=0) and (pos(\\quot\\desktop.lnk\\quot\\\\comma\\sFilename)<0))//crlf////tab////tab////tab////tab////tab////tab//sDir=fileDrive(sFilename)+fileDir(sFilename)//crlf////tab////tab////tab////tab////tab////tab//if(not(hashContainsKey(hDir\\comma\\sDir)))//crlf////tab////tab////tab////tab////tab////tab////tab////add to the directory list for the current HashID//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(hDir\\comma\\sDir\\comma\\sDir)//crlf////crlf////tab////tab////tab////tab////tab////tab////tab////add to the directory list for all Hashids.  Count the number of occurrences.//crlf////tab////tab////tab////tab////tab////tab////tab//hashPut(hAllDir\\comma\\sDir\\comma\\value(hashGet(hAllDir\\comma\\sDir))+1)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//n++//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//sKeys=hashGetKeys(hDir)//crlf////tab////tab////tab////tab//sAllKeys=hashGetKeys(hAllDir)//crlf////crlf////tab////tab////tab////tab//sSummary=\\quot\\\\quot\\//crlf////tab////tab////tab////tab//cKey=getElementCount(sAllKeys)//crlf////tab////tab////tab////tab//nKey=0//crlf////tab////tab////tab////tab//while(nKey<cKey)//crlf////tab////tab////tab////tab////tab//sKey=getElement(sAllKeys\\comma\\nKey)//crlf////tab////tab////tab////tab////tab//sSummary=sSummary+char(13)+char(10)+sKey+\\quot\\\\comma\\ \\quot\\+hashGet(hAllDir\\comma\\sKey)//crlf////tab////tab////tab////tab////tab//nKey++//crlf////tab////tab////tab////tab//endwhile//crlf////crlf////tab////tab////tab////tab//appendToLog(nHashID+\\quot\\/\\quot\\+cHashID+\\quot\\ HashID: \\quot\\+sHashID+\\quot\\ Dir: \\quot\\+sKeys)//crlf////tab////tab////tab////tab//sResult=sResult+sHashID+\\quot\\\\comma\\\\quot\\+sKeys+char(13)+char(10)//crlf////tab////tab////tab////tab//fileWriteContent(\\quot\\c:\temp\2024-08\desktop.txt\\quot\\\\comma\\sResult+char(13)+char(10)+sSummary)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//nHashID++//crlf////tab////tab//endwhile//crlf////crlf////tab////tab////crlf////tab////tab//fileWriteContent(\\quot\\c:\temp\2024-08\desktop.txt\\quot\\\\comma\\sResult+char(13)+char(10)+sSummary)//crlf////tab////tab//return(replaceSubstring(sResult\\comma\\char(13)\\comma\\getToken(\\quot\\br\\quot\\)))//crlf////tab//\\quot\\>//crlf//</conditional>//crlf//^
ID=466264|X=300|Y=126|W=1198|H=775|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<br>//crlf//<conditional expression:(true) and ({@formatDate(now()\\comma\\\\quot\\MMddyyyy\\quot\\)}=\\quot\\10022024\\quot\\)>//crlf////tab//<!include type:script; commands:\\quot\\//crlf////tab////tab//dt=getMonthEnd(-1)//tab////tab////tab////crlf////tab////tab//sCompanyHashID=\\quot\\yvg7mz3dx\\quot\\//crlf////crlf////tab////tab//arHashID=\\quot\\626tpgpq8\\comma\\hccldm83k\\comma\\5wt9r3vpg\\comma\\402nhkseu\\comma\\zyg52drfp\\comma\\fgsfmx3ef\\comma\\vgdk5lse8\\comma\\u2mxdypnw\\comma\\cehkylxyv\\comma\\zum97mvco\\comma\\gkuuhvnry\\comma\\rmh297uf3\\comma\\v43xrx9j5\\comma\\knoc5rn2i\\comma\\y564wnrnl\\comma\\o7f313uos\\comma\\8w4ev9xxp\\comma\\5jvydfggx\\comma\\ci1xy5k7m\\comma\\a2mt3692r\\comma\\ztumdr654\\comma\\wmz2zkvtl\\comma\\tn3b51501\\comma\\hnag8mnga\\comma\\rmuu83xhn\\comma\\whdfz2csj\\comma\\p5f4ps3ci\\comma\\4zd8tv4tx\\comma\\aa2p0fpld\\comma\\tsomgggmo\\comma\\apfo9g9gi\\comma\\yyrpa1utd\\comma\\t4yo2o4m9\\comma\\tilo5pyoi\\quot\\//crlf////tab////tab//arHashID=\\quot\\626tpgpq8\\comma\\402nhkseu\\comma\\5jvydfggx\\quot\\//crlf////tab////tab//cHashID=getElementCount(arHashID)//crlf////tab////tab//nHashID=0//crlf////tab////tab//sResult=\\quot\\\\quot\\//crlf////tab////tab//cError=0//crlf////tab////tab//cOk=0//crlf////tab////tab//while(nHashID<cHashID)//crlf////tab////tab////tab//sHashID=trim(getElement(arHashID\\comma\\nHashID))//crlf////tab////tab////tab//if(len(sHashID)>0)//crlf////tab////tab////tab////tab////s0=execAgentAction(\\quot\\updateEndOfMonthSalesExport\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\sHashID)//crlf////crlf////tab////tab////tab////tab//s1=getSensorValue(\\quot\\getEndingDollarsFromDailyInventorySummary\\quot\\\\comma\\\\quot\\Date=\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\sHashID)//crlf////tab////tab////tab////tab//dEndInv1=value(getElement(s1\\comma\\1))+value(getElement(s1\\comma\\2))//crlf////crlf////tab////tab////tab////tab//s2=getSensorValue(\\quot\\getEndingDollarsFromSalesExport\\quot\\\\comma\\\\quot\\Date=\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)\\comma\\sHashID)//crlf////tab////tab////tab////tab//dEndInv2=value(getElement(s2\\comma\\1))+value(getElement(s2\\comma\\2))//crlf////tab////tab////crlf////tab////tab////tab////tab//s3=getSensorValue(\\quot\\getEndingDollarsFromSalesExport\\quot\\\\comma\\\\quot\\Filename=C:\aspect7\data\\\quot\\+sHashID+\\quot\\\salesexport.\\quot\\+formatDate(dt\\comma\\\\quot\\MM-dd-yyyy\\quot\\)+\\quot\\.bin\\quot\\\\comma\\sCompanyHashID)//crlf////tab////tab////tab////tab//dEndInv3=value(getElement(s3\\comma\\1))+value(getElement(s3\\comma\\2))//crlf////crlf////tab////tab////tab////tab//if((dEndInv1>0) and (dEndInv1=dEndInv2) and (dEndInv2=dEndInv3))//crlf////tab////tab////tab////tab////tab//s=\\quot\\Ok: \\quot\\//crlf////tab////tab////tab////tab////tab//cOk++//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//s=\\quot\\Er: \\quot\\//crlf////tab////tab////tab////tab////tab//cError++//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//s=s+\\quot\\ \\quot\\+sHashID+\\quot\\ \\quot\\+dEndInv1+\\quot\\ \\quot\\+dEndInv2+\\quot\\ \\quot\\+dEndInv3//crlf////tab////tab////tab////tab//if(dEndInv1*dEndInv2*dEndInv3=0)//crlf////tab////tab////tab////tab////tab//s=s+\\quot\\ s1=\\quot\\+s1+\\quot\\ s2=\\quot\\+s2+\\quot\\ s3=\\quot\\+s3//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab//sResult=sResult+s+char(13)+char(10)//crlf////tab////tab////tab////tab//fileWriteContent(\\quot\\C:\temp\2024-09\Mike_Jones_Inv\validate_endinv.txt\\quot\\\\comma\\sResult)//tab////tab////tab////crlf////tab////tab////tab//endif//crlf////tab////tab////tab//nHashID++//crlf////tab////tab//endwhile//crlf////crlf////tab////tab//sResult=\\quot\\Ok: \\quot\\+cOk+\\quot\\ Error: \\quot\\+cError+char(13)+char(10)+sResult//crlf////tab////tab//fileWriteContent(\\quot\\C:\temp\2024-09\Mike_Jones_Inv\validate_endinv.txt\\quot\\\\comma\\sResult)//tab////tab////tab////crlf////crlf////tab////tab//return(replaceSubstring(sResult\\comma\\char(13)\\comma\\getToken(\\quot\\br\\quot\\)))//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=724952|X=183|Y=379|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=32691|AgentChildNoNode=|AgentSensor=|AgentAction=identifyNonCashTendersMJ|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=ResultNonCash|AgentNodeComment=Identify non-cash tenders|AgentNodeTermType=|^
ID=32691|X=183|Y=513|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=213410|AgentChildNoNode=|AgentSensor=|AgentAction=1|AgentNodeNotes=|AgentNodeParams=execAgentAction(\\quot\\importMissingPosData\\quot\\)|AgentNodeExpression=|AgentNodeActionReturnValue=ResultimportMissingPosData|AgentNodeComment=Import missing POS data|AgentNodeTermType=|
</widget><widget name="Customer Support - City Range Store" group="Customer Support" category="" description="Updates the chart of accounts to look for new discounts, comps and paidouts.  This is used for Glory Days as well as City Range." type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Customer Support - City Range Store" modified="07-06-2024 21:17:33" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=false ContainsAgentActions=false TaskInitialStartTime=03-08-2024 09:00:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=1 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="(pos(getToken(\\quote\\AspectHashID\\quote\\),\\quote\\6uq6byiu1|d5cmhp30o|imgesl29l|vampoa2va\\quote\\)\\gt\\=0) and (not(getToken(\\quote\\POSInterface_PosType\\quote\\)=\\quote\\Undefined\\quote\\))" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=609|toolboxy=59|aspectfuncx=50|aspectfuncy=50|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=null|aspectfuncVisible=false|PublishFtpFilename=Customer Support - City Range Store.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=1037|H=710|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class=\\apos\\tabdialog\\apos\\>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\532726\\apos\\)\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\AspectScript\\apos\\)\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\sensor_list\\apos\\)\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\action_list\\apos\\)\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\debug_console\\apos\\)\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\\\apos\\724082\\apos\\)\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=532726|X=1500|Y=26|W=1037|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=26|W=1037|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=26|W=1037|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - City Range Store.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=1500|Y=26|W=1037|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - City Range Store.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=debug_console|X=1500|Y=26|W=1037|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=724082|X=1500|Y=26|W=1037|H=710|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=164607|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=always|AgentReportTo=getToken(\\quot\\AspectServerHashID\\quot\\)|^
ID=941375|X=183|Y=469|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ActionResult|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Customer Support - City Range Store\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - City Range Store\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 03-13-2024 14:59:09//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - City Range Store\\comma\\AgentAction\\comma\\164607\\comma\\0\\comma\\Update chart of accounts//crlf////crlf////tab////tab////Update chart of accounts//crlf////tab////tab//ActionResult=execAgentAction(\\quot\\updateChartOfAccounts\\quot\\\\comma\\\\quot\\StoreID=\\quot\\\\plus\\getToken(\\quot\\POSInterface_StoreID\\quot\\))//crlf////crlf////tab////tab////Ok?//crlf////tab////tab//if(ActionResult)//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - City Range Store\\comma\\AgentTerminate\\comma\\941375\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - City Range Store\\quot\\\\comma\\\\quot\\941375\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\ActionResult\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(ActionResult)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - City Range Store\\comma\\AgentTerminate\\comma\\886930\\comma\\1\\comma\\Error//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - City Range Store\\quot\\\\comma\\\\quot\\886930\\quot\\\\comma\\1\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\ActionResult\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(ActionResult)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;03132024//amp//nbsp;145909//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;City//amp//nbsp;Range//amp//nbsp;Store\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;03-13-2024//amp//nbsp;14:59:09</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Update//amp//nbsp;chart//amp//nbsp;of//amp//nbsp;accounts</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;ActionResult=<span class='keyword'>execAgentAction</span>(\\quot\\updateChartOfAccounts\\quot\\\\comma\\\\quot\\StoreID=\\quot\\\\plus\\<span class='keyword'>getToken</span>(\\quot\\POSInterface_StoreID\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Ok?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>if</span>(ActionResult)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;City//amp//nbsp;Range//amp//nbsp;Store\\quot\\\\comma\\\\quot\\941375\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\ActionResult\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(ActionResult)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;City//amp//nbsp;Range//amp//nbsp;Store\\quot\\\\comma\\\\quot\\886930\\quot\\\\comma\\1\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Error\\quot\\\\comma\\ActionResult\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(ActionResult)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>03132024 145909</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart164607\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\142\\quot\\ style=\\quot\\width: 120px; height: 142px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Customer Support - City Range Store</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: always<br>Report To: getToken(\\quot\\AspectServerHashID\\quot\\)<br>Name Params: </div></div><div id=\\quot\\chart941375\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 428px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\86\\quot\\ style=\\quot\\width: 120px; height: 86px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart164607\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart557409\\quot\\ style=\\quot\\position: absolute; top: 204px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\57\\quot\\ style=\\quot\\width: 150px; height: 57px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>Expression<br></td></tr><tr><td><u>Return</u></td><td>ActionResult</td></tr></tbody></table></div></div><div id=\\quot\\chart557409\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart941375\\quot\\ agentchildnonode=\\quot\\chart886930\\quot\\ style=\\quot\\position: absolute; top: 312px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\65\\quot\\ style=\\quot\\width: 150px; height: 65px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Ok?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart886930\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 312px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\86\\quot\\ style=\\quot\\width: 120px; height: 86px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Error<hr><span style=\\quot\\color:red\\quot\\>Fail</span></div></div>^
ID=164607|X=183|Y=245|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=557409|AgentChildNoNode=|AgentSensor=1|AgentAction=1|AgentNodeNotes=|AgentNodeParams=execAgentAction(\\quot\\updateChartOfAccounts\\quot\\//comma//\\quot\\StoreID\equals\\\quot\\\\plus\\getToken(\\quot\\POSInterface_StoreID\\quot\\))|AgentNodeExpression=|AgentNodeActionReturnValue=ActionResult|AgentNodeComment=Update chart of accounts|AgentNodeTermType=|^
ID=557409|X=183|Y=353|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=941375|AgentChildNoNode=886930|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ActionResult|AgentNodeActionReturnValue=|AgentNodeComment=Ok?|AgentNodeTermType=|^
ID=886930|X=373|Y=353|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=ActionResult|AgentNodeActionReturnValue=|AgentNodeComment=Error|AgentNodeTermType=1|
</widget><widget name="Support Utilities" group="" category="Customer Support" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Support Utilities" modified="06-08-2024 20:46:40" modifiedby="Thnikpad3" TaskEnabled=false IsAgent=false ContainsAgentSensors=false ContainsAgentActions=true TaskInitialStartTime=06-08-2024 20:25:53:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=0 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=235|toolboxy=358|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Support Utilities.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=1160|H=765|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'612334')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'debug_console')\\quot\\>Console</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'361587')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=612334|X=1500|Y=26|W=1160|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=26|W=1160|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=26|W=1160|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Support Utilities.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf//</conditional>//crlf////crlf//^
ID=action_list|X=1500|Y=26|W=1160|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\cache~~backslash~~WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Support Utilities.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Support Utilities\\comma\\supportGetCustomViews\\comma\\action_list\\comma\\Action=supportGetCustomViews\\comma\\private//crlf////tab//Support Utilities\\comma\\supportGetLocalPrefs\\comma\\action_list\\comma\\Action=supportGetLocalPrefs\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//supportGetCustomViews//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\supportGetCustomViews\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\supportGetCustomViews\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab//arHashID=\\quot\\\\quot\\//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\1s2nsbtr0~~pipe~~Heirloom - 1s2nsbtr0\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\2p6miq2st~~pipe~~Flying Rhino - Server New\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\5ftsj41ki~~pipe~~Seagrass Waterfront\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\626tpgpq8~~pipe~~Blackrock - Aloha Server\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\6hg2dvg0m~~pipe~~Tennessee Jacks\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\6uq6byiu1~~pipe~~City Range - Greenville\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\6vi974ssp~~pipe~~BWW Rapid City 3500\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\7h45pkiq7~~pipe~~Tudors - Corporate Office\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\9y4lptjsa~~pipe~~BMT - Tudors - Glen Daniel\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\afmmxs8mm~~pipe~~Aj Gators - Centerville\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\d39w76qbh~~pipe~~Rocky Hill\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\g6lpqnc71~~pipe~~Kamps 1910 - ST SERVER\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\iibe844hz~~pipe~~Hob Nob - SoftTouch Server\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\nojunv28n~~pipe~~Wine Cellar - Micros Server\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\r1w43v2b5~~pipe~~BWW Fort Walton Beach\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\s0lpc4ej2~~pipe~~The Pyramid Scheme - Aloha Server\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\urteq2grn~~pipe~~U Pick 6 - Harbor\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\xdjf1thxd~~pipe~~Rattlesnake Club - Micros\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\xtnidn8gh~~pipe~~Pacific Table - Las Colinas (OLD SERVER)\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\y5ru727hr~~pipe~~Smokehouse - Gladstone\\quot\\)//crlf////tab////tab////tab//arHashID=addElement(arHashID\\comma\\\\quot\\yvg7mz3dx~~pipe~~Mike Jones Corporate - Company Reports\\quot\\)//crlf////crlf////tab////tab////tab//arFile=\\quot\\\\quot\\//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~packages~~backslash~~local~~backslash~~supporting_files~~backslash~~dimensional_struct.bin\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~packages~~backslash~~local~~backslash~~supporting_files~~backslash~~dimensional_view_report_category.bin\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~packages~~backslash~~local~~backslash~~supporting_files~~backslash~~dimensional_view_report_params.bin\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~packages~~backslash~~local~~backslash~~supporting_files~~backslash~~ui_embedded_views.bin\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~packages~~backslash~~local~~backslash~~supporting_files~~backslash~~ui_view_category.bin\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~packages~~backslash~~local~~backslash~~supporting_files~~backslash~~ui_view_params.bin\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~packages~~backslash~~local~~backslash~~supporting_files~~backslash~~ui_views.bin\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~greenlight~~backslash~~email_task.bin\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~greenlight~~backslash~~email_task_content.bin\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~aspect_backoffice~~backslash~~company_list.dta\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~aspect_backoffice~~backslash~~daily_sales_export_external_struct.bin\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~aspect_backoffice~~backslash~~enterprise_names.bin\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~aspect_backoffice~~backslash~~local_widgets.html\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~aspect_backoffice~~backslash~~preferences.txt\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~aspect_backoffice~~backslash~~store_groups.dta\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~aspect_backoffice~~backslash~~store_list.dta\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~aspect_backoffice~~backslash~~time_period.dta\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~fileset~~backslash~~filesetsynch.bin\\quot\\)//crlf////tab////tab////tab//arFile=addElement(arFile\\comma\\\\quot\\c:~~backslash~~aspect7~~backslash~~fileset~~backslash~~fileset.bin\\quot\\)//crlf////crlf////tab////tab////tab//cHashID=getElementCount(arHashID)//crlf////tab////tab////tab//nHashID=0//crlf////tab////tab////tab//cDownload=0//crlf////tab////tab////tab//cError\\plus\\\\plus\\//crlf////tab////tab////tab//cError=0//crlf////tab////tab////tab//cCount=0//crlf////tab////tab////tab//while(nHashID<cHashID)//crlf////tab////tab////tab////tab//sHashID=getElement(getElement(arHashID\\comma\\nHashID)\\comma\\0\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sName=getElement(getElement(arHashID\\comma\\nHashID)\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//sName=replaceSubstring(sName\\comma\\\\quot\\ \\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab////tab////tab//sName=replaceSubstring(sName\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab////tab////tab//sName=replaceSubstring(sName\\comma\\\\quot\\_-_\\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab////tab////tab//cFile=getElementCount(arFile)//crlf////tab////tab////tab////tab//nFile=0//crlf////tab////tab////tab////tab//while(nFile<cFile)//crlf////tab////tab////tab////tab////tab//sRemoteFilename=getElement(arFile\\comma\\nFile)//crlf////tab////tab////tab////tab////tab//sLocalFilename=\\quot\\c:~~backslash~~aspect7~~backslash~~2024-customer_backup~~backslash~~\\quot\\\\plus\\sHashID\\plus\\\\quot\\_\\quot\\\\plus\\sName\\plus\\\\quot\\~~backslash~~\\quot\\\\plus\\replaceSubstring(sRemoteFilename\\comma\\\\quot\\c:~~backslash~~\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab//if(not(fileExists(sLocalFilename)))//crlf////tab////tab////tab////tab////tab////tab////s=gw(\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\\\comma\\\\quot\\Notification Query - Binary\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\filename=\\quot\\\\plus\\sRemoteFilename\\comma\\sHashID)//crlf////tab////tab////tab////tab////tab////tab////fileWriteContent(sLocalFilename\\comma\\s)//crlf////tab////tab////tab////tab////tab////tab//synchFiles(sHashID\\comma\\sLocalFilename\\comma\\sRemoteFilename\\comma\\false\\comma\\0\\comma\\\\quot\\\\quot\\\\comma\\true\\comma\\false)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Retr \\quot\\\\plus\\sHashID\\plus\\\\quot\\ \\quot\\\\plus\\fileName(sRemoteFilename)\\plus\\fileExt(sRemoteFilename)\\plus\\\\quot\\ - \\quot\\\\plus\\sName)//crlf////tab////tab////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab////wait for the download to complete//crlf////tab////tab////tab////tab////tab////tab//nSeconds=0//crlf////tab////tab////tab////tab////tab////tab//while((not(fileExists(sLocalFilename))) and (nSeconds<10))//crlf////tab////tab////tab////tab////tab////tab////tab//scriptSleep(1000)//crlf////tab////tab////tab////tab////tab////tab////tab//nSeconds\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab////crlf////tab////tab////tab////tab////tab////tab//if(fileExists(sLocalFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//cDownload\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Did not receive: \\quot\\\\plus\\fileName(sLocalFilename)\\plus\\fileExt(sLocalFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//cError\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//cCount\\plus\\\\plus\\//crlf////tab////tab////tab////tab////tab//nFile\\plus\\\\plus\\//crlf////tab////tab////tab////tab//endwhile//crlf////tab////tab////tab////tab//nHashID\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//return(\\quot\\Ok: Downloaded: \\quot\\\\plus\\cDownload\\plus\\\\quot\\ of \\quot\\\\plus\\cCount\\plus\\\\quot\\ Errors: \\quot\\\\plus\\cError)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//[!------------------------------------------------------------------------//crlf//supportGetLocalPrefs//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\supportGetLocalPrefs\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Gets localprefs files.  This was created to create a backup on the development //crlf////tab////tab//computer and to check the contents of the files//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\supportGetLocalPrefs\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//arHashID=getCollection(\\quot\\Tudors_HashID_by_Home_Department\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\Value\\quot\\)//crlf////tab////tab////tab//c=getElementCount(arHashID)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////tab////tab////tab////tab//sLocalFilename=\\quot\\C:~~backslash~~temp~~backslash~~2024-04~~backslash~~tudors~~backslash~~localprefs~~backslash~~\\quot\\\\plus\\sHashID\\plus\\\\quot\\_LocalPrefs.csv\\quot\\//crlf////tab////tab////tab////tab//if(fileSize(sLocalFilename)=0)//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Getting localprefs: \\quot\\\\plus\\sHashID\\plus\\\\quot\\ (\\quot\\\\plus\\(n\\plus\\1)\\plus\\\\quot\\ of \\quot\\\\plus\\c\\plus\\\\quot\\)\\quot\\)//crlf////tab////tab////tab////tab////tab//s=gw(\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\\\comma\\\\quot\\Notification Query - Binary\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\filename=c:~~backslash~~aspect7~~backslash~~localprefs.csv\\quot\\\\comma\\sHashID)//crlf////tab////tab////tab////tab////tab//fileWriteContent(sLocalFilename\\comma\\s)//crlf////crlf////tab////tab////tab////tab////tab//sConfirmHashID=removeQuotes(getElement(s\\comma\\12))//crlf////tab////tab////tab////tab////tab//sErrorFilename=sLocalFilename\\plus\\\\quot\\.error\\quot\\//crlf////tab////tab////tab////tab////tab//if(sConfirmHashID<>sHashID)//crlf////tab////tab////tab////tab////tab////tab//appendToLog(\\quot\\HashID: \\quot\\\\plus\\sHashID\\plus\\\\quot\\ ConfirmHashID: \\quot\\\\plus\\sConfirmHashID)//crlf////tab////tab////tab////tab////tab////tab//fileRename(sLocalFilename\\comma\\sErrorFilename)//crlf////tab////tab////tab////tab////tab////tab//fileDelete(sLocalFilename)//crlf////tab////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab////tab//if(fileExists(sErrorFilename))//crlf////tab////tab////tab////tab////tab////tab////tab//fileDelete(sErrorFilename)//crlf////tab////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Got localprefs: \\quot\\\\plus\\sHashID)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n\\plus\\\\plus\\//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//return(\\quot\\c=\\quot\\\\plus\\c)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//^
ID=debug_console|X=1500|Y=26|W=1160|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=debug_console|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=361587|X=1500|Y=26|W=1160|H=765|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=216270|X=298|Y=140|W=301|H=84|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h1>Get localprefs</h1>//crlf//<br>//crlf//<include type:script; commands:\\quot\\//crlf////crlf////tab//return(\\quot\\ok\\quot\\)//crlf////crlf////tab//arHashID=getCollection(\\quot\\Tudors_HashID_by_Home_Department\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\char(0x2C)\\comma\\\\quot\\Value\\quot\\)//crlf////tab//c=getElementCount(arHashID)//crlf////tab//n=0//crlf////tab//while(n<c)//crlf////tab////tab//sHashID=getElement(arHashID\\comma\\n)//crlf////tab////tab//sLocalFilename=\\quot\\C:\temp\2024-04\tudors\localprefs\\\quot\\+sHashID+\\quot\\_LocalPrefs.csv\\quot\\//crlf////tab////tab//if(fileSize(sLocalFilename)=0)//crlf////tab////tab////tab//appendToLog(\\quot\\Getting localprefs: \\quot\\+sHashID+\\quot\\ (\\quot\\+(n+1)+\\quot\\ of \\quot\\+c+\\quot\\)\\quot\\)//crlf////tab////tab////tab//s=gw(\\quot\\K4Ui6j3Y1rwlvukPkOqn25Em\\quot\\\\comma\\\\quot\\Notification Query - Binary\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\filename=c:\aspect7\localprefs.csv\\quot\\\\comma\\sHashID)//crlf////tab////tab////tab//fileWriteContent(sLocalFilename\\comma\\s)//crlf////crlf////tab////tab////tab//sConfirmHashID=removeQuotes(getElement(s\\comma\\12))//crlf////tab////tab////tab//sErrorFilename=sLocalFilename+\\quot\\.error\\quot\\//crlf////tab////tab////tab//if(sConfirmHashID<>sHashID)//crlf////tab////tab////tab////tab//appendToLog(\\quot\\HashID: \\quot\\+sHashID+\\quot\\ ConfirmHashID: \\quot\\+sConfirmHashID)//crlf////tab////tab////tab////tab//fileRename(sLocalFilename\\comma\\sErrorFilename)//crlf////tab////tab////tab////tab//fileDelete(sLocalFilename)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//if(fileExists(sErrorFilename))//crlf////tab////tab////tab////tab////tab//fileDelete(sErrorFilename)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Got localprefs: \\quot\\+sHashID)//crlf////tab////tab//endif//crlf////tab////tab//n++//crlf////tab//endwhile//crlf////tab//return(\\quot\\c=\\quot\\+c)//crlf////tab////return(\\quot\\s=\\quot\\+s)//crlf//\\quot\\>//crlf//^
ID=633946|X=723|Y=68|W=490|H=266|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<h1>Backup custom views</h1>//crlf//<br>//crlf//<include type:script; commands:\\quot\\//crlf////tab//return()//crlf////tab//s=execAgentAction(\\quot\\supportGetCustomViews\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab//arHashID=\\quot\\\\quot\\//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\1s2nsbtr0~~pipe~~Heirloom - 1s2nsbtr0\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\2p6miq2st~~pipe~~Flying Rhino - Server New\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\5ftsj41ki~~pipe~~Seagrass Waterfront\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\626tpgpq8~~pipe~~Blackrock - Aloha Server\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\6hg2dvg0m~~pipe~~Tennessee Jacks\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\6uq6byiu1~~pipe~~City Range - Greenville\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\6vi974ssp~~pipe~~BWW Rapid City 3500\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\7h45pkiq7~~pipe~~Tudors - Corporate Office\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\9y4lptjsa~~pipe~~BMT - Tudors - Glen Daniel\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\afmmxs8mm~~pipe~~Aj Gators - Centerville\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\d39w76qbh~~pipe~~Rocky Hill\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\g6lpqnc71~~pipe~~Kamps 1910 - ST SERVER\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\iibe844hz~~pipe~~Hob Nob - SoftTouch Server\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\nojunv28n~~pipe~~Wine Cellar - Micros Server\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\r1w43v2b5~~pipe~~BWW Fort Walton Beach\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\s0lpc4ej2~~pipe~~The Pyramid Scheme - Aloha Server\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\urteq2grn~~pipe~~U Pick 6 - Harbor\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\xdjf1thxd~~pipe~~Rattlesnake Club - Micros\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\xtnidn8gh~~pipe~~Pacific Table - Las Colinas (OLD SERVER)\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\y5ru727hr~~pipe~~Smokehouse - Gladstone\\quot\\)//crlf////tab//arHashID=addElement(arHashID\\comma\\\\quot\\yvg7mz3dx~~pipe~~Mike Jones Corporate - Company Reports\\quot\\)//crlf////crlf////tab//cHashID=getElementCount(arHashID)//crlf////tab//nHashID=0//crlf////tab//sResult=\\quot\\\\quot\\//crlf////tab//while(nHashID<cHashID)//crlf////tab////tab//sHashID=getElement(getElement(arHashID\\comma\\nHashID)\\comma\\0\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//sName=getElement(getElement(arHashID\\comma\\nHashID)\\comma\\1\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab//sName=replaceSubstring(sName\\comma\\\\quot\\ \\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab//sName=replaceSubstring(sName\\comma\\\\quot\\__\\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab//sName=replaceSubstring(sName\\comma\\\\quot\\_-_\\quot\\\\comma\\\\quot\\_\\quot\\)//crlf////tab////tab//sFilename=\\quot\\C:~~backslash~~aspect7~~backslash~~2024-customer_backup~~backslash~~\\quot\\\\plus\\sHashID\\plus\\\\quot\\_\\quot\\\\plus\\sName\\plus\\\\quot\\~~backslash~~aspect7~~backslash~~greenlight~~backslash~~email_task.bin\\quot\\//crlf////tab////tab//if(fileSize(sFilename)>0)//crlf////tab////tab////tab//sResult=sResult\\plus\\sName\\plus\\\\quot\\: Ok\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab//else//crlf////tab////tab////tab//sResult=sResult\\plus\\sName\\plus\\\\quot\\: Error\\quot\\\\plus\\getToken(\\quot\\br\\quot\\)//crlf////tab////tab//endif//crlf////tab////tab//nHashID\\plus\\\\plus\\//crlf////tab//endwhile//crlf////crlf////tab//return(\\quot\\s=\\quot\\\\plus\\s\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\sResult)//crlf//\\quot\\>//crlf//
</widget><widget name="Customer Support - Validate Local Prefs" group="Customer Support" category="" description="" type="Container" Mobile="false" Processing=0 metadata="" IncludeInViewer="false" PublicName="Customer Support - Validate Local Prefs" modified="09-22-2024 21:33:01" modifiedby="Thnikpad3" TaskEnabled=true IsAgent=true ContainsAgentSensors=true ContainsAgentActions=true TaskInitialStartTime=06-08-2024 20:25:00:000 TaskIntervalType=0 TaskLastExecuted= TaskCatchUpMissedTasks=false TaskYearsBetweenExecution=0 TaskMonthsBetweenExecution=0 TaskDaysBetweenExecution=0 TaskHoursBetweenExecution=1 TaskMinutesBetweenExecution=0 TaskSecondsBetweenExecution=0 TaskExecuteSun=true TaskExecuteMon=true TaskExecuteTue=true TaskExecuteWed=true TaskExecuteThu=true TaskExecuteFri=true TaskExecuteSat=true TaskConditional_Expression="true" TaskConditional_Expression_Description="" TaskState_Function="1.00+if(not(fileExists(getToken(\\quote\\homedir\\quote\\)+\\quote\\localprefs.restore\\quote\\)),now(),fileModified(getToken(\\quote\\homedir\\quote\\)+\\quote\\StartAspect.log\\quote\\))" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=0>
Preferences|toolboxx=55|toolboxy=258|aspectfuncx=100|aspectfuncy=100|aspectfuncw=750|aspectfunch=auto|aspectfuncLock=false|aspectfuncVisible=false|PublishFtpFilename=Customer Support - Validate Local Prefs.html|PublishToFtpSite=false|PublishFTPAccount=0|PublishFtpDirectory=/|PublishFtpPublicDirectory=/|PublishCopyFile=false|PublishCopyFilename=|PublishWysiwig=false|PublishIncludeAspectScript=false|PublishIncludeAspectStyleshet=false|PublishAsText=false|^
ID=top_bar|X=0|Y=0|W=101|H=14|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=left_bar|X=0|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=false|BorderStyle=solid 1 black|Visible=true|Print=false|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=|AlignLeft=top_bar|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=code|X=1500|Y=0|W=1134|H=779|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'820558')\\quot\\>Javascript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'AspectScript')\\quot\\>AspectScript</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'sensor_list')\\quot\\>Sensors</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'action_list')\\quot\\>Actions</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'197694')\\quot\\>StartAspect Batch</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\javascript:showTab(this\\comma\\'780839')\\quot\\>Notes</span></td>//crlf////tab//</tr>//crlf//</table>^
ID=820558|X=1500|Y=26|W=1134|H=779|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Javascript|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AspectScript|X=1500|Y=26|W=1134|H=779|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=sensor_list|X=1500|Y=26|W=1134|H=779|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Validate Local Prefs.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__sensor_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Customer Support - Validate Local Prefs\\comma\\getDesktopDirectories\\comma\\sensor_list\\comma\\Sensor=getDesktopDirectories\\comma\\private\\comma\\text//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//getDesktopDirectories//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__sensor__\\quot\\=\\quot\\getDesktopDirectories\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__SensorDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Returns a comma-delimited array of desktop directories under the c:\users directory//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Comma-delimited array of desktop directories under the c:\users directory//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__SensorExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getDesktopDirectories\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//arFiles=getMatchingFiles(\\quot\\c:\users\*.*\\quot\\\\comma\\true\\comma\\true\\comma\\3)//crlf////tab////tab////tab//arDesktop=\\quot\\\\quot\\//crlf////tab////tab////tab//c=getElementCount(arFiles\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab//n=0//crlf////tab////tab////tab//while(n<c)//crlf////tab////tab////tab////tab//s=getElement(arFiles\\comma\\n\\comma\\\\quot\\~~pipe~~\\quot\\)//crlf////tab////tab////tab////tab//if(fileIsDirectory(s))//crlf////tab////tab////tab////tab////tab//s=replaceSubstring(s\\comma\\\\quot\\/\\quot\\\\comma\\\\quot\\\\\quot\\)//crlf////tab////tab////tab////tab////tab//if(endsWith(s\\comma\\\\quot\\\desktop\\quot\\))//crlf////tab////tab////tab////tab////tab////tab//arDesktop=addElement(arDesktop\\comma\\s)//crlf////tab////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab////tab//n++//crlf////tab////tab////tab//endwhile//crlf////tab////tab////tab//return(arDesktop)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf////crlf//^
ID=action_list|X=1500|Y=26|W=1134|H=779|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>//crlf////tab//{@if(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\\\comma\\now()\\comma\\\\quot\\\\quot\\)}//crlf////tab//{@if(getSystemValue(\\quot\\DevelopmentMode\\quot\\)\\comma\\fileModified(getToken(\\quot\\homedir\\quot\\)+\\quot\\cache\WidgetEdit_h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Validate Local Prefs.html\\quot\\)\\comma\\\\quot\\\\quot\\)}//crlf//</state>//crlf////crlf//<conditional expression:(\\quot\\__action_list__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//Customer Support - Validate Local Prefs\\comma\\createTudorsDesktopShortcut\\comma\\action_list\\comma\\Action=createTudorsDesktopShortcut\\comma\\private//crlf////tab//Customer Support - Validate Local Prefs\\comma\\getStartAspectLog\\comma\\action_list\\comma\\Action=getStartAspectLog\\comma\\private//crlf////tab//Customer Support - Validate Local Prefs\\comma\\createStartAspectShortcut\\comma\\action_list\\comma\\Action=createStartAspectShortcut\\comma\\private//crlf////tab//Customer Support - Validate Local Prefs\\comma\\writeStartAspectBatch\\comma\\action_list\\comma\\Action=writeStartAspectBatch\\comma\\private//crlf////tab//Customer Support - Validate Local Prefs\\comma\\backupLocalPrefs\\comma\\action_list\\comma\\Action=backupLocalPrefs\\comma\\private//crlf////tab//Customer Support - Validate Local Prefs\\comma\\restoreLocalPrefs\\comma\\action_list\\comma\\Action=restoreLocalPrefs\\comma\\private//crlf////tab//Customer Support - Validate Local Prefs\\comma\\createStartAspectBatchFile\\comma\\action_list\\comma\\Action=createStartAspectBatchFile\\comma\\private//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//createTudorsDesktopShortcut//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\createTudorsDesktopShortcut\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Copies Start Aspect shortcut from Aspect7 to \users\grs\desktop//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\createTudorsDesktopShortcut\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////abort if company ID is not Tudors//crlf////tab////tab////tab//sCompanyID=getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)//crlf////tab////tab////tab//if(pos(sCompanyID\\comma\\\\quot\\VhGFwJcWHG2CnERns1zILedS~~pipe~~5giaVJp4RHUYyuIZqOtT98Tc\\quot\\)<0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Company ID is incorrect: \\quot\\+sCompanyID)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if \users\grs\desktop does not exist//crlf////tab////tab////tab//sDir=\\quot\\c:\users\grs\desktop\\quot\\//crlf////tab////tab////tab//if(getSystemValue(\\quot\\DevelopmentMode\\quot\\))//crlf////tab////tab////tab////tab//sDir=\\quot\\c:\users\keith\desktop\\quot\\//crlf////tab////tab////tab//endif//crlf////tab////tab////tab//if(not((fileExists(sDir)) and (fileIsDirectory(sDir))))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Not a valid directory: \\quot\\+sDir)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////abort if the shortcut doesn't exist//crlf////tab////tab////tab//sFilename=\\quot\\c:\aspect7\Start Aspect.lnk\\quot\\//crlf////tab////tab////tab//if(fileSize(sFilename)=0)//crlf////tab////tab////tab////tab//return(\\quot\\Error: File does not exist: \\quot\\+sFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////copy the link//crlf////tab////tab////tab//sDestFilename=addDirSlash(sDir)+\\quot\\Start Aspect.lnk\\quot\\//crlf////tab////tab////tab//fileCopy(sFilename\\comma\\sDestFilename)//crlf////crlf////tab////tab////tab////check that the link exists//crlf////tab////tab////tab//if(fileSize(sDestFilename)=fileSize(sFilename))//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Created shortcut: \\quot\\+sDestFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(\\quot\\Error: Could not create shortcut\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//getStartAspectLog//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\getStartAspectLog\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Gets the content of the StartAspect.log file and replaces cr/lf with html line breaks//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Rename - If true\\comma\\ the log file will be renamed to StartAspect.Bak//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Content of StartAspect.log//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\getStartAspectLog\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\StartAspect.log\\quot\\//crlf////tab////tab////tab//s=fileGetContent(sFilename)//crlf////crlf////tab////tab////tab////return if file does not exist//crlf////tab////tab////tab//if(not(fileExists(sFilename)))//crlf////tab////tab////tab////tab//return(\\quot\\\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get the content//crlf////tab////tab////tab//s=replaceSubstring(s\\comma\\char(13)\\comma\\getToken(\\quot\\br\\quot\\))//crlf////tab////tab////tab////crlf////tab////tab////tab////rename the file//crlf////tab////tab////tab//if(boolean(\\quot\\__Rename__\\quot\\))//crlf////tab////tab////tab////tab//fileCopy(sFilename\\comma\\getToken(\\quot\\homedir\\quot\\)+\\quot\\StartAspect.bak\\quot\\)//crlf////tab////tab////tab////tab//fileSetLength(sFilename\\comma\\0)//crlf////tab////tab////tab////tab//fileDelete(sFilename)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab//return(s)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//createStartAspectShortcut//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\createStartAspectShortcut\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Creates a desktop shortcut to run c:\aspect7\StartAspect.bat //crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\createStartAspectShortcut\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////get the content for the link//crlf////tab////tab////tab//s=fileGetContent(\\quot\\http://www.aspect-software.net/Aspect7/install/Start Aspect.lnk\\quot\\)//crlf////tab////tab////tab//if((len(trim(s))=0) or (pos(\\quot\\Aspect7\\quot\\\\comma\\s)<0))//crlf////tab////tab////tab////tab//return(\\quot\\Error: Unable to download shortcut content\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////save the link in the Aspect7 directory.  //crlf////tab////tab////tab////The shortcut will have to be manually copied to the appropriate desktop directory//crlf////tab////tab////tab//sFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\Start Aspect.lnk\\quot\\//crlf////tab////tab////tab//fileWriteContent(sFilename\\comma\\s)//crlf////tab////tab////tab//return(\\quot\\Ok: Created \\quot\\+sFilename)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//writeStartAspectBatch//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\writeStartAspectBatch\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Creates the StartAspect batch routine//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\writeStartAspectBatch\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//s=gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Customer Support - Validate Local Prefs\\quot\\\\comma\\\\quot\\197694\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//fileWriteContent(getToken(\\quot\\homedir\\quot\\)+\\quot\\StartAspect.bat\\quot\\\\comma\\s)//crlf////tab////tab////tab//return(\\quot\\ok\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//backupLocalPrefs//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\backupLocalPrefs\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ensures that a valid localprefs.restore file exists//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\backupLocalPrefs\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//sLocalPrefsFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\localprefs.csv\\quot\\//crlf////tab////tab////tab//sRestoreFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\localprefs.restore\\quot\\//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Localprefs.csv exist: \\quot\\+fileExists(sLocalPrefsFilename))//crlf////tab////tab////tab//appendToLog(\\quot\\Localprefs.restore exist: \\quot\\+fileExists(sRestoreFilename))//crlf////crlf////tab////tab////tab////see if localprefs.restore exists and is valid.  If so\\comma\\ return//crlf////tab////tab////tab//if(fileExists(sRestoreFilename))//crlf////tab////tab////tab////tab//sRestoreContent=fileGetContent(sRestoreFilename)//crlf////tab////tab////tab////tab//sRestoreHashID=removeQuotes(getElement(sRestoreContent\\comma\\12))//crlf////tab////tab////tab////tab//if(len(sRestoreHashID)=9)//crlf////tab////tab////tab////tab////tab//return(\\quot\\Ok: Restore file exists.  HashID: \\quot\\+sRestoreHashID)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Localprefs.restore exists but HashID is invalid: [\\quot\\+sRestoreHashID+\\quot\\]\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////If a valid localprefs.csv exists\\comma\\ copy it to localprefs.restore//crlf////tab////tab////tab//sLocalPrefsContent=fileGetContent(sLocalPrefsFilename)//crlf////tab////tab////tab//sLocalPrefsHashID=removeQuotes(getElement(sLocalPrefsContent\\comma\\12))//crlf////tab////tab////tab//if(len(sLocalPrefsHashID)=9)//crlf////tab////tab////tab////tab////copy localprefs.csv to localprefs.restore//crlf////tab////tab////tab////tab//fileCopy(sLocalPrefsFilename\\comma\\sRestoreFilename)//crlf////crlf////tab////tab////tab////tab////confirm the HashID in the localprefs.restore file//crlf////tab////tab////tab////tab//sRestoreContent=fileGetContent(sRestoreFilename)//crlf////tab////tab////tab////tab//sRestoreHashID=removeQuotes(getElement(sRestoreContent\\comma\\12))//crlf////tab////tab////tab////tab//if(sRestoreHashID=sLocalPrefsHashID)//crlf////tab////tab////tab////tab////tab//return(\\quot\\Ok: Restore file has been created.  HashID: \\quot\\+sRestoreHashID)//crlf////tab////tab////tab////tab//else//crlf////tab////tab////tab////tab////tab//appendToLog(\\quot\\Error: Unable to create localprefs.restore.\\quot\\)//crlf////tab////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////tab////the file was not copied properly so delete it//crlf////tab////tab////tab////tab//fileSetLength(sRestoreFilename\\comma\\0)//crlf////tab////tab////tab////tab//fileDelete(sRestoreFilename)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Localprefs.restore could not be created.  HashID: \\quot\\+sRestoreHashID)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Error: Invalid HashID in localprefs.csv: [\\quot\\+sLocalPrefsHashID+\\quot\\]\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////neither a valid localprefs.csv or localprefs.restore file exist//crlf////tab////tab////tab//return(\\quot\\Error: Localprefs is invalid.  Cannot create localprefs.restore\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//restoreLocalPrefs//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\restoreLocalPrefs\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Replaces an invalid localprefs.csv file with the contents of localprefs.restore//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//None//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Ok or Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\restoreLocalPrefs\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab////tab////08-09-2024 For now\\comma\\ only execute this at selected stores to test it out//crlf////tab////tab////tab//arCompany=\\quot\\ALNl6wtZR9zZT17EQDlONkyg\\comma\\5giaVJp4RHUYyuIZqOtT98Tc\\quot\\//crlf////tab////tab////tab//if(pos(getToken(\\quot\\Aspect_BackOffice_Pref_CompanyPollingID\\quot\\)\\comma\\arCompany)<0)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Did not perform check to restore localprefs\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab//sLocalPrefsFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\localprefs.csv\\quot\\//crlf////tab////tab////tab//sRestoreFilename=getToken(\\quot\\homedir\\quot\\)+\\quot\\localprefs.restore\\quot\\//crlf////crlf////tab////tab////tab//appendToLog(\\quot\\Localprefs.csv exist: \\quot\\+fileExists(sLocalPrefsFilename))//crlf////tab////tab////tab//appendToLog(\\quot\\Localprefs.restore exist: \\quot\\+fileExists(sRestoreFilename))//crlf////crlf////tab////tab////tab////if localprefs.csv is valid then return//crlf////tab////tab////tab//sLocalPrefsContent=fileGetContent(sLocalPrefsFilename)//crlf////tab////tab////tab//sLocalPrefsHashID=removeQuotes(getElement(sLocalPrefsContent\\comma\\12))//crlf////tab////tab////tab//if(len(sLocalPrefsHashID)=9)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Localprefs.csv already contains a valid HashID: [\\quot\\+sLocalPrefsHashID+\\quot\\]\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\Localprefs does not contain a valid HashID: [\\quot\\+sLocalPrefsHashID+\\quot\\]\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////get HashID from localprefs.restore//crlf////tab////tab////tab//sRestoreContent=fileGetContent(sRestoreFilename)//crlf////tab////tab////tab//sRestoreHashID=removeQuotes(getElement(sRestoreContent\\comma\\12))//crlf////crlf////tab////tab////tab////abort if HashID of localprefs.restore is not valid//crlf////tab////tab////tab//if(len(sRestoreHashID)<>9)//crlf////tab////tab////tab////tab//return(\\quot\\Error: Localprefs.restore does not contain a valid HashID: [\\quot\\+sRestoreHashID+\\quot\\]\\quot\\)//crlf////tab////tab////tab//else//crlf////tab////tab////tab////tab//appendToLog(\\quot\\LocalPrefs.restore contains a valid HashID: [\\quot\\+sRestoreHashID+\\quot\\]\\quot\\)//crlf////tab////tab////tab//endif//crlf////crlf////tab////tab////tab////copy localprefs.restore to localprefs.csv//crlf////tab////tab////tab//fileCopy(sRestoreFilename\\comma\\sLocalPrefsFilename)//crlf////crlf////tab////tab////tab////get HashID from restored localprefs.csv//crlf////tab////tab////tab//sLocalPrefsContent=fileGetContent(sLocalPrefsFilename)//crlf////tab////tab////tab//sLocalPrefsHashID=removeQuotes(getElement(sLocalPrefsContent\\comma\\12))//crlf////crlf////tab////tab////tab//if(len(sLocalPrefsHashID)=9)//crlf////tab////tab////tab////tab//return(\\quot\\Ok: Restored localprefs.csv HashID: [\\quot\\+sLocalPrefsHashID+\\quot\\]\\quot\\)//crlf////tab////tab////tab//endif//crlf////tab////tab////tab////crlf////tab////tab////tab//return(\\quot\\Error: Could not restore Localprefs. HashID: [\\quot\\+sLocalPrefsHashID+\\quot\\]\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf////crlf//[!------------------------------------------------------------------------//crlf//createStartAspectBatchFile//crlf//--------------------------------------------------------------------------]//crlf//<conditional expression:(\\quot\\__Action__\\quot\\=\\quot\\createStartAspectBatchFile\\quot\\)>//crlf////tab//<conditional expression:(\\quot\\__ActionDescription__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Creates the StartAspect.bat batch file which takes steps to ensure the //crlf////tab////tab//service is running\\comma\\ restart the program and delete temporary files//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionParams__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//DesktopShortcut - Optional.  If true\\comma\\ creates a shortcut to the batch routine on the //crlf////tab////tab////tab//windows desktop//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionReturns__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//Error//crlf////tab//</conditional>//crlf////tab//<conditional expression:(\\quot\\__ActionExec__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab////tab//<!include type:script; name:\\quot\\createStartAspectBatchFile\\quot\\; commands:\\quot\\//crlf////tab////tab////tab//s=gw(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY\\quot\\\\comma\\\\quot\\Customer Support - Validate Local Prefs\\quot\\\\comma\\\\quot\\197694\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//fileWriteContent(getToken(\\quot\\homedir\\quot\\)+\\quot\\StartAspect.bat\\quot\\\\comma\\s)//crlf////tab////tab////tab//return(\\quot\\Ok: Created StartAspect.bat\\quot\\)//crlf////tab////tab//\\quot\\>//crlf////tab//</conditional>//crlf//</conditional>//crlf//^
ID=780839|X=1500|Y=26|W=1134|H=779|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=false|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStart|X=183|Y=41|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentStart|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=593651|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|AgentSuspended=false|AgentDebug=false|AgentReport=always|AgentReportTo=getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~AspectServerHashID~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|^
ID=791996|X=183|Y=1243|W=119|H=45|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result1~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result1A~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result2~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result3~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result3A~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result4|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=AgentTabs|X=183|Y=15|W=150|H=20|AutoHeight=true|AutoWidth=true|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=top_bar|AttachLeft=left_bar|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<table class='tabdialog'>//crlf////tab//<tr>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStart');agentSetVisible(true)\\quot\\>Agent</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentDescription');agentSetVisible(false)\\quot\\>Description</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentStatus');agentSetVisible(false)\\quot\\>Status</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentScript');agentSetVisible(false)\\quot\\>Script</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'ScriptText');agentSetVisible(false)\\quot\\>Script (Text)</span></td>//crlf////tab////tab//<td><span onClick=\\quot\\showTab(this\\comma\\'AgentChart');agentSetVisible(false);agentFormatNodes(document.getElementById('AgentChart'));agentDrawConnectors(document.getElementById('AgentChart'))\\quot\\>Chart</span></td>//crlf////tab//</tr>//crlf//</table>//crlf//^
ID=AgentScript|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<conditional expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)>//crlf////tab//<!include type:script; name:\\quot\\agent_Customer Support - Validate Local Prefs\\quot\\; commands:\\quot\\//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Validate Local Prefs\\comma\\AgentStart\\comma\\AgentStart\\comma\\0\\comma\\//crlf////tab////tab////Created 09-22-2024 20:54:40//crlf////crlf////tab////tab////Force reporting when the agent is executed manually//crlf////tab////tab//bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\) or (true))//crlf////crlf////tab////tab////Record the starting time//crlf////tab////tab//tAgentStart=now()//crlf////crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Validate Local Prefs\\comma\\AgentAction\\comma\\593651\\comma\\0\\comma\\Create localprefs.restore//crlf////crlf////tab////tab////Create localprefs.restore//crlf////tab////tab//Result1=execAgentAction(\\quot\\backupLocalPrefs\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Validate Local Prefs\\comma\\AgentAction\\comma\\355198\\comma\\0\\comma\\Restore localprefs if it is corrupt//crlf////crlf////tab////tab////Restore localprefs if it is corrupt//crlf////tab////tab//Result1A=execAgentAction(\\quot\\restoreLocalPrefs\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Validate Local Prefs\\comma\\AgentAction\\comma\\645243\\comma\\0\\comma\\Create StartAspect batch file//crlf////crlf////tab////tab////Create StartAspect batch file//crlf////tab////tab//Result2=execAgentAction(\\quot\\createStartAspectBatchFile\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Validate Local Prefs\\comma\\AgentAction\\comma\\819248\\comma\\0\\comma\\Create StartAspect shortcut//crlf////crlf////tab////tab////Create StartAspect shortcut//crlf////tab////tab//Result3=execAgentAction(\\quot\\createStartAspectShortcut\\quot\\)//crlf////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Validate Local Prefs\\comma\\AgentAction\\comma\\585460\\comma\\0\\comma\\Create Tudors StartAspect desktop shortcut//crlf////crlf////tab////tab////Create Tudors StartAspect desktop shortcut//crlf////tab////tab//Result3A=execAgentAction(\\quot\\createTudorsDesktopShortcut\\quot\\)//crlf////crlf////tab////tab////Does StartAspect.log exist?//crlf////tab////tab//if(fileExists(getToken(\\quot\\homedir\\quot\\)\\plus\\\\quot\\StartAspect.log\\quot\\))//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Validate Local Prefs\\comma\\AgentAction\\comma\\105951\\comma\\0\\comma\\Get StartAspect.log contents//crlf////crlf////tab////tab////tab////Get StartAspect.log contents//crlf////tab////tab////tab//Result4=execAgentAction(\\quot\\getStartAspectLog\\quot\\\\comma\\\\quot\\Rename=true\\quot\\)//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Validate Local Prefs\\comma\\AgentTerminate\\comma\\791996\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Validate Local Prefs\\quot\\\\comma\\\\quot\\791996\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result1\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result1A\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result2\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result3\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result3A\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result4\\comma\\bForceReport\\comma\\now()-tAgentStart))//crlf////tab////tab////tab//scriptSetResult(Result1\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result1A\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result2\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result3\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result3A\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result4)//crlf////tab////tab//else//crlf////tab////tab////tab//::node\\comma\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Validate Local Prefs\\comma\\AgentTerminate\\comma\\137996\\comma\\0\\comma\\Ok//crlf////tab////tab////tab//agentReportStatus(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer Support - Validate Local Prefs\\quot\\\\comma\\\\quot\\137996\\quot\\\\comma\\0\\comma\\getToken(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result1\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result1A\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result2\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result3\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result3A\\comma\\bForceReport\\comma\\now()-tAgentStart\\comma\\\\quot\\\\quot\\)//crlf////tab////tab////tab//scriptSetResult(Result1\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result1A\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result2\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result3\\plus\\getToken(\\quot\\br\\quot\\)\\plus\\Result3A)//crlf////tab////tab//endif//crlf////tab//\\quot\\>//crlf//</conditional>^
ID=ScriptText|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<span style='font:8pt tahoma;color:black'>//amp//lt;state//amp//gt;09222024//amp//nbsp;205440//amp//lt;/state//amp//gt;<br>//amp//lt;<span class='includecontrol'>conditional</span>//amp//nbsp;expression:(\\quot\\__ExecAgentScript__\\quot\\=\\quot\\true\\quot\\)//amp//gt;<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//lt;!<span class='includecontrol'>include</span>//amp//nbsp;type:script;//amp//nbsp;name:\\quot\\agent_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Validate//amp//nbsp;Local//amp//nbsp;Prefs\\quot\\;//amp//nbsp;commands:\\quot\\<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Created//amp//nbsp;09-22-2024//amp//nbsp;20:54:40</span><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Force//amp//nbsp;reporting//amp//nbsp;when//amp//nbsp;the//amp//nbsp;agent//amp//nbsp;is//amp//nbsp;executed//amp//nbsp;manually</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;bForceReport=((\\quot\\__ManualExecAgent__\\quot\\=\\quot\\true\\quot\\)//amp//nbsp;or//amp//nbsp;(true))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Record//amp//nbsp;the//amp//nbsp;starting//amp//nbsp;time</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;tAgentStart=<span class='keyword'>now</span>()<br><br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Create//amp//nbsp;localprefs.restore</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result1=<span class='keyword'>execAgentAction</span>(\\quot\\backupLocalPrefs\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Restore//amp//nbsp;localprefs//amp//nbsp;if//amp//nbsp;it//amp//nbsp;is//amp//nbsp;corrupt</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result1A=<span class='keyword'>execAgentAction</span>(\\quot\\restoreLocalPrefs\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Create//amp//nbsp;StartAspect//amp//nbsp;batch//amp//nbsp;file</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result2=<span class='keyword'>execAgentAction</span>(\\quot\\createStartAspectBatchFile\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Create//amp//nbsp;StartAspect//amp//nbsp;shortcut</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result3=<span class='keyword'>execAgentAction</span>(\\quot\\createStartAspectShortcut\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Create//amp//nbsp;Tudors//amp//nbsp;StartAspect//amp//nbsp;desktop//amp//nbsp;shortcut</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result3A=<span class='keyword'>execAgentAction</span>(\\quot\\createTudorsDesktopShortcut\\quot\\)<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Does//amp//nbsp;StartAspect.log//amp//nbsp;exist?</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'><span class='keyword'>if</span>(</span><span class='keyword'>fileExists</span>(<span class='keyword'>getToken</span>(\\quot\\homedir\\quot\\)\\plus\\\\quot\\StartAspect.log\\quot\\))<br><br><span class='comment'>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//Get//amp//nbsp;StartAspect.log//amp//nbsp;contents</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;Result4=<span class='keyword'>execAgentAction</span>(\\quot\\getStartAspectLog\\quot\\\\comma\\\\quot\\Rename=true\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Validate//amp//nbsp;Local//amp//nbsp;Prefs\\quot\\\\comma\\\\quot\\791996\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result1\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result1A\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result2\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result3\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result3A\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result4\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart))<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result1\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result1A\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result2\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result3\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result3A\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result4)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>else</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>agentReportStatus</span>(\\quot\\h0BE4ziTlLytqKxtWLMy5CVY_Customer//amp//nbsp;Support//amp//nbsp;-//amp//nbsp;Validate//amp//nbsp;Local//amp//nbsp;Prefs\\quot\\\\comma\\\\quot\\137996\\quot\\\\comma\\0\\comma\\<span class='keyword'>getToken</span>(\\quot\\AspectServerHashID\\quot\\)\\comma\\\\quot\\Ok\\quot\\\\comma\\Result1\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result1A\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result2\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result3\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result3A\\comma\\bForceReport\\comma\\<span class='keyword'>now</span>()-tAgentStart\\comma\\\\quot\\\\quot\\)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='keyword'>scriptSetResult</span>(Result1\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result1A\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result2\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result3\\plus\\<span class='keyword'>getToken</span>(\\quot\\br\\quot\\)\\plus\\Result3A)<br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;<span class='flowcontrol'>endif</span><br>//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;//amp//nbsp;\\quot\\//amp//gt;<br>//amp//lt;/<span class='includecontrol'>conditional</span>//amp//gt;<br><br></span>^
ID=AgentDescription|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentStatus|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=Aspect_Script|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|^
ID=AgentChart|X=183|Y=41|W=1000|H=800|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=html|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=AgentTabs|AttachLeft=|AlignLeft=AgentTabs|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<state>09222024 205440</state>//crlf//<canvas id=\\quot\\agent_doc_canvas\\quot\\ width=\\quot\\100\\quot\\ height=\\quot\\100\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 100px; height: 100px; border-style: none; z-index: 2;\\quot\\></canvas><div id=\\quot\\chartAgentStart\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart593651\\quot\\ style=\\quot\\position: absolute; top: 0px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\152\\quot\\ style=\\quot\\width: 120px; height: 152px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentstart\\quot\\><b>Customer Support - Validate Local Prefs</b><br><span style=\\quot\\font-weight:normal;color:green\\quot\\>Active</span><br><span style=\\quot\\font-weight:normal;color:black\\quot\\>Debugging Is Off</span><br>Report Status: always<br>Report To: getToken(\\quot\\AspectServerHashID\\quot\\)<br>Name Params: </div></div><div id=\\quot\\chart791996\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 1202px; left: 0px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart593651\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart355198\\quot\\ style=\\quot\\position: absolute; top: 217px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Create localprefs.restore<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>backupLocalPrefs<br></td></tr><tr><td><u>Return</u></td><td>Result1</td></tr></tbody></table></div></div><div id=\\quot\\chart645243\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart819248\\quot\\ style=\\quot\\position: absolute; top: 498px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Create StartAspect batch file<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>createStartAspectBatchFile<br></td></tr><tr><td><u>Return</u></td><td>Result2</td></tr></tbody></table></div></div><div id=\\quot\\chart819248\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart585460\\quot\\ style=\\quot\\position: absolute; top: 645px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 82px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Create StartAspect shortcut<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>createStartAspectShortcut<br></td></tr><tr><td><u>Return</u></td><td>Result3</td></tr></tbody></table></div></div><div id=\\quot\\chart805595\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentDecision\\quot\\ agentchildyesnode=\\quot\\chart105951\\quot\\ agentchildnonode=\\quot\\chart137996\\quot\\ style=\\quot\\position: absolute; top: 939px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\77\\quot\\ style=\\quot\\width: 150px; height: 64px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentdecision\\quot\\>Does StartAspect.log exist?<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Sensor</u></td><td>Expression<br></td></tr></tbody></table></div></div><div id=\\quot\\chart137996\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentTerminate\\quot\\ style=\\quot\\position: absolute; top: 939px; left: 190px; width: 120px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\84\\quot\\ style=\\quot\\width: 120px; height: 84px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentterminator\\quot\\>Terminate<br><hr>Ok<hr><span style=\\quot\\color:green\\quot\\>Success</span></div></div><div id=\\quot\\chart105951\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart791996\\quot\\ style=\\quot\\position: absolute; top: 1055px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Get StartAspect.log contents<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>getStartAspectLog<br></td></tr><tr><td><u>Return</u></td><td>Result4</td></tr></tbody></table></div></div><div id=\\quot\\chart355198\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart645243\\quot\\ style=\\quot\\position: absolute; top: 351px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Restore localprefs if it is corrupt<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>restoreLocalPrefs<br></td></tr><tr><td><u>Return</u></td><td>Result1A</td></tr></tbody></table></div></div><div id=\\quot\\chart585460\\quot\\ isagentdoc=\\quot\\true\\quot\\ content_type=\\quot\\AgentAction\\quot\\ agentchildyesnode=\\quot\\chart805595\\quot\\ style=\\quot\\position: absolute; top: 792px; left: 0px; width: 150px; height: auto; display: block;\\quot\\><canvas width=\\quot\\120\\quot\\ height=\\quot\\95\\quot\\ style=\\quot\\width: 150px; height: 95px; position: absolute; top: 0px; left: 0px;\\quot\\></canvas><div class=\\quot\\agentaction\\quot\\>Create StartAspect desktop shortcut<hr><table tabsinitialized=\\quot\\true\\quot\\><tbody><tr><td><u>Action</u></td><td>createTudorsDesktopShortcut<br></td></tr><tr><td><u>Return</u></td><td>Result3A</td></tr></tbody></table></div></div>^
ID=176340|X=676|Y=20|W=546|H=217|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=true|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=html|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=<br>//crlf//<include type:script; commands:\\quot\\//crlf////tab////s1=execAgentAction(\\quot\\backupLocalPrefs\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////s2=execAgentAction(\\quot\\restoreLocalPrefs\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////return(s1+getToken(\\quot\\br\\quot\\)+s2)//crlf////crlf////tab////s=execAgentAction(\\quot\\writeStartAspectBatch\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////crlf////tab////s=execAgentAction(\\quot\\restoreLocalPrefs\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab////s=execAgentAction(\\quot\\createStartAspectShortcut\\quot\\\\comma\\\\quot\\\\quot\\)//crlf////tab//s=execAgentAction(\\quot\\createTudorsDesktopShortcut\\quot\\\\comma\\\\quot\\\\quot\\\\comma\\\\quot\\pxqg4u11h\\quot\\)//crlf////tab//return(s)//crlf//\\quot\\>^
ID=197694|X=1500|Y=26|W=1134|H=779|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=true|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=false|content_type=text|onload=|LockEditing=true|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=code|AttachLeft=|AlignLeft=code|AlignRight=|RefreshCondition=|zindex=2|opacity=10|Background=white|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=|AgentNodeComment=|AgentNodeTermType=|Content=@echo off//crlf//setlocal//crlf////crlf//REM Delete the log//crlf//del c:\aspect7\startaspect.log//crlf////crlf//REM=====================================================================//crlf//REM 07/21/24 - This batch file is used to start the service and Aspect in the case //crlf//REM that Aspect has already been installed but the service has been stopped//crlf//REM or the program needs to be restarted or temporary files need to be //crlf//REM deleted.//crlf//REM//crlf//REM To install Aspect from scratch\\comma\\ rename Aspect_Install.bin with a .bat //crlf//REM extension and execute the batch routine.//crlf//REM=====================================================================//crlf////crlf//REM=====================================================================//crlf//REM Terminate java process//crlf//REM=====================================================================//crlf//:TERMJAVA//crlf//@echo Terminating java process//crlf//set \\quot\\processName=javaw.exe\\quot\\//crlf////crlf//REM Find the PIDs of the process and terminate each one//crlf//for /f \\quot\\tokens=2 delims=\\comma\\\\quot\\ \\percent\\\\percent\\A in ('tasklist /fi \\quot\\imagename eq \\percent\\processName\\percent\\\\quot\\ /fo csv /nh') do (//crlf//    echo Terminating process \\percent\\processName\\percent\\ with PID \\percent\\\\percent\\~A//crlf//    taskkill /PID \\percent\\\\percent\\~A /F//crlf//)//crlf////crlf//REM=====================================================================//crlf//REM Restore localprefs from backup//crlf//REM=====================================================================//crlf//:RESTORELOCALPREFS//crlf//cd \aspect7//crlf//if not exist localprefs.restore goto DELTEMP//crlf//echo Restoring localprefs//crlf//copy localprefs.restore localprefs.csv//crlf////crlf//REM=====================================================================//crlf//REM Delete temporary files//crlf//REM=====================================================================//crlf//:DELTEMP//crlf//echo Deleting temp files//crlf//del c:\aspect7\cachedata /Q//crlf//del c:\aspect7\temporary_files /Q//crlf//del c:\aspect7\store1\inventory_summary*.* /Q//crlf//del c:\aspect7\store1\inventorysummary*.* /Q//crlf//del c:\aspect7\store1\inventory_extensions*.* /Q//crlf////crlf//REM=====================================================================//crlf//REM Start AspectService//crlf//REM=====================================================================//crlf//:STARTSERVICE//crlf//echo Starting service//crlf//cd \aspect7\bin\service//crlf//call service start//crlf////crlf//REM=====================================================================//crlf//REM Start Aspect7.bat//crlf//REM=====================================================================//crlf//:STARTASPECT//crlf//echo Starting Aspect//crlf//cd \aspect7//crlf//aspect7.bat//crlf////crlf//:DIAGNOSTICS//crlf////crlf//REM=====================================================================//crlf//REM Check administrator privileges//crlf//REM=====================================================================//crlf//for /f \\quot\\tokens=*\\quot\\ \\percent\\\\percent\\i in ('whoami') do set \\quot\\whoamiuser=\\percent\\\\percent\\i\\quot\\//crlf//whoami /groups ~~pipe~~ find \\quot\\S-1-5-32-544\\quot\\ >nul 2>//amp//1//crlf//if \\percent\\errorlevel\\percent\\ equ 0 (//crlf//    echo [OK   ] \\percent\\whoamiuser\\percent\\ has administrative privileges.>>c:\aspect7\startaspect.log//crlf//) else (//crlf//    echo [ERROR] \\percent\\whoamiuser\\percent\\ has administrative privileges.>>c:\aspect7\startaspect.log//crlf//)//crlf////crlf//REM=====================================================================//crlf//REM Get java status - Is it installed?//crlf//REM=====================================================================//crlf//:JAVASTATUS//crlf//rem Check if Java is in the PATH//crlf//java -version >nul 2>//amp//1//crlf//if \\percent\\errorlevel\\percent\\ equ 0 (//crlf//    echo [OK   ] Java is installed.>>c:\aspect7\startaspect.log//crlf//    rem java -version//crlf//    goto SERVICESTATUS//crlf//)//crlf////crlf//rem Check common installation directories//crlf//set \\quot\\JAVA_DIRS=\\percent\\ProgramFiles\\percent\\\Java;\\percent\\ProgramFiles(x86)\\percent\\\Java;\\percent\\ProgramFiles\\percent\\\AdoptOpenJDK;\\percent\\ProgramFiles(x86)\\percent\\\AdoptOpenJDK\\quot\\//crlf////crlf//set \\quot\\java_found=false\\quot\\//crlf//for \\percent\\\\percent\\d in (\\quot\\\\percent\\ProgramFiles\\percent\\\Java\\quot\\ \\quot\\\\percent\\ProgramFiles(x86)\\percent\\\Java\\quot\\ \\quot\\\\percent\\ProgramFiles\\percent\\\AdoptOpenJDK\\quot\\ \\quot\\\\percent\\ProgramFiles(x86)\\percent\\\AdoptOpenJDK\\quot\\ \\quot\\\\percent\\ProgramFiles\\percent\\\Java\jre7\\quot\\ ) do (//crlf////tab//rem echo checking \\percent\\\\percent\\d//crlf//    if exist \\quot\\\\percent\\\\percent\\d\bin\java.exe\\quot\\ (//crlf//        set \\quot\\JAVA_HOME=\\percent\\\\percent\\d\\quot\\//crlf//        set \\quot\\java_found=true\\quot\\//crlf//        goto FOUNDJAVA//crlf//    )//crlf//)//crlf////crlf//:FOUNDJAVA//crlf//if \\quot\\\\percent\\java_found\\percent\\\\quot\\==\\quot\\true\\quot\\ (//crlf//    echo [OK   ] Java found at \\percent\\JAVA_HOME\\percent\\. >>c:\aspect7\startaspect.log//crlf//    REM \\percent\\JAVA_HOME\\percent\\\bin\java -version//crlf//) else (//crlf//    echo [ERROR] Java is not installed >>c:\aspect7\startaspect.log//crlf//)//crlf////crlf//REM=====================================================================//crlf//REM Get service status//crlf//REM=====================================================================//crlf//:SERVICESTATUS//crlf//rem Name of the service to check//crlf//set \\quot\\serviceName=AspectService\\quot\\//crlf////crlf//rem Check if the service exists//crlf//sc query \\quot\\\\percent\\serviceName\\percent\\\\quot\\ >nul 2>//amp//1//crlf//if \\percent\\errorlevel\\percent\\ neq 0 (//crlf//    echo [ERROR] Service is not installed. >>c:\aspect7\startaspect.log//crlf//    goto SERVICERESPONSIVE//crlf//)//crlf////crlf//rem Check the status of the service//crlf//for /f \\quot\\tokens=3 delims=: \\quot\\ \\percent\\\\percent\\H in ('sc query \\quot\\\\percent\\serviceName\\percent\\\\quot\\ //power//~~pipe~~ findstr \\quot\\STATE\\quot\\') do (//crlf//    set \\quot\\status=\\percent\\\\percent\\H\\quot\\//crlf//)//crlf////crlf//if \\quot\\\\percent\\status\\percent\\\\quot\\==\\quot\\RUNNING\\quot\\ (//crlf//    echo [Ok   ] Service \\quot\\\\percent\\serviceName\\percent\\\\quot\\ is running. >>c:\aspect7\startaspect.log//crlf//) else (//crlf//    echo [ERROR] Service \\quot\\\\percent\\serviceName\\percent\\\\quot\\ is stopped. >>c:\aspect7\startaspect.log//crlf//)//crlf////crlf//REM=====================================================================//crlf//REM Get service responsive//crlf//REM=====================================================================//crlf//:SERVICERESPONSIVE//crlf//set \\quot\\IP=127.0.0.1\\quot\\//crlf//set \\quot\\PORT=6604\\quot\\//crlf//powershell -Command \\quot\\try { $tcpClient=New-Object System.Net.Sockets.TcpClient; $tcpClient.Connect('\\percent\\IP\\percent\\'\\comma\\ \\percent\\PORT\\percent\\); $tcpClient.Close(); exit 0 } catch {  exit 1 }\\quot\\//crlf//if \\percent\\errorlevel\\percent\\ equ 0 (//crlf//    echo [OK   ] Connection successful to Aspect Service: \\percent\\IP\\percent\\:\\percent\\PORT\\percent\\ >>c:\aspect7\startaspect.log//crlf//) else (//crlf//    echo [ERROR] Failed to connect to Aspect Service: \\percent\\IP\\percent\\:\\percent\\PORT\\percent\\.>>c:\aspect7\startaspect.log//crlf//)//crlf////crlf//REM=====================================================================//crlf//REM Get Aspect7 status - Is it running//crlf//REM=====================================================================//crlf//:ASPECT7STATUS//crlf//set \\quot\\processName=java\\quot\\//crlf////crlf//rem Check if the process is running//crlf//tasklist /FI \\quot\\IMAGENAME eq \\percent\\processName\\percent\\.exe\\quot\\ 2>NUL ~~pipe~~ find /I \\quot\\\\percent\\processName\\percent\\.exe\\quot\\ >NUL//crlf//if \\percent\\errorlevel\\percent\\ equ 0 (//crlf//    echo [OK   ] Aspect is running.>>c:\aspect7\startaspect.log//crlf//) else (//crlf//    echo [ERROR] Aspect is not running>>c:\aspect7\startaspect.log//crlf//)//crlf////crlf//REM=====================================================================//crlf//REM Get Aspect7 status - Is it responsive//crlf//REM=====================================================================//crlf//:ASPECT7RESPONSIVE//crlf//set \\quot\\IP=127.0.0.1\\quot\\//crlf//set \\quot\\PORT=6601\\quot\\//crlf//powershell -Command \\quot\\try { $tcpClient=New-Object System.Net.Sockets.TcpClient; $tcpClient.Connect('\\percent\\IP\\percent\\'\\comma\\ \\percent\\PORT\\percent\\); $tcpClient.Close(); exit 0 } catch {  exit 1 }\\quot\\//crlf//if \\percent\\errorlevel\\percent\\ equ 0 (//crlf//    echo [OK   ] Aspect is responsive at \\percent\\IP\\percent\\:\\percent\\PORT\\percent\\.>>c:\aspect7\startaspect.log//crlf//) else (//crlf//    echo [ERROR] Aspect is not responsive at \\percent\\IP\\percent\\:\\percent\\PORT\\percent\\.>>c:\aspect7\startaspect.log//crlf//)//crlf////crlf//REM=====================================================================//crlf//REM Get firewall status//crlf//REM=====================================================================//crlf//:FIREWALLSTATUS//crlf////crlf//set \\quot\\IP=www.aspect-software.net\\quot\\//crlf//set \\quot\\PORT=80\\quot\\//crlf//powershell -Command \\quot\\try { $tcpClient=New-Object System.Net.Sockets.TcpClient; $tcpClient.Connect('\\percent\\IP\\percent\\'\\comma\\ \\percent\\PORT\\percent\\); $tcpClient.Close(); exit 0 } catch {  exit 1 }\\quot\\//crlf//if \\percent\\errorlevel\\percent\\ equ 0 (//crlf//    echo [OK   ] Connection successful to www.aspect-software.net: \\percent\\IP\\percent\\:\\percent\\PORT\\percent\\.>>c:\aspect7\startaspect.log//crlf//) else (//crlf//    echo [ERROR] Failed to connect to www.aspect-software.net: \\percent\\IP\\percent\\:\\percent\\PORT\\percent\\.>>c:\aspect7\startaspect.log//crlf//)//crlf////crlf//set \\quot\\IP=192.169.215.186\\quot\\//crlf//set \\quot\\PORT=80\\quot\\//crlf//powershell -Command \\quot\\try { $tcpClient=New-Object System.Net.Sockets.TcpClient; $tcpClient.Connect('\\percent\\IP\\percent\\'\\comma\\ \\percent\\PORT\\percent\\); $tcpClient.Close(); exit 0 } catch {  exit 1 }\\quot\\//crlf//if \\percent\\errorlevel\\percent\\ equ 0 (//crlf//    echo [OK   ] Connection successful to to Aspect Server: \\percent\\IP\\percent\\:\\percent\\PORT\\percent\\.>>c:\aspect7\startaspect.log//crlf//) else (//crlf//    echo [ERROR] Failed to connect to Aspect Server: \\percent\\IP\\percent\\:\\percent\\PORT\\percent\\.>>c:\aspect7\startaspect.log//crlf//)//crlf////crlf//set \\quot\\IP=192.169.215.186\\quot\\//crlf//set \\quot\\PORT=4446\\quot\\//crlf//powershell -Command \\quot\\try { $tcpClient=New-Object System.Net.Sockets.TcpClient; $tcpClient.Connect('\\percent\\IP\\percent\\'\\comma\\ \\percent\\PORT\\percent\\); $tcpClient.Close(); exit 0 } catch {  exit 1 }\\quot\\//crlf//if \\percent\\errorlevel\\percent\\ equ 0 (//crlf//    echo [OK   ] Connection successful to Aspect On Server: \\percent\\IP\\percent\\:\\percent\\PORT\\percent\\.>>c:\aspect7\startaspect.log//crlf//) else (//crlf//    echo [ERROR] Failed to connect to Aspect On Server: \\percent\\IP\\percent\\:\\percent\\PORT\\percent\\.>>c:\aspect7\startaspect.log//crlf//)//crlf////crlf//set \\quot\\IP=fastsupport.gotoassist.com\\quot\\//crlf//set \\quot\\PORT=80\\quot\\//crlf//powershell -Command \\quot\\try { $tcpClient=New-Object System.Net.Sockets.TcpClient; $tcpClient.Connect('\\percent\\IP\\percent\\'\\comma\\ \\percent\\PORT\\percent\\); $tcpClient.Close(); exit 0 } catch {  exit 1 }\\quot\\//crlf//if \\percent\\errorlevel\\percent\\ equ 0 (//crlf//    echo [OK   ] Connection successful to GotoAssist: \\percent\\IP\\percent\\:\\percent\\PORT\\percent\\.>>c:\aspect7\startaspect.log//crlf//) else (//crlf//    echo [ERROR] Failed to connect to GotoAssist: \\percent\\IP\\percent\\:\\percent\\PORT\\percent\\.>>c:\aspect7\startaspect.log//crlf//)//crlf////crlf//echo=========================================================================================//crlf//type c:\aspect7\startaspect.log//crlf//echo=========================================================================================//crlf//pause//crlf//endlocal//crlf//^
ID=593651|X=183|Y=258|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=355198|AgentChildNoNode=|AgentSensor=|AgentAction=backupLocalPrefs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result1|AgentNodeComment=Create localprefs.restore|AgentNodeTermType=|^
ID=645243|X=183|Y=539|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=819248|AgentChildNoNode=|AgentSensor=|AgentAction=createStartAspectBatchFile|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result2|AgentNodeComment=Create StartAspect batch file|AgentNodeTermType=|^
ID=819248|X=183|Y=686|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=585460|AgentChildNoNode=|AgentSensor=|AgentAction=createStartAspectShortcut|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result3|AgentNodeComment=Create StartAspect shortcut|AgentNodeTermType=|^
ID=805595|X=183|Y=980|W=149|H=65|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentDecision|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=105951|AgentChildNoNode=137996|AgentSensor=1|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=fileExists(getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~homedir~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)//plus//~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~StartAspect.log~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)|AgentNodeActionReturnValue=|AgentNodeComment=Does StartAspect.log exist?|AgentNodeTermType=|^
ID=137996|X=373|Y=980|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentTerminate|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=|AgentChildNoNode=|AgentSensor=|AgentAction=|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=Result1~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result1A~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result2~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result3~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~getToken(~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~br~~backslash~~~~backslash~~quot~~backslash~~~~backslash~~)~~backslash~~~~backslash~~plus~~backslash~~~~backslash~~Result3A|AgentNodeActionReturnValue=|AgentNodeComment=Ok|AgentNodeTermType=0|^
ID=105951|X=183|Y=1096|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=791996|AgentChildNoNode=|AgentSensor=|AgentAction=getStartAspectLog|AgentNodeNotes=|AgentNodeParams=~~backslash~~equals~~backslash~~\\quot\\Rename~~backslash~~equals~~backslash~~true\\quot\\|AgentNodeExpression=|AgentNodeActionReturnValue=Result4|AgentNodeComment=Get StartAspect.log contents|AgentNodeTermType=|^
ID=355198|X=183|Y=392|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=645243|AgentChildNoNode=|AgentSensor=|AgentAction=restoreLocalPrefs|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result1A|AgentNodeComment=Restore localprefs if it is corrupt|AgentNodeTermType=|^
ID=585460|X=183|Y=833|W=150|H=20|AutoHeight=false|AutoWidth=false|widthpcnt=0|minwidth=0|maxwidth=0|minheight=0|maxheight=0|ProcessContent=false|Border=false|BorderStyle=solid 1 black|Visible=true|Print=true|RefreshInterval=0|RefreshWhenHidden=false|ExcludeFromAutospace=true|EditExternally=null|content_type=AgentAction|onload=|LockEditing=false|LineWrap=false|Publish=true|DragDeployed=false|SizeDeployed=false|ShowStatusIcon=true|AttachTop=|AttachLeft=|AlignLeft=|AlignRight=|RefreshCondition=|zindex=1|opacity=10|Background=Transparent|Source=|DefaultSource=false|AgentChildYesNode=805595|AgentChildNoNode=|AgentSensor=|AgentAction=createTudorsDesktopShortcut|AgentNodeNotes=|AgentNodeParams=|AgentNodeExpression=|AgentNodeActionReturnValue=Result3A|AgentNodeComment=Create Tudors StartAspect desktop shortcut|AgentNodeTermType=|
</widget><widget name="Customer Support - Test Connection" group="Customer Support" category="" description="" type="Container" Mobile="" Processing=0 metadata="" IncludeInViewer="false" PublicName="" modified="06-08-2024 21:22:56" modifiedby="Thnikpad3" TaskEnabled= IsAgent= ContainsAgentSensors= ContainsAgentActions= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=></widget><widget name="Customer Support - Smokehouse BBQ" group="Customer Support" category="" description="" type="Container" Mobile="" Processing=0 metadata="" IncludeInViewer="false" PublicName="" modified="10-28-2024 21:33:47" modifiedby="Thnikpad3" TaskEnabled= IsAgent= ContainsAgentSensors= ContainsAgentActions= TaskInitialStartTime= TaskIntervalType= TaskLastExecuted= TaskCatchUpMissedTasks= TaskYearsBetweenExecution= TaskMonthsBetweenExecution= TaskDaysBetweenExecution= TaskHoursBetweenExecution= TaskMinutesBetweenExecution= TaskSecondsBetweenExecution= TaskExecuteSun= TaskExecuteMon= TaskExecuteTue= TaskExecuteWed= TaskExecuteThu= TaskExecuteFri= TaskExecuteSat= TaskConditional_Expression="" TaskConditional_Expression_Description="" TaskState_Function="" TaskState_Expression_Description="" TaskWidgetParams="" TaskWindowForExecution=></widget>